2018-08-27 16:12:57 +02:00
|
|
|
# API URLs
|
2018-10-15 16:38:17 +02:00
|
|
|
API_ADRESSE_URL = "https://api-adresse.data.gouv.fr"
|
2018-05-22 17:38:33 +02:00
|
|
|
API_CARTO_URL = "https://apicarto.sgmap.fr"
|
2018-08-27 16:12:34 +02:00
|
|
|
API_ENTREPRISE_URL = "https://entreprise.api.gouv.fr/v2"
|
2018-11-06 11:15:32 +01:00
|
|
|
API_GEO_URL = ENV.fetch("API_GEO_URL", "https://geo.api.gouv.fr")
|
2018-10-23 15:37:13 +02:00
|
|
|
API_GEO_SANDBOX_URL = "https://sandbox.geo.api.gouv.fr"
|
2018-10-15 16:36:45 +02:00
|
|
|
HELPSCOUT_API_URL = "https://api.helpscout.net/v2"
|
|
|
|
PIPEDRIVE_API_URL = "https://api.pipedrive.com/v1"
|
2018-05-22 17:35:11 +02:00
|
|
|
|
2018-09-03 15:47:12 +02:00
|
|
|
# Internal URLs
|
2018-10-23 12:31:21 +02:00
|
|
|
FOG_BASE_URL = "https://static.demarches-simplifiees.fr"
|
2018-09-03 15:47:12 +02:00
|
|
|
|
2018-08-27 16:12:57 +02:00
|
|
|
# External services URLs
|
2018-05-22 17:35:11 +02:00
|
|
|
DOC_URL = "https://doc.demarches-simplifiees.fr"
|
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("/")
|
2018-10-25 13:15:33 +02:00
|
|
|
CADRE_JURIDIQUE_URL = [ADMINISTRATEUR_TUTORIAL_URL, "cadre-juridique"].join("#")
|
2018-10-25 13:07:14 +02:00
|
|
|
WEBINAIRE_URL = [DOC_URL, "pour-aller-plus-loin", "webinaires"].join("/")
|
2018-05-22 17:35:11 +02:00
|
|
|
LISTE_DES_DEMARCHES_URL = [DOC_URL, "listes-des-demarches"].join("/")
|
|
|
|
CGU_URL = [DOC_URL, "cgu"].join("/")
|
|
|
|
MENTIONS_LEGALES_URL = [CGU_URL, "4-mentions-legales"].join("#")
|
2018-10-09 15:56:10 +02:00
|
|
|
API_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "api"].join("/")
|
2018-10-25 13:11:54 +02:00
|
|
|
WEBHOOK_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "webhook"].join("/")
|
2018-05-22 17:35:11 +02:00
|
|
|
FAQ_URL = "https://faq.demarches-simplifiees.fr"
|
2018-11-07 16:54:18 +01:00
|
|
|
MATOMO_IFRAME_URL = "https://stats.data.gouv.fr/index.php?module=CoreAdminHome&action=optOut&language=fr&&fontColor=333333&fontSize=16px&fontFamily=Muli"
|