@tricoteuses/assemblee 2.5.31 → 3.0.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.
Files changed (94) hide show
  1. package/LICENSE.md +16 -6
  2. package/README.md +1 -19
  3. package/lib/amendements-CXmsqoof.js +170 -0
  4. package/lib/amendements-CZHXlq07.js +4198 -0
  5. package/lib/cleaners/acteurs.d.ts +2 -1
  6. package/lib/cleaners/amendements.d.ts +2 -1
  7. package/lib/cleaners/debats.d.ts +2 -1
  8. package/lib/cleaners/documents.d.ts +2 -1
  9. package/lib/cleaners/dossiers_legislatifs.d.ts +2 -1
  10. package/lib/cleaners/organes.d.ts +2 -1
  11. package/lib/cleaners/questions.d.ts +2 -1
  12. package/lib/cleaners/reunions.d.ts +2 -1
  13. package/lib/cleaners/scrutins.d.ts +2 -1
  14. package/lib/cleaners/xml.d.ts +5 -5
  15. package/lib/cleaners.js +186 -179
  16. package/lib/datasets.d.ts +5 -7
  17. package/lib/dossiers_legislatifs.d.ts +5 -2
  18. package/lib/file_systems.d.ts +9 -4
  19. package/lib/index.d.ts +24 -19
  20. package/lib/index.js +390 -1234
  21. package/lib/inserters.d.ts +466 -9
  22. package/lib/loaders.d.ts +13 -12
  23. package/lib/loaders.js +1900 -538
  24. package/lib/organes.d.ts +1 -1
  25. package/lib/parsers/compte_rendu.d.ts +2 -1
  26. package/lib/parsers/compte_rendu_commission.d.ts +1 -1
  27. package/lib/parsers/recherche_amendements.d.ts +2 -2
  28. package/lib/parsers/textes_lois.d.ts +1 -1
  29. package/lib/parsers.js +2109 -2075
  30. package/lib/questions-DTO3nK5V.js +2777 -0
  31. package/lib/questions-DXAzvI1T.js +230 -0
  32. package/lib/registries.d.ts +112 -0
  33. package/lib/schemas/clean/acteurs_et_organes.d.ts +2377 -0
  34. package/lib/schemas/clean/agendas.d.ts +830 -0
  35. package/lib/schemas/clean/amendements.d.ts +2305 -0
  36. package/lib/schemas/clean/debats.d.ts +300 -0
  37. package/lib/schemas/clean/dossiers_legislatifs.d.ts +1365 -0
  38. package/lib/schemas/clean/questions.d.ts +625 -0
  39. package/lib/schemas/clean/scrutins.d.ts +1137 -0
  40. package/lib/schemas/enriched/acteurs_et_organes.d.ts +112 -0
  41. package/lib/schemas/enriched/agendas.d.ts +501 -0
  42. package/lib/schemas/enriched/amendements.d.ts +1230 -0
  43. package/lib/schemas/enriched/debats.d.ts +308 -0
  44. package/lib/schemas/enriched/dossiers_legislatifs.d.ts +1131 -0
  45. package/lib/schemas/enriched/questions.d.ts +589 -0
  46. package/lib/schemas/enriched/scrutins.d.ts +1094 -0
  47. package/lib/schemas/raw/acteurs_et_organes.d.ts +5870 -0
  48. package/lib/schemas/raw/agendas.d.ts +1734 -0
  49. package/lib/schemas/raw/amendements.d.ts +4758 -0
  50. package/lib/schemas/raw/debats.d.ts +410 -0
  51. package/lib/schemas/raw/dossiers_legislatifs.d.ts +3252 -0
  52. package/lib/schemas/raw/questions.d.ts +983 -0
  53. package/lib/schemas/raw/scrutins.d.ts +2763 -0
  54. package/lib/scripts/retrieve_deputes_photos.d.ts +58 -4
  55. package/lib/scripts/retrieve_documents.d.ts +100 -12
  56. package/lib/scripts/retrieve_open_data.d.ts +75 -4
  57. package/lib/scripts/retrieve_videos.d.ts +1 -1
  58. package/lib/scripts/shared/cli_helpers.d.ts +103 -77
  59. package/lib/scripts/shared/photos.d.ts +106 -0
  60. package/lib/scripts/shared/utils.d.ts +4 -1
  61. package/lib/urls.d.ts +2 -2
  62. package/package.json +16 -12
  63. package/lib/amendements-40Z7OJLT.js +0 -682
  64. package/lib/amendements-J6Sx61n8.js +0 -154
  65. package/lib/datasets-Cb3wpfRH.js +0 -3580
  66. package/lib/parse-Ccs6wcUg.js +0 -2512
  67. package/lib/raw_types/acteurs_et_organes.d.ts +0 -464
  68. package/lib/raw_types/agendas.d.ts +0 -265
  69. package/lib/raw_types/amendements.d.ts +0 -365
  70. package/lib/raw_types/debats.d.ts +0 -140
  71. package/lib/raw_types/dossiers_legislatifs.d.ts +0 -567
  72. package/lib/raw_types/questions.d.ts +0 -115
  73. package/lib/raw_types/scrutins.d.ts +0 -187
  74. package/lib/schemas/acteurs_et_organes.json +0 -1167
  75. package/lib/schemas/agendas.json +0 -1757
  76. package/lib/schemas/amendements.json +0 -2087
  77. package/lib/schemas/compte_rendu_commission/CompteRenduCommission.json +0 -63
  78. package/lib/schemas/debats.json +0 -847
  79. package/lib/schemas/dossiers_legislatifs.json +0 -3884
  80. package/lib/schemas/legislatures.json +0 -17
  81. package/lib/schemas/questions.json +0 -711
  82. package/lib/schemas/scrutins.json +0 -701
  83. package/lib/scripts/copy-schemas.d.ts +0 -1
  84. package/lib/scripts/generate-json-schemas.d.ts +0 -1
  85. package/lib/shared_types/acteurs_et_organes.d.ts +0 -149
  86. package/lib/shared_types/dossiers_legislatifs.d.ts +0 -222
  87. package/lib/types/acteurs_et_organes.d.ts +0 -598
  88. package/lib/types/agendas.d.ts +0 -442
  89. package/lib/types/amendements.d.ts +0 -615
  90. package/lib/types/debats.d.ts +0 -186
  91. package/lib/types/dossiers_legislatifs.d.ts +0 -826
  92. package/lib/types/questions.d.ts +0 -203
  93. package/lib/types/scrutins.d.ts +0 -254
  94. /package/lib/{types/legislatures.d.ts → legislatures.d.ts} +0 -0
