diff --git a/.talismanrc b/.talismanrc index 1f8f2cb58a..a66c244340 100644 --- a/.talismanrc +++ b/.talismanrc @@ -1,8 +1,8 @@ fileignoreconfig: - filename: _scripts/db/dumps/domifa_test.postgres.restore-data-only.sql - checksum: db202fb5eec3c0341eb1ee4cf2cc3324dbcfe53149626a2166a5b7baddc80823 + checksum: 23f737871ba69871381febc4f867d82367187384b16250e79ce8729fddf53030 - filename: _scripts/db/dumps/domifa_test.postgres.truncate-restore-data-only.sql - checksum: 9001477026fe543968f3b51facc9cf6c51c698089a662b8b3562473ad84934db + checksum: 4a3607451d4d6d33c47afd952858d89dba1d7fc1d06b621393d4d375c0e4c5a6 - filename: packages/backend/src/_common/decorators/IsValidPasswordDecorator.ts checksum: f0d4b3cd2e6e2d9b1e0271c34d64adacf87a5f1e7a505402a20869962543608d - filename: packages/backend/src/_migrations/1699910877010-auto-migration.ts @@ -20,7 +20,7 @@ fileignoreconfig: - filename: packages/backend/src/_tests/_core/constants/TESTS_USERS_STRUCTURE.mock.ts checksum: 7fd396491726fce9ed96ac175c3acdb9ae93ecac0d66e7c6fc5554c5deeceb6f - filename: packages/backend/src/_tests/_core/constants/TEST_USER_USAGER.mock.ts - checksum: 70745049ab5f62821dd2aeacafc423e3bc2c2004fadcd05dd5f54f1f09722de2 + checksum: d48d45f595373ce56749cfe5b17dc6b09093d5ed9090617052652922b78b333d - filename: packages/backend/src/auth/structures-auth.controller.spec.ts checksum: 5cc345a4fee5809b8cbb892e660cfc90a12c674b90919767037e9235a9f222ee - filename: packages/backend/src/database/services/user-usager/user-usager-security/userUsagerSecurityPasswordUpdater.service.ts diff --git a/_scripts/db/dumps/domifa_test.postgres.custom.gz b/_scripts/db/dumps/domifa_test.postgres.custom.gz index b74de84267..a523381350 100644 Binary files a/_scripts/db/dumps/domifa_test.postgres.custom.gz and b/_scripts/db/dumps/domifa_test.postgres.custom.gz differ diff --git a/_scripts/db/dumps/domifa_test.postgres.restore-data-only.sql b/_scripts/db/dumps/domifa_test.postgres.restore-data-only.sql index 246fb142e7..7228d4327a 100644 --- a/_scripts/db/dumps/domifa_test.postgres.restore-data-only.sql +++ b/_scripts/db/dumps/domifa_test.postgres.restore-data-only.sql @@ -22,6 +22,8 @@ SET row_security = off; COPY public.app_log (uuid, "createdAt", "updatedAt", version, "userId", "usagerRef", "structureId", action) FROM stdin; 0c8c6826-9da4-45f0-a726-9faf11b01eee 2023-09-05 23:50:23.616466+02 2023-09-05 23:50:23.616466+02 1 1 1 1 SUPPRIMER_PIECE_JOINTE +e8112a58-5cda-42ff-8bf6-6dd1ed92bcff 2023-12-18 17:54:10.818639+01 2023-12-18 17:54:10.818639+01 1 1 7 1 RESET_PASSWORD_PORTAIL +448257b5-f24e-4b59-9955-00590cd8d42f 2023-12-18 17:54:12.343842+01 2023-12-18 17:54:12.343842+01 1 1 7 1 DOWNLOAD_PASSWORD_PORTAIL \. @@ -47,10 +49,10 @@ COPY public.expired_token (uuid, "createdAt", "updatedAt", version, "userId", "s COPY public.structure (uuid, "createdAt", "updatedAt", version, id, adresse, "adresseCourrier", agrement, capacite, "codePostal", "complementAdresse", departement, region, email, "hardReset", "tokenDelete", import, "registrationDate", "importDate", "lastLogin", nom, options, responsable, "structureType", token, verified, ville, sms, "portailUsager", "timeZone", telephone, "acceptTerms", "filesUpdated", latitude, longitude) FROM stdin; 610966c4-ab91-43c0-88da-483ae23d0af2 2021-02-01 17:12:30.65884+01 2023-09-21 01:07:30.382578+02 10 4 rue de l'import {"actif": false, "ville": "", "adresse": "", "codePostal": ""} 123 \N 44000 44 52 test.import@yopmail.com \N \N f 2021-02-01 17:12:30.655+01 \N \N Structure de Test d'import {"numeroBoite": false} {"nom": "Test", "prenom": "Import", "fonction": "Testeur"} asso t Nantes {"senderName": "STRUCTURE D", "senderDetails": "STRUCTURE D", "enabledByDomifa": true, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": false, "usagerLoginUpdateLastInteraction": false} Europe/Paris {"numero": "0101010101", "countryCode": "fr"} \N f 47.213973 -1.536923 -412f6962-fc6e-4e48-b0a6-a37d6eebbc67 2021-01-26 08:51:53.846157+01 2023-09-21 01:07:30.469467+02 368 1 1 rue de l'océan \N \N \N 92600 \N 92 11 ccas.test@yopmail.com \N f 2020-11-17 14:30:23.692+01 \N 2023-06-07 CCAS de Test {"numeroBoite": false} {"nom": "Jean", "prenom": "Thomson", "fonction": "PDG"} ccas adfbfe24ff6de1f4e7c0011ad05028f5a129ced7f120079d20c4adf21d89 t Asnieres-sur-seine {"senderName": "CCAS DE TES", "senderDetails": "CCAS DE TES", "enabledByDomifa": true, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": true, "usagerLoginUpdateLastInteraction": false} Europe/Paris {"numero": "0602030405", "countryCode": "fr"} 2023-02-14 18:33:51.265+01 f 48.903759 2.283746 943d3acc-2f9c-4bb4-9419-4194bbdfd624 2022-03-17 17:25:53.666507+01 2023-09-21 01:07:30.533736+02 37 5 24, avenue Louis PASTEUR {"actif": false, "ville": null, "adresse": null, "codePostal": ""} \N 97300 \N 973 03 ccas-cayenne@yopmail.com \N \N f 2022-03-17 17:25:53.646+01 \N 2022-03-23 CCAS de Cayenne {"numeroBoite": false} {"nom": "Pali", "prenom": "Mauricette", "fonction": "Directrice"} cias t Cayenne {"senderName": "CCAS DE CAY", "senderDetails": "CCAS DE CAY", "enabledByDomifa": true, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": false, "usagerLoginUpdateLastInteraction": false} America/Cayenne {"numero": "0101010101", "countryCode": "gf"} \N f 4.943454 -52.324458 1d1ed6f0-7674-474a-908b-d0bd8c6389cb 2021-01-26 08:51:53.846157+01 2023-09-21 01:07:30.634994+02 6 3 1 rue du test de l'organise agréé \N 1234 80 44000 \N 44 52 structure@yopmail.com {"token": "6V0XR2S", "userId": 3} t 2020-11-17 14:34:35.821+01 \N 2021-12-06 Organisme agréé de Test {"numeroBoite": false} {"nom": "Calvez", "prenom": "Simon", "fonction": "Directeur"} asso b8e2e05b767ac984f0f4b8a222062b07268f46265525f98d83e4b518b343 f Nantes {"senderName": null, "senderDetails": null, "enabledByDomifa": false, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": false, "usagerLoginUpdateLastInteraction": false} Europe/Paris {"numero": "0506070809", "countryCode": "fr"} \N f 47.218193 -1.561368 e159011b-6648-426d-a772-b3ca4f27a6d5 2021-01-26 08:51:53.846157+01 2023-09-21 01:07:30.718487+02 4 2 2 rue du test \N \N \N 33600 \N 33 75 cias.test@yopmail.com \N f 2020-11-17 14:32:21.959+01 \N 2020-11-17 CIAS de Test {"numeroBoite": false} {"nom": "Anna", "prenom": "Dupond", "fonction": "PDG"} cias b1ca3193633282c675257f1b05771a7605a4aa1c5ba231b3545564bfa33a f Pessac {"senderName": null, "senderDetails": null, "enabledByDomifa": false, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": false, "usagerLoginUpdateLastInteraction": false} Europe/Paris {"numero": "0102030405", "countryCode": "fr"} \N f 44.817602 -0.612957 +412f6962-fc6e-4e48-b0a6-a37d6eebbc67 2021-01-26 08:51:53.846157+01 2023-12-18 17:52:44.126503+01 369 1 1 rue de l'océan \N \N \N 92600 \N 92 11 ccas.test@yopmail.com \N f 2020-11-17 14:30:23.692+01 \N 2023-12-18 CCAS de Test {"numeroBoite": false} {"nom": "Jean", "prenom": "Thomson", "fonction": "PDG"} ccas adfbfe24ff6de1f4e7c0011ad05028f5a129ced7f120079d20c4adf21d89 t Asnieres-sur-seine {"senderName": "CCAS DE TES", "senderDetails": "CCAS DE TES", "enabledByDomifa": true, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": true, "usagerLoginUpdateLastInteraction": false} Europe/Paris {"numero": "0602030405", "countryCode": "fr"} 2023-02-14 18:33:51.265+01 f 48.903759 2.283746 \. @@ -66,12 +68,12 @@ e074c416-093a-46fc-ae47-77a3bc111d35 2021-01-27 10:21:49.173276+01 2022-12-19 11 860ffa4c-88c4-4e1c-ad42-5a05cdf39830 2019-11-22 11:33:43+01 2022-12-19 11:29:56.621829+01 9 1 63 1 Ramirez Marta \N femme 1978-08-07 02:00:00+02 Sao Paulo, Brésil \N domicilie1@yopmail.com 2018-03-01 01:00:00+01 PREMIERE_DOM {"uuid": "52ba789e-eb21-4d84-9176-abe1e0d3c778", "motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2019-02-27T00:00:00.000Z", "typeDom": "PREMIERE", "userName": "Patrick Roméro", "dateDebut": "2018-03-01T00:00:00.000Z", "orientation": "", "dateDecision": "2018-03-01T00:00:00.000Z", "motifDetails": "", "orientationDetails": ""} [{"uuid": "52ba789e-eb21-4d84-9176-abe1e0d3c778", "motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2019-02-27T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2018-03-01T00:00:00.000Z", "orientation": null, "dateDecision": "2018-03-01T00:00:00.000Z", "motifDetails": null, "orientationDetails": null}] [{"nom": "Martinez", "lien": "ENFANT", "prenom": "Luiz", "dateNaissance": "1992-12-20T00:00:00.000Z"}, {"nom": "Martinez", "lien": "ENFANT", "prenom": "Sylvia", "dateNaissance": "2007-10-20T00:00:00.000Z"}] {"colisIn": 4, "enAttente": true, "courrierIn": 1, "recommandeIn": 3, "dateInteraction": "2020-07-29T11:46:34.680Z"} 5 \N {"npai": {"actif": false}, "transfert": {"nom": "LHSS Plaisance", "actif": true, "adresse": "12 rue ridder 75014 Paris", "dateFin": "2020-11-07T00:00:00.000Z", "dateDebut": "2020-06-03T12:20:00.603Z"}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "0600000000", "countryCode": "FR"} f \N \N 5215f197-5f9b-4c2a-8b2e-60a0fcc5fc85 2021-06-28 15:26:31.533838+02 2022-12-19 11:29:56.621829+01 9 8 8 1 Smith John homme 2000-03-15 01:00:00+01 Londres \N \N PREMIERE_DOM {"motif": "LIEN_COMMUNE", "statut": "REFUS", "userId": 1, "dateFin": "2021-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "orientation": "asso", "dateDecision": "2021-06-28T13:27:25.493Z", "motifDetails": null, "orientationDetails": "CCAS de sa commune"} [{"uuid": "6d781a28-a5dc-4d95-826d-6aa0f78e5864", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-06-28T13:26:31.533Z", "userName": "Patrick Roméro", "orientation": null, "dateDecision": "2021-06-28T13:26:31.533Z", "motifDetails": null, "orientationDetails": null}, {"motif": "LIEN_COMMUNE", "statut": "REFUS", "userId": 1, "dateFin": "2021-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "orientation": "asso", "dateDecision": "2021-06-28T13:27:25.493Z", "motifDetails": null, "orientationDetails": "CCAS de sa commune"}] [] {"colisIn": 0, "enAttente": false, "courrierIn": 0, "recommandeIn": 0, "dateInteraction": "2021-06-28T13:26:31.530Z"} 5 {"userId": 1, "dateRdv": "2021-06-28T13:25:42.151Z", "userName": "Patrick Roméro"} {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "", "countryCode": "FR"} f \N \N 3ba5c3f0-8003-4c1c-8bf5-929a12e396f5 2021-11-30 15:05:21.635622+01 2022-12-19 11:29:56.621829+01 10 12 12 1 Rara Dié homme 1975-08-08 01:00:00+01 Nantes \N 2021-11-30 01:00:00+01 PREMIERE_DOM {"motif": "A_SA_DEMANDE", "statut": "RADIE", "userId": 1, "dateFin": "2021-11-30T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-11-30T00:00:00.000Z", "dateDecision": "2021-11-30T14:05:41.678Z", "motifDetails": null} [{"uuid": "e8e8c681-9151-4335-8e1c-4e9140946b02", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-11-30T14:05:21.634Z", "userName": "Patrick Roméro", "orientation": null, "dateDecision": "2021-11-30T14:05:21.634Z", "motifDetails": null, "orientationDetails": null}, {"motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2022-11-29T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "customRef": "12", "dateDebut": "2021-11-30T00:00:00.000Z", "orientation": null, "dateDecision": "2021-11-30T14:05:31.936Z", "motifDetails": null, "orientationDetails": null}, {"motif": "A_SA_DEMANDE", "statut": "RADIE", "userId": 1, "dateFin": "2021-11-30T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-11-30T00:00:00.000Z", "orientation": null, "dateDecision": "2021-11-30T14:05:41.678Z", "motifDetails": null, "orientationDetails": null}] [] {"colisIn": 0, "enAttente": false, "courrierIn": 0, "recommandeIn": 0, "dateInteraction": "2021-11-30T14:05:21.631Z"} 5 {"userId": 1, "dateRdv": "2021-11-30T14:04:24.108Z", "userName": "Patrick Roméro"} {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "", "countryCode": "FR"} f \N \N -b2c26e55-ab37-457d-b307-6fe161050a9b 2021-06-28 15:24:22.924091+02 2022-12-19 11:29:56.621829+01 36 7 7 1 Dupont Pauline Paula homme 1996-01-02 01:00:00+01 Paris fr 2021-06-28 02:00:00+02 PREMIERE_DOM {"statut": "VALIDE", "userId": 1, "dateFin": "2022-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "dateDecision": "2021-06-28T13:25:20.685Z"} [{"uuid": "db7ff8b2-66e3-47ee-9346-e080945b418e", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-06-28T13:24:22.920Z", "userName": "Patrick Roméro", "orientation": null, "dateDecision": "2021-06-28T13:24:22.920Z", "motifDetails": null, "orientationDetails": null}, {"motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2022-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "orientation": null, "dateDecision": "2021-06-28T13:25:20.685Z", "motifDetails": null, "orientationDetails": null}] [{"nom": "Dupont", "lien": "ENFANT", "prenom": "Paulin", "dateNaissance": "2015-08-15T00:00:00.000Z"}, {"nom": "Dupont", "lien": "ENFANT", "prenom": "Sophie", "dateNaissance": "2018-12-03T00:00:00.000Z"}] {"colisIn": 1, "enAttente": true, "courrierIn": 2, "recommandeIn": 0, "dateInteraction": "2021-06-28T13:25:36.004Z"} 5 {"userId": 1, "dateRdv": "2021-06-28T13:23:27.041Z", "userName": "Patrick Roméro"} {"npai": {"actif": false}, "transfert": {"actif": false}, "procurations": [], "portailUsagerEnabled": true} \N t {"numero": "", "countryCode": "FR"} f \N \N 6d93ecf8-c59a-42cc-ac1e-b5bd6f977a01 2022-03-17 17:34:17.752334+01 2022-12-19 11:29:56.621829+01 78 1 1 5 Salvador Henri \N homme 1960-02-12 01:00:00+01 Cayenne \N \N 2022-03-16 20:00:00+01 PREMIERE_DOM {"statut": "VALIDE", "userId": 11, "dateFin": "2023-03-15T22:59:59.999Z", "typeDom": "PREMIERE_DOM", "userName": "Mauricette Pali", "customRef": "1", "dateDebut": "2022-03-16T19:00:00.000Z", "dateDecision": "2022-03-17T11:34:29.960Z"} [{"uuid": "db8c8e7d-0300-48e3-a970-10588d410194", "motif": null, "statut": "INSTRUCTION", "userId": 11, "dateFin": "2022-03-17T11:34:17.714Z", "userName": "Mauricette Pali", "dateDebut": "2022-03-17T11:34:17.714Z", "orientation": null, "dateDecision": "2022-03-17T11:34:17.714Z", "motifDetails": null, "orientationDetails": null}, {"motif": null, "statut": "VALIDE", "userId": 11, "dateFin": "2023-03-15T22:59:59.999Z", "typeDom": "PREMIERE_DOM", "userName": "Mauricette Pali", "customRef": "1", "dateDebut": "2022-03-16T19:00:00.000Z", "orientation": null, "dateDecision": "2022-03-17T11:34:29.960Z", "motifDetails": null, "orientationDetails": null}] [] {"colisIn": 0, "enAttente": false, "courrierIn": 0, "recommandeIn": 0, "dateInteraction": "2020-12-01T05:00:24.980Z"} 5 {"userId": 11, "dateRdv": "2022-03-17T16:33:19.998Z", "userName": "Mauricette Pali"} {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "", "countryCode": "FR"} f \N \N 427e6af6-706b-40d4-9506-de21190e6f0d 2021-01-27 10:21:49.173276+01 2022-12-19 11:29:56.621829+01 7 4 4 1 Loumiel Lisa Lilou femme 1990-04-18 02:00:00+02 Marseille \N \N 2019-08-09 02:00:00+02 PREMIERE_DOM {"uuid": "0c3f2589-d5d3-4138-a4bc-2a594678461e", "motif": "NON_RESPECT_REGLEMENT", "statut": "RADIE", "userId": 1, "dateFin": "2019-09-12T00:00:00.000Z", "typeDom": "PREMIERE", "userName": "Patrick Roméro", "dateDebut": "2019-08-09T00:00:00.000Z", "orientation": "", "dateDecision": "2019-09-12T00:00:00.000Z", "motifDetails": "", "orientationDetails": ""} [{"uuid": "0c3f2589-d5d3-4138-a4bc-2a594678461e", "motif": "NON_RESPECT_REGLEMENT", "statut": "RADIE", "userId": 1, "dateFin": "2019-09-12T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2019-08-09T00:00:00.000Z", "orientation": null, "dateDecision": "2019-09-12T00:00:00.000Z", "motifDetails": null, "orientationDetails": null}] [] {"appel": null, "visite": null, "colisIn": 0, "enAttente": false, "courrierIn": 0, "nbCourrier": 0, "courrierOut": null, "recommandeIn": 0, "recommandeOut": null, "dateInteraction": "2021-01-27T09:21:49.240Z"} 5 \N {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "0606060606", "countryCode": "FR"} f \N \N ee7ef219-b101-422c-8ad4-4d5aedf9caad 2020-11-01 18:50:10.047+01 2022-12-19 11:29:56.621829+01 8 6 6 1 NOUVEAU DOSSIER TEST homme 1988-11-02 01:00:00+01 Paris \N fake-mail@yopmail.com 2020-11-01 01:00:00+01 PREMIERE_DOM {"uuid": "bf35d476-35d6-4d3d-93b4-dfd49816904f", "statut": "VALIDE", "userId": 1, "dateFin": "2021-10-31T00:00:00.000Z", "userName": "Patrick Roméro", "dateDebut": "2020-11-01T00:00:00.000Z", "dateDecision": "2020-11-01T17:50:29.003Z", "orientationDetails": null} [{"uuid": "8bd1eae7-7635-4c75-ba64-ad78b1141baf", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2020-11-01T17:50:10.042Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2020-11-01T17:50:10.042Z", "orientation": null, "dateDecision": "2020-11-01T17:50:10.042Z", "motifDetails": null, "orientationDetails": null}, {"uuid": "bf35d476-35d6-4d3d-93b4-dfd49816904f", "motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2021-10-31T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2020-11-01T00:00:00.000Z", "orientation": null, "dateDecision": "2020-11-01T17:50:29.003Z", "motifDetails": null, "orientationDetails": null}] [{"nom": "TEST 1 ", "lien": "PARENT", "prenom": "TEST 2 ", "dateNaissance": "1991-12-20T00:00:00.000Z"}] {"colisIn": 0, "enAttente": false, "courrierIn": 0, "recommandeIn": 0, "dateInteraction": "2020-11-01T00:00:00.000Z"} 5 {"userId": 1, "dateRdv": "2020-11-01T17:50:12.019Z", "userName": "Roméro Patrick"} {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "0600000000", "countryCode": "FR"} f \N \N 4dcdcddc-fad2-4827-aac5-0acf1df7b5bc 2021-01-27 10:21:49.173276+01 2022-12-19 11:29:56.621829+01 7 5 5 1 Derick Inspecteur \N homme 1911-05-24 00:00:00+00 Bergerac \N \N \N PREMIERE_DOM {"uuid": "c6aabd3b-7485-4efd-8c09-5080b91709d9", "statut": "ATTENTE_DECISION", "userId": 2, "dateFin": "2021-01-27T09:21:49.242Z", "userName": "Isabelle Juste", "dateDecision": "2019-10-07T19:28:10.777Z", "orientationDetails": null} [{"uuid": "6f18c8d5-27b7-45c5-882d-e23876a3b1ed", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2020-10-07T18:52:09.797Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2019-10-07T18:52:09.797Z", "orientation": null, "dateDecision": "2019-10-07T18:53:06.510Z", "motifDetails": null, "orientationDetails": null}, {"uuid": "c6aabd3b-7485-4efd-8c09-5080b91709d9", "motif": null, "statut": "ATTENTE_DECISION", "userId": 2, "dateFin": "2021-01-27T09:21:49.242Z", "typeDom": "PREMIERE_DOM", "userName": "Isabelle Juste", "dateDebut": "2019-10-07T19:28:10.777Z", "orientation": null, "dateDecision": "2019-10-07T19:28:10.777Z", "motifDetails": null, "orientationDetails": null}] [{"nom": "Inspecteur", "lien": "ENFANT", "prenom": "Gadget", "dateNaissance": "1990-10-12T00:00:00.000Z"}] {"appel": null, "visite": null, "colisIn": 0, "enAttente": false, "courrierIn": 0, "nbCourrier": 0, "courrierOut": null, "recommandeIn": 0, "recommandeOut": null, "dateInteraction": "2021-01-27T09:21:49.242Z"} 0 {"userId": 2, "dateRdv": "2019-10-07T19:30:02.675Z", "userName": "Juste Isabelle"} {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "", "countryCode": "FR"} f \N \N a034b69a-210a-4a3d-b7a9-8987840ef0c7 2021-11-30 15:03:28.817939+01 2023-05-24 17:51:40.763319+02 6 10 10 1 Dupan Tom homme 1988-02-02 01:00:00+01 Marseille \N \N PREMIERE_DOM {"uuid": "fbe59327-0fef-4d74-ade1-97120407f43c", "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-11-30T14:03:28.817Z", "userName": "Patrick Roméro", "dateDecision": "2021-11-30T14:03:28.817Z"} [{"uuid": "fbe59327-0fef-4d74-ade1-97120407f43c", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-11-30T14:03:28.817Z", "userName": "Patrick Roméro", "orientation": null, "dateDecision": "2021-11-30T14:03:28.817Z", "motifDetails": null, "orientationDetails": null}] [] {"colisIn": 0, "enAttente": false, "courrierIn": 0, "recommandeIn": 0, "dateInteraction": "2021-11-30T14:03:28.816Z"} 2 \N {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "", "countryCode": "FR"} f \N {"message": "2eme note", "createdAt": "2023-05-24T15:51:38.893Z", "createdBy": {"userId": 1, "userName": "Patrick Roméro"}, "usagerRef": 10} +b2c26e55-ab37-457d-b307-6fe161050a9b 2021-06-28 15:24:22.924091+02 2023-12-18 17:54:10.680396+01 37 7 7 1 Dupont Pauline Paula homme 1996-01-02 01:00:00+01 Paris fr 2021-06-28 02:00:00+02 PREMIERE_DOM {"statut": "VALIDE", "userId": 1, "dateFin": "2022-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "dateDecision": "2021-06-28T13:25:20.685Z"} [{"uuid": "db7ff8b2-66e3-47ee-9346-e080945b418e", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-06-28T13:24:22.920Z", "userName": "Patrick Roméro", "orientation": null, "dateDecision": "2021-06-28T13:24:22.920Z", "motifDetails": null, "orientationDetails": null}, {"motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2022-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "orientation": null, "dateDecision": "2021-06-28T13:25:20.685Z", "motifDetails": null, "orientationDetails": null}] [{"nom": "Dupont", "lien": "ENFANT", "prenom": "Paulin", "dateNaissance": "2015-08-15T00:00:00.000Z"}, {"nom": "Dupont", "lien": "ENFANT", "prenom": "Sophie", "dateNaissance": "2018-12-03T00:00:00.000Z"}] {"colisIn": 1, "enAttente": true, "courrierIn": 2, "recommandeIn": 0, "dateInteraction": "2021-06-28T13:25:36.004Z"} 5 {"userId": 1, "dateRdv": "2021-06-28T13:23:27.041Z", "userName": "Patrick Roméro"} {"npai": {"actif": false}, "transfert": {"actif": false}, "procurations": [], "portailUsagerEnabled": true} \N t {"numero": "", "countryCode": "FR"} f \N \N \. @@ -229,7 +231,7 @@ f6b20e00-77e7-46e6-b48d-8cca69161042 2020-11-17 14:32:22.193+01 2021-12-06 16:26 d19ece1f-d32b-498c-9427-eb12b1251163 2020-11-17 14:26:29.482634+01 2020-11-17 14:26:29.490297+01 2 s3-facteur@yopmail.com \N 4 \N Test $2a$10$GQ5/A/bv3NU/lHeaEP35EuOSHQkapPtU1RHy/G1nHuNwujOkovosa Facteur facteur 3 {"guide": false, "import": false} \N t \N b0140303-79e3-436c-9c41-1eaefeeaed6e 2020-11-17 14:23:20.248011+01 2022-03-09 00:20:21.36073+01 9 s1-gestionnaire@yopmail.com \N 3 2022-03-09 00:20:21.356+01 Smith $2a$10$GQ5/A/bv3NU/lHeaEP35EuOSHQkapPtU1RHy/G1nHuNwujOkovosa Peter responsable 1 {"guide": false, "import": false} \N t \N 343b62db-6c85-4896-b994-18c8c89b710f 2022-03-17 17:25:53.798318+01 2022-03-23 22:08:39.505536+01 36 s5-admin@yopmail.com \N 11 2022-03-23 22:08:39.502+01 Pali $2a$10$GQ5/A/bv3NU/lHeaEP35EuOSHQkapPtU1RHy/G1nHuNwujOkovosa Mauricette admin 5 {"guide": false, "import": false} 2022-03-17 17:25:53.78+01 t \N -da01f451-9c4f-4f6c-98bb-c635277e33e7 2020-11-17 14:18:47.658346+01 2023-09-05 23:50:23.454502+02 390 s1-admin@yopmail.com \N 1 2023-09-05 23:50:23.453+02 Roméro $2a$10$GQ5/A/bv3NU/lHeaEP35EuOSHQkapPtU1RHy/G1nHuNwujOkovosa Patrick admin 1 {"guide": false, "import": false} \N t 2023-02-14 18:33:51.261+01 +da01f451-9c4f-4f6c-98bb-c635277e33e7 2020-11-17 14:18:47.658346+01 2023-12-18 17:52:44.098203+01 391 s1-admin@yopmail.com \N 1 2023-12-18 17:52:44.097+01 Roméro $2a$10$GQ5/A/bv3NU/lHeaEP35EuOSHQkapPtU1RHy/G1nHuNwujOkovosa Patrick admin 1 {"guide": false, "import": false} \N t 2023-02-14 18:33:51.261+01 \. @@ -247,7 +249,7 @@ e931e0d8-ecbb-478a-97a3-a01eac88e24f 2021-03-15 16:53:55.740856+01 2021-03-15 16 d84e9cc2-5c52-4a02-880e-bcfb27180594 2021-03-15 16:53:55.74+01 2021-12-06 16:26:00.681872+01 2 10 3 \N [{"date": "2021-12-06T15:26:00.672Z", "type": "login-success"}] 9fe998b5-7178-44b5-9c40-2e18ba233f1d 2021-03-15 16:53:55.740856+01 2022-03-09 00:20:17.365808+01 3 3 1 \N [{"date": "2022-03-08T23:20:17.329Z", "type": "login-success"}] 80e97a87-9d11-4487-a3c3-411bbdf42a2c 2022-03-17 17:25:53.809705+01 2022-03-23 22:07:14.867562+01 3 11 5 \N [{"date": "2022-03-17T16:33:43.464Z", "type": "login-success"}, {"date": "2022-03-23T21:07:14.852Z", "type": "login-success"}] -e0bcefc6-f1be-4c83-ac9d-6ea47335a9c3 2021-03-15 16:53:55.740856+01 2023-09-05 23:50:23.450868+02 7 1 1 \N [{"date": "2023-09-05T21:50:23.448Z", "type": "login-success"}] +e0bcefc6-f1be-4c83-ac9d-6ea47335a9c3 2021-03-15 16:53:55.740856+01 2023-12-18 17:52:44.068978+01 8 1 1 \N [{"date": "2023-12-18T16:52:44.066Z", "type": "login-success"}] \. @@ -256,8 +258,8 @@ e0bcefc6-f1be-4c83-ac9d-6ea47335a9c3 2021-03-15 16:53:55.740856+01 2023-09-05 23 -- COPY public.user_usager (uuid, "createdAt", "updatedAt", version, id, "usagerUUID", "structureId", login, password, salt, "isTemporaryPassword", "lastLogin", "passwordLastUpdate", "lastPasswordResetDate", "lastPasswordResetStructureUser", enabled, "acceptTerms") FROM stdin; -a657f4bd-e4d1-4c38-bdd0-ffd268b356df 2021-10-05 11:34:41.369505+02 2021-11-30 15:02:07.705535+01 18 1 b2c26e55-ab37-457d-b307-6fe161050a9b 1 WKYJBDXS $2a$10$cmwXTghEgrGRYTkGIJlj3Owjo8YVVDXOgceAGtkgzcD2M/Tf3Dhb. $2a$10$/uFyiR8hCe8XkRe7x2fYm. t 2021-11-30 15:02:07.69+01 \N 2021-10-05 11:34:41.365+02 {"userId": 1, "userName": "Patrick Roméro"} t \N -a03a9a49-ae31-4160-9879-bab02dc46361 2021-11-30 14:50:26.278073+01 2023-11-20 16:40:58.362384+01 17 2 97b7e840-0e93-4bf4-ba7d-0a406aa898f2 1 LNQIFFBK $2a$10$Z7vpACSuSYrcIBIOWGcSm.CHLMq7Ki/6zIKwzXT1baIgxLscGu1Nu $2a$10$zmuPXxUOuQJ7nE6ag4.x6e f 2023-11-20 16:40:58.36+01 2021-11-30 15:01:39.675+01 2021-11-30 14:50:26.275+01 {"userId": 1, "userName": "Patrick Roméro"} t \N +a03a9a49-ae31-4160-9879-bab02dc46361 2021-11-30 14:50:26.278073+01 2023-11-20 16:40:58.362384+01 17 2 97b7e840-0e93-4bf4-ba7d-0a406aa898f2 1 LNQIFFBK $2a$10$/MxpSdJoHG59JaksJx5eSe4U1tHGcVoHEvlDRoi.AsVW2LlybKNnG $2a$10$zmuPXxUOuQJ7nE6ag4.x6e f 2023-11-20 16:40:58.36+01 2021-11-30 15:01:39.675+01 2021-11-30 14:50:26.275+01 {"userId": 1, "userName": "Patrick Roméro"} t \N +a657f4bd-e4d1-4c38-bdd0-ffd268b356df 2021-10-05 11:34:41.369505+02 2023-12-18 17:54:10.81286+01 19 1 b2c26e55-ab37-457d-b307-6fe161050a9b 1 WKYJBDXS $2a$10$1rKKqmxsaIKyNkyZpm5QHufHZ8JfCSgEtaLOv07oy2QE.O8msCVPO $2a$10$1rKKqmxsaIKyNkyZpm5QHu t 2021-11-30 15:02:07.69+01 \N 2021-10-05 11:34:41.365+02 {"userId": 1, "userName": "Patrick Roméro"} t \N \. @@ -276,8 +278,8 @@ e80dafea-8fe4-4792-92b9-3608c723aa1b 2023-11-20 16:40:58.289642+01 2023-11-20 16 -- COPY public.user_usager_security (uuid, "createdAt", "updatedAt", version, "userId", "structureId", "eventsHistory") FROM stdin; -9bc8decb-5f78-48de-8c1b-9f61ea5acfba 2021-10-05 11:34:41.388922+02 2021-11-30 15:02:07.682311+01 3 1 1 [{"date": "2021-11-30T14:02:07.680Z", "type": "login-success"}] fadd55b6-ca41-48d4-bd56-238b1a3c6f7b 2021-11-30 14:50:26.290488+01 2023-11-20 16:40:58.2674+01 10 2 1 [{"date": "2023-11-20T15:40:44.378Z", "type": "login-success"}, {"date": "2023-11-20T15:40:58.265Z", "type": "login-success"}] +9bc8decb-5f78-48de-8c1b-9f61ea5acfba 2021-10-05 11:34:41.388922+02 2023-12-18 17:54:10.816927+01 4 1 1 [{"date": "2023-12-18T16:54:10.810Z", "type": "reset-password-success"}] \. diff --git a/_scripts/db/dumps/domifa_test.postgres.truncate-restore-data-only.sql b/_scripts/db/dumps/domifa_test.postgres.truncate-restore-data-only.sql index 0c4ec142eb..0c0684a6e6 100644 --- a/_scripts/db/dumps/domifa_test.postgres.truncate-restore-data-only.sql +++ b/_scripts/db/dumps/domifa_test.postgres.truncate-restore-data-only.sql @@ -48,6 +48,8 @@ SET row_security = off; COPY public.app_log (uuid, "createdAt", "updatedAt", version, "userId", "usagerRef", "structureId", action) FROM stdin; 0c8c6826-9da4-45f0-a726-9faf11b01eee 2023-09-05 23:50:23.616466+02 2023-09-05 23:50:23.616466+02 1 1 1 1 SUPPRIMER_PIECE_JOINTE +e8112a58-5cda-42ff-8bf6-6dd1ed92bcff 2023-12-18 17:54:10.818639+01 2023-12-18 17:54:10.818639+01 1 1 7 1 RESET_PASSWORD_PORTAIL +448257b5-f24e-4b59-9955-00590cd8d42f 2023-12-18 17:54:12.343842+01 2023-12-18 17:54:12.343842+01 1 1 7 1 DOWNLOAD_PASSWORD_PORTAIL \. @@ -73,10 +75,10 @@ COPY public.expired_token (uuid, "createdAt", "updatedAt", version, "userId", "s COPY public.structure (uuid, "createdAt", "updatedAt", version, id, adresse, "adresseCourrier", agrement, capacite, "codePostal", "complementAdresse", departement, region, email, "hardReset", "tokenDelete", import, "registrationDate", "importDate", "lastLogin", nom, options, responsable, "structureType", token, verified, ville, sms, "portailUsager", "timeZone", telephone, "acceptTerms", "filesUpdated", latitude, longitude) FROM stdin; 610966c4-ab91-43c0-88da-483ae23d0af2 2021-02-01 17:12:30.65884+01 2023-09-21 01:07:30.382578+02 10 4 rue de l'import {"actif": false, "ville": "", "adresse": "", "codePostal": ""} 123 \N 44000 44 52 test.import@yopmail.com \N \N f 2021-02-01 17:12:30.655+01 \N \N Structure de Test d'import {"numeroBoite": false} {"nom": "Test", "prenom": "Import", "fonction": "Testeur"} asso t Nantes {"senderName": "STRUCTURE D", "senderDetails": "STRUCTURE D", "enabledByDomifa": true, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": false, "usagerLoginUpdateLastInteraction": false} Europe/Paris {"numero": "0101010101", "countryCode": "fr"} \N f 47.213973 -1.536923 -412f6962-fc6e-4e48-b0a6-a37d6eebbc67 2021-01-26 08:51:53.846157+01 2023-09-21 01:07:30.469467+02 368 1 1 rue de l'océan \N \N \N 92600 \N 92 11 ccas.test@yopmail.com \N f 2020-11-17 14:30:23.692+01 \N 2023-06-07 CCAS de Test {"numeroBoite": false} {"nom": "Jean", "prenom": "Thomson", "fonction": "PDG"} ccas adfbfe24ff6de1f4e7c0011ad05028f5a129ced7f120079d20c4adf21d89 t Asnieres-sur-seine {"senderName": "CCAS DE TES", "senderDetails": "CCAS DE TES", "enabledByDomifa": true, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": true, "usagerLoginUpdateLastInteraction": false} Europe/Paris {"numero": "0602030405", "countryCode": "fr"} 2023-02-14 18:33:51.265+01 f 48.903759 2.283746 943d3acc-2f9c-4bb4-9419-4194bbdfd624 2022-03-17 17:25:53.666507+01 2023-09-21 01:07:30.533736+02 37 5 24, avenue Louis PASTEUR {"actif": false, "ville": null, "adresse": null, "codePostal": ""} \N 97300 \N 973 03 ccas-cayenne@yopmail.com \N \N f 2022-03-17 17:25:53.646+01 \N 2022-03-23 CCAS de Cayenne {"numeroBoite": false} {"nom": "Pali", "prenom": "Mauricette", "fonction": "Directrice"} cias t Cayenne {"senderName": "CCAS DE CAY", "senderDetails": "CCAS DE CAY", "enabledByDomifa": true, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": false, "usagerLoginUpdateLastInteraction": false} America/Cayenne {"numero": "0101010101", "countryCode": "gf"} \N f 4.943454 -52.324458 1d1ed6f0-7674-474a-908b-d0bd8c6389cb 2021-01-26 08:51:53.846157+01 2023-09-21 01:07:30.634994+02 6 3 1 rue du test de l'organise agréé \N 1234 80 44000 \N 44 52 structure@yopmail.com {"token": "6V0XR2S", "userId": 3} t 2020-11-17 14:34:35.821+01 \N 2021-12-06 Organisme agréé de Test {"numeroBoite": false} {"nom": "Calvez", "prenom": "Simon", "fonction": "Directeur"} asso b8e2e05b767ac984f0f4b8a222062b07268f46265525f98d83e4b518b343 f Nantes {"senderName": null, "senderDetails": null, "enabledByDomifa": false, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": false, "usagerLoginUpdateLastInteraction": false} Europe/Paris {"numero": "0506070809", "countryCode": "fr"} \N f 47.218193 -1.561368 e159011b-6648-426d-a772-b3ca4f27a6d5 2021-01-26 08:51:53.846157+01 2023-09-21 01:07:30.718487+02 4 2 2 rue du test \N \N \N 33600 \N 33 75 cias.test@yopmail.com \N f 2020-11-17 14:32:21.959+01 \N 2020-11-17 CIAS de Test {"numeroBoite": false} {"nom": "Anna", "prenom": "Dupond", "fonction": "PDG"} cias b1ca3193633282c675257f1b05771a7605a4aa1c5ba231b3545564bfa33a f Pessac {"senderName": null, "senderDetails": null, "enabledByDomifa": false, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": false, "usagerLoginUpdateLastInteraction": false} Europe/Paris {"numero": "0102030405", "countryCode": "fr"} \N f 44.817602 -0.612957 +412f6962-fc6e-4e48-b0a6-a37d6eebbc67 2021-01-26 08:51:53.846157+01 2023-12-18 17:52:44.126503+01 369 1 1 rue de l'océan \N \N \N 92600 \N 92 11 ccas.test@yopmail.com \N f 2020-11-17 14:30:23.692+01 \N 2023-12-18 CCAS de Test {"numeroBoite": false} {"nom": "Jean", "prenom": "Thomson", "fonction": "PDG"} ccas adfbfe24ff6de1f4e7c0011ad05028f5a129ced7f120079d20c4adf21d89 t Asnieres-sur-seine {"senderName": "CCAS DE TES", "senderDetails": "CCAS DE TES", "enabledByDomifa": true, "enabledByStructure": false} {"enabledByDomifa": true, "enabledByStructure": true, "usagerLoginUpdateLastInteraction": false} Europe/Paris {"numero": "0602030405", "countryCode": "fr"} 2023-02-14 18:33:51.265+01 f 48.903759 2.283746 \. @@ -92,12 +94,12 @@ e074c416-093a-46fc-ae47-77a3bc111d35 2021-01-27 10:21:49.173276+01 2022-12-19 11 860ffa4c-88c4-4e1c-ad42-5a05cdf39830 2019-11-22 11:33:43+01 2022-12-19 11:29:56.621829+01 9 1 63 1 Ramirez Marta \N femme 1978-08-07 02:00:00+02 Sao Paulo, Brésil \N domicilie1@yopmail.com 2018-03-01 01:00:00+01 PREMIERE_DOM {"uuid": "52ba789e-eb21-4d84-9176-abe1e0d3c778", "motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2019-02-27T00:00:00.000Z", "typeDom": "PREMIERE", "userName": "Patrick Roméro", "dateDebut": "2018-03-01T00:00:00.000Z", "orientation": "", "dateDecision": "2018-03-01T00:00:00.000Z", "motifDetails": "", "orientationDetails": ""} [{"uuid": "52ba789e-eb21-4d84-9176-abe1e0d3c778", "motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2019-02-27T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2018-03-01T00:00:00.000Z", "orientation": null, "dateDecision": "2018-03-01T00:00:00.000Z", "motifDetails": null, "orientationDetails": null}] [{"nom": "Martinez", "lien": "ENFANT", "prenom": "Luiz", "dateNaissance": "1992-12-20T00:00:00.000Z"}, {"nom": "Martinez", "lien": "ENFANT", "prenom": "Sylvia", "dateNaissance": "2007-10-20T00:00:00.000Z"}] {"colisIn": 4, "enAttente": true, "courrierIn": 1, "recommandeIn": 3, "dateInteraction": "2020-07-29T11:46:34.680Z"} 5 \N {"npai": {"actif": false}, "transfert": {"nom": "LHSS Plaisance", "actif": true, "adresse": "12 rue ridder 75014 Paris", "dateFin": "2020-11-07T00:00:00.000Z", "dateDebut": "2020-06-03T12:20:00.603Z"}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "0600000000", "countryCode": "FR"} f \N \N 5215f197-5f9b-4c2a-8b2e-60a0fcc5fc85 2021-06-28 15:26:31.533838+02 2022-12-19 11:29:56.621829+01 9 8 8 1 Smith John homme 2000-03-15 01:00:00+01 Londres \N \N PREMIERE_DOM {"motif": "LIEN_COMMUNE", "statut": "REFUS", "userId": 1, "dateFin": "2021-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "orientation": "asso", "dateDecision": "2021-06-28T13:27:25.493Z", "motifDetails": null, "orientationDetails": "CCAS de sa commune"} [{"uuid": "6d781a28-a5dc-4d95-826d-6aa0f78e5864", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-06-28T13:26:31.533Z", "userName": "Patrick Roméro", "orientation": null, "dateDecision": "2021-06-28T13:26:31.533Z", "motifDetails": null, "orientationDetails": null}, {"motif": "LIEN_COMMUNE", "statut": "REFUS", "userId": 1, "dateFin": "2021-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "orientation": "asso", "dateDecision": "2021-06-28T13:27:25.493Z", "motifDetails": null, "orientationDetails": "CCAS de sa commune"}] [] {"colisIn": 0, "enAttente": false, "courrierIn": 0, "recommandeIn": 0, "dateInteraction": "2021-06-28T13:26:31.530Z"} 5 {"userId": 1, "dateRdv": "2021-06-28T13:25:42.151Z", "userName": "Patrick Roméro"} {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "", "countryCode": "FR"} f \N \N 3ba5c3f0-8003-4c1c-8bf5-929a12e396f5 2021-11-30 15:05:21.635622+01 2022-12-19 11:29:56.621829+01 10 12 12 1 Rara Dié homme 1975-08-08 01:00:00+01 Nantes \N 2021-11-30 01:00:00+01 PREMIERE_DOM {"motif": "A_SA_DEMANDE", "statut": "RADIE", "userId": 1, "dateFin": "2021-11-30T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-11-30T00:00:00.000Z", "dateDecision": "2021-11-30T14:05:41.678Z", "motifDetails": null} [{"uuid": "e8e8c681-9151-4335-8e1c-4e9140946b02", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-11-30T14:05:21.634Z", "userName": "Patrick Roméro", "orientation": null, "dateDecision": "2021-11-30T14:05:21.634Z", "motifDetails": null, "orientationDetails": null}, {"motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2022-11-29T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "customRef": "12", "dateDebut": "2021-11-30T00:00:00.000Z", "orientation": null, "dateDecision": "2021-11-30T14:05:31.936Z", "motifDetails": null, "orientationDetails": null}, {"motif": "A_SA_DEMANDE", "statut": "RADIE", "userId": 1, "dateFin": "2021-11-30T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-11-30T00:00:00.000Z", "orientation": null, "dateDecision": "2021-11-30T14:05:41.678Z", "motifDetails": null, "orientationDetails": null}] [] {"colisIn": 0, "enAttente": false, "courrierIn": 0, "recommandeIn": 0, "dateInteraction": "2021-11-30T14:05:21.631Z"} 5 {"userId": 1, "dateRdv": "2021-11-30T14:04:24.108Z", "userName": "Patrick Roméro"} {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "", "countryCode": "FR"} f \N \N -b2c26e55-ab37-457d-b307-6fe161050a9b 2021-06-28 15:24:22.924091+02 2022-12-19 11:29:56.621829+01 36 7 7 1 Dupont Pauline Paula homme 1996-01-02 01:00:00+01 Paris fr 2021-06-28 02:00:00+02 PREMIERE_DOM {"statut": "VALIDE", "userId": 1, "dateFin": "2022-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "dateDecision": "2021-06-28T13:25:20.685Z"} [{"uuid": "db7ff8b2-66e3-47ee-9346-e080945b418e", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-06-28T13:24:22.920Z", "userName": "Patrick Roméro", "orientation": null, "dateDecision": "2021-06-28T13:24:22.920Z", "motifDetails": null, "orientationDetails": null}, {"motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2022-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "orientation": null, "dateDecision": "2021-06-28T13:25:20.685Z", "motifDetails": null, "orientationDetails": null}] [{"nom": "Dupont", "lien": "ENFANT", "prenom": "Paulin", "dateNaissance": "2015-08-15T00:00:00.000Z"}, {"nom": "Dupont", "lien": "ENFANT", "prenom": "Sophie", "dateNaissance": "2018-12-03T00:00:00.000Z"}] {"colisIn": 1, "enAttente": true, "courrierIn": 2, "recommandeIn": 0, "dateInteraction": "2021-06-28T13:25:36.004Z"} 5 {"userId": 1, "dateRdv": "2021-06-28T13:23:27.041Z", "userName": "Patrick Roméro"} {"npai": {"actif": false}, "transfert": {"actif": false}, "procurations": [], "portailUsagerEnabled": true} \N t {"numero": "", "countryCode": "FR"} f \N \N 6d93ecf8-c59a-42cc-ac1e-b5bd6f977a01 2022-03-17 17:34:17.752334+01 2022-12-19 11:29:56.621829+01 78 1 1 5 Salvador Henri \N homme 1960-02-12 01:00:00+01 Cayenne \N \N 2022-03-16 20:00:00+01 PREMIERE_DOM {"statut": "VALIDE", "userId": 11, "dateFin": "2023-03-15T22:59:59.999Z", "typeDom": "PREMIERE_DOM", "userName": "Mauricette Pali", "customRef": "1", "dateDebut": "2022-03-16T19:00:00.000Z", "dateDecision": "2022-03-17T11:34:29.960Z"} [{"uuid": "db8c8e7d-0300-48e3-a970-10588d410194", "motif": null, "statut": "INSTRUCTION", "userId": 11, "dateFin": "2022-03-17T11:34:17.714Z", "userName": "Mauricette Pali", "dateDebut": "2022-03-17T11:34:17.714Z", "orientation": null, "dateDecision": "2022-03-17T11:34:17.714Z", "motifDetails": null, "orientationDetails": null}, {"motif": null, "statut": "VALIDE", "userId": 11, "dateFin": "2023-03-15T22:59:59.999Z", "typeDom": "PREMIERE_DOM", "userName": "Mauricette Pali", "customRef": "1", "dateDebut": "2022-03-16T19:00:00.000Z", "orientation": null, "dateDecision": "2022-03-17T11:34:29.960Z", "motifDetails": null, "orientationDetails": null}] [] {"colisIn": 0, "enAttente": false, "courrierIn": 0, "recommandeIn": 0, "dateInteraction": "2020-12-01T05:00:24.980Z"} 5 {"userId": 11, "dateRdv": "2022-03-17T16:33:19.998Z", "userName": "Mauricette Pali"} {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "", "countryCode": "FR"} f \N \N 427e6af6-706b-40d4-9506-de21190e6f0d 2021-01-27 10:21:49.173276+01 2022-12-19 11:29:56.621829+01 7 4 4 1 Loumiel Lisa Lilou femme 1990-04-18 02:00:00+02 Marseille \N \N 2019-08-09 02:00:00+02 PREMIERE_DOM {"uuid": "0c3f2589-d5d3-4138-a4bc-2a594678461e", "motif": "NON_RESPECT_REGLEMENT", "statut": "RADIE", "userId": 1, "dateFin": "2019-09-12T00:00:00.000Z", "typeDom": "PREMIERE", "userName": "Patrick Roméro", "dateDebut": "2019-08-09T00:00:00.000Z", "orientation": "", "dateDecision": "2019-09-12T00:00:00.000Z", "motifDetails": "", "orientationDetails": ""} [{"uuid": "0c3f2589-d5d3-4138-a4bc-2a594678461e", "motif": "NON_RESPECT_REGLEMENT", "statut": "RADIE", "userId": 1, "dateFin": "2019-09-12T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2019-08-09T00:00:00.000Z", "orientation": null, "dateDecision": "2019-09-12T00:00:00.000Z", "motifDetails": null, "orientationDetails": null}] [] {"appel": null, "visite": null, "colisIn": 0, "enAttente": false, "courrierIn": 0, "nbCourrier": 0, "courrierOut": null, "recommandeIn": 0, "recommandeOut": null, "dateInteraction": "2021-01-27T09:21:49.240Z"} 5 \N {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "0606060606", "countryCode": "FR"} f \N \N ee7ef219-b101-422c-8ad4-4d5aedf9caad 2020-11-01 18:50:10.047+01 2022-12-19 11:29:56.621829+01 8 6 6 1 NOUVEAU DOSSIER TEST homme 1988-11-02 01:00:00+01 Paris \N fake-mail@yopmail.com 2020-11-01 01:00:00+01 PREMIERE_DOM {"uuid": "bf35d476-35d6-4d3d-93b4-dfd49816904f", "statut": "VALIDE", "userId": 1, "dateFin": "2021-10-31T00:00:00.000Z", "userName": "Patrick Roméro", "dateDebut": "2020-11-01T00:00:00.000Z", "dateDecision": "2020-11-01T17:50:29.003Z", "orientationDetails": null} [{"uuid": "8bd1eae7-7635-4c75-ba64-ad78b1141baf", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2020-11-01T17:50:10.042Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2020-11-01T17:50:10.042Z", "orientation": null, "dateDecision": "2020-11-01T17:50:10.042Z", "motifDetails": null, "orientationDetails": null}, {"uuid": "bf35d476-35d6-4d3d-93b4-dfd49816904f", "motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2021-10-31T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2020-11-01T00:00:00.000Z", "orientation": null, "dateDecision": "2020-11-01T17:50:29.003Z", "motifDetails": null, "orientationDetails": null}] [{"nom": "TEST 1 ", "lien": "PARENT", "prenom": "TEST 2 ", "dateNaissance": "1991-12-20T00:00:00.000Z"}] {"colisIn": 0, "enAttente": false, "courrierIn": 0, "recommandeIn": 0, "dateInteraction": "2020-11-01T00:00:00.000Z"} 5 {"userId": 1, "dateRdv": "2020-11-01T17:50:12.019Z", "userName": "Roméro Patrick"} {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "0600000000", "countryCode": "FR"} f \N \N 4dcdcddc-fad2-4827-aac5-0acf1df7b5bc 2021-01-27 10:21:49.173276+01 2022-12-19 11:29:56.621829+01 7 5 5 1 Derick Inspecteur \N homme 1911-05-24 00:00:00+00 Bergerac \N \N \N PREMIERE_DOM {"uuid": "c6aabd3b-7485-4efd-8c09-5080b91709d9", "statut": "ATTENTE_DECISION", "userId": 2, "dateFin": "2021-01-27T09:21:49.242Z", "userName": "Isabelle Juste", "dateDecision": "2019-10-07T19:28:10.777Z", "orientationDetails": null} [{"uuid": "6f18c8d5-27b7-45c5-882d-e23876a3b1ed", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2020-10-07T18:52:09.797Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2019-10-07T18:52:09.797Z", "orientation": null, "dateDecision": "2019-10-07T18:53:06.510Z", "motifDetails": null, "orientationDetails": null}, {"uuid": "c6aabd3b-7485-4efd-8c09-5080b91709d9", "motif": null, "statut": "ATTENTE_DECISION", "userId": 2, "dateFin": "2021-01-27T09:21:49.242Z", "typeDom": "PREMIERE_DOM", "userName": "Isabelle Juste", "dateDebut": "2019-10-07T19:28:10.777Z", "orientation": null, "dateDecision": "2019-10-07T19:28:10.777Z", "motifDetails": null, "orientationDetails": null}] [{"nom": "Inspecteur", "lien": "ENFANT", "prenom": "Gadget", "dateNaissance": "1990-10-12T00:00:00.000Z"}] {"appel": null, "visite": null, "colisIn": 0, "enAttente": false, "courrierIn": 0, "nbCourrier": 0, "courrierOut": null, "recommandeIn": 0, "recommandeOut": null, "dateInteraction": "2021-01-27T09:21:49.242Z"} 0 {"userId": 2, "dateRdv": "2019-10-07T19:30:02.675Z", "userName": "Juste Isabelle"} {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "", "countryCode": "FR"} f \N \N a034b69a-210a-4a3d-b7a9-8987840ef0c7 2021-11-30 15:03:28.817939+01 2023-05-24 17:51:40.763319+02 6 10 10 1 Dupan Tom homme 1988-02-02 01:00:00+01 Marseille \N \N PREMIERE_DOM {"uuid": "fbe59327-0fef-4d74-ade1-97120407f43c", "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-11-30T14:03:28.817Z", "userName": "Patrick Roméro", "dateDecision": "2021-11-30T14:03:28.817Z"} [{"uuid": "fbe59327-0fef-4d74-ade1-97120407f43c", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-11-30T14:03:28.817Z", "userName": "Patrick Roméro", "orientation": null, "dateDecision": "2021-11-30T14:03:28.817Z", "motifDetails": null, "orientationDetails": null}] [] {"colisIn": 0, "enAttente": false, "courrierIn": 0, "recommandeIn": 0, "dateInteraction": "2021-11-30T14:03:28.816Z"} 2 \N {"npai": {"actif": false, "dateDebut": null}, "transfert": {"nom": null, "actif": false, "adresse": null, "dateFin": null, "dateDebut": null}, "procurations": [], "portailUsagerEnabled": false} \N t {"numero": "", "countryCode": "FR"} f \N {"message": "2eme note", "createdAt": "2023-05-24T15:51:38.893Z", "createdBy": {"userId": 1, "userName": "Patrick Roméro"}, "usagerRef": 10} +b2c26e55-ab37-457d-b307-6fe161050a9b 2021-06-28 15:24:22.924091+02 2023-12-18 17:54:10.680396+01 37 7 7 1 Dupont Pauline Paula homme 1996-01-02 01:00:00+01 Paris fr 2021-06-28 02:00:00+02 PREMIERE_DOM {"statut": "VALIDE", "userId": 1, "dateFin": "2022-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "dateDecision": "2021-06-28T13:25:20.685Z"} [{"uuid": "db7ff8b2-66e3-47ee-9346-e080945b418e", "motif": null, "statut": "INSTRUCTION", "userId": 1, "dateFin": "2021-06-28T13:24:22.920Z", "userName": "Patrick Roméro", "orientation": null, "dateDecision": "2021-06-28T13:24:22.920Z", "motifDetails": null, "orientationDetails": null}, {"motif": null, "statut": "VALIDE", "userId": 1, "dateFin": "2022-06-28T00:00:00.000Z", "typeDom": "PREMIERE_DOM", "userName": "Patrick Roméro", "dateDebut": "2021-06-28T00:00:00.000Z", "orientation": null, "dateDecision": "2021-06-28T13:25:20.685Z", "motifDetails": null, "orientationDetails": null}] [{"nom": "Dupont", "lien": "ENFANT", "prenom": "Paulin", "dateNaissance": "2015-08-15T00:00:00.000Z"}, {"nom": "Dupont", "lien": "ENFANT", "prenom": "Sophie", "dateNaissance": "2018-12-03T00:00:00.000Z"}] {"colisIn": 1, "enAttente": true, "courrierIn": 2, "recommandeIn": 0, "dateInteraction": "2021-06-28T13:25:36.004Z"} 5 {"userId": 1, "dateRdv": "2021-06-28T13:23:27.041Z", "userName": "Patrick Roméro"} {"npai": {"actif": false}, "transfert": {"actif": false}, "procurations": [], "portailUsagerEnabled": true} \N t {"numero": "", "countryCode": "FR"} f \N \N \. @@ -255,7 +257,7 @@ f6b20e00-77e7-46e6-b48d-8cca69161042 2020-11-17 14:32:22.193+01 2021-12-06 16:26 d19ece1f-d32b-498c-9427-eb12b1251163 2020-11-17 14:26:29.482634+01 2020-11-17 14:26:29.490297+01 2 s3-facteur@yopmail.com \N 4 \N Test $2a$10$GQ5/A/bv3NU/lHeaEP35EuOSHQkapPtU1RHy/G1nHuNwujOkovosa Facteur facteur 3 {"guide": false, "import": false} \N t \N b0140303-79e3-436c-9c41-1eaefeeaed6e 2020-11-17 14:23:20.248011+01 2022-03-09 00:20:21.36073+01 9 s1-gestionnaire@yopmail.com \N 3 2022-03-09 00:20:21.356+01 Smith $2a$10$GQ5/A/bv3NU/lHeaEP35EuOSHQkapPtU1RHy/G1nHuNwujOkovosa Peter responsable 1 {"guide": false, "import": false} \N t \N 343b62db-6c85-4896-b994-18c8c89b710f 2022-03-17 17:25:53.798318+01 2022-03-23 22:08:39.505536+01 36 s5-admin@yopmail.com \N 11 2022-03-23 22:08:39.502+01 Pali $2a$10$GQ5/A/bv3NU/lHeaEP35EuOSHQkapPtU1RHy/G1nHuNwujOkovosa Mauricette admin 5 {"guide": false, "import": false} 2022-03-17 17:25:53.78+01 t \N -da01f451-9c4f-4f6c-98bb-c635277e33e7 2020-11-17 14:18:47.658346+01 2023-09-05 23:50:23.454502+02 390 s1-admin@yopmail.com \N 1 2023-09-05 23:50:23.453+02 Roméro $2a$10$GQ5/A/bv3NU/lHeaEP35EuOSHQkapPtU1RHy/G1nHuNwujOkovosa Patrick admin 1 {"guide": false, "import": false} \N t 2023-02-14 18:33:51.261+01 +da01f451-9c4f-4f6c-98bb-c635277e33e7 2020-11-17 14:18:47.658346+01 2023-12-18 17:52:44.098203+01 391 s1-admin@yopmail.com \N 1 2023-12-18 17:52:44.097+01 Roméro $2a$10$GQ5/A/bv3NU/lHeaEP35EuOSHQkapPtU1RHy/G1nHuNwujOkovosa Patrick admin 1 {"guide": false, "import": false} \N t 2023-02-14 18:33:51.261+01 \. @@ -273,7 +275,7 @@ e931e0d8-ecbb-478a-97a3-a01eac88e24f 2021-03-15 16:53:55.740856+01 2021-03-15 16 d84e9cc2-5c52-4a02-880e-bcfb27180594 2021-03-15 16:53:55.74+01 2021-12-06 16:26:00.681872+01 2 10 3 \N [{"date": "2021-12-06T15:26:00.672Z", "type": "login-success"}] 9fe998b5-7178-44b5-9c40-2e18ba233f1d 2021-03-15 16:53:55.740856+01 2022-03-09 00:20:17.365808+01 3 3 1 \N [{"date": "2022-03-08T23:20:17.329Z", "type": "login-success"}] 80e97a87-9d11-4487-a3c3-411bbdf42a2c 2022-03-17 17:25:53.809705+01 2022-03-23 22:07:14.867562+01 3 11 5 \N [{"date": "2022-03-17T16:33:43.464Z", "type": "login-success"}, {"date": "2022-03-23T21:07:14.852Z", "type": "login-success"}] -e0bcefc6-f1be-4c83-ac9d-6ea47335a9c3 2021-03-15 16:53:55.740856+01 2023-09-05 23:50:23.450868+02 7 1 1 \N [{"date": "2023-09-05T21:50:23.448Z", "type": "login-success"}] +e0bcefc6-f1be-4c83-ac9d-6ea47335a9c3 2021-03-15 16:53:55.740856+01 2023-12-18 17:52:44.068978+01 8 1 1 \N [{"date": "2023-12-18T16:52:44.066Z", "type": "login-success"}] \. @@ -282,8 +284,8 @@ e0bcefc6-f1be-4c83-ac9d-6ea47335a9c3 2021-03-15 16:53:55.740856+01 2023-09-05 23 -- COPY public.user_usager (uuid, "createdAt", "updatedAt", version, id, "usagerUUID", "structureId", login, password, salt, "isTemporaryPassword", "lastLogin", "passwordLastUpdate", "lastPasswordResetDate", "lastPasswordResetStructureUser", enabled, "acceptTerms") FROM stdin; -a657f4bd-e4d1-4c38-bdd0-ffd268b356df 2021-10-05 11:34:41.369505+02 2021-11-30 15:02:07.705535+01 18 1 b2c26e55-ab37-457d-b307-6fe161050a9b 1 WKYJBDXS $2a$10$cmwXTghEgrGRYTkGIJlj3Owjo8YVVDXOgceAGtkgzcD2M/Tf3Dhb. $2a$10$/uFyiR8hCe8XkRe7x2fYm. t 2021-11-30 15:02:07.69+01 \N 2021-10-05 11:34:41.365+02 {"userId": 1, "userName": "Patrick Roméro"} t \N -a03a9a49-ae31-4160-9879-bab02dc46361 2021-11-30 14:50:26.278073+01 2023-11-20 16:40:58.362384+01 17 2 97b7e840-0e93-4bf4-ba7d-0a406aa898f2 1 LNQIFFBK $2a$10$Z7vpACSuSYrcIBIOWGcSm.CHLMq7Ki/6zIKwzXT1baIgxLscGu1Nu $2a$10$zmuPXxUOuQJ7nE6ag4.x6e f 2023-11-20 16:40:58.36+01 2021-11-30 15:01:39.675+01 2021-11-30 14:50:26.275+01 {"userId": 1, "userName": "Patrick Roméro"} t \N +a03a9a49-ae31-4160-9879-bab02dc46361 2021-11-30 14:50:26.278073+01 2023-11-20 16:40:58.362384+01 17 2 97b7e840-0e93-4bf4-ba7d-0a406aa898f2 1 LNQIFFBK $2a$10$/MxpSdJoHG59JaksJx5eSe4U1tHGcVoHEvlDRoi.AsVW2LlybKNnG $2a$10$zmuPXxUOuQJ7nE6ag4.x6e f 2023-11-20 16:40:58.36+01 2021-11-30 15:01:39.675+01 2021-11-30 14:50:26.275+01 {"userId": 1, "userName": "Patrick Roméro"} t \N +a657f4bd-e4d1-4c38-bdd0-ffd268b356df 2021-10-05 11:34:41.369505+02 2023-12-18 17:54:10.81286+01 19 1 b2c26e55-ab37-457d-b307-6fe161050a9b 1 WKYJBDXS $2a$10$1rKKqmxsaIKyNkyZpm5QHufHZ8JfCSgEtaLOv07oy2QE.O8msCVPO $2a$10$1rKKqmxsaIKyNkyZpm5QHu t 2021-11-30 15:02:07.69+01 \N 2021-10-05 11:34:41.365+02 {"userId": 1, "userName": "Patrick Roméro"} t \N \. @@ -302,8 +304,8 @@ e80dafea-8fe4-4792-92b9-3608c723aa1b 2023-11-20 16:40:58.289642+01 2023-11-20 16 -- COPY public.user_usager_security (uuid, "createdAt", "updatedAt", version, "userId", "structureId", "eventsHistory") FROM stdin; -9bc8decb-5f78-48de-8c1b-9f61ea5acfba 2021-10-05 11:34:41.388922+02 2021-11-30 15:02:07.682311+01 3 1 1 [{"date": "2021-11-30T14:02:07.680Z", "type": "login-success"}] fadd55b6-ca41-48d4-bd56-238b1a3c6f7b 2021-11-30 14:50:26.290488+01 2023-11-20 16:40:58.2674+01 10 2 1 [{"date": "2023-11-20T15:40:44.378Z", "type": "login-success"}, {"date": "2023-11-20T15:40:58.265Z", "type": "login-success"}] +9bc8decb-5f78-48de-8c1b-9f61ea5acfba 2021-10-05 11:34:41.388922+02 2023-12-18 17:54:10.816927+01 4 1 1 [{"date": "2023-12-18T16:54:10.810Z", "type": "reset-password-success"}] \. diff --git a/packages/backend/src/_portail-usager/portail-usager-login/portail-usagers-login.controller.spec.ts b/packages/backend/src/_portail-usager/portail-usager-login/portail-usagers-login.controller.spec.ts index d198379c80..9e92678092 100644 --- a/packages/backend/src/_portail-usager/portail-usager-login/portail-usagers-login.controller.spec.ts +++ b/packages/backend/src/_portail-usager/portail-usager-login/portail-usagers-login.controller.spec.ts @@ -66,7 +66,7 @@ describe("Usagers Login Controller", () => { password: TEMPORARY_PASS_USER.password, newPassword: "password007", }); - expect(response.status).toBe(HttpStatus.BAD_GATEWAY); + expect(response.status).toBe(HttpStatus.BAD_REQUEST); }); it("should accept login for valid usager login/password with temporary password and new password", async () => { diff --git a/packages/backend/src/_tests/_core/constants/TEST_USER_USAGER.mock.ts b/packages/backend/src/_tests/_core/constants/TEST_USER_USAGER.mock.ts index 09525d8b05..eba5a485c6 100644 --- a/packages/backend/src/_tests/_core/constants/TEST_USER_USAGER.mock.ts +++ b/packages/backend/src/_tests/_core/constants/TEST_USER_USAGER.mock.ts @@ -6,7 +6,7 @@ const ALL: TestUserUsager[] = [ usagerUUID: "b2c26e55-ab37-457d-b307-6fe161050a9b", structureId: 1, login: "WKYJBDXS", - password: "Azerty012345", + password: "Azerty012345!", isTemporaryPassword: true, }, {