{
  "info": {
    "_postman_id": "19a6b350-25a9-4a07-96af-30614463e75e",
    "name": "My Amana — requêtes de l'application",
    "description": "# My Amana — requêtes de l'application\n\nToutes les requêtes que l'application mobile **My Amana** envoie aujourd'hui à la passerelle\n`https://gateway.amana.dz/MOBILE/api/v1`, dans la forme exacte où elle les envoie : chaque corps\nd'écriture a été construit par les adaptateurs de l'application elle-même (sans rien envoyer),\npuis anonymisé. Générée le 29/09/2026 depuis le code de l'application (branche de recette).\n\n## Deux dossiers\n\n- **A · Lecture et devis — sans effet** : lectures, devis, vérifications. Rien n'est créé,\n  payé ni envoyé. Peut être lancé en entier, à tout moment.\n- **B · ⚠️ Écritures** : créent un contrat, paient, modifient une fiche, envoient un e-mail ou\n  un message. À lancer une par une, sur un compte de recette, après avoir renseigné les\n  variables `w_…` (identifiants de la donnée visée), qui sont vides par défaut. Les deux marquées\n  ⛔ (changer le mot de passe, résilier un contrat) sont irréversibles sur le compte.\n\n## Démarrer\n\n1. Importer la collection (_Import → Link_ avec le lien du dashboard, ou le fichier).\n2. Renseigner `username` et `password` d'un compte de recette : dans l'onglet _Variables_ de la\n   collection, ou dans l'environnement « Amana pré-production » (à importer puis **sélectionner**\n   en haut à droite de Postman — un environnement importé mais non sélectionné ne s'applique pas).\n   L'adresse de la passerelle est déjà renseignée dans la collection.\n3. Lancer le dossier A (_Run folder_) : la connexion se fait toute seule, les identifiants\n   (contrat, sinistre, remboursement, personne à charge) sont relevés dans les listes et\n   réutilisés par les détails.\n\nEn ligne de commande, pour un rapport après chaque déploiement :\n\n```\nnpx newman run amana-mobile-requetes.postman_collection.json \\\n  -e amana-preprod.postman_environment.json \\\n  --env-var username=… --env-var password=… \\\n  --folder \"A · Lecture et devis — sans effet\"\n```\n\n## Lire les résultats\n\nChaque requête porte un test « L'application attend : 200 » (ou les codes que l'application\nsait traiter). Un test en échec montre un écart entre ce que l'application a besoin et ce que\nla passerelle répond — souvent un ticket ouvert, cité dans la description de la requête avec le\nlien vers l'opération de l'API cible :\nhttps://amana-reporting.shiftin-demo.com/api/api-cible\n\nDeux fonctions déclarées dans le code de l'application ne sont appelées par aucun écran et ne\nfigurent pas ici : `GET /members/bulletinSoins` et `POST /chat/read`.\n",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{jwt}}",
        "type": "string"
      }
    ]
  },
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          "// Dates de devis toujours dans le futur : {{demain}}, {{demainPlus14}}, {{demainPlus29}}, {{demainPlus364}} (jj/mm/aaaa).",
          "const pad = (n) => String(n).padStart(2, '0');",
          "const fmt = (d) => `${pad(d.getDate())}/${pad(d.getMonth() + 1)}/${d.getFullYear()}`;",
          "const plus = (n) => { const d = new Date(); d.setDate(d.getDate() + 1 + n); return fmt(d); };",
          "pm.collectionVariables.set('demain', plus(0));",
          "const now = new Date();",
          "pm.collectionVariables.set('maintenant', `${fmt(now)} ${pad(now.getHours())}:${pad(now.getMinutes())}:${pad(now.getSeconds())}`);",
          "[14, 29, 364].forEach((n) => pm.collectionVariables.set(`demainPlus${n}`, plus(n)));",
          "// Connexion automatique : si aucun jeton n'est en mémoire, on se connecte avec {{username}} / {{password}}.",
          "const isLogin = pm.request.url.getPath().endsWith('/auth/login');",
          "if (!isLogin && !pm.collectionVariables.get('jwt') && pm.variables.get('username')) {",
          "  pm.sendRequest({",
          "    url: pm.variables.replaceIn('{{baseUrl}}/auth/login'), method: 'POST',",
          "    header: { 'Content-Type': 'application/json' },",
          "    body: { mode: 'raw', raw: JSON.stringify({ username: pm.variables.get('username'), password: pm.variables.get('password') }) },",
          "  }, (err, res) => {",
          "    if (err || res.code !== 200) { console.warn('Connexion automatique impossible :', err || res.code, '— lancer « Connexion » à la main (419 : changement de mot de passe exigé ; 420 : défi MFA).'); return; }",
          "    const j = res.json(); const jwt = j.token || j.jwt;",
          "    if (jwt) pm.collectionVariables.set('jwt', String(jwt).replace(/^Bearer\\s+/i, ''));",
          "    if (j.refresh || j.refreshToken) pm.collectionVariables.set('refreshToken', j.refresh || j.refreshToken);",
          "    if (j.personne_id) pm.collectionVariables.set('personneId', j.personne_id);",
          "  });",
          "}"
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://gateway.amana.dz/MOBILE/api/v1"
    },
    {
      "key": "username",
      "value": ""
    },
    {
      "key": "password",
      "value": ""
    },
    {
      "key": "wilayaId",
      "value": "16"
    },
    {
      "key": "filterId",
      "value": "1"
    },
    {
      "key": "produitId",
      "value": "5"
    },
    {
      "key": "codeProduit",
      "value": "ACED"
    },
    {
      "key": "codeProduitGaranties",
      "value": "SIED"
    },
    {
      "key": "codeCarteFlash",
      "value": "CODE-INVALIDE"
    },
    {
      "key": "promoCode",
      "value": "CODE-INCONNU"
    },
    {
      "key": "jwt",
      "value": ""
    },
    {
      "key": "refreshToken",
      "value": ""
    },
    {
      "key": "personneId",
      "value": ""
    },
    {
      "key": "maintenant",
      "value": ""
    },
    {
      "key": "demain",
      "value": ""
    },
    {
      "key": "demainPlus14",
      "value": ""
    },
    {
      "key": "demainPlus29",
      "value": ""
    },
    {
      "key": "demainPlus364",
      "value": ""
    },
    {
      "key": "contratId",
      "value": ""
    },
    {
      "key": "santeContratId",
      "value": ""
    },
    {
      "key": "claimId",
      "value": ""
    },
    {
      "key": "refundId",
      "value": ""
    },
    {
      "key": "ayantDroitId",
      "value": ""
    },
    {
      "key": "documentPath",
      "value": ""
    },
    {
      "key": "bulletinDownloadUrl",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "Connexion",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Accept-Language",
            "value": "fr"
          }
        ],
        "url": "{{baseUrl}}/auth/login",
        "description": "**Écran** : Connexion\n\n**Code de l'application** : `login` — appelé par AuthContext, context, config.base, dev-auth\n\n**API cible** : [POST /auth/login — Se connecter](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/login) · état : à corriger\n\n**Tickets** : #30, #40, #65, #25, #71\n\n**À savoir** : Réponses possibles hors 200 : 419 (changement de mot de passe exigé) et 420 (défi MFA : le jeton arrive dans l'en-tête `setCodeMultiFactorielleToken`, puis « Envoyer le code MFA » et « Vérifier le code MFA » du dossier Écritures).",
        "auth": {
          "type": "noauth"
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "event": [
        {
          "listen": "test",
          "script": {
            "type": "text/javascript",
            "exec": [
              "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));",
              "const j = pm.response.json();",
              "const jwt = j.token || j.jwt; if (jwt) pm.collectionVariables.set('jwt', String(jwt).replace(/^Bearer\\s+/i, ''));",
              "if (j.refresh || j.refreshToken) pm.collectionVariables.set('refreshToken', j.refresh || j.refreshToken);",
              "if (j.personne_id) pm.collectionVariables.set('personneId', j.personne_id);"
            ]
          }
        }
      ]
    },
    {
      "name": "A · Lecture et devis — sans effet",
      "description": "Lectures, devis et vérifications : rien n'est créé, payé ni envoyé.",
      "item": [
        {
          "name": "Auth",
          "item": [
            {
              "name": "Profil de l'utilisateur connecté",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/auth/me",
                "description": "**Écran** : Accueil, Compte, préremplissage des souscriptions\n\n**Code de l'application** : `getMe` — appelé par AuthContext, use-restore-session, use-get-souscription-personal-prefill, use-create-souscription\n\n**API cible** : [GET /auth/me — Profil de l'utilisateur connecté](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/getMe) · état : à corriger\n\n**Tickets** : #31, #25, #40, #39, #89"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Politique de mot de passe",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/auth/password-policy",
                "description": "**Écran** : Inscription, changement de mot de passe\n\n**Code de l'application** : `getPasswordPolicy` — appelé par use-get-password-policy\n\n**API cible** : [GET /auth/password-policy — Politique de mot de passe](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/getPasswordPolicy) · état : existant\n\n**Tickets** : #65"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Vérifier le mot de passe actuel",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/auth/check",
                "description": "**Écran** : Compte › modifier e-mail / téléphone / mot de passe\n\n**Code de l'application** : `checkUserPassword` — appelé par use-verify-email-password, use-verify-phone-password, use-send-password-otp\n\n**API cible** : [POST /auth/check — Vérifier le mot de passe courant (avant modification des coordonnées)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/checkUserPassword) · état : existant",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Renouveler le jeton",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/auth/refresh",
                "description": "**Écran** : Toute l'application (reconduction de session)\n\n**Code de l'application** : `refreshToken` — appelé par http-client\n\n**API cible** : [POST /auth/refresh — Rafraîchir la session](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/refreshToken) · état : à corriger\n\n**Tickets** : #1, #39\n\n**À savoir** : Fait tourner le jeton de rafraîchissement : l'ancien n'est plus valable après l'appel.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"refreshToken\": \"{{refreshToken}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));",
                      "const j = pm.response.json(); const jwt = j.token || j.jwt; if (jwt) pm.collectionVariables.set('jwt', String(jwt).replace(/^Bearer\\s+/i, ''));",
                      "if (j.refresh || j.refreshToken) pm.collectionVariables.set('refreshToken', j.refresh || j.refreshToken);"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Compte",
          "item": [
            {
              "name": "Photo de profil",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/users/photo",
                "description": "**Écran** : Compte, Profil\n\n**Code de l'application** : `getUserPhoto` — appelé par use-get-profil-data, use-get-compte-data\n\n**API cible** : [GET /users/photo — Photo de profil](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Compte/operation/getUserPhoto) · état : à corriger"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 404', () => pm.expect(pm.response.code).to.be.oneOf([200, 404]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Produits & tarifs",
          "item": [
            {
              "name": "Catalogue des produits",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/produits",
                "description": "**Écran** : Accueil, Menu › Produits\n\n**Code de l'application** : `getProduitsSimple` — appelé par use-get-products, use-get-home-data, _telemetry\n\n**API cible** : [GET /produits — Catalogue des produits](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Produits-and-tarifs/operation/getProduitsSimple) · état : à corriger\n\n**Tickets** : #44"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Tarif d'appel d'un produit",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/tarifs?codeProduit={{codeProduit}}",
                "description": "**Écran** : Accueil, fiche produit\n\n**Code de l'application** : `getTarifsByCodeProduit` — appelé par use-get-products, use-get-home-data\n\n**API cible** : [GET /tarifs — Tarifs (formules) d'un produit](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Produits-and-tarifs/operation/getTarifsByCodeProduit) · état : à corriger\n\n**Tickets** : #44, #61, #90"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Fiche produit",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/produits/{{produitId}}/detail",
                "description": "**Écran** : Menu › Produits › fiche\n\n**Code de l'application** : `getProduitDetail` — appelé par use-get-product-detail\n\n**API cible** : [GET /produits/{produitId}/detail — Fiche produit (contenu marketing, FAQ, garanties, formules)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Produits-and-tarifs/operation/getDetailProduit) · état : à corriger\n\n**Tickets** : #48, #49, #63"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Garanties d'un produit",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/garanties/{{codeProduitGaranties}}",
                "description": "**Écran** : Fiche produit, résumé de devis\n\n**Code de l'application** : `getGaranties` — appelé par use-get-declaration-garanties, use-get-product-detail\n\n**API cible** : [GET /garanties/{codeProduit} — Garanties d'un produit, avec la valeur par formule](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Produits-and-tarifs/operation/getGaranties) · état : existant\n\n**Tickets** : #48, #49"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Garanties déclarables",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/coverages/{{produitId}}",
                "description": "**Écran** : Déclaration de sinistre › garantie\n\n**Code de l'application** : `garantiesParProduit` — appelé par use-submit-resiliation, use-get-contract-detail\n\n**API cible** : [GET /coverages/{produitId} — Garanties déclarables d'un produit (sélecteur de la déclaration de sinistre)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Produits-and-tarifs/operation/garantiesParProduit) · état : existant\n\n**Tickets** : #53"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Devis & souscription",
          "item": [
            {
              "name": "Devis Scolaire",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/souscriptions/simulation",
                "description": "**Écran** : Devis Scolaire › résumé\n\n**Code de l'application** : `calculSimulation` — appelé par use-devis-simulation\n\n**API cible** : [POST /souscriptions/simulation — Devis Accident / Scolaire](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/calculSimulation) · état : à corriger\n\n**Tickets** : #73, #90, #83, #39",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"typeContratId\": 526,\n  \"produitId\": 3,\n  \"formuleId\": 4,\n  \"codeCoupon\": \"\",\n  \"dateEffet\": \"{{demain}}\",\n  \"souscripteur\": null,\n  \"assures\": [\n    {\n      \"nom\": \"\",\n      \"prenom\": \"\",\n      \"dateNaissance\": null\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Devis Accident",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/souscriptions/simulation",
                "description": "**Écran** : Devis Accident › résumé\n\n**Code de l'application** : `calculSimulation` — appelé par use-devis-simulation\n\n**API cible** : [POST /souscriptions/simulation — Devis Accident / Scolaire](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/calculSimulation) · état : à corriger\n\n**Tickets** : #73, #90, #83, #39",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"typeContratId\": 528,\n  \"produitId\": 4,\n  \"formuleId\": 7,\n  \"codeCoupon\": \"\",\n  \"dateEffet\": \"{{demain}}\",\n  \"souscripteur\": null,\n  \"assures\": [\n    {\n      \"nom\": \"\",\n      \"prenom\": \"\",\n      \"dateNaissance\": null\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Devis Santé",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/souscriptions/devis-souscription-sante",
                "description": "**Écran** : Devis Santé › résumé\n\n**Code de l'application** : `devisContratDetails` — appelé par use-validate-sante-coupon, use-sante-devis\n\n**API cible** : [POST /souscriptions/devis-souscription-sante — Devis Santé (individuelle / famille)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/devisContratDetails) · état : à corriger\n\n**Tickets** : #61, #39, #73",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"formuleId\": 6,\n  \"typeContratId\": 530,\n  \"nombreMembres\": 0,\n  \"dateEffet\": \"{{demain}}\",\n  \"dateFin\": \"{{demainPlus364}}\",\n  \"couponCode\": \"\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Devis Voyage",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/simulation-voyage",
                "description": "**Écran** : Devis Voyage › formules\n\n**Code de l'application** : `simulationVoyage` — appelé par use-voyage-simulation\n\n**API cible** : [POST /simulation-voyage — Devis Voyage (individuelle / famille / groupe)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/simulationVoyage) · état : à corriger\n\n**Tickets** : #22, #23, #76, #51, #40, #39, #63, #62, #73",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"produitId\": 1,\n  \"typeContratId\": 510,\n  \"conventionId\": 1,\n  \"destinationId\": 242,\n  \"dureeJours\": 14,\n  \"dateEffet\": \"{{demain}}\",\n  \"dateFin\": \"{{demainPlus14}}\",\n  \"age\": 33,\n  \"nbrsPersonneIndividuel\": 1,\n  \"nbrsPersonneTranche1\": 0,\n  \"nbrsPersonneTranche2\": 0,\n  \"nbrsPersonneTranche3\": 0,\n  \"nbrsPersonneTranche4\": 0,\n  \"nbrsPersonneTranche5\": 0,\n  \"nbrsPersonneTranche6\": 0,\n  \"couponCode\": null,\n  \"ticket\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Valider un code promo",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/promoCode/validate",
                "description": "**Écran** : Devis › code promo\n\n**Code de l'application** : `validatePromoCode` — appelé par use-validate-promo-code\n\n**API cible** : [POST /promoCode/validate — Valider un code promotionnel](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/getProductionAllCoupons) · état : à corriger\n\n**Tickets** : #50, #73\n\n**À savoir** : 404 « promotions not found » = code inconnu (l'application affiche « code invalide »).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"{{promoCode}}\",\n  \"produitId\": 3\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 404', () => pm.expect(pm.response.code).to.be.oneOf([200, 404]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Vérifier une carte Flash",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/carteFlash/checkTicketValidation",
                "description": "**Écran** : Carte Flash › code\n\n**Code de l'application** : `checkTicketValidation` — appelé par use-validate-flash-card, flash-card\n\n**API cible** : [POST /carteFlash/checkTicketValidation — Vérifier une carte Flash (ticket prépayé)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/checkTicketValidation) · état : à corriger\n\n**Tickets** : P2.8, #72\n\n**À savoir** : Code invalide par défaut : la réponse porte `statut: \"false\"`.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"{{codeCarteFlash}}\",\n  \"connect\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Contrats",
          "item": [
            {
              "name": "Liste des contrats",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/contrats?page=0&size=20",
                "description": "**Écran** : Mes contrats, Accueil › derniers contrats\n\n**Code de l'application** : `getContrats` — appelé par use-get-contracts, use-get-declaration-contracts, use-get-mon-espace-data, use-get-home-data\n\n**API cible** : [GET /contrats — Contrats du souscripteur connecté (paginés)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Contrats/operation/getAllSouscripteurContratsDTO) · état : à corriger\n\n**Tickets** : #33, #46, P2.5, #39, #40, #49"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));",
                      "const j = pm.response.json();",
                      "const rows = Array.isArray(j) ? j : (j.content || j.data || []);",
                      "if (rows.length && rows[0].contratId != null && !pm.collectionVariables.get('contratId_manuel')) pm.collectionVariables.set('contratId', rows[0].contratId);",
                      "const sante = rows.find((r) => (r.typeContratId && r.typeContratId.produitid === 5) || (r.formuleId && r.formuleId.produitid === 5));",
                      "const isSante = (r) => (r.typeContratId && r.typeContratId.produitid === 5) || (r.formuleId && r.formuleId.produitid === 5);",
                      "if (!pm.environment.get('santeContratId')) {",
                      "  if (sante) pm.collectionVariables.set('santeContratId', sante.contratId);",
                      "  else pm.sendRequest({ url: pm.variables.replaceIn('{{baseUrl}}/contrats?page=0&size=200'), method: 'GET',",
                      "    header: { Authorization: 'Bearer ' + pm.collectionVariables.get('jwt') } }, (err, res) => {",
                      "    if (err || res.code !== 200) return;",
                      "    const all = res.json().content || []; const s = all.find(isSante);",
                      "    if (s) pm.collectionVariables.set('santeContratId', s.contratId);",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Détail d'un contrat",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/contrats/{{contratId}}",
                "description": "**Écran** : Mes contrats › détail\n\n**Code de l'application** : `getSouscripteurContratsDTO` — appelé par use-confirm-card-payment, use-create-voyage-souscription, use-submit-resiliation, use-get-contract-detail\n\n**API cible** : [GET /contrats/{contratId} — Détail d'un contrat](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Contrats/operation/getSouscripteurContratsDTO) · état : à corriger\n\n**Tickets** : #53, #83, #39, #40, P2.5"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Avenants",
          "item": [
            {
              "name": "Devis de renouvellement Santé",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/avenants/{{santeContratId}}/renouvellements/sante/devis",
                "description": "**Écran** : Contrat Santé › renouveler\n\n**Code de l'application** : `devisRenouvellementSante` — appelé par use-renouvellement-sante-devis\n\n**API cible** : [POST /avenants/{contratId}/renouvellements/sante/devis — Devis de renouvellement d'un contrat Santé](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Avenants/operation/devisRenouvellementSante) · état : à corriger\n\n**Tickets** : #28, #42, #39\n\n**À savoir** : Ne crée rien. Au 27/09 : 409 « problem devis Renouvellement Sante » pour tout corps (brouillon N43).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"modifyDevis\": false,\n  \"typecontratid\": 542,\n  \"coupon\": \"\",\n  \"formule\": \"Premium\",\n  \"membres\": []\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Devis d'adjonction Santé",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/avenants/{{santeContratId}}/adjonctions/sante/devis",
                "description": "**Écran** : Contrat Santé › ajouter un nouveau-né\n\n**Code de l'application** : `devisAdjonctionSante` — appelé par use-adjonction-sante-devis\n\n**API cible** : [POST /avenants/{contratId}/adjonctions/sante/devis — Devis d'adjonction d'une personne à charge sur un contrat Santé](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Avenants/operation/devisAdjonctionSante) · état : à corriger\n\n**Tickets** : #29, #42, #39\n\n**À savoir** : Ne crée rien. Au 27/09 : 500 de passerelle (le 409 amont rangé dans un champ entier, brouillon N44). `dateNaissance` en dd/MM/yyyy.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"membre\": {\n    \"nom\": \"Nom\",\n    \"prenom\": \"Lina\",\n    \"dateNaissance\": \"15/06/2026\"\n  },\n  \"modifyDevis\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Sinistres",
          "item": [
            {
              "name": "Liste des sinistres",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/claims?page=1",
                "description": "**Écran** : Mes sinistres\n\n**Code de l'application** : `getClaims` — appelé par use-get-mon-espace-data\n\n**API cible** : [GET /claims — Sinistres hors santé du souscripteur (paginés)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sinistres/operation/affichageSinistre) · état : à corriger\n\n**Tickets** : #33, #39, #40\n\n**À savoir** : Sans `page`, répond 500 (ticket #33)."
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));",
                      "const j = pm.response.json();",
                      "const rows = Array.isArray(j) ? j : (j.content || j.data || []);",
                      "if (rows.length && rows[0].id != null && !pm.collectionVariables.get('claimId_manuel')) pm.collectionVariables.set('claimId', rows[0].id);"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Détail d'un sinistre",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/claims/{{claimId}}",
                "description": "**Écran** : Mes sinistres › suivi\n\n**Code de l'application** : `getClaimDetail` — appelé par use-get-sinistre-tracking\n\n**API cible** : [GET /claims/{demandeId} — Détail d'un sinistre](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sinistres/operation/getDetailDemandeSinistre) · état : à corriger\n\n**Tickets** : #39, #40"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Fil du service client",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/chat/history?pageSize=20",
                "description": "**Écran** : Sinistre › contacter le service client\n\n**Code de l'application** : `getHistory` — appelé par use-get-service-client-conversation\n\n**API cible** : [GET /chat/history — Historique du chat service client (par sinistre)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sinistres/operation/getHistory) · état : à corriger\n\n**Tickets** : #11, #39"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Remboursements",
          "item": [
            {
              "name": "Liste des remboursements",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/refunds?page=1",
                "description": "**Écran** : Espace Santé › remboursements\n\n**Code de l'application** : `getRefunds` — appelé par use-get-mon-espace-data, use-get-espace-sante-data, use-get-home-data\n\n**API cible** : [GET /refunds — Remboursements santé de l'adhérent (paginés)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Remboursements/operation/getRemboursements) · état : à corriger\n\n**Tickets** : #33, #88, #93, #39"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));",
                      "const j = pm.response.json();",
                      "const rows = Array.isArray(j) ? j : (j.content || j.data || []);",
                      "if (rows.length && rows[0].id != null && !pm.collectionVariables.get('refundId_manuel')) pm.collectionVariables.set('refundId', rows[0].id);"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Détail d'un remboursement",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/refunds/{{refundId}}",
                "description": "**Écran** : Remboursement › suivi\n\n**Code de l'application** : `getRefundDetail` — appelé par use-get-sinistre-sante-tracking\n\n**API cible** : [GET /refunds/{refundId} — Détail d'un remboursement](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Remboursements/operation/getRemboursementById) · état : à corriger\n\n**Tickets** : #57, #39"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Actes remboursables",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/actes/groups",
                "description": "**Écran** : Déclaration de remboursement › type d'acte\n\n**Code de l'application** : `getActesWithGroups` — appelé par use-get-remboursement-actes\n\n**API cible** : [GET /actes/groups — Référentiel des actes remboursables, par groupe, avec les justificatifs requis](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Remboursements/operation/getActesWithGroups) · état : à corriger\n\n**Tickets** : #56, #49"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Santé (profil, membres, documents)",
          "item": [
            {
              "name": "Fiche adhérent santé",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/members",
                "description": "**Écran** : Espace Santé, Profil santé\n\n**Code de l'application** : `getMembers` — appelé par use-get-souscription-personal-prefill, use-update-health-profile-medical, use-validate-adherent, use-update-health-profile-personal\n\n**API cible** : [GET /members — Fiche de l'adhérent santé connecté](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/getAdherentInformation) · état : à corriger\n\n**Tickets** : #18, #89, #40, #39, #47\n\n**À savoir** : 404 pour un compte qui n'est pas adhérent santé."
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 404', () => pm.expect(pm.response.code).to.be.oneOf([200, 404]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Bulletin d'adhésion (métadonnées)",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/members/bulletinAdhesion",
                "description": "**Écran** : Compléter profil santé › documents\n\n**Code de l'application** : `getBulletinAdhesion` — appelé par use-download-bulletin-adhesion\n\n**API cible** : [GET /members/bulletinAdhesion — Bulletin d'adhésion à signer](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/getBulletinAdhesion) · état : à corriger\n\n**Tickets** : #15, #4"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));",
                      "const j = pm.response.json(); if (j.downloadUrl) pm.collectionVariables.set('bulletinDownloadUrl', j.downloadUrl);"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Bulletin d'adhésion (fichier PDF)",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{bulletinDownloadUrl}}",
                "description": "**Écran** : Compléter profil santé › « Télécharger une copie »\n\n**Code de l'application** : `(téléchargement direct)` — appelé par appel direct (hors `generated.ts`)\n\n**À savoir** : URL rendue par la requête précédente ; exige le jeton (401 sans)."
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Bénéficiaires en cas de décès",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/beneficiaries?page=1",
                "description": "**Écran** : Profil santé › bénéficiaires\n\n**Code de l'application** : `getBeneficiaries` — appelé par use-save-health-profile-beneficiaries, use-get-espace-sante-data, use-get-health-profile-overview\n\n**API cible** : [GET /beneficiaries — Bénéficiaires en cas de décès, avec leur part](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/getAdherentBeneficiaries) · état : à corriger\n\n**Tickets** : #33, #80, #39, #27"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Personnes à charge",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/ayantDroits?page=0",
                "description": "**Écran** : Espace Santé, Profil santé\n\n**Code de l'application** : `getAyantDroits` — appelé par use-get-remboursement-beneficiaries, use-get-espace-sante-data, use-get-health-dependent-profiles, use-get-declaration-insured-persons\n\n**API cible** : [GET /ayantDroits — Ayants droit (personnes à charge) de l'adhérent](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/getAyantDroits) · état : à corriger\n\n**Tickets** : #47, #39, #27"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));",
                      "const j = pm.response.json();",
                      "const rows = Array.isArray(j) ? j : (j.content || j.data || []);",
                      "if (rows.length && rows[0].id != null && !pm.collectionVariables.get('ayantDroitId_manuel')) pm.collectionVariables.set('ayantDroitId', rows[0].id);"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Photo d'une personne à charge",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/members/dependents/{{ayantDroitId}}/photo",
                "description": "**Écran** : Espace Santé › cartes, Profil santé\n\n**Code de l'application** : `(image directe)` — appelé par appel direct (hors `generated.ts`)\n\n**API cible** : [GET /members/dependents/{id}/photo — Photo d'un ayant droit](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/downloadPhoto) · état : à corriger\n\n**Tickets** : #86\n\n**À savoir** : Au 28/09 : 404 ou 500 sur toutes les lignes du compte de test (ticket #86)."
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Paiement (CIB, Edahabia, Points Verts, livraison)",
          "item": [
            {
              "name": "Solde Points Verts",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/points-verts/check-solde",
                "description": "**Écran** : Paiement › Points Verts\n\n**Code de l'application** : `checkSolde` — appelé par use-get-points-verts-balance\n\n**API cible** : [GET /points-verts/check-solde — Solde de Points Verts (1 point = 1 DA)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Paiement-(CIB-Edahabia-Points-Verts-livraison)/operation/checkSolde) · état : à corriger\n\n**Tickets** : #42"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Documents",
          "item": [
            {
              "name": "Documents utiles",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/documents",
                "description": "**Écran** : Menu › Documents utiles\n\n**Code de l'application** : `getAllDocuments` — appelé par use-get-useful-documents\n\n**API cible** : [GET /documents — Documents utiles (textes réglementaires, guides)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Documents/operation/getAllDocuments) · état : à corriger\n\n**Tickets** : #4, #3, #49"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));",
                      "const j = pm.response.json(); const rows = Array.isArray(j) ? j : (j.content || j.data || []);",
                      "if (rows.length && rows[0].fichier) pm.collectionVariables.set('documentPath', rows[0].fichier);"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Agences & Allo Docteur",
          "item": [
            {
              "name": "Médecins Allo Docteur",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/alloDocteur",
                "description": "**Écran** : Menu › Docteur chez moi\n\n**Code de l'application** : `getAllMedecins` — appelé par use-get-medecins, types\n\n**API cible** : [GET /alloDocteur — Annuaire des médecins (Allo Docteur)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Agences-and-Allo-Docteur/operation/getAllMedecins) · état : à corriger\n\n**Tickets** : #40"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Spécialités médicales",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/alloDocteur/Specialite",
                "description": "**Écran** : Menu › Docteur chez moi\n\n**Code de l'application** : `getAllSpecialite` — appelé par use-get-specialites-sante, types\n\n**API cible** : [GET /alloDocteur/Specialite — Spécialités médicales (filtre d'Allo Docteur)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Agences-and-Allo-Docteur/operation/getAllSpecialite) · état : à corriger\n\n**Tickets** : #40, #49"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Agences",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/Agence?wilayaId={{wilayaId}}",
                "description": "**Écran** : Menu › Réseau\n\n**Code de l'application** : `getAgences` — appelé par use-get-agences\n\n**API cible** : [GET /Agence — Réseau d'agences (filtrable par wilaya et par texte)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Agences-and-Allo-Docteur/operation/getListAgences) · état : à corriger\n\n**Tickets** : #40"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Notifications",
          "item": [
            {
              "name": "Notifications",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/notifications?page=0&size=20",
                "description": "**Écran** : Menu › Notifications\n\n**Code de l'application** : `getAllNotifications` — appelé par use-get-mon-espace-data, use-get-espace-sante-data, use-get-compte-data, use-get-notifications\n\n**API cible** : [GET /notifications — Fil de notifications (paginé, plus récentes d'abord)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Notifications/operation/getAllNotifications) · état : à corriger\n\n**Tickets** : #77, #33, #39, #49"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Contenu",
          "item": [
            {
              "name": "Actualités",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/a-propos-amana/actualites",
                "description": "**Écran** : Accueil, Menu › Actualités\n\n**Code de l'application** : `getAllCarouselComp` — appelé par use-get-news\n\n**API cible** : [GET /a-propos-amana/actualites — Actualités (carrousel de l'accueil, liste et détail)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Contenu/operation/getAllCarouselComp) · état : à corriger\n\n**Tickets** : #39, #49"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Numéros SOS",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/a-propos-amana/sos",
                "description": "**Écran** : Menu › SOS\n\n**Code de l'application** : `getSos` — appelé par use-get-sos-directory\n\n**API cible** : [GET /a-propos-amana/sos — Contacts utiles (SOS) — numéros Amana et numéros verts](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Contenu/operation/getSos) · état : à corriger\n\n**Tickets** : #49"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Document utile (fichier)",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/documents/download?path={{documentPath}}",
                "description": "**Écran** : Menu › Documents utiles › télécharger\n\n**Code de l'application** : `(téléchargement direct)` — appelé par appel direct (hors `generated.ts`)"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Référentiels",
          "item": [
            {
              "name": "Wilayas",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/wilayas",
                "description": "**Écran** : Formulaires d'adresse, réseau d'agences\n\n**Code de l'application** : `getAllWilayas` — appelé par use-get-wilayas, use-get-agence-wilayas\n\n**API cible** : [GET /wilayas — Référentiel des wilayas](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Produits-and-tarifs/operation/getAllWilayas) · état : existant"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Communes d'une wilaya",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/wilayas/{{wilayaId}}/communes",
                "description": "**Écran** : Paiement à la livraison, adresse\n\n**Code de l'application** : `getCommunesByWilayas` — appelé par use-get-communes\n\n**API cible** : [GET /wilayas/{wilayaId}/communes — Communes d'une wilaya](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Produits-and-tarifs/operation/getCommunesByWilayas) · état : à corriger\n\n**Tickets** : #40"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Professions",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/professions",
                "description": "**Écran** : Souscription Voyage › voyageur\n\n**Code de l'application** : `getProfessions` — appelé par use-get-professions\n\n**API cible** : [GET /professions — Référentiel des professions](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Produits-and-tarifs/operation/getAll) · état : existant\n\n**Tickets** : #34"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "Pays d'un type de destination",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/destination/filter/{{filterId}}",
                "description": "**Écran** : Devis Voyage › destination\n\n**Code de l'application** : `getFilteredDestinations` — appelé par use-get-countries\n\n**API cible** : [GET /destination/filter/{filterId} — Pays d'un type de destination](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Produits-and-tarifs/operation/getFilteredDestinations) · état : à corriger\n\n**Tickets** : #40"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "B · ⚠️ Écritures",
      "description": "Créent, paient, modifient ou envoient. Une par une, sur un compte de recette, variables `w_…` renseignées.",
      "item": [
        {
          "name": "Auth",
          "item": [
            {
              "name": "⚠️ Envoyer un code OTP",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/auth/otp",
                "description": "⚠️ **Envoie un e-mail ou un code réel.**\n\n**Écran** : Inscription, mot de passe oublié\n\n**Code de l'application** : `sendOtpCode` — appelé par use-send-register-phone-otp, use-send-forgot-password-otp, use-send-register-email-otp\n\n**API cible** : [POST /auth/otp — Envoyer un code OTP (inscription, mot de passe oublié, changement de coordonnées)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/sendOtpCode) · état : à corriger\n\n**Tickets** : #2, #67, #82, #69, #64\n\n**À savoir** : Envoie un vrai e-mail. Un seul code par 15 min (409 « Code generated déja » sinon).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{username}}\",\n  \"channel\": \"EMAIL\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Valider un code OTP",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/auth/otp/validate",
                "description": "⚠️ **Envoie un e-mail ou un code réel.**\n\n**Écran** : Inscription, mot de passe oublié\n\n**Code de l'application** : `validateOtpCode` — appelé par use-verify-forgot-password-otp, use-verify-phone-otp, use-verify-register-phone-otp, use-verify-email-otp\n\n**API cible** : [POST /auth/otp/validate — Valider un code OTP](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/validateOtpCode) · état : à corriger\n\n**Tickets** : #70, #68, #66\n\n**À savoir** : Rend un jeton de réinitialisation ; `code` : les six chiffres reçus par e-mail.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{username}}\",\n  \"code\": \"{{codeOtp}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Envoyer le code MFA",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/auth/mfa/send",
                "description": "⚠️ **Envoie un e-mail ou un code réel.**\n\n**Écran** : Connexion › défi MFA\n\n**Code de l'application** : `resendMaf` — appelé par use-send-password-otp, use-resend-login-mfa\n\n**API cible** : [POST /auth/mfa/send — (Ré)envoyer le code MFA d'un défi de connexion](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/resendMaf) · état : existant\n\n**Tickets** : #16\n\n**À savoir** : Porter le jeton du 420 (`setCodeMultiFactorielleToken`) dans `Authorization`.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"channel\": \"EMAIL\",\n  \"username\": \"{{username}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Vérifier le code MFA",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/auth/mfa/verify",
                "description": "⚠️ **Envoie un e-mail ou un code réel.**\n\n**Écran** : Connexion › défi MFA\n\n**Code de l'application** : `validationMaf` — appelé par use-verify-password-otp\n\n**API cible** : [POST /auth/mfa/verify — Vérifier le code MFA et ouvrir la session](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/validationMaf) · état : à corriger\n\n**Tickets** : #75, #16\n\n**À savoir** : Même jeton que ci-dessus. Codes reçus le 26/09 : quatre chiffres (brouillon N49).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"{{codeMfa}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⛔ Changer le mot de passe",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/auth/password",
                "description": "⛔ **Action irréversible sur le compte.** À ne lancer que sur un compte dédié.\n\n**Écran** : Mot de passe oublié › nouveau, Compte › mot de passe\n\n**Code de l'application** : `updatePassword` — appelé par use-reset-forgot-password, use-update-password, EditPasswordRoute, LoginRoute\n\n**API cible** : [PATCH /auth/password — Définir un nouveau mot de passe (après OTP ou défi 419)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/updatePassword) · état : existant\n\n**Tickets** : #65\n\n**À savoir** : ⛔ Change le mot de passe du compte : ne pas lancer sur un compte partagé.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"newPassword\": \"{{nouveauMotDePasse}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Créer un compte",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/users",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Inscription\n\n**Code de l'application** : `registerUser` — appelé par use-complete-registration\n\n**API cible** : [POST /users — Créer un compte](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/newUser) · état : à corriger\n\n**Tickets** : #65, #64, #71, #39\n\n**À savoir** : Crée un compte réel. Utiliser une adresse jetable.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"login\": \"test@example.invalid\",\n  \"nom\": \"TEST\",\n  \"prenom\": \"TEST\",\n  \"password\": \"Motdepasse@2026\",\n  \"telUser\": \"0550000000\",\n  \"dateNaissance\": \"02/02/1993\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Rattacher un ancien compte",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/auth/attach",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Connexion › compte migré\n\n**Code de l'application** : `newUserFromOld` — appelé par use-attach-account\n\n**API cible** : [POST /auth/attach — Rattacher un ancien compte (Santé ou Assurance) au compte unifié](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Auth/operation/newUserFromOld) · état : à corriger\n\n**Tickets** : #71\n\n**À savoir** : Jamais appelé en recette (effet en base inconnu, ticket #71).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{ancienIdentifiant}}\",\n  \"password\": \"{{ancienMotDePasse}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Compte",
          "item": [
            {
              "name": "⚠️ Modifier le profil (adresse)",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/users",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Compte › Profil\n\n**Code de l'application** : `updateUserInfos` — appelé par use-update-address, use-send-phone-update\n\n**API cible** : [PUT /users — Modifier le profil (adresse, téléphone, mot de passe, RIB, …)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Compte/operation/updateUserInfos) · état : à corriger\n\n**Tickets** : #39",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"adresse\": \"Adresse de test\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Demander un changement d'e-mail",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/users",
                "description": "⚠️ **Envoie un e-mail ou un code réel.**\n\n**Écran** : Compte › e-mail\n\n**Code de l'application** : `updateUserEmailDemande` — appelé par use-send-email-update\n\n**API cible** : [PATCH /users — Demander un changement d'adresse e-mail](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Compte/operation/updateUserEmailDemande) · état : existant\n\n**À savoir** : Envoie un code à la nouvelle adresse.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"nouveauEmail\": \"test@example.invalid\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Changer la photo de profil",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/users/photo",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Compte › photo\n\n**Code de l'application** : `updateUserPhoto` — appelé par use-update-avatar\n\n**API cible** : [POST /users/photo — Téléverser la photo de profil](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Compte/operation/updateUserPhoto) · état : existant\n\n**Tickets** : #12",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "file",
                      "type": "file",
                      "src": [],
                      "description": "choisir une image"
                    }
                  ]
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Devis & souscription",
          "item": [
            {
              "name": "⚠️ Créer un contrat (Scolaire / Accident)",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/souscriptions",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Souscription › consentements\n\n**Code de l'application** : `saveContratDetails` — appelé par use-create-souscription, use-create-sante-souscription\n\n**API cible** : [POST /souscriptions — Créer un contrat Accident / Scolaire / Santé (créé à l'étape consentement)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/saveContratDetails) · état : à corriger\n\n**Tickets** : #9, #59, #25, #39, #42\n\n**À savoir** : Crée un contrat (devis) et sa quittance. `montantPrimeTotale` = le `montantTTC` du devis.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"typeContratId\": 526,\n  \"formuleId\": 4,\n  \"personneId\": {{personneId}},\n  \"souscripteur\": {\n    \"nom\": \"test\",\n    \"prenom\": \"test\",\n    \"dateNaissance\": \"02/02/1993\"\n  },\n  \"assurePrincipal\": {\n    \"nom\": \"TEST-SCOLAIRE\",\n    \"prenom\": \"TEST\",\n    \"dateNaissance\": \"16/02/2012\",\n    \"nin\": \"000000000000000\",\n    \"telephone\": \"0550000000\"\n  },\n  \"membres\": [],\n  \"montantPrimeTotale\": 560,\n  \"couponCode\": \"\",\n  \"dateEffet\": \"{{demain}}\",\n  \"dateFin\": \"{{demainPlus364}}\",\n  \"status\": \"EN_ATTENTE\",\n  \"checkPolitique\": true,\n  \"checkCondition\": true,\n  \"checkConsentementTraitement\": true,\n  \"dateCheckPolitique\": \"{{maintenant}}\",\n  \"dateCheckCondition\": \"{{maintenant}}\",\n  \"dateCheckConsentementTraitement\": \"{{maintenant}}\",\n  \"destinationId\": 1,\n  \"duree\": 12\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Créer un contrat Santé",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/souscriptions",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Souscription Santé › consentements\n\n**Code de l'application** : `saveContratDetails` — appelé par use-create-souscription, use-create-sante-souscription\n\n**API cible** : [POST /souscriptions — Créer un contrat Accident / Scolaire / Santé (créé à l'étape consentement)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/saveContratDetails) · état : à corriger\n\n**Tickets** : #9, #59, #25, #39, #42",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"typeContratId\": 530,\n  \"formuleId\": 6,\n  \"personneId\": {{personneId}},\n  \"souscripteur\": {\n    \"nom\": \"test\",\n    \"prenom\": \"test\",\n    \"dateNaissance\": \"02/02/1993\"\n  },\n  \"assurePrincipal\": {\n    \"nom\": \"TEST-SANTE\",\n    \"prenom\": \"TEST\",\n    \"dateNaissance\": \"16/02/2012\",\n    \"nin\": \"000000000000000\",\n    \"telephone\": \"0550000000\"\n  },\n  \"membres\": [],\n  \"montantPrimeTotale\": 20000,\n  \"couponCode\": \"\",\n  \"dateEffet\": \"{{demain}}\",\n  \"dateFin\": \"{{demainPlus364}}\",\n  \"status\": \"EN_ATTENTE\",\n  \"checkPolitique\": true,\n  \"checkCondition\": true,\n  \"checkConsentementTraitement\": true,\n  \"dateCheckPolitique\": \"{{maintenant}}\",\n  \"dateCheckCondition\": \"{{maintenant}}\",\n  \"dateCheckConsentementTraitement\": \"{{maintenant}}\",\n  \"destinationId\": 1,\n  \"duree\": 12\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Voyage 1/3 · créer le voyageur principal",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/personnes/assure",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Souscription Voyage › voyageur\n\n**Code de l'application** : `createPersonneAssure` — appelé par use-create-voyage-souscription\n\n**API cible** : [POST /personnes/assure — Créer l'assuré principal d'un contrat Voyage (quand ce n'est pas le souscripteur)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/createPersonneAssure) · état : à corriger\n\n**Tickets** : #34, #39, #63",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"civiliteCode\": \"M\",\n  \"nom\": \"TEST-TEST\",\n  \"prenom\": \"VOYAGEUR\",\n  \"dateNaissance\": \"02/02/1993\",\n  \"numeroPasseport\": \"PTEST\",\n  \"dateExpirationPasseport\": \"03/11/2027\",\n  \"wilayaId\": 16,\n  \"email\": \"test@exemple.dz\",\n  \"telephone\": \"0550000000\",\n  \"adresses\": \"alger9310\",\n  \"typePersonne\": \"ASSURE_PRINCIPAL\",\n  \"profession\": \"Ingénieur\",\n  \"sexeCode\": \"M\",\n  \"nin\": \"000000000000000\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));",
                      "const j = pm.response.json(); const id = j.personneId || j.personneid || j.id; if (id) pm.collectionVariables.set('w_personneAssureId', id);"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Voyage 2/3 · créer le contrat",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/souscriptions/voyage",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Souscription Voyage › consentements\n\n**Code de l'application** : `souscrireVoyage` — appelé par use-create-voyage-souscription\n\n**API cible** : [POST /souscriptions/voyage — Créer un contrat Voyage (assuré principal + membres, en un appel)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/saveContratVoyage) · état : à corriger\n\n**Tickets** : #20, #21, #59, #40, #39\n\n**À savoir** : Répond 201 même en cas d'échec (ticket #20) : relire `GET /contrats/{id}`.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"assurePrincipalId\": {{w_personneAssureId}},\n  \"produitId\": 1,\n  \"typeContratId\": 510,\n  \"conventionId\": 1,\n  \"destinationId\": 242,\n  \"formuleId\": 1,\n  \"duree\": 14,\n  \"age\": 33,\n  \"dateEffet\": \"{{demain}}\",\n  \"dateFin\": \"{{demainPlus14}}\",\n  \"montantPrimeTotale\": 3703,\n  \"nbrsPersonneIndividuel\": 2,\n  \"nbPersonnes\": [\n    0,\n    0,\n    0,\n    0,\n    0,\n    0\n  ],\n  \"status\": \"EN_ATTENTE\",\n  \"checkPolitique\": true,\n  \"datecheckPolitique\": \"{{maintenant}}\",\n  \"checkCondition\": true,\n  \"datecheckCondition\": \"{{maintenant}}\",\n  \"checkConsentementTraitement\": true,\n  \"dateCheckConsentementTraitement\": \"{{maintenant}}\",\n  \"couponCode\": null,\n  \"ticket\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Voyage 3/3 · ajouter un voyageur",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/personnes/membre-assure",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Souscription Voyage famille / groupe\n\n**Code de l'application** : `createMembreAssure` — appelé par use-create-voyage-souscription\n\n**API cible** : [POST /personnes/membre-assure — Rattacher un voyageur supplémentaire à un contrat Voyage existant](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Devis-and-souscription/operation/createMembreAssure) · état : à corriger\n\n**Tickets** : #21, #39",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"contratId\": {{w_contratId}},\n  \"nom\": \"Nom\",\n  \"prenom\": \"Voyageuse\",\n  \"dateNaissance\": \"05/05/1995\",\n  \"numeroPasseport\": \"P0000000\",\n  \"dateExpirationPassport\": \"01/01/2028\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Contrats",
          "item": [
            {
              "name": "⚠️ Reporter la date d'un contrat Voyage",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/voyages/{{w_voyageContratId}}/report",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Contrat Voyage › report de date\n\n**Code de l'application** : `reportContrat` — appelé par use-report-voyage-contract\n\n**API cible** : [POST /voyages/{contratId}/report — Reporter la date d'effet d'un contrat Voyage](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Contrats/operation/reportContrat) · état : à corriger\n\n**Tickets** : #78, #39",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"dateDebut\": \"01/11/2026\",\n  \"modifyDevis\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Avenants",
          "item": [
            {
              "name": "⛔ Résilier un contrat",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/avenant/resiliation",
                "description": "⛔ **Action irréversible sur le compte.** À ne lancer que sur un compte dédié.\n\n**Écran** : Contrat › résilier\n\n**Code de l'application** : `avenantResiliation` — appelé par use-submit-resiliation\n\n**API cible** : [POST /avenant/resiliation — Demander la résiliation d'un contrat](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Avenants/operation/avenantResiliation) · état : à corriger\n\n**Tickets** : #81, #62, #54, #55\n\n**À savoir** : ⛔ Résilie réellement le contrat.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"contratId\": {{w_contratId}},\n  \"motifId\": 2,\n  \"typeDemande\": \"RESILIATION\",\n  \"commentaireClient\": \"Changement de situation — Commentaire du client\",\n  \"justificatif\": null,\n  \"extension\": null,\n  \"extensionLong\": null\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Enregistrer le renouvellement Santé",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/avenants/{{w_santeContratId}}/renouvellements/sante",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Renouvellement › consentements\n\n**Code de l'application** : `renouvellementSante` — appelé par use-create-renouvellement-sante\n\n**API cible** : [POST /avenants/{contratId}/renouvellements/sante — Créer l'avenant de renouvellement (génère la quittance à régler)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Avenants/operation/renouvellementSante) · état : à corriger\n\n**Tickets** : #28, #42",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"modifyDevis\": false,\n  \"typecontratid\": 542,\n  \"coupon\": \"\",\n  \"formule\": \"Premium\",\n  \"membres\": [],\n  \"formuleselect\": 9\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Enregistrer l'adjonction Santé",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/avenants/{{w_santeContratId}}/adjonctions/sante",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Adjonction › paiement\n\n**Code de l'application** : `adjonctionSante` — appelé par use-create-adjonction-sante\n\n**API cible** : [POST /avenants/{contratId}/adjonctions/sante — Créer l'avenant d'adjonction (génère la quittance à régler)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Avenants/operation/adjonctionSante) · état : à corriger\n\n**Tickets** : #29, #94, #42",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"membre\": {\n    \"nom\": \"Nom\",\n    \"prenom\": \"Lina\",\n    \"dateNaissance\": \"15/06/2026\"\n  },\n  \"modifyDevis\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Sinistres",
          "item": [
            {
              "name": "⚠️ Déclarer un sinistre",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/claims",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Déclaration de sinistre\n\n**Code de l'application** : `addDemandeSinistre` — appelé par use-declare-sinistre\n\n**API cible** : [POST /claims — Déclarer un sinistre hors santé (avec pièces)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sinistres/operation/addDemandeSinistreImplement) · état : à corriger\n\n**Tickets** : #87, #37, #12, #39\n\n**À savoir** : Au 27/09 : 500 « produit_sinistre_id on null » pour toute valeur de `produit` (ticket #87).",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "produit",
                      "type": "text",
                      "value": "voyage"
                    },
                    {
                      "key": "garantie",
                      "type": "text",
                      "value": "Annulation"
                    },
                    {
                      "key": "nom",
                      "type": "text",
                      "value": "Nom"
                    },
                    {
                      "key": "prenom",
                      "type": "text",
                      "value": "Prénom"
                    },
                    {
                      "key": "dateNaiss",
                      "type": "text",
                      "value": "02/02/1993"
                    },
                    {
                      "key": "police",
                      "type": "text",
                      "value": "{{policeNumber}}"
                    },
                    {
                      "key": "circonstance",
                      "type": "text",
                      "value": "Vol annulé au départ"
                    },
                    {
                      "key": "dateSinistre",
                      "type": "text",
                      "value": "2026-09-12"
                    },
                    {
                      "key": "dateDeclaration",
                      "type": "text",
                      "value": "29/09/2026"
                    },
                    {
                      "key": "pieces",
                      "type": "file",
                      "src": [],
                      "description": "choisir un fichier (application/pdf)"
                    }
                  ]
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Écrire au service client",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/chat/send",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Sinistre › service client\n\n**Code de l'application** : `sendMessage` — appelé par use-send-service-client-message\n\n**API cible** : [POST /chat/send — Envoyer un message au service client](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sinistres/operation/sendMessage) · état : à corriger\n\n**Tickets** : #11\n\n**À savoir** : Visible par les conseillers Amana.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"contenu\": \"Message de test automatisé — audit API TEST. À ignorer.\",\n  \"senderType\": \"adherent\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Remboursements",
          "item": [
            {
              "name": "⚠️ Déclarer un remboursement",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/refunds",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Déclaration de remboursement\n\n**Code de l'application** : `saveRemboursementImplement` — appelé par use-declare-remboursement\n\n**API cible** : [POST /refunds — Déclarer un remboursement santé (avec justificatifs)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Remboursements/operation/saveRemboursementImplement) · état : à corriger\n\n**Tickets** : #19, #37, #12, #42, #39\n\n**À savoir** : Une partie fichier par justificatif exigé par l'acte (`GET /actes/groups`).",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "codeActe",
                      "type": "text",
                      "value": "Consultation"
                    },
                    {
                      "key": "ayantDroitId",
                      "type": "text",
                      "value": "75395"
                    },
                    {
                      "key": "dateSoins",
                      "type": "text",
                      "value": "01/09/2026"
                    },
                    {
                      "key": "montant",
                      "type": "text",
                      "value": "1500"
                    },
                    {
                      "key": "bulletinSoins",
                      "type": "file",
                      "src": [],
                      "description": "choisir un fichier (PDF ou image)"
                    }
                  ]
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Santé (profil, membres, documents)",
          "item": [
            {
              "name": "⚠️ Enregistrer le profil santé (identité)",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/members",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Compléter / modifier profil santé\n\n**Code de l'application** : `editAdherent` — appelé par use-update-health-profile-medical, use-validate-adherent, use-update-health-profile-personal\n\n**API cible** : [PUT /members — Modifier la fiche adhérent (identité, coordonnées, RIB, questionnaire)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/editAdherent) · état : à corriger\n\n**Tickets** : #18, #39\n\n**À savoir** : Remplace la fiche entière : partir de `GET /members`.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"nomJeuneFille\": null,\n  \"telephone\": \"0550000000\",\n  \"codePostal\": 16001,\n  \"rib\": \"{{rib}}\",\n  \"sexe\": \"Féminin\",\n  \"droitierGauchier\": \"Droitier\",\n  \"adresse\": \"Adresse de test\",\n  \"ville\": \"Alger\",\n  \"situationFamiliale\": \"Marié\",\n  \"dateEntreeService\": \"07/03/2023\",\n  \"questionnaire\": {\n    \"bonneSanteQuestion\": \"Oui\",\n    \"maladieChroniqueQuestion\": \"Non\",\n    \"interventionsChirurgicalesQuestion\": \"Non\",\n    \"infirmitesCongenitalesQuestion\": \"Non\",\n    \"arretTravailQuestion\": \"Non\",\n    \"maladieChroniqueReponse\": null,\n    \"interventionsChirurgicalesReponse\": null,\n    \"infirmitesCongenitalesReponse\": null,\n    \"arretTravailReponse\": null\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Enregistrer le questionnaire médical",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/members",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Compléter / modifier profil santé\n\n**Code de l'application** : `editAdherent` — appelé par use-update-health-profile-medical, use-validate-adherent, use-update-health-profile-personal\n\n**API cible** : [PUT /members — Modifier la fiche adhérent (identité, coordonnées, RIB, questionnaire)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/editAdherent) · état : à corriger\n\n**Tickets** : #18, #39",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"nomJeuneFille\": null,\n  \"telephone\": \"0550000000\",\n  \"codePostal\": 16001,\n  \"rib\": \"{{rib}}\",\n  \"sexe\": \"Féminin\",\n  \"droitierGauchier\": \"droitier\",\n  \"adresse\": \"Adresse de test\",\n  \"ville\": \"Alger\",\n  \"situationFamiliale\": \"Célibataire\",\n  \"dateEntreeService\": \"07/03/2023\",\n  \"questionnaire\": {\n    \"bonneSanteQuestion\": \"Oui\",\n    \"maladieChroniqueQuestion\": \"Non\",\n    \"interventionsChirurgicalesQuestion\": \"Non\",\n    \"infirmitesCongenitalesQuestion\": \"Non\",\n    \"arretTravailQuestion\": \"Non\",\n    \"maladieChroniqueReponse\": null,\n    \"interventionsChirurgicalesReponse\": null,\n    \"infirmitesCongenitalesReponse\": null,\n    \"arretTravailReponse\": null\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Déposer les pièces du profil santé",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/members/addPieceJointe",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Compléter profil santé › documents\n\n**Code de l'application** : `addPieceJointe` — appelé par use-validate-adherent, health\n\n**API cible** : [POST /members/addPieceJointe — Déposer ou remplacer une ou plusieurs pièces justificatives de l'adhérent](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/addPieceJointe) · état : à corriger\n\n**Tickets** : #13, #37, #12\n\n**À savoir** : Depuis le 28/09, `rib` + `justificatif_rib` ne sont exigés que tant qu'ils ne sont pas enregistrés (ticket #13).",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "rib",
                      "type": "text",
                      "value": "{{rib}}"
                    },
                    {
                      "key": "justificatif_rib",
                      "type": "file",
                      "src": [],
                      "description": "choisir un fichier (application/pdf)"
                    },
                    {
                      "key": "bulletin_adhesion",
                      "type": "file",
                      "src": [],
                      "description": "choisir un fichier (application/pdf)"
                    }
                  ]
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Valider la déclaration",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/members/validation",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Compléter profil santé › signature\n\n**Code de l'application** : `adherentValidation` — appelé par use-validate-adherent\n\n**API cible** : [POST /members/validation — Signer la déclaration de fin de « Compléter mon profil santé »](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/adherentValidation) · état : à corriger\n\n**Tickets** : #38",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"declare\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Ajouter des bénéficiaires",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/beneficiaries",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Profil santé › bénéficiaires\n\n**Code de l'application** : `createBeneficiaires` — appelé par use-save-health-profile-beneficiaries, use-validate-adherent\n\n**API cible** : [POST /beneficiaries — Ajouter des bénéficiaires](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/createBeneficiaires) · état : à corriger\n\n**Tickets** : #32, #27, #80, #39\n\n**À savoir** : Un tableau ; `dateNaissance` en yyyyMMdd ici (ticket #32).",
                "body": {
                  "mode": "raw",
                  "raw": "[\n  {\n    \"nom\": \"TEST\",\n    \"prenom\": \"TEST\",\n    \"dateNaissance\": \"19900101\",\n    \"sexe\": \"Féminin\",\n    \"lienParente\": \"Conjoint\",\n    \"adresse\": \"Adresse de test\",\n    \"telephone\": \"0550000000\",\n    \"email\": \"test@exemple.dz\",\n    \"taux\": 100\n  }\n]",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Répartir les parts",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/beneficiaries/updateTaux",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Profil santé › répartition\n\n**Code de l'application** : `editTauxBeneficiaire` — appelé par use-save-health-profile-beneficiary-distribution\n\n**API cible** : [PUT /beneficiaries/updateTaux — Modifier la répartition des parts](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/editTauxBeneficiaire) · état : existant\n\n**Tickets** : #26\n\n**À savoir** : La somme doit faire 100 (ticket #26).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"beneficiaires\": [\n    {\n      \"id\": {{w_beneficiaireId}},\n      \"taux\": 60\n    },\n    {\n      \"id\": {{w_beneficiaireId2}},\n      \"taux\": 40\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Supprimer un bénéficiaire",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/beneficiaries/{{w_beneficiaireId}}",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Profil santé › bénéficiaire\n\n**Code de l'application** : `deleteBeneficiaire` — appelé par use-save-health-profile-beneficiaries\n\n**API cible** : [DELETE /beneficiaries/{beneficiaireId} — Supprimer un bénéficiaire](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/deleteBeneficiaire) · état : existant"
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Ajouter une personne à charge",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/ayantDroits",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Profil santé › personnes à charge\n\n**Code de l'application** : `createAyantDroits` — appelé par use-create-health-dependent, health, ProfilSanteAddDependentRoute\n\n**API cible** : [POST /ayantDroits — Ajouter un ayant droit (avec photo)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/createAyantDroits) · état : à corriger\n\n**Tickets** : #85, #86, #14, #27, #39\n\n**À savoir** : Parties indexées `ayantsDroits[0].…` ; date en dd/MM/yyyy (ticket #85).",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "ayantsDroits[0].nom",
                      "type": "text",
                      "value": "Nom"
                    },
                    {
                      "key": "ayantsDroits[0].prenom",
                      "type": "text",
                      "value": "Enfant"
                    },
                    {
                      "key": "ayantsDroits[0].dateNaissance",
                      "type": "text",
                      "value": "15/01/2020"
                    },
                    {
                      "key": "ayantsDroits[0].sexe",
                      "type": "text",
                      "value": "Masculin"
                    },
                    {
                      "key": "ayantsDroits[0].lienParente",
                      "type": "text",
                      "value": "Enfant"
                    },
                    {
                      "key": "ayantsDroits[0].numeroIdentificationNational",
                      "type": "text",
                      "value": ""
                    },
                    {
                      "key": "ayantsDroits[0].telephone",
                      "type": "text",
                      "value": ""
                    },
                    {
                      "key": "ayantsDroits[0].email",
                      "type": "text",
                      "value": ""
                    },
                    {
                      "key": "ayantsDroits[0].photo",
                      "type": "file",
                      "src": [],
                      "description": "choisir un fichier (image/jpeg)"
                    }
                  ]
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Demander le retrait d'une personne à charge",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/ayantDroits/{{w_ayantDroitId}}/demandeSuppression",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Profil santé › retirer\n\n**Code de l'application** : `deleteAyantDroit` — appelé par use-submit-health-dependent-removal\n\n**API cible** : [POST /ayantDroits/{ayantDroitId}/demandeSuppression — Demander le retrait d'un ayant droit (motif et justificatifs)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Sante-(profil-membres-documents)/operation/deleteAyantDroit) · état : à corriger\n\n**Tickets** : #79, #47, #62, #37\n\n**À savoir** : Au 24/09 : 500 sur le chemin nominal (ticket #79).",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "motif",
                      "type": "text",
                      "value": "N'est plus à charge"
                    },
                    {
                      "key": "dateDemande",
                      "type": "text",
                      "value": "29/09/2026"
                    },
                    {
                      "key": "justificatifs",
                      "type": "file",
                      "src": [],
                      "description": "choisir un fichier (application/pdf)"
                    }
                  ]
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Paiement (CIB, Edahabia, Points Verts, livraison)",
          "item": [
            {
              "name": "⚠️ Payer par CIB (ouvrir la page Satim)",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/modePaiement/CIB",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Paiement › CIB\n\n**Code de l'application** : `payerAvecCIB` — appelé par use-init-card-payment\n\n**API cible** : [POST /modePaiement/CIB — Initier un paiement par carte CIB (Satim)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Paiement-(CIB-Edahabia-Points-Verts-livraison)/operation/payerAvecCIB) · état : à corriger\n\n**Tickets** : #5, #59, #42\n\n**À savoir** : Rend `formUrl` (page Satim à ouvrir) et `orderId`.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"quittanceId\": {{w_quittanceId}},\n  \"contratId\": {{w_contratId}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Payer par Edahabia",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/modePaiement/DAHABIA",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Paiement › Edahabia\n\n**Code de l'application** : `payerAvecDhahabia` — appelé par use-init-card-payment\n\n**API cible** : [POST /modePaiement/DAHABIA — Initier un paiement par carte Edahabia (Algérie Poste)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Paiement-(CIB-Edahabia-Points-Verts-livraison)/operation/payerAvecDhahabia) · état : à corriger\n\n**Tickets** : #5, #59, #42",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"quittanceId\": {{w_quittanceId}},\n  \"contratId\": {{w_contratId}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Confirmer un paiement carte",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/modePaiement/confirmPayment/{{orderId}}",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Paiement › retour de Satim (n'est plus appelé par l'application)\n\n**Code de l'application** : `confirmPayment` — appelé par use-confirm-card-payment, use-init-card-payment, use-voyage-payment, use-card-payment-flow\n\n**API cible** : [GET /modePaiement/confirmPayment/{orderId} — État d'un paiement par carte](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Paiement-(CIB-Edahabia-Points-Verts-livraison)/operation/confirmPayment) · état : à corriger\n\n**Tickets** : #6, #39\n\n**À savoir** : Selon le backend, s'exécute automatiquement ; l'application relit le contrat à la place (ticket #6)."
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Payer à la livraison",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/modePaiement/livraison",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Paiement › à la livraison\n\n**Code de l'application** : `payerAvecLivraison` — appelé par use-submit-paiement-a-la-livraison\n\n**API cible** : [POST /modePaiement/livraison — Demander un paiement à la livraison](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Paiement-(CIB-Edahabia-Points-Verts-livraison)/operation/payerAvecLivraison) · état : à corriger\n\n**Tickets** : #84, #8, #39, #42",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"contratId\": {{w_contratId}},\n  \"quittanceId\": {{w_quittanceId}},\n  \"wilayaId\": 16,\n  \"communeId\": 1601,\n  \"nom\": \"Nom\",\n  \"prenom\": \"Prénom\",\n  \"tel\": \"0550000000\",\n  \"adresse\": \"Adresse de test\",\n  \"livraisonDate\": \"01/10/2026\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            },
            {
              "name": "⚠️ Payer en Points Verts",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/points-verts/paiement/{{w_quittanceId}}",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Paiement › Points Verts\n\n**Code de l'application** : `paymentRequest` — appelé par use-pay-with-points\n\n**API cible** : [POST /points-verts/paiement/{quittanceId} — Régler une quittance en Points Verts](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Paiement-(CIB-Edahabia-Points-Verts-livraison)/operation/paymentRequest) · état : à corriger\n\n**Tickets** : #7, #59\n\n**À savoir** : Débite réellement le solde. `POST` depuis le 28/09 ; 404 quittance inconnue, 409 solde insuffisant."
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200', () => pm.expect(pm.response.code).to.be.oneOf([200]));"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Contenu",
          "item": [
            {
              "name": "⚠️ Envoyer le formulaire de contact",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "value": "fr"
                  }
                ],
                "url": "{{baseUrl}}/nousContacter",
                "description": "⚠️ **Écriture : crée, modifie, paie ou supprime une donnée réelle.** Renseigner les variables `w_…` avant de lancer.\n\n**Écran** : Menu › Contact\n\n**Code de l'application** : `createNousContacter` — appelé par use-send-contact-message\n\n**API cible** : [POST /nousContacter — Envoyer un message « Nous contacter » (avec pièce jointe)](https://amana-reporting.shiftin-demo.com/api/api-cible#tag/Contenu/operation/createNousContacter) · état : à corriger\n\n**Tickets** : #37, #42, #12\n\n**À savoir** : Crée un vrai message au service client.",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "nom",
                      "type": "text",
                      "value": "TEST TEST"
                    },
                    {
                      "key": "email",
                      "type": "text",
                      "value": "test@exemple.dz"
                    },
                    {
                      "key": "tel",
                      "type": "text",
                      "value": "0550000000"
                    },
                    {
                      "key": "sujet",
                      "type": "text",
                      "value": "Mise à jour de coordonnées"
                    },
                    {
                      "key": "message",
                      "type": "text",
                      "value": "Message de test automatisé — audit API TEST. À ignorer."
                    }
                  ]
                }
              },
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test('L\\'application attend : 200 ou 201', () => pm.expect(pm.response.code).to.be.oneOf([200, 201]));"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
