From b879cb39123f18b4d1c0fa9bef8db71adbbd5a47 Mon Sep 17 00:00:00 2001 From: "Yassine R." Date: Mon, 18 Dec 2023 21:50:14 +0100 Subject: [PATCH] fix(mon-domifa): fix unit tests --- .talismanrc | 6 +++--- .../db/dumps/domifa_test.postgres.custom.gz | Bin 91989 -> 92122 bytes ...domifa_test.postgres.restore-data-only.sql | 16 +++++++++------- ...st.postgres.truncate-restore-data-only.sql | 16 +++++++++------- .../portail-usagers-login.controller.spec.ts | 2 +- .../_core/constants/TEST_USER_USAGER.mock.ts | 2 +- 6 files changed, 23 insertions(+), 19 deletions(-) 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 b74de842677c3aec796ca82304044a2d69e7322f..a5233813509c2baf964c2524ba234621521aa8c9 100644 GIT binary patch delta 9464 zcmY+JcRbba`}iGu@1318O96S;H?USr0SQ8~I6?p;BK$Z)0;e~$v3{6RG$gz6iQ!-{6pt3YAH@I&NevMY z!od(Q@LSptA4>?p@a8_2pa}F!MK-`nffFYofnX&Ttgi$D$W(n#Kn4d(BL9|0qsatV zX|Q1v!@zhf=%oyHAYJPYJ~c*0;!$8a@P2IXc_01f1~b5*n}AIMN21F@S%DS|GVC4uRQYQw1DJ0iVtEafARkEVOZi1Y9kRv4jKz z9rslK&4S8`5KEXWOx9u`av5%&Ff}#5!V9US^cIUx0d~!b6zh%w-Wyj1J?j{N%zeN5s zSpG9eA%TcTTOe`{>3@cM{|uOkCwag@_!_s+{hnO^J9vV}8z6j?I(o;83$twyFq+2u z55BZEn#KnwBLIjG6hzK!@h_n*E+OVnAko1}96*k*Jcyja@}JS}pAmC1i2c+-pd_@O zKllF}26UYN3AwAyKX1o>-Y_Ik@H7;J?_-A+3&bvpI|bkHRUOdCAe;C?ft69Egat$LSDg-ZEx@DEc8rf`Gy3 z)^bK5CdL^jL4lL!{y36MVFGag39)`S2@X)ld*KKHM7+ci=6d`|aKh>!P{0L^i-Jf3 z8%ci&4mhMd!dVf(OzJZ%VNQr;dLWLVz+y%kjwAv9Og9|CQ(LG&>;Um=Z=8q#P;Vlz zgn0zWvT;jFK!M*t^BRKFn&lg01@k?!{0$l+l@^QYBV03d43tF<^3b612 zdtD%sP)w^VfNUWOCrJX$MY!f9;ec!jZZjkiKuM`P)(Qgyyk(gj9%86~D6;Z}OAgA^E0Xp_b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zn)>nA)XsK&J=fcH<7KJ5r>lb6 z$*7mVpN{3M6y+{<|ItZcgKRb24XyrRQ$86=(vN63Y=4Eej)-ed&9NMCpeB{ko1I^- zdcP6#RGw+?v~V1P5`!0uT(87Fn;kelJ)>JqkrVyberJ69dkF1MPww@YRAyEl|0zLl zH=guihxY*+zX1uDa;V+J-D$l_V6;g1y+LW1K~tg97ZBNQzSHpHa^IN3zDtYafDSrJ zvRB4V>}IzE#|!zv7=tLElto@p1Oqwg$0To!TiuoV*PFweh_`jX1qNO6q>K@NguV25 zI(SWa_h>X@D|0X1d##qxOT$6M7&~nj9{%WJ!ttI=F5Tpe!>Vkohn>r-Ma3+Z-Zi_a zygui(Fj&yJM%QsyV)oozAjUgo^356A!;1T})CbpopGhmubI5dQu#G8G&ANH|TM<)U z4Mpit&wYIxhFnXwE$ZUunTMS=V?9Q6W3K7X6r8RWL-5MI+eAC+)eYw@D-oTD3fv zERVQ$Yc-_c6-A34t(h`b+OV~kxc@0Bh?-Th3sZ|J)=wR-z=C_Wv#=MyAX{)>FOt!9X9 zhpsjFkh*a&RNv~VG z3=PrXCo@u;Ku4ilwJhka=SRp1JtJ1F+ueHxTIUS|@2b;OhdN~JVVv4yuH|GWj4Ur3 zR3uo~Gn9SzK1c}%Cg>@YVqL1sC7Lp!%zW75YnT=5u$SjgN&W>}fy0ys7;#`*E#KIOLFMz1ko^ zR}O4f|QEq*kpLy(bRCtbXo4 S38@U7Lz5hSy(2@|#{UP>{P7_G 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, }, {