@tricoteuses/assemblee 3.0.18 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/{amendements-Bab1iUCY.js → amendements-Blw6Aa6-.js} +3 -3
- package/lib/amendements-DiMsxlUL.js +178 -0
- package/lib/cleaners/actes_legislatifs.d.ts +2 -2
- package/lib/cleaners/acteurs.d.ts +7 -2
- package/lib/cleaners/amendements.d.ts +2 -2
- package/lib/cleaners/documents.d.ts +1 -1
- package/lib/cleaners/dossiers_legislatifs.d.ts +1 -1
- package/lib/cleaners/organes.d.ts +1 -1
- package/lib/cleaners/reunions.d.ts +1 -1
- package/lib/cleaners/scrutins.d.ts +10 -2
- package/lib/cleaners.js +576 -485
- package/lib/datasets.d.ts +2 -6
- package/lib/git.js +54 -51
- package/lib/index.js +263 -257
- package/lib/inserters.d.ts +22 -2
- package/lib/loaders.js +495 -544
- package/lib/logger.d.ts +1 -1
- package/lib/parsers.js +5 -5
- package/lib/{questions-BiakXZ6q.js → questions-XokaUGcy.js} +4 -1
- package/lib/registries.d.ts +4 -4
- package/lib/schemas/clean/acteurs_et_organes.d.ts +37 -37
- package/lib/schemas/clean/amendements.d.ts +38 -25
- package/lib/schemas/clean/dossiers_legislatifs.d.ts +16 -16
- package/lib/schemas/clean/scrutins.d.ts +2 -2
- package/lib/schemas/enriched/acteurs_et_organes.d.ts +2 -2
- package/lib/schemas/enriched/amendements.d.ts +135 -15
- package/lib/schemas/enriched/dossiers_legislatifs.d.ts +12 -12
- package/lib/schemas/enriched/scrutins.d.ts +2 -2
- package/lib/schemas/raw/acteurs_et_organes.d.ts +99 -99
- package/lib/schemas/raw/agendas.d.ts +11 -11
- package/lib/schemas/raw/amendements.d.ts +49 -37
- package/lib/schemas/raw/dossiers_legislatifs.d.ts +146 -63
- package/lib/schemas/raw/questions.d.ts +44 -44
- package/lib/schemas/raw/scrutins.d.ts +4 -4
- package/lib/scripts/retrieve_documents.d.ts +5 -1
- package/lib/scripts/retrieve_open_data.d.ts +4 -0
- package/lib/scripts/shared/cli_helpers.d.ts +8 -0
- package/package.json +26 -26
- package/lib/amendements-BKGwufEi.js +0 -170
|
@@ -724,10 +724,10 @@ export type ClassificationRaw = z.infer<typeof ClassificationRawSchema>;
|
|
|
724
724
|
* Chrono (dates du cycle de vie)
|
|
725
725
|
*/
|
|
726
726
|
export declare const ChronoRawSchema: z.ZodObject<{
|
|
727
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
728
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
729
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
730
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
727
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
728
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
729
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
730
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
731
731
|
}, z.core.$strip>;
|
|
732
732
|
export type ChronoRaw = z.infer<typeof ChronoRawSchema>;
|
|
733
733
|
/**
|
|
@@ -735,10 +735,10 @@ export type ChronoRaw = z.infer<typeof ChronoRawSchema>;
|
|
|
735
735
|
*/
|
|
736
736
|
export declare const CycleDeVieRawSchema: z.ZodObject<{
|
|
737
737
|
chrono: z.ZodObject<{
|
|
738
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
739
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
740
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
741
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
738
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
739
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
740
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
741
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
742
742
|
}, z.core.$strip>;
|
|
743
743
|
}, z.core.$strip>;
|
|
744
744
|
export type CycleDeVieRaw = z.infer<typeof CycleDeVieRawSchema>;
|
|
@@ -979,20 +979,41 @@ export type DepotAmendementsRaw = z.infer<typeof DepotAmendementsRawSchema>;
|
|
|
979
979
|
*
|
|
980
980
|
* Divisions can contain nested divisions
|
|
981
981
|
*/
|
|
982
|
-
|
|
982
|
+
type DivisionRawShape = {
|
|
983
|
+
"@xsi:type": DocumentXsiType;
|
|
984
|
+
uid: string;
|
|
985
|
+
legislature: string | null;
|
|
986
|
+
cycleDeVie: CycleDeVieRaw;
|
|
987
|
+
denominationStructurelle: string;
|
|
988
|
+
titres: TitresRaw;
|
|
989
|
+
divisions: DivisionsRaw | null;
|
|
990
|
+
dossierRef: string;
|
|
991
|
+
redacteur: null;
|
|
992
|
+
classification: ClassificationRaw;
|
|
993
|
+
auteurs: AuteursRaw;
|
|
994
|
+
organesReferents?: OrganesReferentsRaw | null;
|
|
995
|
+
correction: CorrectionRaw | null;
|
|
996
|
+
notice: NoticeRaw;
|
|
997
|
+
indexation: IndexationRaw | null;
|
|
998
|
+
imprimerie: ImprimerieRaw | null;
|
|
999
|
+
coSignataires?: null;
|
|
1000
|
+
depotAmendements?: null;
|
|
1001
|
+
rapportPublie?: "true" | "false" | "undefined";
|
|
1002
|
+
};
|
|
1003
|
+
export declare const DivisionRawSchema: z.ZodType<DivisionRawShape>;
|
|
983
1004
|
export type DivisionRaw = z.infer<typeof DivisionRawSchema>;
|
|
984
1005
|
/**
|
|
985
1006
|
* Divisions
|
|
986
1007
|
*/
|
|
987
1008
|
export declare const DivisionsRawSchema: z.ZodObject<{
|
|
988
|
-
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
1009
|
+
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<DivisionRawShape, unknown, z.core.$ZodTypeInternals<DivisionRawShape, unknown>>>>;
|
|
989
1010
|
}, z.core.$strip>;
|
|
990
1011
|
export type DivisionsRaw = z.infer<typeof DivisionsRawSchema>;
|
|
991
1012
|
/**
|
|
992
1013
|
* Document supprimé metadata
|
|
993
1014
|
*/
|
|
994
1015
|
export declare const DocumentSupprimeMetadataRawSchema: z.ZodObject<{
|
|
995
|
-
dateSuppression: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
1016
|
+
dateSuppression: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
996
1017
|
}, z.core.$strip>;
|
|
997
1018
|
export type DocumentSupprimeMetadataRaw = z.infer<typeof DocumentSupprimeMetadataRawSchema>;
|
|
998
1019
|
/**
|
|
@@ -1010,7 +1031,7 @@ export declare const DocumentSupprimeRawSchema: z.ZodObject<{
|
|
|
1010
1031
|
}>;
|
|
1011
1032
|
uid: z.ZodString;
|
|
1012
1033
|
metadatas: z.ZodObject<{
|
|
1013
|
-
dateSuppression: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
1034
|
+
dateSuppression: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
1014
1035
|
}, z.core.$strip>;
|
|
1015
1036
|
}, z.core.$strip>;
|
|
1016
1037
|
export type DocumentSupprimeRaw = z.infer<typeof DocumentSupprimeRawSchema>;
|
|
@@ -1031,10 +1052,10 @@ export declare const DocumentDocumentRawSchema: z.ZodObject<{
|
|
|
1031
1052
|
legislature: z.ZodNullable<z.ZodString>;
|
|
1032
1053
|
cycleDeVie: z.ZodObject<{
|
|
1033
1054
|
chrono: z.ZodObject<{
|
|
1034
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
1035
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
1036
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
1037
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
1055
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1056
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1057
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1058
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1038
1059
|
}, z.core.$strip>;
|
|
1039
1060
|
}, z.core.$strip>;
|
|
1040
1061
|
denominationStructurelle: z.ZodEnum<{
|
|
@@ -1061,7 +1082,7 @@ export declare const DocumentDocumentRawSchema: z.ZodObject<{
|
|
|
1061
1082
|
titrePrincipalCourt: z.ZodString;
|
|
1062
1083
|
}, z.core.$strip>;
|
|
1063
1084
|
divisions: z.ZodNullable<z.ZodObject<{
|
|
1064
|
-
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
1085
|
+
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<DivisionRawShape, unknown, z.core.$ZodTypeInternals<DivisionRawShape, unknown>>>>;
|
|
1065
1086
|
}, z.core.$strip>>;
|
|
1066
1087
|
dossierRef: z.ZodString;
|
|
1067
1088
|
redacteur: z.ZodNull;
|
|
@@ -1233,10 +1254,10 @@ export declare const DocumentRawSchema: z.ZodObject<{
|
|
|
1233
1254
|
legislature: z.ZodNullable<z.ZodString>;
|
|
1234
1255
|
cycleDeVie: z.ZodObject<{
|
|
1235
1256
|
chrono: z.ZodObject<{
|
|
1236
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
1237
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
1238
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
1239
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
1257
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1258
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1259
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1260
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1240
1261
|
}, z.core.$strip>;
|
|
1241
1262
|
}, z.core.$strip>;
|
|
1242
1263
|
denominationStructurelle: z.ZodEnum<{
|
|
@@ -1263,7 +1284,7 @@ export declare const DocumentRawSchema: z.ZodObject<{
|
|
|
1263
1284
|
titrePrincipalCourt: z.ZodString;
|
|
1264
1285
|
}, z.core.$strip>;
|
|
1265
1286
|
divisions: z.ZodNullable<z.ZodObject<{
|
|
1266
|
-
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
1287
|
+
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<DivisionRawShape, unknown, z.core.$ZodTypeInternals<DivisionRawShape, unknown>>>>;
|
|
1267
1288
|
}, z.core.$strip>>;
|
|
1268
1289
|
dossierRef: z.ZodString;
|
|
1269
1290
|
redacteur: z.ZodNull;
|
|
@@ -1427,7 +1448,7 @@ export declare const DocumentRawSchema: z.ZodObject<{
|
|
|
1427
1448
|
}>;
|
|
1428
1449
|
uid: z.ZodString;
|
|
1429
1450
|
metadatas: z.ZodObject<{
|
|
1430
|
-
dateSuppression: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
1451
|
+
dateSuppression: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
1431
1452
|
}, z.core.$strip>;
|
|
1432
1453
|
}, z.core.$strip>]>;
|
|
1433
1454
|
}, z.core.$strip>;
|
|
@@ -1447,10 +1468,10 @@ export declare const DocumentElementRawSchema: z.ZodObject<{
|
|
|
1447
1468
|
legislature: z.ZodNullable<z.ZodString>;
|
|
1448
1469
|
cycleDeVie: z.ZodObject<{
|
|
1449
1470
|
chrono: z.ZodObject<{
|
|
1450
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
1451
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
1452
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
1453
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
1471
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1472
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1473
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1474
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1454
1475
|
}, z.core.$strip>;
|
|
1455
1476
|
}, z.core.$strip>;
|
|
1456
1477
|
denominationStructurelle: z.ZodEnum<{
|
|
@@ -1477,7 +1498,7 @@ export declare const DocumentElementRawSchema: z.ZodObject<{
|
|
|
1477
1498
|
titrePrincipalCourt: z.ZodString;
|
|
1478
1499
|
}, z.core.$strip>;
|
|
1479
1500
|
divisions: z.ZodNullable<z.ZodObject<{
|
|
1480
|
-
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
1501
|
+
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<DivisionRawShape, unknown, z.core.$ZodTypeInternals<DivisionRawShape, unknown>>>>;
|
|
1481
1502
|
}, z.core.$strip>>;
|
|
1482
1503
|
dossierRef: z.ZodString;
|
|
1483
1504
|
redacteur: z.ZodNull;
|
|
@@ -1644,10 +1665,10 @@ export declare const TextesLegislatifsRawSchema: z.ZodObject<{
|
|
|
1644
1665
|
legislature: z.ZodNullable<z.ZodString>;
|
|
1645
1666
|
cycleDeVie: z.ZodObject<{
|
|
1646
1667
|
chrono: z.ZodObject<{
|
|
1647
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
1648
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
1649
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
1650
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
1668
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1669
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1670
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1671
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1651
1672
|
}, z.core.$strip>;
|
|
1652
1673
|
}, z.core.$strip>;
|
|
1653
1674
|
denominationStructurelle: z.ZodEnum<{
|
|
@@ -1674,7 +1695,7 @@ export declare const TextesLegislatifsRawSchema: z.ZodObject<{
|
|
|
1674
1695
|
titrePrincipalCourt: z.ZodString;
|
|
1675
1696
|
}, z.core.$strip>;
|
|
1676
1697
|
divisions: z.ZodNullable<z.ZodObject<{
|
|
1677
|
-
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
1698
|
+
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<DivisionRawShape, unknown, z.core.$ZodTypeInternals<DivisionRawShape, unknown>>>>;
|
|
1678
1699
|
}, z.core.$strip>>;
|
|
1679
1700
|
dossierRef: z.ZodString;
|
|
1680
1701
|
redacteur: z.ZodNull;
|
|
@@ -1955,13 +1976,21 @@ export type RapporteursRaw = z.infer<typeof RapporteursRawSchema>;
|
|
|
1955
1976
|
/**
|
|
1956
1977
|
* Mission Minefi element (recursive structure)
|
|
1957
1978
|
*/
|
|
1958
|
-
|
|
1979
|
+
type MissionMinefiElementRawShape = {
|
|
1980
|
+
typeMission: TypeMission;
|
|
1981
|
+
codeMission?: string;
|
|
1982
|
+
libelleLong: string;
|
|
1983
|
+
libelleCourt: string;
|
|
1984
|
+
typeBudget: TypeBudget;
|
|
1985
|
+
missions?: MissionsRaw;
|
|
1986
|
+
};
|
|
1987
|
+
export declare const MissionMinefiElementRawSchema: z.ZodType<MissionMinefiElementRawShape>;
|
|
1959
1988
|
export type MissionMinefiElementRaw = z.infer<typeof MissionMinefiElementRawSchema>;
|
|
1960
1989
|
/**
|
|
1961
1990
|
* Missions
|
|
1962
1991
|
*/
|
|
1963
1992
|
export declare const MissionsRawSchema: z.ZodObject<{
|
|
1964
|
-
mission: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
1993
|
+
mission: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<MissionMinefiElementRawShape, unknown, z.core.$ZodTypeInternals<MissionMinefiElementRawShape, unknown>>>>;
|
|
1965
1994
|
}, z.core.$strip>;
|
|
1966
1995
|
export type MissionsRaw = z.infer<typeof MissionsRawSchema>;
|
|
1967
1996
|
/**
|
|
@@ -1994,7 +2023,7 @@ export declare const EtudePlfRawSchema: z.ZodObject<{
|
|
|
1994
2023
|
}>;
|
|
1995
2024
|
etudePLFRef: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1996
2025
|
}, z.core.$strip>]>>;
|
|
1997
|
-
missionMinefi: z.ZodOptional<z.ZodType<
|
|
2026
|
+
missionMinefi: z.ZodOptional<z.ZodType<MissionMinefiElementRawShape, unknown, z.core.$ZodTypeInternals<MissionMinefiElementRawShape, unknown>>>;
|
|
1998
2027
|
ordreDIQS: z.ZodString;
|
|
1999
2028
|
ordreCommission: z.ZodString;
|
|
2000
2029
|
}, z.core.$strip>;
|
|
@@ -2030,7 +2059,7 @@ export declare const PlfRawSchema: z.ZodObject<{
|
|
|
2030
2059
|
}>;
|
|
2031
2060
|
etudePLFRef: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2032
2061
|
}, z.core.$strip>]>>;
|
|
2033
|
-
missionMinefi: z.ZodOptional<z.ZodType<
|
|
2062
|
+
missionMinefi: z.ZodOptional<z.ZodType<MissionMinefiElementRawShape, unknown, z.core.$ZodTypeInternals<MissionMinefiElementRawShape, unknown>>>;
|
|
2034
2063
|
ordreDIQS: z.ZodString;
|
|
2035
2064
|
ordreCommission: z.ZodString;
|
|
2036
2065
|
}, z.core.$strip>>;
|
|
@@ -2145,13 +2174,66 @@ export type TexteExterneAssocieRaw = z.infer<typeof TexteExterneAssocieRawSchema
|
|
|
2145
2174
|
*
|
|
2146
2175
|
* Legislative acts can contain nested legislative acts
|
|
2147
2176
|
*/
|
|
2148
|
-
|
|
2177
|
+
type ActeLegislatifRawShape = {
|
|
2178
|
+
"@xsi:type": ActeLegislatifXsiType;
|
|
2179
|
+
uid: string;
|
|
2180
|
+
codeActe: CodeActe;
|
|
2181
|
+
libelleActe: LibelleActeRaw;
|
|
2182
|
+
organeRef?: string;
|
|
2183
|
+
dateActe?: Date;
|
|
2184
|
+
actesLegislatifs?: ActesLegislatifsRaw | null;
|
|
2185
|
+
texteAssocie?: string;
|
|
2186
|
+
contributionInternaute?: ContributionInternauteRaw;
|
|
2187
|
+
provenance?: string;
|
|
2188
|
+
depotInitialLectureDefinitiveRef?: string | null;
|
|
2189
|
+
initiateur?: InitiateurRaw;
|
|
2190
|
+
statutConclusion?: FamCodeEtLibelleRaw;
|
|
2191
|
+
reunionRef?: string | null;
|
|
2192
|
+
odjRef?: string | null;
|
|
2193
|
+
datePublication?: Date;
|
|
2194
|
+
dateMiseAJour?: Date;
|
|
2195
|
+
urlTexteAdopte?: string | null;
|
|
2196
|
+
urlTexteAssocie?: string | null;
|
|
2197
|
+
odSeancejRef?: null;
|
|
2198
|
+
voteRefs?: VoteRefsRaw | null;
|
|
2199
|
+
textesAssocies?: TextesAssociesRaw;
|
|
2200
|
+
rapporteurs?: RapporteursRaw;
|
|
2201
|
+
reunion?: null;
|
|
2202
|
+
texteAdopte?: string | null;
|
|
2203
|
+
casSaisine?: FamCodeEtLibelleRaw;
|
|
2204
|
+
decision?: FamCodeEtLibelleRaw;
|
|
2205
|
+
formuleDecision?: string;
|
|
2206
|
+
initiateurs?: InitiateursRefsRaw | null;
|
|
2207
|
+
motif?: Motif;
|
|
2208
|
+
urlConclusion?: string;
|
|
2209
|
+
numDecision?: string;
|
|
2210
|
+
anneeDecision?: string;
|
|
2211
|
+
typeDeclaration?: FamCodeEtLibelleRaw;
|
|
2212
|
+
typeMotionCensure?: FamCodeEtLibelleRaw;
|
|
2213
|
+
auteurs?: ActeLegislatifAuteursRaw | null;
|
|
2214
|
+
typeMotion?: FamCodeEtLibelleRaw;
|
|
2215
|
+
auteurMotion?: string;
|
|
2216
|
+
dateRetrait?: null;
|
|
2217
|
+
texteLoiRef?: string;
|
|
2218
|
+
infoJO?: InfoJoElementRaw | null;
|
|
2219
|
+
urlEcheancierLoi?: string | null;
|
|
2220
|
+
codeLoi?: string;
|
|
2221
|
+
titreLoi?: string | null;
|
|
2222
|
+
infoJORect?: InfoJoElementRaw[] | InfoJoElementRaw;
|
|
2223
|
+
texteEuropeen?: TexteEuropeenRaw;
|
|
2224
|
+
infoJOCE?: InfoJoceRaw;
|
|
2225
|
+
statutAdoption?: FamCodeEtLibelleRaw;
|
|
2226
|
+
urlLegifrance?: string;
|
|
2227
|
+
referenceNOR?: string;
|
|
2228
|
+
texteExterneAssocie?: TexteExterneAssocieRaw;
|
|
2229
|
+
};
|
|
2230
|
+
export declare const ActeLegislatifRawSchema: z.ZodType<ActeLegislatifRawShape>;
|
|
2149
2231
|
export type ActeLegislatifRaw = z.infer<typeof ActeLegislatifRawSchema>;
|
|
2150
2232
|
/**
|
|
2151
2233
|
* Actes législatifs
|
|
2152
2234
|
*/
|
|
2153
2235
|
export declare const ActesLegislatifsRawSchema: z.ZodObject<{
|
|
2154
|
-
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
2236
|
+
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<ActeLegislatifRawShape, unknown, z.core.$ZodTypeInternals<ActeLegislatifRawShape, unknown>>>>;
|
|
2155
2237
|
}, z.core.$strip>;
|
|
2156
2238
|
export type ActesLegislatifsRaw = z.infer<typeof ActesLegislatifsRawSchema>;
|
|
2157
2239
|
/**
|
|
@@ -2195,7 +2277,7 @@ export declare const DossierParlementaireDossierParlementaireRawSchema: z.ZodObj
|
|
|
2195
2277
|
}, z.core.$strip>>;
|
|
2196
2278
|
}, z.core.$strip>>;
|
|
2197
2279
|
actesLegislatifs: z.ZodNullable<z.ZodObject<{
|
|
2198
|
-
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
2280
|
+
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<ActeLegislatifRawShape, unknown, z.core.$ZodTypeInternals<ActeLegislatifRawShape, unknown>>>>;
|
|
2199
2281
|
}, z.core.$strip>>;
|
|
2200
2282
|
indexation: z.ZodOptional<z.ZodObject<{
|
|
2201
2283
|
themes: z.ZodObject<{
|
|
@@ -2240,7 +2322,7 @@ export declare const DossierParlementaireDossierParlementaireRawSchema: z.ZodObj
|
|
|
2240
2322
|
}>;
|
|
2241
2323
|
etudePLFRef: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2242
2324
|
}, z.core.$strip>]>>;
|
|
2243
|
-
missionMinefi: z.ZodOptional<z.ZodType<
|
|
2325
|
+
missionMinefi: z.ZodOptional<z.ZodType<MissionMinefiElementRawShape, unknown, z.core.$ZodTypeInternals<MissionMinefiElementRawShape, unknown>>>;
|
|
2244
2326
|
ordreDIQS: z.ZodString;
|
|
2245
2327
|
ordreCommission: z.ZodString;
|
|
2246
2328
|
}, z.core.$strip>>;
|
|
@@ -2289,7 +2371,7 @@ export declare const DossierParlementaireRawSchema: z.ZodObject<{
|
|
|
2289
2371
|
}, z.core.$strip>>;
|
|
2290
2372
|
}, z.core.$strip>>;
|
|
2291
2373
|
actesLegislatifs: z.ZodNullable<z.ZodObject<{
|
|
2292
|
-
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
2374
|
+
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<ActeLegislatifRawShape, unknown, z.core.$ZodTypeInternals<ActeLegislatifRawShape, unknown>>>>;
|
|
2293
2375
|
}, z.core.$strip>>;
|
|
2294
2376
|
indexation: z.ZodOptional<z.ZodObject<{
|
|
2295
2377
|
themes: z.ZodObject<{
|
|
@@ -2334,7 +2416,7 @@ export declare const DossierParlementaireRawSchema: z.ZodObject<{
|
|
|
2334
2416
|
}>;
|
|
2335
2417
|
etudePLFRef: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2336
2418
|
}, z.core.$strip>]>>;
|
|
2337
|
-
missionMinefi: z.ZodOptional<z.ZodType<
|
|
2419
|
+
missionMinefi: z.ZodOptional<z.ZodType<MissionMinefiElementRawShape, unknown, z.core.$ZodTypeInternals<MissionMinefiElementRawShape, unknown>>>;
|
|
2338
2420
|
ordreDIQS: z.ZodString;
|
|
2339
2421
|
ordreCommission: z.ZodString;
|
|
2340
2422
|
}, z.core.$strip>>;
|
|
@@ -2381,7 +2463,7 @@ export declare const DossierDossierParlementaireRawSchema: z.ZodObject<{
|
|
|
2381
2463
|
}, z.core.$strip>>;
|
|
2382
2464
|
}, z.core.$strip>>;
|
|
2383
2465
|
actesLegislatifs: z.ZodObject<{
|
|
2384
|
-
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
2466
|
+
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<ActeLegislatifRawShape, unknown, z.core.$ZodTypeInternals<ActeLegislatifRawShape, unknown>>>>;
|
|
2385
2467
|
}, z.core.$strip>;
|
|
2386
2468
|
indexation: z.ZodOptional<z.ZodObject<{
|
|
2387
2469
|
themes: z.ZodObject<{
|
|
@@ -2426,7 +2508,7 @@ export declare const DossierDossierParlementaireRawSchema: z.ZodObject<{
|
|
|
2426
2508
|
}>;
|
|
2427
2509
|
etudePLFRef: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2428
2510
|
}, z.core.$strip>]>>;
|
|
2429
|
-
missionMinefi: z.ZodOptional<z.ZodType<
|
|
2511
|
+
missionMinefi: z.ZodOptional<z.ZodType<MissionMinefiElementRawShape, unknown, z.core.$ZodTypeInternals<MissionMinefiElementRawShape, unknown>>>;
|
|
2430
2512
|
ordreDIQS: z.ZodString;
|
|
2431
2513
|
ordreCommission: z.ZodString;
|
|
2432
2514
|
}, z.core.$strip>>;
|
|
@@ -2473,7 +2555,7 @@ export declare const DossierRawSchema: z.ZodObject<{
|
|
|
2473
2555
|
}, z.core.$strip>>;
|
|
2474
2556
|
}, z.core.$strip>>;
|
|
2475
2557
|
actesLegislatifs: z.ZodObject<{
|
|
2476
|
-
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
2558
|
+
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<ActeLegislatifRawShape, unknown, z.core.$ZodTypeInternals<ActeLegislatifRawShape, unknown>>>>;
|
|
2477
2559
|
}, z.core.$strip>;
|
|
2478
2560
|
indexation: z.ZodOptional<z.ZodObject<{
|
|
2479
2561
|
themes: z.ZodObject<{
|
|
@@ -2518,7 +2600,7 @@ export declare const DossierRawSchema: z.ZodObject<{
|
|
|
2518
2600
|
}>;
|
|
2519
2601
|
etudePLFRef: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2520
2602
|
}, z.core.$strip>]>>;
|
|
2521
|
-
missionMinefi: z.ZodOptional<z.ZodType<
|
|
2603
|
+
missionMinefi: z.ZodOptional<z.ZodType<MissionMinefiElementRawShape, unknown, z.core.$ZodTypeInternals<MissionMinefiElementRawShape, unknown>>>;
|
|
2522
2604
|
ordreDIQS: z.ZodString;
|
|
2523
2605
|
ordreCommission: z.ZodString;
|
|
2524
2606
|
}, z.core.$strip>>;
|
|
@@ -2567,7 +2649,7 @@ export declare const DossiersLegislatifsClassRawSchema: z.ZodObject<{
|
|
|
2567
2649
|
}, z.core.$strip>>;
|
|
2568
2650
|
}, z.core.$strip>>;
|
|
2569
2651
|
actesLegislatifs: z.ZodObject<{
|
|
2570
|
-
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
2652
|
+
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<ActeLegislatifRawShape, unknown, z.core.$ZodTypeInternals<ActeLegislatifRawShape, unknown>>>>;
|
|
2571
2653
|
}, z.core.$strip>;
|
|
2572
2654
|
indexation: z.ZodOptional<z.ZodObject<{
|
|
2573
2655
|
themes: z.ZodObject<{
|
|
@@ -2612,7 +2694,7 @@ export declare const DossiersLegislatifsClassRawSchema: z.ZodObject<{
|
|
|
2612
2694
|
}>;
|
|
2613
2695
|
etudePLFRef: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2614
2696
|
}, z.core.$strip>]>>;
|
|
2615
|
-
missionMinefi: z.ZodOptional<z.ZodType<
|
|
2697
|
+
missionMinefi: z.ZodOptional<z.ZodType<MissionMinefiElementRawShape, unknown, z.core.$ZodTypeInternals<MissionMinefiElementRawShape, unknown>>>;
|
|
2616
2698
|
ordreDIQS: z.ZodString;
|
|
2617
2699
|
ordreCommission: z.ZodString;
|
|
2618
2700
|
}, z.core.$strip>>;
|
|
@@ -2639,10 +2721,10 @@ export declare const ExportRawSchema: z.ZodObject<{
|
|
|
2639
2721
|
legislature: z.ZodNullable<z.ZodString>;
|
|
2640
2722
|
cycleDeVie: z.ZodObject<{
|
|
2641
2723
|
chrono: z.ZodObject<{
|
|
2642
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
2643
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
2644
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
2645
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
2724
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2725
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2726
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2727
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2646
2728
|
}, z.core.$strip>;
|
|
2647
2729
|
}, z.core.$strip>;
|
|
2648
2730
|
denominationStructurelle: z.ZodEnum<{
|
|
@@ -2669,7 +2751,7 @@ export declare const ExportRawSchema: z.ZodObject<{
|
|
|
2669
2751
|
titrePrincipalCourt: z.ZodString;
|
|
2670
2752
|
}, z.core.$strip>;
|
|
2671
2753
|
divisions: z.ZodNullable<z.ZodObject<{
|
|
2672
|
-
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
2754
|
+
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<DivisionRawShape, unknown, z.core.$ZodTypeInternals<DivisionRawShape, unknown>>>>;
|
|
2673
2755
|
}, z.core.$strip>>;
|
|
2674
2756
|
dossierRef: z.ZodString;
|
|
2675
2757
|
redacteur: z.ZodNull;
|
|
@@ -2858,7 +2940,7 @@ export declare const ExportRawSchema: z.ZodObject<{
|
|
|
2858
2940
|
}, z.core.$strip>>;
|
|
2859
2941
|
}, z.core.$strip>>;
|
|
2860
2942
|
actesLegislatifs: z.ZodObject<{
|
|
2861
|
-
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
2943
|
+
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<ActeLegislatifRawShape, unknown, z.core.$ZodTypeInternals<ActeLegislatifRawShape, unknown>>>>;
|
|
2862
2944
|
}, z.core.$strip>;
|
|
2863
2945
|
indexation: z.ZodOptional<z.ZodObject<{
|
|
2864
2946
|
themes: z.ZodObject<{
|
|
@@ -2903,7 +2985,7 @@ export declare const ExportRawSchema: z.ZodObject<{
|
|
|
2903
2985
|
}>;
|
|
2904
2986
|
etudePLFRef: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
2905
2987
|
}, z.core.$strip>]>>;
|
|
2906
|
-
missionMinefi: z.ZodOptional<z.ZodType<
|
|
2988
|
+
missionMinefi: z.ZodOptional<z.ZodType<MissionMinefiElementRawShape, unknown, z.core.$ZodTypeInternals<MissionMinefiElementRawShape, unknown>>>;
|
|
2907
2989
|
ordreDIQS: z.ZodString;
|
|
2908
2990
|
ordreCommission: z.ZodString;
|
|
2909
2991
|
}, z.core.$strip>>;
|
|
@@ -2932,10 +3014,10 @@ export declare const DossiersLegislatifsRawSchema: z.ZodObject<{
|
|
|
2932
3014
|
legislature: z.ZodNullable<z.ZodString>;
|
|
2933
3015
|
cycleDeVie: z.ZodObject<{
|
|
2934
3016
|
chrono: z.ZodObject<{
|
|
2935
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
2936
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
2937
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
2938
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
3017
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
3018
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
3019
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
3020
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2939
3021
|
}, z.core.$strip>;
|
|
2940
3022
|
}, z.core.$strip>;
|
|
2941
3023
|
denominationStructurelle: z.ZodEnum<{
|
|
@@ -2962,7 +3044,7 @@ export declare const DossiersLegislatifsRawSchema: z.ZodObject<{
|
|
|
2962
3044
|
titrePrincipalCourt: z.ZodString;
|
|
2963
3045
|
}, z.core.$strip>;
|
|
2964
3046
|
divisions: z.ZodNullable<z.ZodObject<{
|
|
2965
|
-
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
3047
|
+
division: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<DivisionRawShape, unknown, z.core.$ZodTypeInternals<DivisionRawShape, unknown>>>>;
|
|
2966
3048
|
}, z.core.$strip>>;
|
|
2967
3049
|
dossierRef: z.ZodString;
|
|
2968
3050
|
redacteur: z.ZodNull;
|
|
@@ -3151,7 +3233,7 @@ export declare const DossiersLegislatifsRawSchema: z.ZodObject<{
|
|
|
3151
3233
|
}, z.core.$strip>>;
|
|
3152
3234
|
}, z.core.$strip>>;
|
|
3153
3235
|
actesLegislatifs: z.ZodObject<{
|
|
3154
|
-
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<
|
|
3236
|
+
acteLegislatif: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<ActeLegislatifRawShape, unknown, z.core.$ZodTypeInternals<ActeLegislatifRawShape, unknown>>>>;
|
|
3155
3237
|
}, z.core.$strip>;
|
|
3156
3238
|
indexation: z.ZodOptional<z.ZodObject<{
|
|
3157
3239
|
themes: z.ZodObject<{
|
|
@@ -3196,7 +3278,7 @@ export declare const DossiersLegislatifsRawSchema: z.ZodObject<{
|
|
|
3196
3278
|
}>;
|
|
3197
3279
|
etudePLFRef: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
3198
3280
|
}, z.core.$strip>]>>;
|
|
3199
|
-
missionMinefi: z.ZodOptional<z.ZodType<
|
|
3281
|
+
missionMinefi: z.ZodOptional<z.ZodType<MissionMinefiElementRawShape, unknown, z.core.$ZodTypeInternals<MissionMinefiElementRawShape, unknown>>>;
|
|
3200
3282
|
ordreDIQS: z.ZodString;
|
|
3201
3283
|
ordreCommission: z.ZodString;
|
|
3202
3284
|
}, z.core.$strip>>;
|
|
@@ -3250,3 +3332,4 @@ export declare const DossiersLegislatifsRawConvert: {
|
|
|
3250
3332
|
toDossiersLegislatifs: typeof parseDossiersLegislatifsRaw;
|
|
3251
3333
|
dossiersLegislatifsToJson: typeof dossiersLegislatifsRawToJson;
|
|
3252
3334
|
};
|
|
3335
|
+
export {};
|