2020-07-23 16:01:15 +02:00
|
|
|
# rubocop:disable DS/ApplicationName
|
2018-08-27 16:12:57 +02:00
|
|
|
# API URLs
|
2019-07-23 14:26:42 +02:00
|
|
|
API_CARTO_URL = ENV.fetch("API_CARTO_URL", "https://sandbox.geo.api.gouv.fr/apicarto")
|
2018-11-23 14:56:29 +01:00
|
|
|
API_ENTREPRISE_URL = ENV.fetch("API_ENTREPRISE_URL", "https://entreprise.api.gouv.fr/v2")
|
|
|
|
HELPSCOUT_API_URL = ENV.fetch("HELPSCOUT_API_URL", "https://api.helpscout.net/v2")
|
|
|
|
PIPEDRIVE_API_URL = ENV.fetch("PIPEDRIVE_API_URL", "https://api.pipedrive.com/v1")
|
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/")
|
2020-07-22 10:31:46 +02:00
|
|
|
FEATURE_UPVOTE_URL = ENV.fetch("FEATURE_UPVOTE_URL", "https://demarches-simplifiees.featureupvote.com")
|
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
|
2020-07-22 10:31:46 +02:00
|
|
|
WEBINAIRE_URL = "https://app.livestorm.co/demarches-simplifiees"
|
|
|
|
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("/"))
|
|
|
|
MENTIONS_LEGALES_URL = ENV.fetch("MENTIONS_LEGALES_URL", [DOC_URL, "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("/")
|
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("/")
|
|
|
|
|
2020-12-11 03:38:50 +01:00
|
|
|
FAQ_URL = ENV.fetch("FAQ_URL", "https://faq.demarches-simplifiees.fr")
|
2020-05-18 15:24:11 +02:00
|
|
|
FAQ_ADMIN_URL = [FAQ_URL, "collection", "1-administrateur-creation-dun-formulaire"].join("/")
|
2020-05-18 15:24:21 +02:00
|
|
|
FAQ_AUTOSAVE_URL = [FAQ_URL, "article", "77-enregistrer-mon-formulaire-pour-le-reprendre-plus-tard?preview=5ec28ca1042863474d1aee00"].join("/")
|
2019-07-02 18:16:46 +02:00
|
|
|
COMMENT_TROUVER_MA_DEMARCHE_URL = [FAQ_URL, "article", "59-comment-trouver-ma-demarche"].join("/")
|
2020-07-22 10:31:46 +02:00
|
|
|
FAQ_CONFIRMER_COMPTE_CHAQUE_CONNEXION_URL = [FAQ_URL, "article", "34-je-dois-confirmer-mon-compte-a-chaque-connexion"].join("/")
|
|
|
|
FAQ_EMAIL_NON_RECU_URL = [FAQ_URL, "article", "79-je-ne-recois-pas-demail"].join("/")
|
|
|
|
FAQ_CONTACTER_SERVICE_EN_CHARGE_URL = [FAQ_URL, "article", "12-contacter-le-service-en-charge-de-ma-demarche"].join("/")
|
|
|
|
FAQ_OU_EN_EST_MON_DOSSIER_URL = [FAQ_URL, "article", "11-je-veux-savoir-ou-en-est-linstruction-de-ma-demarche"].join("/")
|
|
|
|
FAQ_ERREUR_SIRET_URL = [FAQ_URL, "article", "4-erreur-siret"].join("/")
|
|
|
|
|
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")
|
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"
|
2020-07-23 16:01:15 +02:00
|
|
|
|
|
|
|
# rubocop:enable DS/ApplicationName
|