diff --git a/clients/_test/clientAllEtablissementsInsee/_snapshots/siren-883010316.json b/clients/_test/clientAllEtablissementsInsee/_snapshots/siren-883010316.json index 6d3db80f5..633141f45 100644 --- a/clients/_test/clientAllEtablissementsInsee/_snapshots/siren-883010316.json +++ b/clients/_test/clientAllEtablissementsInsee/_snapshots/siren-883010316.json @@ -16,7 +16,7 @@ "denomination": "", "nic": "00015", "dateCreation": "2018-05-06", - "dateDerniereMiseAJour": "2024-09-17T13:08:36.970Z", + "dateDerniereMiseAJour": "2024-09-17T13:26:52.375Z", "dateMiseAJourInsee": "2024-03-30T08:06:53.621", "dateDebutActivite": "", "dateFermeture": "2020-09-01", diff --git a/clients/_test/clientAllEtablissementsInsee/_snapshots/siren-908595879.json b/clients/_test/clientAllEtablissementsInsee/_snapshots/siren-908595879.json index cf4a1fd41..a5e2411d7 100644 --- a/clients/_test/clientAllEtablissementsInsee/_snapshots/siren-908595879.json +++ b/clients/_test/clientAllEtablissementsInsee/_snapshots/siren-908595879.json @@ -16,7 +16,7 @@ "denomination": "", "nic": "00010", "dateCreation": "2022-01-01", - "dateDerniereMiseAJour": "2024-09-17T13:08:36.906Z", + "dateDerniereMiseAJour": "2024-09-17T13:26:52.323Z", "dateMiseAJourInsee": "2024-03-29T23:18:52.426", "dateDebutActivite": "", "dateFermeture": null, diff --git a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-487444697.json b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-487444697.json index 8134a8003..f1cd99248 100644 --- a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-487444697.json +++ b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-487444697.json @@ -187,7 +187,21 @@ "codeColter": null }, "listeIdcc": [], - "immatriculation": null, + "immatriculation": { + "dateDebutActivite": "2005-12-06", + "dateRadiation": "", + "dateImmatriculation": "2005-12-12", + "duree": 99, + "dateFin": "12/12/2104", + "natureEntreprise": [ + "Gestion de biens", + "Artisanale non réglementée", + "Commerciale" + ], + "dateCloture": "3112", + "isPersonneMorale": true, + "capital": "2 099 975,00 € (fixe)" + }, "matchingEtablissements": [], "nombreEtablissements": 42, "nombreEtablissementsOuverts": 29, diff --git a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-48744469700428.json b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-48744469700428.json index e9dcc485e..c6db4f6bc 100644 --- a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-48744469700428.json +++ b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-48744469700428.json @@ -187,7 +187,21 @@ "codeColter": null }, "listeIdcc": [], - "immatriculation": null, + "immatriculation": { + "dateDebutActivite": "2005-12-06", + "dateRadiation": "", + "dateImmatriculation": "2005-12-12", + "duree": 99, + "dateFin": "12/12/2104", + "natureEntreprise": [ + "Gestion de biens", + "Artisanale non réglementée", + "Commerciale" + ], + "dateCloture": "3112", + "isPersonneMorale": true, + "capital": "2 099 975,00 € (fixe)" + }, "matchingEtablissements": [ { "siren": "487444697", diff --git a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-552032534.json b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-552032534.json index 70bf00754..3038a9235 100644 --- a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-552032534.json +++ b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-552032534.json @@ -195,7 +195,19 @@ "listeIdcc": [ "9999" ], - "immatriculation": null, + "immatriculation": { + "dateDebutActivite": "", + "dateRadiation": "", + "dateImmatriculation": "1955-03-01", + "duree": 99, + "dateFin": "01/03/2054", + "natureEntreprise": [ + "Commerciale" + ], + "dateCloture": "3112", + "isPersonneMorale": true, + "capital": "169 888 497,75 € (fixe)" + }, "matchingEtablissements": [], "nombreEtablissements": 17, "nombreEtablissementsOuverts": 2, diff --git a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-843701079.json b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-843701079.json index c4738fe87..1cce99b0d 100644 --- a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-843701079.json +++ b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-843701079.json @@ -223,7 +223,19 @@ "2609", "1596" ], - "immatriculation": null, + "immatriculation": { + "dateDebutActivite": "2018-11-12", + "dateRadiation": "", + "dateImmatriculation": "2018-11-12", + "duree": 99, + "dateFin": "12/11/2117", + "natureEntreprise": [ + "Commerciale" + ], + "dateCloture": "3112", + "isPersonneMorale": true, + "capital": "5 000,00 € (fixe)" + }, "matchingEtablissements": [], "nombreEtablissements": 1, "nombreEtablissementsOuverts": 1, diff --git a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-880878145.json b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-880878145.json index 6824df253..1c2069e62 100644 --- a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-880878145.json +++ b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-880878145.json @@ -181,7 +181,19 @@ "codeColter": null }, "listeIdcc": [], - "immatriculation": null, + "immatriculation": { + "dateDebutActivite": "2020-01-13", + "dateRadiation": "2022-11-14", + "dateImmatriculation": "2020-01-23", + "duree": 99, + "dateFin": "23/01/2119", + "natureEntreprise": [ + "Commerciale" + ], + "dateCloture": "3112", + "isPersonneMorale": true, + "capital": "1 000,00 € (fixe)" + }, "matchingEtablissements": [], "nombreEtablissements": 1, "nombreEtablissementsOuverts": 0, diff --git a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-88087814500015.json b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-88087814500015.json index adc99dabb..17e77bd49 100644 --- a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-88087814500015.json +++ b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-88087814500015.json @@ -181,7 +181,19 @@ "codeColter": null }, "listeIdcc": [], - "immatriculation": null, + "immatriculation": { + "dateDebutActivite": "2020-01-13", + "dateRadiation": "2022-11-14", + "dateImmatriculation": "2020-01-23", + "duree": 99, + "dateFin": "23/01/2119", + "natureEntreprise": [ + "Commerciale" + ], + "dateCloture": "3112", + "isPersonneMorale": true, + "capital": "1 000,00 € (fixe)" + }, "matchingEtablissements": [ { "siren": "880878145", diff --git a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-883010316.json b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-883010316.json index 56104de19..37ba90ef3 100644 --- a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-883010316.json +++ b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-883010316.json @@ -181,7 +181,17 @@ "codeColter": null }, "listeIdcc": [], - "immatriculation": null, + "immatriculation": { + "dateDebutActivite": "2018-05-06", + "dateRadiation": "2020-09-01", + "dateImmatriculation": "2018-05-06", + "duree": 0, + "dateFin": "", + "natureEntreprise": [], + "dateCloture": "", + "isPersonneMorale": false, + "capital": "" + }, "matchingEtablissements": [], "nombreEtablissements": 1, "nombreEtablissementsOuverts": 0, diff --git a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-908595879.json b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-908595879.json index 6df03e465..ba73b2cb4 100644 --- a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-908595879.json +++ b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-908595879.json @@ -189,7 +189,19 @@ "listeIdcc": [ "9999" ], - "immatriculation": null, + "immatriculation": { + "dateDebutActivite": "2022-01-01", + "dateRadiation": "", + "dateImmatriculation": "2021-12-27", + "duree": 99, + "dateFin": "27/12/2120", + "natureEntreprise": [ + "Commerciale" + ], + "dateCloture": "3112", + "isPersonneMorale": true, + "capital": "1 000,00 € (fixe)" + }, "matchingEtablissements": [], "nombreEtablissements": 1, "nombreEtablissementsOuverts": 1, diff --git a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-xavier jouppe.json b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-xavier jouppe.json index 6e22e6e93..6acd4307c 100644 --- a/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-xavier jouppe.json +++ b/clients/_test/clientSearchRechercheEntreprise/_snapshots/search-xavier jouppe.json @@ -181,7 +181,19 @@ "codeColter": null }, "listeIdcc": [], - "immatriculation": null, + "immatriculation": { + "dateDebutActivite": "2010-07-02", + "dateRadiation": "", + "dateImmatriculation": "2010-07-05", + "duree": 99, + "dateFin": "05/07/2109", + "natureEntreprise": [ + "Commerciale" + ], + "dateCloture": "", + "isPersonneMorale": true, + "capital": "250 000,00 € (fixe)" + }, "matchingEtablissements": [], "nombreEtablissements": 1, "nombreEtablissementsOuverts": 1, @@ -430,7 +442,19 @@ "codeColter": null }, "listeIdcc": [], - "immatriculation": null, + "immatriculation": { + "dateDebutActivite": "2020-01-13", + "dateRadiation": "2022-11-14", + "dateImmatriculation": "2020-01-23", + "duree": 99, + "dateFin": "23/01/2119", + "natureEntreprise": [ + "Commerciale" + ], + "dateCloture": "3112", + "isPersonneMorale": true, + "capital": "1 000,00 € (fixe)" + }, "matchingEtablissements": [], "nombreEtablissements": 1, "nombreEtablissementsOuverts": 0, diff --git a/clients/_test/clientSearchRechercheEntreprise/simpleSearch.test.ts b/clients/_test/clientSearchRechercheEntreprise/simpleSearch.test.ts index b894f7e32..c01b71de8 100644 --- a/clients/_test/clientSearchRechercheEntreprise/simpleSearch.test.ts +++ b/clients/_test/clientSearchRechercheEntreprise/simpleSearch.test.ts @@ -41,6 +41,7 @@ function itShouldMatchSnapshotForSearch( args: [ { pageResultatsRecherche: 1, + inclureImmatriculation: true, searchFilterParams: new SearchFilterParams({}), searchTerms, }, diff --git a/clients/_test/clientUniteLegaleInsee/_snapshots/siren-300025764.json b/clients/_test/clientUniteLegaleInsee/_snapshots/siren-300025764.json index 6853f7cd1..ddf2cfc5b 100644 --- a/clients/_test/clientUniteLegaleInsee/_snapshots/siren-300025764.json +++ b/clients/_test/clientUniteLegaleInsee/_snapshots/siren-300025764.json @@ -6,25 +6,25 @@ "siege": { "siren": "300025764", "siret": "30002576400048", - "oldSiret": "", - "etatAdministratif": "inconnu", - "statutDiffusion": "diffusible", + "oldSiret": "30002576400048", + "etatAdministratif": "en activité", + "statutDiffusion": "partiellement diffusible", "estSiege": true, - "enseigne": null, - "denomination": null, + "enseigne": "", + "denomination": "", "nic": "00048", - "dateCreation": "2019-12-31", - "dateDerniereMiseAJour": "", - "dateMiseAJourInsee": "", + "dateCreation": "2019-12-23", + "dateDerniereMiseAJour": "2024-09-17T13:23:37.163Z", + "dateMiseAJourInsee": "2024-03-30T00:23:00.551", "dateDebutActivite": "", - "dateFermeture": "", - "adresse": "", - "adressePostale": "", - "codePostal": "", - "commune": "", - "activitePrincipale": "", - "libelleActivitePrincipale": "", - "trancheEffectif": "", + "dateFermeture": null, + "adresse": "APPT B407 - 4EME ETAGE, 51 BOULEVARD DE VERDUN, 35000 RENNES", + "adressePostale": "APPT B407 - 4EME ETAGE, 51 BOULEVARD DE VERDUN, 35000 RENNES", + "codePostal": "35000", + "commune": "RENNES", + "activitePrincipale": "68.20A", + "libelleActivitePrincipale": "Location de logements", + "trancheEffectif": null, "libelleTrancheEffectif": "", "latitude": "", "longitude": "", @@ -37,7 +37,7 @@ "idRge": [], "idUai": [] }, - "ancienSiege": false + "anneeTrancheEffectif": null }, "tva": null, "anciensSiegesSirets": [ @@ -52,28 +52,65 @@ "libelleNatureJuridique": "Entrepreneur individuel", "etablissements": { "all": [ + { + "siren": "300025764", + "siret": "30002576400022", + "oldSiret": "30002576400022", + "etatAdministratif": "fermé", + "statutDiffusion": "partiellement diffusible", + "estSiege": false, + "enseigne": "", + "denomination": "", + "nic": "00022", + "dateCreation": "1981-10-01", + "dateDerniereMiseAJour": "2024-09-17T13:23:37.163Z", + "dateMiseAJourInsee": "2024-03-29T23:43:34.275", + "dateDebutActivite": "", + "dateFermeture": "2019-12-31", + "adresse": "ZONE ARTISANALE, AVENUE DES FONTENELLES, 35310 CHAVAGNE", + "adressePostale": "ZONE ARTISANALE, AVENUE DES FONTENELLES, 35310 CHAVAGNE", + "codePostal": "35310", + "commune": "CHAVAGNE", + "activitePrincipale": "69.20Z", + "libelleActivitePrincipale": "Activités comptables", + "trancheEffectif": null, + "libelleTrancheEffectif": "", + "latitude": "", + "longitude": "", + "complements": { + "estEntrepreneurIndividuel": false, + "idFiness": [], + "idBio": [], + "idcc": [], + "idOrganismeFormation": [], + "idRge": [], + "idUai": [] + }, + "anneeTrancheEffectif": null, + "ancienSiege": true + }, { "siren": "300025764", "siret": "30002576400048", - "oldSiret": "", - "etatAdministratif": "inconnu", - "statutDiffusion": "diffusible", + "oldSiret": "30002576400048", + "etatAdministratif": "en activité", + "statutDiffusion": "partiellement diffusible", "estSiege": true, - "enseigne": null, - "denomination": null, + "enseigne": "", + "denomination": "", "nic": "00048", - "dateCreation": "2019-12-31", - "dateDerniereMiseAJour": "", - "dateMiseAJourInsee": "", + "dateCreation": "2019-12-23", + "dateDerniereMiseAJour": "2024-09-17T13:23:37.163Z", + "dateMiseAJourInsee": "2024-03-30T00:23:00.551", "dateDebutActivite": "", - "dateFermeture": "", - "adresse": "", - "adressePostale": "", - "codePostal": "", - "commune": "", - "activitePrincipale": "", - "libelleActivitePrincipale": "", - "trancheEffectif": "", + "dateFermeture": null, + "adresse": "APPT B407 - 4EME ETAGE, 51 BOULEVARD DE VERDUN, 35000 RENNES", + "adressePostale": "APPT B407 - 4EME ETAGE, 51 BOULEVARD DE VERDUN, 35000 RENNES", + "codePostal": "35000", + "commune": "RENNES", + "activitePrincipale": "68.20A", + "libelleActivitePrincipale": "Location de logements", + "trancheEffectif": null, "libelleTrancheEffectif": "", "latitude": "", "longitude": "", @@ -86,34 +123,33 @@ "idRge": [], "idUai": [] }, + "anneeTrancheEffectif": null, "ancienSiege": false } ], - "open": [], - "unknown": [], - "closed": [ + "open": [ { "siren": "300025764", "siret": "30002576400048", - "oldSiret": "", - "etatAdministratif": "inconnu", - "statutDiffusion": "diffusible", + "oldSiret": "30002576400048", + "etatAdministratif": "en activité", + "statutDiffusion": "partiellement diffusible", "estSiege": true, - "enseigne": null, - "denomination": null, + "enseigne": "", + "denomination": "", "nic": "00048", - "dateCreation": "2019-12-31", - "dateDerniereMiseAJour": "", - "dateMiseAJourInsee": "", + "dateCreation": "2019-12-23", + "dateDerniereMiseAJour": "2024-09-17T13:23:37.163Z", + "dateMiseAJourInsee": "2024-03-30T00:23:00.551", "dateDebutActivite": "", - "dateFermeture": "", - "adresse": "", - "adressePostale": "", - "codePostal": "", - "commune": "", - "activitePrincipale": "", - "libelleActivitePrincipale": "", - "trancheEffectif": "", + "dateFermeture": null, + "adresse": "APPT B407 - 4EME ETAGE, 51 BOULEVARD DE VERDUN, 35000 RENNES", + "adressePostale": "APPT B407 - 4EME ETAGE, 51 BOULEVARD DE VERDUN, 35000 RENNES", + "codePostal": "35000", + "commune": "RENNES", + "activitePrincipale": "68.20A", + "libelleActivitePrincipale": "Location de logements", + "trancheEffectif": null, "libelleTrancheEffectif": "", "latitude": "", "longitude": "", @@ -126,11 +162,52 @@ "idRge": [], "idUai": [] }, + "anneeTrancheEffectif": null, "ancienSiege": false } ], - "nombreEtablissementsOuverts": 0, - "nombreEtablissements": 1, + "unknown": [], + "closed": [ + { + "siren": "300025764", + "siret": "30002576400022", + "oldSiret": "30002576400022", + "etatAdministratif": "fermé", + "statutDiffusion": "partiellement diffusible", + "estSiege": false, + "enseigne": "", + "denomination": "", + "nic": "00022", + "dateCreation": "1981-10-01", + "dateDerniereMiseAJour": "2024-09-17T13:23:37.163Z", + "dateMiseAJourInsee": "2024-03-29T23:43:34.275", + "dateDebutActivite": "", + "dateFermeture": "2019-12-31", + "adresse": "ZONE ARTISANALE, AVENUE DES FONTENELLES, 35310 CHAVAGNE", + "adressePostale": "ZONE ARTISANALE, AVENUE DES FONTENELLES, 35310 CHAVAGNE", + "codePostal": "35310", + "commune": "CHAVAGNE", + "activitePrincipale": "69.20Z", + "libelleActivitePrincipale": "Activités comptables", + "trancheEffectif": null, + "libelleTrancheEffectif": "", + "latitude": "", + "longitude": "", + "complements": { + "estEntrepreneurIndividuel": false, + "idFiness": [], + "idBio": [], + "idcc": [], + "idOrganismeFormation": [], + "idRge": [], + "idUai": [] + }, + "anneeTrancheEffectif": null, + "ancienSiege": true + } + ], + "nombreEtablissementsOuverts": 1, + "nombreEtablissements": 2, "usePagination": false, "currentEtablissementPage": 1 }, diff --git a/clients/_test/clientUniteLegaleInsee/_snapshots/siren-883010316.json b/clients/_test/clientUniteLegaleInsee/_snapshots/siren-883010316.json index 1a35b220c..a52c07395 100644 --- a/clients/_test/clientUniteLegaleInsee/_snapshots/siren-883010316.json +++ b/clients/_test/clientUniteLegaleInsee/_snapshots/siren-883010316.json @@ -14,7 +14,7 @@ "denomination": "", "nic": "00015", "dateCreation": "2018-05-06", - "dateDerniereMiseAJour": "2024-09-17T13:08:37.208Z", + "dateDerniereMiseAJour": "2024-09-17T13:26:52.715Z", "dateMiseAJourInsee": "2024-03-30T08:06:53.621", "dateDebutActivite": "", "dateFermeture": "2020-09-01", @@ -60,7 +60,7 @@ "denomination": "", "nic": "00015", "dateCreation": "2018-05-06", - "dateDerniereMiseAJour": "2024-09-17T13:08:37.209Z", + "dateDerniereMiseAJour": "2024-09-17T13:26:52.718Z", "dateMiseAJourInsee": "2024-03-30T08:06:53.621", "dateDebutActivite": "", "dateFermeture": "2020-09-01", @@ -101,7 +101,7 @@ "denomination": "", "nic": "00015", "dateCreation": "2018-05-06", - "dateDerniereMiseAJour": "2024-09-17T13:08:37.209Z", + "dateDerniereMiseAJour": "2024-09-17T13:26:52.718Z", "dateMiseAJourInsee": "2024-03-30T08:06:53.621", "dateDebutActivite": "", "dateFermeture": "2020-09-01", diff --git a/clients/_test/clientUniteLegaleInsee/_snapshots/siren-908595879.json b/clients/_test/clientUniteLegaleInsee/_snapshots/siren-908595879.json index f7dfeaa0b..7607eb67c 100644 --- a/clients/_test/clientUniteLegaleInsee/_snapshots/siren-908595879.json +++ b/clients/_test/clientUniteLegaleInsee/_snapshots/siren-908595879.json @@ -14,7 +14,7 @@ "denomination": "", "nic": "00010", "dateCreation": "2022-01-01", - "dateDerniereMiseAJour": "2024-09-17T13:08:36.965Z", + "dateDerniereMiseAJour": "2024-09-17T13:26:52.447Z", "dateMiseAJourInsee": "2024-03-29T23:18:52.426", "dateDebutActivite": "", "dateFermeture": null, @@ -60,7 +60,7 @@ "denomination": "", "nic": "00010", "dateCreation": "2022-01-01", - "dateDerniereMiseAJour": "2024-09-17T13:08:37.091Z", + "dateDerniereMiseAJour": "2024-09-17T13:26:52.602Z", "dateMiseAJourInsee": "2024-03-29T23:18:52.426", "dateDebutActivite": "", "dateFermeture": null, @@ -99,7 +99,7 @@ "denomination": "", "nic": "00010", "dateCreation": "2022-01-01", - "dateDerniereMiseAJour": "2024-09-17T13:08:37.091Z", + "dateDerniereMiseAJour": "2024-09-17T13:26:52.602Z", "dateMiseAJourInsee": "2024-03-29T23:18:52.426", "dateDebutActivite": "", "dateFermeture": null,