2020-07-23 16:01:15 +02:00
|
|
|
# rubocop:disable DS/ApplicationName
|
2018-08-27 16:12:57 +02:00
|
|
|
# API URLs
|
2022-02-02 12:32:49 +01:00
|
|
|
API_ADRESSE_URL = ENV.fetch("API_ADRESSE_URL", "https://api-adresse.data.gouv.fr")
|
2023-05-19 13:59:53 +02:00
|
|
|
API_ENTREPRISE_URL = ENV.fetch("API_ENTREPRISE_URL", "https://entreprise.api.gouv.fr")
|
2021-01-13 18:58:59 +01:00
|
|
|
API_EDUCATION_URL = ENV.fetch("API_EDUCATION_URL", "https://data.education.gouv.fr/api/records/1.0")
|
2022-02-02 12:32:49 +01:00
|
|
|
API_GEO_URL = ENV.fetch("API_GEO_URL", "https://geo.api.gouv.fr")
|
2021-07-16 11:22:08 +02:00
|
|
|
API_PARTICULIER_URL = ENV.fetch("API_PARTICULIER_URL", "https://particulier.api.gouv.fr/api")
|
2023-03-31 17:19:02 +02:00
|
|
|
API_TCHAP_URL = ENV.fetch("API_TCHAP_URL", "https://matrix.agent.tchap.gouv.fr/_matrix/identity/api/v1")
|
2023-05-30 14:42:36 +02:00
|
|
|
API_COJO_URL = ENV.fetch("API_COJO_URL", nil)
|
2023-10-27 14:20:40 +02:00
|
|
|
API_RNF_URL = ENV.fetch("API_RNF_URL", "https://rnf.dso.numerique-interieur.com")
|
2023-12-09 17:43:24 +01:00
|
|
|
API_RECHERCHE_ENTREPRISE_URL = ENV.fetch("API_RECHERCHE_ENTREPRISE_URL", "https://recherche-entreprises.api.gouv.fr")
|
2018-11-23 14:56:29 +01:00
|
|
|
HELPSCOUT_API_URL = ENV.fetch("HELPSCOUT_API_URL", "https://api.helpscout.net/v2")
|
2019-03-07 16:30:25 +01:00
|
|
|
SENDINBLUE_API_URL = ENV.fetch("SENDINBLUE_API_URL", "https://in-automate.sendinblue.com/api/v2")
|
2019-10-01 17:28:06 +02:00
|
|
|
SENDINBLUE_API_V3_URL = ENV.fetch("SENDINBLUE_API_V3_URL", "https://api.sendinblue.com/v3")
|
2019-06-06 10:47:51 +02:00
|
|
|
UNIVERSIGN_API_URL = ENV.fetch("UNIVERSIGN_API_URL", "https://ws.universign.eu/tsa/post/")
|
2022-12-06 11:50:06 +01:00
|
|
|
CERTIGNA_API_URL = ENV.fetch("CERTIGNA_API_URL", "https://timestamp.dhimyotis.com/api/v1/")
|
2020-07-22 10:31:46 +02:00
|
|
|
FEATURE_UPVOTE_URL = ENV.fetch("FEATURE_UPVOTE_URL", "https://demarches-simplifiees.featureupvote.com")
|
2023-11-15 09:55:33 +01:00
|
|
|
WEASYPRINT_URL = ENV.fetch("WEASYPRINT_URL", nil)
|
2018-05-22 17:35:11 +02:00
|
|
|
|
2018-09-03 15:47:12 +02:00
|
|
|
# Internal URLs
|
2022-02-02 12:32:49 +01:00
|
|
|
FOG_OPENSTACK_URL = ENV.fetch("FOG_OPENSTACK_URL", "https://auth.cloud.ovh.net")
|
2022-02-09 12:03:46 +01:00
|
|
|
DS_PROXY_URL = ENV.fetch("DS_PROXY_URL", "")
|
2018-09-03 15:47:12 +02:00
|
|
|
|
2018-08-27 16:12:57 +02:00
|
|
|
# External services URLs
|
2020-07-22 10:31:46 +02:00
|
|
|
WEBINAIRE_URL = "https://app.livestorm.co/demarches-simplifiees"
|
2023-03-23 16:49:41 +01:00
|
|
|
INSCRIPTION_WEBINAIRE_URL = "https://bbb-dinum-scalelite.visio.education.fr/playback/presentation/2.3/cbb6e43626fa1b67755d9fb05ecf5e7f3be50d48-1675342730585"
|
2024-04-16 10:34:28 +02:00
|
|
|
DEMO_VIDEO_URL = "https://webinaire.bbb-dinum-scalelite.visio.education.fr/playback/presentation/2.3/f7e68599a24f8d6cf38430076f989a53612cbd3f-1712231936831"
|
2020-07-22 10:31:46 +02:00
|
|
|
CALENDLY_URL = "https://calendly.com/demarches-simplifiees/accompagnement-administrateur-demarches-simplifiees-fr"
|
|
|
|
|
2020-12-11 03:38:50 +01:00
|
|
|
DOC_URL = ENV.fetch("DOC_URL", "https://doc.demarches-simplifiees.fr")
|
2020-07-22 10:31:46 +02:00
|
|
|
DOC_NOUVEAUTES_URL = [DOC_URL, "nouveautes"].join("/")
|
2018-10-25 13:07:14 +02:00
|
|
|
ADMINISTRATEUR_TUTORIAL_URL = [DOC_URL, "tutoriels", "tutoriel-administrateur"].join("/")
|
|
|
|
INSTRUCTEUR_TUTORIAL_URL = [DOC_URL, "tutoriels", "tutoriel-accompagnateur"].join("/")
|
2019-05-09 13:58:38 +02:00
|
|
|
CADRE_JURIDIQUE_URL = [DOC_URL, "tutoriels/video-le-cadre-juridique"].join("/")
|
2018-05-22 17:35:11 +02:00
|
|
|
LISTE_DES_DEMARCHES_URL = [DOC_URL, "listes-des-demarches"].join("/")
|
2020-11-20 21:01:59 +01:00
|
|
|
CGU_URL = ENV.fetch("CGU_URL", [DOC_URL, "cgu"].join("/"))
|
2023-03-23 19:01:19 +01:00
|
|
|
MENTIONS_LEGALES_URL = ENV.fetch("MENTIONS_LEGALES_URL", "/mentions-legales")
|
2023-03-22 12:49:07 +01:00
|
|
|
ACCESSIBILITE_URL = ENV.fetch("ACCESSIBILITE_URL", "/declaration-accessibilite")
|
2023-10-13 16:15:31 +02:00
|
|
|
ROUTAGE_URL = ENV.fetch("ROUTAGE_URL", [DOC_URL, "/pour-aller-plus-loin/routage"].join("/"))
|
2023-12-08 16:38:03 +01:00
|
|
|
API_DOC_URL = [DOC_URL, "api-graphql"].join("/")
|
2018-10-25 13:11:54 +02:00
|
|
|
WEBHOOK_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "webhook"].join("/")
|
2023-12-08 16:55:32 +01:00
|
|
|
WEBHOOK_ALTERNATIVE_DOC_URL = [DOC_URL, "api-graphql", "cas-dusages-exemple-dimplementation", "synchroniser-les-dossiers-modifies-sur-ma-demarche"].join("/")
|
2020-05-13 16:42:46 +02:00
|
|
|
ARCHIVAGE_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "archivage-longue-duree-des-demarches"].join("/")
|
2020-07-22 10:31:46 +02:00
|
|
|
DOC_INTEGRATION_MONAVIS_URL = [DOC_URL, "tutoriels", "integration-du-bouton-mon-avis"].join("/")
|
2022-02-22 16:09:00 +01:00
|
|
|
DOC_PROCEDURE_EXPIRES_URL = [DOC_URL, "expiration-et-suppression-des-dossiers"].join("/")
|
2020-07-22 10:31:46 +02:00
|
|
|
|
2020-07-15 15:42:35 +02:00
|
|
|
STATUS_PAGE_URL = ENV.fetch("STATUS_PAGE_URL", "https://status.demarches-simplifiees.fr")
|
2020-09-21 17:02:37 +02:00
|
|
|
DEMANDE_INSCRIPTION_ADMIN_PAGE_URL = ENV.fetch("DEMANDE_INSCRIPTION_ADMIN_PAGE_URL", "https://www.demarches-simplifiees.fr/commencer/demande-d-inscription-a-demarches-simplifiees")
|
2022-02-02 10:44:53 +01:00
|
|
|
MATOMO_IFRAME_URL = ENV.fetch("MATOMO_IFRAME_URL", "https://#{ENV.fetch('MATOMO_HOST', 'stats.data.gouv.fr')}/index.php?module=CoreAdminHome&action=optOut&language=fr&&fontColor=333333&fontSize=16px&fontFamily=Muli")
|
2020-07-23 16:01:15 +02:00
|
|
|
# rubocop:enable DS/ApplicationName
|