@@ -0,0 +1,112 @@
1
+ import { z } from 'zod';
2
+ import { ActeurCleanSchema, MandatCleanSchema, OrganeClean, DeportCleanSchema } from '../clean/acteurs_et_organes.js';
3
+ /**
4
+ * Suppleant enriched - extends SuppleantClean
5
+ * Adds resolved acteur from suppleantRef
6
+ */
7
+ export declare const SuppleantEnrichedSchema: z.ZodObject<{
8
+ dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
9
+ dateFin: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodDate>>;
10
+ suppleantRef: z.ZodString;
11
+ suppleant: z.ZodOptional<z.ZodLazy<z.ZodType<ActeurEnriched, unknown, z.core.$ZodTypeInternals<ActeurEnriched, unknown>>>>;
12
+ }, z.core.$strip>;
13
+ export type SuppleantEnriched = z.infer<typeof SuppleantEnrichedSchema>;
14
+ /**
15
+ * Mandat enriched - extends MandatClean
16
+ * Adds:
17
+ * - acteur?: Acteur (from acteurRef)
18
+ * - organes?: Organe[] (from organesRefs)
19
+ */
20
+ export declare const MandatEnrichedSchema: z.ZodType<MandatEnriched>;
21
+ export type MandatEnriched = z.infer<typeof MandatCleanSchema> & {
22
+ acteur?: ActeurEnriched;
23
+ organes?: OrganeEnriched[];
24
+ suppleant?: SuppleantEnriched;
25
+ };
26
+ /**
27
+ * Organe enriched - extends OrganeClean
28
+ * Note: organeParent and organePrecedent already in clean schema
29
+ * (they were added by cleanOrgane, not by enrichment)
30
+ */
31
+ export declare const OrganeEnrichedSchema: z.ZodType<OrganeClean, unknown, z.core.$ZodTypeInternals<OrganeClean, unknown>>;
32
+ export type OrganeEnriched = OrganeClean;
33
+ /**
34
+ * Deport enriched - extends DeportClean
35
+ * Adds:
36
+ * - acteur?: Acteur (from refActeur)
37
+ */
38
+ export declare const DeportEnrichedSchema: z.ZodType<DeportEnriched>;
39
+ export type DeportEnriched = z.infer<typeof DeportCleanSchema> & {
40
+ acteur?: ActeurEnriched;
41
+ };
42
+ /**
43
+ * Acteur enriched - extends ActeurClean
44
+ * Note: Acteur doesn't have enrichment fields (doesn't reference other entities)
45
+ * But mandats array contains MandatEnriched
46
+ */
47
+ export declare const ActeurEnrichedSchema: z.ZodType<ActeurEnriched>;
48
+ export type ActeurEnriched = z.infer<typeof ActeurCleanSchema> & {
49
+ mandats?: MandatEnriched[];
50
+ deports?: DeportEnriched[];
51
+ };
52
+ /**
53
+ * ActeursEtOrganes enriched - extends ActeursEtOrganesClean
54
+ */
55
+ export declare const ActeursEtOrganesEnrichedSchema: z.ZodObject<{
56
+ organes: z.ZodArray<z.ZodType<OrganeClean, unknown, z.core.$ZodTypeInternals<OrganeClean, unknown>>>;
57
+ acteurs: z.ZodArray<z.ZodType<ActeurEnriched, unknown, z.core.$ZodTypeInternals<ActeurEnriched, unknown>>>;
58
+ }, z.core.$strip>;
59
+ export type ActeursEtOrganesEnriched = z.infer<typeof ActeursEtOrganesEnrichedSchema>;
60
+ /**
61
+ * Parse Acteur from JSON string
62
+ */
63
+ export declare function parseActeurEnriched(json: string): ActeurEnriched;
64
+ /**
65
+ * Parse Organe from JSON string
66
+ */
67
+ export declare function parseOrganeEnriched(json: string): OrganeEnriched;
68
+ /**
69
+ * Parse Deport from JSON string
70
+ */
71
+ export declare function parseDeportEnriched(json: string): DeportEnriched;
72
+ /**
73
+ * Parse ActeursEtOrganes from JSON string
74
+ */
75
+ export declare function parseActeursEtOrganesEnriched(json: string): ActeursEtOrganesEnriched;
76
+ /**
77
+ * Serialize Acteur to JSON string
78
+ */
79
+ export declare function acteurEnrichedToJson(value: ActeurEnriched): string;
80
+ /**
81
+ * Serialize Organe to JSON string
82
+ */
83
+ export declare function organeEnrichedToJson(value: OrganeEnriched): string;
84
+ /**
85
+ * Serialize Deport to JSON string
86
+ */
87
+ export declare function deportEnrichedToJson(value: DeportEnriched): string;
88
+ /**
89
+ * Serialize ActeursEtOrganes to JSON string
90
+ */
91
+ export declare function acteursEtOrganesEnrichedToJson(value: ActeursEtOrganesEnriched): string;
92
+ /**
93
+ * File-specific Convert object matching Quicktype's Convert class API
94
+ *
95
+ * @example
96
+ * ```typescript
97
+ * import { ActeursEtOrganesEnrichedConvert } from "@tricoteuses/assemblee/zod"
98
+ *
99
+ * const acteur = ActeursEtOrganesEnrichedConvert.toActeur(json)
100
+ * const json = ActeursEtOrganesEnrichedConvert.acteurToJson(acteur)
101
+ * ```
102
+ */
103
+ export declare const ActeursEtOrganesEnrichedConvert: {
104
+ toActeur: typeof parseActeurEnriched;
105
+ acteurToJson: typeof acteurEnrichedToJson;
106
+ toOrgane: typeof parseOrganeEnriched;
107
+ organeToJson: typeof organeEnrichedToJson;
108
+ toDeport: typeof parseDeportEnriched;
109
+ deportToJson: typeof deportEnrichedToJson;
110
+ toActeursEtOrganes: typeof parseActeursEtOrganesEnriched;
111
+ acteursEtOrganesToJson: typeof acteursEtOrganesEnrichedToJson;
112
+ };
@@ -0,0 +1,501 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * DemandeurActeur enriched - extends DemandeurActeurClean
4
+ * Adds resolved acteur from acteurRef
5
+ */
6
+ export declare const DemandeurActeurEnrichedSchema: z.ZodObject<{
7
+ nom: z.ZodOptional<z.ZodString>;
8
+ acteurRef: z.ZodString;
9
+ acteur: z.ZodOptional<z.ZodType<import('./acteurs_et_organes.js').ActeurEnriched, unknown, z.core.$ZodTypeInternals<import('./acteurs_et_organes.js').ActeurEnriched, unknown>>>;
10
+ }, z.core.$strip>;
11
+ export type DemandeurActeurEnriched = z.infer<typeof DemandeurActeurEnrichedSchema>;
12
+ /**
13
+ * DemandeurOrgane enriched - extends DemandeurOrganeClean
14
+ * Adds resolved organe from organeRef
15
+ */
16
+ export declare const DemandeurOrganeEnrichedSchema: z.ZodObject<{
17
+ nom: z.ZodString;
18
+ organeRef: z.ZodString;
19
+ organe: z.ZodOptional<z.ZodType<import('../clean/acteurs_et_organes.js').OrganeClean, unknown, z.core.$ZodTypeInternals<import('../clean/acteurs_et_organes.js').OrganeClean, unknown>>>;
20
+ }, z.core.$strip>;
21
+ export type DemandeurOrganeEnriched = z.infer<typeof DemandeurOrganeEnrichedSchema>;
22
+ /**
23
+ * Demandeurs enriched - extends DemandeursClean
24
+ * Uses enriched acteur and organe types
25
+ */
26
+ export declare const DemandeursEnrichedSchema: z.ZodObject<{
27
+ acteurs: z.ZodOptional<z.ZodArray<z.ZodObject<{
28
+ nom: z.ZodOptional<z.ZodString>;
29
+ acteurRef: z.ZodString;
30
+ acteur: z.ZodOptional<z.ZodType<import('./acteurs_et_organes.js').ActeurEnriched, unknown, z.core.$ZodTypeInternals<import('./acteurs_et_organes.js').ActeurEnriched, unknown>>>;
31
+ }, z.core.$strip>>>;
32
+ organe: z.ZodOptional<z.ZodObject<{
33
+ nom: z.ZodString;
34
+ organeRef: z.ZodString;
35
+ organe: z.ZodOptional<z.ZodType<import('../clean/acteurs_et_organes.js').OrganeClean, unknown, z.core.$ZodTypeInternals<import('../clean/acteurs_et_organes.js').OrganeClean, unknown>>>;
36
+ }, z.core.$strip>>;
37
+ }, z.core.$strip>;
38
+ export type DemandeursEnriched = z.infer<typeof DemandeursEnrichedSchema>;
39
+ /**
40
+ * ParticipantInterne enriched - extends ParticipantInterneClean
41
+ * Adds resolved acteur from acteurRef
42
+ */
43
+ export declare const ParticipantInterneEnrichedSchema: z.ZodObject<{
44
+ acteurRef: z.ZodString;
45
+ presence: z.ZodEnum<{
46
+ absent: "absent";
47
+ excusé: "excusé";
48
+ présent: "présent";
49
+ }>;
50
+ acteur: z.ZodOptional<z.ZodType<import('./acteurs_et_organes.js').ActeurEnriched, unknown, z.core.$ZodTypeInternals<import('./acteurs_et_organes.js').ActeurEnriched, unknown>>>;
51
+ }, z.core.$strip>;
52
+ export type ParticipantInterneEnriched = z.infer<typeof ParticipantInterneEnrichedSchema>;
53
+ /**
54
+ * Participants enriched - extends ParticipantsClean
55
+ * Uses enriched participantsInternes type
56
+ */
57
+ export declare const ParticipantsEnrichedSchema: z.ZodObject<{
58
+ personnesAuditionnees: z.ZodOptional<z.ZodArray<z.ZodObject<{
59
+ xsiType: z.ZodEnum<{
60
+ IdActeur_type: "IdActeur_type";
61
+ IdPersonneExterne_type: "IdPersonneExterne_type";
62
+ }>;
63
+ uid: z.ZodString;
64
+ ident: z.ZodObject<{
65
+ civ: z.ZodEnum<{
66
+ "M.": "M.";
67
+ Mme: "Mme";
68
+ }>;
69
+ prenom: z.ZodString;
70
+ nom: z.ZodString;
71
+ alpha: z.ZodOptional<z.ZodString>;
72
+ trigramme: z.ZodOptional<z.ZodString>;
73
+ }, z.core.$strip>;
74
+ dateNais: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>>;
75
+ }, z.core.$strip>>>;
76
+ participantsInternes: z.ZodOptional<z.ZodArray<z.ZodObject<{
77
+ acteurRef: z.ZodString;
78
+ presence: z.ZodEnum<{
79
+ absent: "absent";
80
+ excusé: "excusé";
81
+ présent: "présent";
82
+ }>;
83
+ acteur: z.ZodOptional<z.ZodType<import('./acteurs_et_organes.js').ActeurEnriched, unknown, z.core.$ZodTypeInternals<import('./acteurs_et_organes.js').ActeurEnriched, unknown>>>;
84
+ }, z.core.$strip>>>;
85
+ }, z.core.$strip>;
86
+ export type ParticipantsEnriched = z.infer<typeof ParticipantsEnrichedSchema>;
87
+ /**
88
+ * Reunion enriched - extends ReunionClean
89
+ * Adds resolved organeReuni from organeReuniRef
90
+ * Uses enriched nested types
91
+ */
92
+ export declare const ReunionEnrichedSchema: z.ZodObject<{
93
+ schemaVersion: z.ZodOptional<z.ZodString>;
94
+ xsiType: z.ZodOptional<z.ZodEnum<{
95
+ reunionCommission_type: "reunionCommission_type";
96
+ reunionInitParlementaire_type: "reunionInitParlementaire_type";
97
+ seance_type: "seance_type";
98
+ }>>;
99
+ uid: z.ZodString;
100
+ timestampDebut: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>;
101
+ timestampFin: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODate, z.ZodCoercedDate<string>>, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>>;
102
+ lieu: z.ZodOptional<z.ZodObject<{
103
+ code: z.ZodOptional<z.ZodString>;
104
+ libelleCourt: z.ZodOptional<z.ZodString>;
105
+ libelleLong: z.ZodOptional<z.ZodString>;
106
+ lieuRef: z.ZodOptional<z.ZodString>;
107
+ }, z.core.$strip>>;
108
+ cycleDeVie: z.ZodObject<{
109
+ etat: z.ZodEnum<{
110
+ Annulé: "Annulé";
111
+ Confirmé: "Confirmé";
112
+ Eventuel: "Eventuel";
113
+ Supprimé: "Supprimé";
114
+ }>;
115
+ chrono: z.ZodObject<{
116
+ creation: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>;
117
+ cloture: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>>;
118
+ }, z.core.$strip>;
119
+ }, z.core.$strip>;
120
+ organeReuniRef: z.ZodOptional<z.ZodString>;
121
+ typeReunion: z.ZodOptional<z.ZodEnum<{
122
+ GA: "GA";
123
+ GE: "GE";
124
+ GEVI: "GEVI";
125
+ GP: "GP";
126
+ DEP: "DEP";
127
+ "H\u00C9 Aur\u00E9lien": "HÉ Aurélien";
128
+ }>>;
129
+ sessionRef: z.ZodOptional<z.ZodString>;
130
+ ouverturePresse: z.ZodOptional<z.ZodBoolean>;
131
+ odj: z.ZodOptional<z.ZodObject<{
132
+ convocationOdj: z.ZodOptional<z.ZodArray<z.ZodString>>;
133
+ resumeOdj: z.ZodOptional<z.ZodArray<z.ZodString>>;
134
+ pointsOdj: z.ZodOptional<z.ZodArray<z.ZodObject<{
135
+ xsiType: z.ZodEnum<{
136
+ podjReunion_type: "podjReunion_type";
137
+ podjSeanceConfPres_type: "podjSeanceConfPres_type";
138
+ }>;
139
+ uid: z.ZodString;
140
+ cycleDeVie: z.ZodObject<{
141
+ etat: z.ZodEnum<{
142
+ Annulé: "Annulé";
143
+ Confirmé: "Confirmé";
144
+ Eventuel: "Eventuel";
145
+ Supprimé: "Supprimé";
146
+ }>;
147
+ chrono: z.ZodObject<{
148
+ creation: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>;
149
+ cloture: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>>;
150
+ }, z.core.$strip>;
151
+ }, z.core.$strip>;
152
+ objet: z.ZodString;
153
+ procedure: z.ZodOptional<z.ZodEnum<{
154
+ "discussion g\u00E9n\u00E9rale commune": "discussion générale commune";
155
+ "proc\u00E9dure d'examen simplifi\u00E9e-Article 103": "procédure d'examen simplifiée-Article 103";
156
+ "proc\u00E9dure d'examen simplifi\u00E9e-Article 106": "procédure d'examen simplifiée-Article 106";
157
+ "proc\u00E9dure d'examen simplifi\u00E9e-Article 107": "procédure d'examen simplifiée-Article 107";
158
+ "proc\u00E9dure de l\u00E9gislation en commission-Article 107-1": "procédure de législation en commission-Article 107-1";
159
+ }>>;
160
+ dossiersLegislatifsRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
161
+ typePointOdj: z.ZodEnum<{
162
+ Rapport: "Rapport";
163
+ "Rapport d'information": "Rapport d'information";
164
+ "Amendements (Art. 88)": "Amendements (Art. 88)";
165
+ "Amendements (Art. 91)": "Amendements (Art. 91)";
166
+ Audition: "Audition";
167
+ "Audition ministre": "Audition ministre";
168
+ "Audition ministre ouverte \u00E0 la presse": "Audition ministre ouverte à la presse";
169
+ "Audition ouverte \u00E0 la presse": "Audition ouverte à la presse";
170
+ Communication: "Communication";
171
+ "Constitution de mission d'information": "Constitution de mission d'information";
172
+ Discussion: "Discussion";
173
+ "D\u00E9bat d'initiative parlementaire": "Débat d'initiative parlementaire";
174
+ "D\u00E9claration du Gouvernement suivie d'un d\u00E9bat": "Déclaration du Gouvernement suivie d'un débat";
175
+ "Echanges de vues": "Echanges de vues";
176
+ Examen: "Examen";
177
+ "Explications de vote des groupes et vote par scrutin public": "Explications de vote des groupes et vote par scrutin public";
178
+ "Explications de vote et vote par scrutin public": "Explications de vote et vote par scrutin public";
179
+ "Fixation de l'ordre du jour": "Fixation de l'ordre du jour";
180
+ "Nomination bureau": "Nomination bureau";
181
+ "Nomination candidats organisme extraparlementaire": "Nomination candidats organisme extraparlementaire";
182
+ "Nomination d'un membre d'une mission d'information": "Nomination d'un membre d'une mission d'information";
183
+ "Nomination rapporteur": "Nomination rapporteur";
184
+ "Nomination rapporteur d'application": "Nomination rapporteur d'application";
185
+ "Nomination rapporteur d'information": "Nomination rapporteur d'information";
186
+ "Nomination rapporteur pour avis": "Nomination rapporteur pour avis";
187
+ "Ouverture et cl\u00F4ture de session": "Ouverture et clôture de session";
188
+ "Questions au Gouvernement": "Questions au Gouvernement";
189
+ "Questions orales sans d\u00E9bat": "Questions orales sans débat";
190
+ "Rapport pour avis": "Rapport pour avis";
191
+ "S\u00E9ances r\u00E9serv\u00E9es \u00E0 un groupe de l'opposition ou minoritaire": "Séances réservées à un groupe de l'opposition ou minoritaire";
192
+ "Suite de la discussion": "Suite de la discussion";
193
+ "Table ronde": "Table ronde";
194
+ "Vote par scrutin public": "Vote par scrutin public";
195
+ "Vote solennel": "Vote solennel";
196
+ }>;
197
+ comiteSecret: z.ZodBoolean;
198
+ natureTravauxOdj: z.ZodOptional<z.ZodEnum<{
199
+ ODJPR: "ODJPR";
200
+ ODJSN: "ODJSN";
201
+ }>>;
202
+ dateConfPres: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODate, z.ZodCoercedDate<string>>]>>;
203
+ dateLettreMinistre: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODate, z.ZodCoercedDate<string>>]>>;
204
+ }, z.core.$strip>>>;
205
+ }, z.core.$strip>>;
206
+ compteRenduRef: z.ZodOptional<z.ZodString>;
207
+ transcriptionRef: z.ZodOptional<z.ZodString>;
208
+ identifiants: z.ZodOptional<z.ZodObject<{
209
+ numSeanceJo: z.ZodOptional<z.ZodString>;
210
+ idJo: z.ZodOptional<z.ZodString>;
211
+ quantieme: z.ZodEnum<{
212
+ Deuxième: "Deuxième";
213
+ Première: "Première";
214
+ Troisième: "Troisième";
215
+ Unique: "Unique";
216
+ }>;
217
+ dateSeance: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODate, z.ZodCoercedDate<string>>]>;
218
+ }, z.core.$strip>>;
219
+ formatReunion: z.ZodOptional<z.ZodEnum<{
220
+ AuditionExterne: "AuditionExterne";
221
+ AuditionParPresidentCommission: "AuditionParPresidentCommission";
222
+ AuditionParRapporteur: "AuditionParRapporteur";
223
+ Ordinaire: "Ordinaire";
224
+ }>>;
225
+ infosReunionsInternationale: z.ZodOptional<z.ZodObject<{
226
+ estReunionInternationale: z.ZodBoolean;
227
+ listePays: z.ZodOptional<z.ZodArray<z.ZodString>>;
228
+ informationsComplementaires: z.ZodOptional<z.ZodString>;
229
+ }, z.core.$strip>>;
230
+ captationVideo: z.ZodOptional<z.ZodBoolean>;
231
+ visioConference: z.ZodOptional<z.ZodString>;
232
+ urlVideo: z.ZodOptional<z.ZodString>;
233
+ timecodeDebutVideo: z.ZodOptional<z.ZodNumber>;
234
+ organeReuni: z.ZodOptional<z.ZodType<import('../clean/acteurs_et_organes.js').OrganeClean, unknown, z.core.$ZodTypeInternals<import('../clean/acteurs_et_organes.js').OrganeClean, unknown>>>;
235
+ demandeurs: z.ZodOptional<z.ZodObject<{
236
+ acteurs: z.ZodOptional<z.ZodArray<z.ZodObject<{
237
+ nom: z.ZodOptional<z.ZodString>;
238
+ acteurRef: z.ZodString;
239
+ acteur: z.ZodOptional<z.ZodType<import('./acteurs_et_organes.js').ActeurEnriched, unknown, z.core.$ZodTypeInternals<import('./acteurs_et_organes.js').ActeurEnriched, unknown>>>;
240
+ }, z.core.$strip>>>;
241
+ organe: z.ZodOptional<z.ZodObject<{
242
+ nom: z.ZodString;
243
+ organeRef: z.ZodString;
244
+ organe: z.ZodOptional<z.ZodType<import('../clean/acteurs_et_organes.js').OrganeClean, unknown, z.core.$ZodTypeInternals<import('../clean/acteurs_et_organes.js').OrganeClean, unknown>>>;
245
+ }, z.core.$strip>>;
246
+ }, z.core.$strip>>;
247
+ participants: z.ZodOptional<z.ZodObject<{
248
+ personnesAuditionnees: z.ZodOptional<z.ZodArray<z.ZodObject<{
249
+ xsiType: z.ZodEnum<{
250
+ IdActeur_type: "IdActeur_type";
251
+ IdPersonneExterne_type: "IdPersonneExterne_type";
252
+ }>;
253
+ uid: z.ZodString;
254
+ ident: z.ZodObject<{
255
+ civ: z.ZodEnum<{
256
+ "M.": "M.";
257
+ Mme: "Mme";
258
+ }>;
259
+ prenom: z.ZodString;
260
+ nom: z.ZodString;
261
+ alpha: z.ZodOptional<z.ZodString>;
262
+ trigramme: z.ZodOptional<z.ZodString>;
263
+ }, z.core.$strip>;
264
+ dateNais: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>>;
265
+ }, z.core.$strip>>>;
266
+ participantsInternes: z.ZodOptional<z.ZodArray<z.ZodObject<{
267
+ acteurRef: z.ZodString;
268
+ presence: z.ZodEnum<{
269
+ absent: "absent";
270
+ excusé: "excusé";
271
+ présent: "présent";
272
+ }>;
273
+ acteur: z.ZodOptional<z.ZodType<import('./acteurs_et_organes.js').ActeurEnriched, unknown, z.core.$ZodTypeInternals<import('./acteurs_et_organes.js').ActeurEnriched, unknown>>>;
274
+ }, z.core.$strip>>>;
275
+ }, z.core.$strip>>;
276
+ }, z.core.$strip>;
277
+ export type ReunionEnriched = z.infer<typeof ReunionEnrichedSchema>;
278
+ /**
279
+ * Agendas enriched - extends AgendasClean
280
+ */
281
+ export declare const AgendasEnrichedSchema: z.ZodObject<{
282
+ reunions: z.ZodArray<z.ZodObject<{
283
+ schemaVersion: z.ZodOptional<z.ZodString>;
284
+ xsiType: z.ZodOptional<z.ZodEnum<{
285
+ reunionCommission_type: "reunionCommission_type";
286
+ reunionInitParlementaire_type: "reunionInitParlementaire_type";
287
+ seance_type: "seance_type";
288
+ }>>;
289
+ uid: z.ZodString;
290
+ timestampDebut: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>;
291
+ timestampFin: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODate, z.ZodCoercedDate<string>>, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>>;
292
+ lieu: z.ZodOptional<z.ZodObject<{
293
+ code: z.ZodOptional<z.ZodString>;
294
+ libelleCourt: z.ZodOptional<z.ZodString>;
295
+ libelleLong: z.ZodOptional<z.ZodString>;
296
+ lieuRef: z.ZodOptional<z.ZodString>;
297
+ }, z.core.$strip>>;
298
+ cycleDeVie: z.ZodObject<{
299
+ etat: z.ZodEnum<{
300
+ Annulé: "Annulé";
301
+ Confirmé: "Confirmé";
302
+ Eventuel: "Eventuel";
303
+ Supprimé: "Supprimé";
304
+ }>;
305
+ chrono: z.ZodObject<{
306
+ creation: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>;
307
+ cloture: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>>;
308
+ }, z.core.$strip>;
309
+ }, z.core.$strip>;
310
+ organeReuniRef: z.ZodOptional<z.ZodString>;
311
+ typeReunion: z.ZodOptional<z.ZodEnum<{
312
+ GA: "GA";
313
+ GE: "GE";
314
+ GEVI: "GEVI";
315
+ GP: "GP";
316
+ DEP: "DEP";
317
+ "H\u00C9 Aur\u00E9lien": "HÉ Aurélien";
318
+ }>>;
319
+ sessionRef: z.ZodOptional<z.ZodString>;
320
+ ouverturePresse: z.ZodOptional<z.ZodBoolean>;
321
+ odj: z.ZodOptional<z.ZodObject<{
322
+ convocationOdj: z.ZodOptional<z.ZodArray<z.ZodString>>;
323
+ resumeOdj: z.ZodOptional<z.ZodArray<z.ZodString>>;
324
+ pointsOdj: z.ZodOptional<z.ZodArray<z.ZodObject<{
325
+ xsiType: z.ZodEnum<{
326
+ podjReunion_type: "podjReunion_type";
327
+ podjSeanceConfPres_type: "podjSeanceConfPres_type";
328
+ }>;
329
+ uid: z.ZodString;
330
+ cycleDeVie: z.ZodObject<{
331
+ etat: z.ZodEnum<{
332
+ Annulé: "Annulé";
333
+ Confirmé: "Confirmé";
334
+ Eventuel: "Eventuel";
335
+ Supprimé: "Supprimé";
336
+ }>;
337
+ chrono: z.ZodObject<{
338
+ creation: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>;
339
+ cloture: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>>;
340
+ }, z.core.$strip>;
341
+ }, z.core.$strip>;
342
+ objet: z.ZodString;
343
+ procedure: z.ZodOptional<z.ZodEnum<{
344
+ "discussion g\u00E9n\u00E9rale commune": "discussion générale commune";
345
+ "proc\u00E9dure d'examen simplifi\u00E9e-Article 103": "procédure d'examen simplifiée-Article 103";
346
+ "proc\u00E9dure d'examen simplifi\u00E9e-Article 106": "procédure d'examen simplifiée-Article 106";
347
+ "proc\u00E9dure d'examen simplifi\u00E9e-Article 107": "procédure d'examen simplifiée-Article 107";
348
+ "proc\u00E9dure de l\u00E9gislation en commission-Article 107-1": "procédure de législation en commission-Article 107-1";
349
+ }>>;
350
+ dossiersLegislatifsRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
351
+ typePointOdj: z.ZodEnum<{
352
+ Rapport: "Rapport";
353
+ "Rapport d'information": "Rapport d'information";
354
+ "Amendements (Art. 88)": "Amendements (Art. 88)";
355
+ "Amendements (Art. 91)": "Amendements (Art. 91)";
356
+ Audition: "Audition";
357
+ "Audition ministre": "Audition ministre";
358
+ "Audition ministre ouverte \u00E0 la presse": "Audition ministre ouverte à la presse";
359
+ "Audition ouverte \u00E0 la presse": "Audition ouverte à la presse";
360
+ Communication: "Communication";
361
+ "Constitution de mission d'information": "Constitution de mission d'information";
362
+ Discussion: "Discussion";
363
+ "D\u00E9bat d'initiative parlementaire": "Débat d'initiative parlementaire";
364
+ "D\u00E9claration du Gouvernement suivie d'un d\u00E9bat": "Déclaration du Gouvernement suivie d'un débat";
365
+ "Echanges de vues": "Echanges de vues";
366
+ Examen: "Examen";
367
+ "Explications de vote des groupes et vote par scrutin public": "Explications de vote des groupes et vote par scrutin public";
368
+ "Explications de vote et vote par scrutin public": "Explications de vote et vote par scrutin public";
369
+ "Fixation de l'ordre du jour": "Fixation de l'ordre du jour";
370
+ "Nomination bureau": "Nomination bureau";
371
+ "Nomination candidats organisme extraparlementaire": "Nomination candidats organisme extraparlementaire";
372
+ "Nomination d'un membre d'une mission d'information": "Nomination d'un membre d'une mission d'information";
373
+ "Nomination rapporteur": "Nomination rapporteur";
374
+ "Nomination rapporteur d'application": "Nomination rapporteur d'application";
375
+ "Nomination rapporteur d'information": "Nomination rapporteur d'information";
376
+ "Nomination rapporteur pour avis": "Nomination rapporteur pour avis";
377
+ "Ouverture et cl\u00F4ture de session": "Ouverture et clôture de session";
378
+ "Questions au Gouvernement": "Questions au Gouvernement";
379
+ "Questions orales sans d\u00E9bat": "Questions orales sans débat";
380
+ "Rapport pour avis": "Rapport pour avis";
381
+ "S\u00E9ances r\u00E9serv\u00E9es \u00E0 un groupe de l'opposition ou minoritaire": "Séances réservées à un groupe de l'opposition ou minoritaire";
382
+ "Suite de la discussion": "Suite de la discussion";
383
+ "Table ronde": "Table ronde";
384
+ "Vote par scrutin public": "Vote par scrutin public";
385
+ "Vote solennel": "Vote solennel";
386
+ }>;
387
+ comiteSecret: z.ZodBoolean;
388
+ natureTravauxOdj: z.ZodOptional<z.ZodEnum<{
389
+ ODJPR: "ODJPR";
390
+ ODJSN: "ODJSN";
391
+ }>>;
392
+ dateConfPres: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODate, z.ZodCoercedDate<string>>]>>;
393
+ dateLettreMinistre: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODate, z.ZodCoercedDate<string>>]>>;
394
+ }, z.core.$strip>>>;
395
+ }, z.core.$strip>>;
396
+ compteRenduRef: z.ZodOptional<z.ZodString>;
397
+ transcriptionRef: z.ZodOptional<z.ZodString>;
398
+ identifiants: z.ZodOptional<z.ZodObject<{
399
+ numSeanceJo: z.ZodOptional<z.ZodString>;
400
+ idJo: z.ZodOptional<z.ZodString>;
401
+ quantieme: z.ZodEnum<{
402
+ Deuxième: "Deuxième";
403
+ Première: "Première";
404
+ Troisième: "Troisième";
405
+ Unique: "Unique";
406
+ }>;
407
+ dateSeance: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODate, z.ZodCoercedDate<string>>]>;
408
+ }, z.core.$strip>>;
409
+ formatReunion: z.ZodOptional<z.ZodEnum<{
410
+ AuditionExterne: "AuditionExterne";
411
+ AuditionParPresidentCommission: "AuditionParPresidentCommission";
412
+ AuditionParRapporteur: "AuditionParRapporteur";
413
+ Ordinaire: "Ordinaire";
414
+ }>>;
415
+ infosReunionsInternationale: z.ZodOptional<z.ZodObject<{
416
+ estReunionInternationale: z.ZodBoolean;
417
+ listePays: z.ZodOptional<z.ZodArray<z.ZodString>>;
418
+ informationsComplementaires: z.ZodOptional<z.ZodString>;
419
+ }, z.core.$strip>>;
420
+ captationVideo: z.ZodOptional<z.ZodBoolean>;
421
+ visioConference: z.ZodOptional<z.ZodString>;
422
+ urlVideo: z.ZodOptional<z.ZodString>;
423
+ timecodeDebutVideo: z.ZodOptional<z.ZodNumber>;
424
+ organeReuni: z.ZodOptional<z.ZodType<import('../clean/acteurs_et_organes.js').OrganeClean, unknown, z.core.$ZodTypeInternals<import('../clean/acteurs_et_organes.js').OrganeClean, unknown>>>;
425
+ demandeurs: z.ZodOptional<z.ZodObject<{
426
+ acteurs: z.ZodOptional<z.ZodArray<z.ZodObject<{
427
+ nom: z.ZodOptional<z.ZodString>;
428
+ acteurRef: z.ZodString;
429
+ acteur: z.ZodOptional<z.ZodType<import('./acteurs_et_organes.js').ActeurEnriched, unknown, z.core.$ZodTypeInternals<import('./acteurs_et_organes.js').ActeurEnriched, unknown>>>;
430
+ }, z.core.$strip>>>;
431
+ organe: z.ZodOptional<z.ZodObject<{
432
+ nom: z.ZodString;
433
+ organeRef: z.ZodString;
434
+ organe: z.ZodOptional<z.ZodType<import('../clean/acteurs_et_organes.js').OrganeClean, unknown, z.core.$ZodTypeInternals<import('../clean/acteurs_et_organes.js').OrganeClean, unknown>>>;
435
+ }, z.core.$strip>>;
436
+ }, z.core.$strip>>;
437
+ participants: z.ZodOptional<z.ZodObject<{
438
+ personnesAuditionnees: z.ZodOptional<z.ZodArray<z.ZodObject<{
439
+ xsiType: z.ZodEnum<{
440
+ IdActeur_type: "IdActeur_type";
441
+ IdPersonneExterne_type: "IdPersonneExterne_type";
442
+ }>;
443
+ uid: z.ZodString;
444
+ ident: z.ZodObject<{
445
+ civ: z.ZodEnum<{
446
+ "M.": "M.";
447
+ Mme: "Mme";
448
+ }>;
449
+ prenom: z.ZodString;
450
+ nom: z.ZodString;
451
+ alpha: z.ZodOptional<z.ZodString>;
452
+ trigramme: z.ZodOptional<z.ZodString>;
453
+ }, z.core.$strip>;
454
+ dateNais: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>]>>;
455
+ }, z.core.$strip>>>;
456
+ participantsInternes: z.ZodOptional<z.ZodArray<z.ZodObject<{
457
+ acteurRef: z.ZodString;
458
+ presence: z.ZodEnum<{
459
+ absent: "absent";
460
+ excusé: "excusé";
461
+ présent: "présent";
462
+ }>;
463
+ acteur: z.ZodOptional<z.ZodType<import('./acteurs_et_organes.js').ActeurEnriched, unknown, z.core.$ZodTypeInternals<import('./acteurs_et_organes.js').ActeurEnriched, unknown>>>;
464
+ }, z.core.$strip>>>;
465
+ }, z.core.$strip>>;
466
+ }, z.core.$strip>>;
467
+ }, z.core.$strip>;
468
+ export type AgendasEnriched = z.infer<typeof AgendasEnrichedSchema>;
469
+ /**
470
+ * Parse Reunion from JSON string
471
+ */
472
+ export declare function parseReunionEnriched(json: string): ReunionEnriched;
473
+ /**
474
+ * Parse Agendas from JSON string
475
+ */
476
+ export declare function parseAgendasEnriched(json: string): AgendasEnriched;
477
+ /**
478
+ * Serialize Reunion to JSON string
479
+ */
480
+ export declare function reunionEnrichedToJson(value: ReunionEnriched): string;
481
+ /**
482
+ * Serialize Agendas to JSON string
483
+ */
484
+ export declare function agendasEnrichedToJson(value: AgendasEnriched): string;
485
+ /**
486
+ * File-specific Convert object matching Quicktype's Convert class API
487
+ *
488
+ * @example
489
+ * ```typescript
490
+ * import { AgendasEnrichedConvert } from "@tricoteuses/assemblee/zod"
491
+ *
492
+ * const reunion = AgendasEnrichedConvert.toReunion(json)
493
+ * const json = AgendasEnrichedConvert.reunionToJson(reunion)
494
+ * ```
495
+ */
496
+ export declare const AgendasEnrichedConvert: {
497
+ toReunion: typeof parseReunionEnriched;
498
+ reunionToJson: typeof reunionEnrichedToJson;
499
+ toAgendas: typeof parseAgendasEnriched;
500
+ agendasToJson: typeof agendasEnrichedToJson;
501
+ };