@tricoteuses/assemblee 3.8.3 → 3.8.5

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 (32) hide show
  1. package/README.md +2 -2
  2. package/lib/{amendements-BYKlEcWb.js → amendements-BtCdrXW8.js} +36 -33
  3. package/lib/{amendements-CvlD2dI4.js → amendements-DfZse75q.js} +924 -672
  4. package/lib/amendements-xiii.d.ts +56 -0
  5. package/lib/amendements-xiii.test.d.ts +1 -0
  6. package/lib/browser-Dl6SgoZX.js +8164 -0
  7. package/lib/cleaners/amendements-xiv.test.d.ts +1 -0
  8. package/lib/cleaners/amendements.d.ts +18 -1
  9. package/lib/cleaners.js +3 -3
  10. package/lib/index.d.ts +5 -2
  11. package/lib/index.js +596 -99
  12. package/lib/inserters.d.ts +2 -2
  13. package/lib/{loaders-BNXs79lC.js → loaders-Dd8i-E7o.js} +11 -2
  14. package/lib/loaders.js +1 -1
  15. package/lib/open_data/artifacts.d.ts +12 -0
  16. package/lib/parsers.js +359 -8521
  17. package/lib/schemas/clean/amendements-xiii.d.ts +579 -0
  18. package/lib/schemas/clean/amendements.d.ts +502 -11
  19. package/lib/schemas/enriched/amendements.d.ts +6 -6
  20. package/lib/schemas/raw/amendements-xiii.d.ts +754 -0
  21. package/lib/schemas/raw/amendements-xiv.test.d.ts +1 -0
  22. package/lib/schemas/raw/amendements.d.ts +1769 -2
  23. package/lib/schemas/raw/amendements.test.d.ts +1 -0
  24. package/lib/scripts/clean_reorganized_data.test.d.ts +1 -0
  25. package/lib/scripts/data-download.d.ts +132 -0
  26. package/lib/scripts/retrieve_amendements_xiii.d.ts +51 -0
  27. package/lib/scripts/retrieve_open_data.d.ts +39 -24
  28. package/lib/scripts/shared/amendements_xiv_stream.d.ts +29 -0
  29. package/lib/scripts/shared/amendements_xiv_stream.test.d.ts +1 -0
  30. package/lib/scripts/shared/cli_helpers.d.ts +20 -0
  31. package/lib/{scrutins-BUVxV-QV.js → scrutins-CLWnMYLE.js} +266 -266
  32. package/package.json +7 -7
@@ -0,0 +1,754 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Type d'auteur d'un amendement (XIII).
4
+ *
5
+ * Same vocabulary as the XIV export: "Depute" is unaccented.
6
+ */
7
+ export declare const TypeAuteurXiiiSchema: z.ZodEnum<{
8
+ Gouvernement: "Gouvernement";
9
+ Rapporteur: "Rapporteur";
10
+ Depute: "Depute";
11
+ }>;
12
+ export type TypeAuteurXiii = z.infer<typeof TypeAuteurXiiiSchema>;
13
+ /**
14
+ * Valeurs de `SORT_EN_SEANCE` observées dans la base d'archives (faciès
15
+ * `sort` de `query_amendements`, 49 140 lignes), plus les codes que le site
16
+ * traduit en clair dans la page (`Irrecevable (art. 41C)`…).
17
+ *
18
+ * Ce n'est pas un enum fermé : le corpus complet n'a pas été parcouru et une
19
+ * valeur inconnue ne doit pas faire échouer la collecte. La liste sert de
20
+ * référence pour l'affichage.
21
+ */
22
+ export declare const sortEnSeanceXiiiOptions: readonly ["", "Adopté", "Irrecevable 40C", "Irrecevable 41C", "Irrecevable 44C", "Non renseigné", "Non soutenu", "Re", "Rejeté", "Retiré", "Retiré avant séance", "Tombe", "Tombé"];
23
+ /**
24
+ * Zod schema for the sort (open string, see `sortEnSeanceXiiiOptions`).
25
+ */
26
+ export declare const SortEnSeanceXiiiSchema: z.ZodString;
27
+ export type SortEnSeanceXiii = z.infer<typeof SortEnSeanceXiiiSchema>;
28
+ /**
29
+ * Saisine de l'amendement (XIII).
30
+ */
31
+ export declare const SaisineXiiiRawSchema: z.ZodObject<{
32
+ mentionSecondeDeliberation: z.ZodString;
33
+ numeroPartiePLF: z.ZodString;
34
+ organeExamen: z.ZodOptional<z.ZodString>;
35
+ refTexteLegislatif: z.ZodString;
36
+ }, z.core.$strip>;
37
+ export type SaisineXiiiRaw = z.infer<typeof SaisineXiiiRawSchema>;
38
+ /**
39
+ * Identification de l'amendement (XIII).
40
+ */
41
+ export declare const IdentificationXiiiRawSchema: z.ZodObject<{
42
+ legislature: z.ZodString;
43
+ numero: z.ZodString;
44
+ numRect: z.ZodString;
45
+ saisine: z.ZodObject<{
46
+ mentionSecondeDeliberation: z.ZodString;
47
+ numeroPartiePLF: z.ZodString;
48
+ organeExamen: z.ZodOptional<z.ZodString>;
49
+ refTexteLegislatif: z.ZodString;
50
+ }, z.core.$strip>;
51
+ }, z.core.$strip>;
52
+ export type IdentificationXiiiRaw = z.infer<typeof IdentificationXiiiRawSchema>;
53
+ /**
54
+ * Auteur de l'amendement (XIII).
55
+ *
56
+ * `acteurRef` et `groupePolitiqueRef` ne sont renseignés que par les pages
57
+ * de 2012 (`AUTEUR_ID`, `GROUPE_ID`).
58
+ */
59
+ export declare const AuteurXiiiRawSchema: z.ZodObject<{
60
+ typeAuteur: z.ZodEnum<{
61
+ Gouvernement: "Gouvernement";
62
+ Rapporteur: "Rapporteur";
63
+ Depute: "Depute";
64
+ }>;
65
+ acteurRef: z.ZodOptional<z.ZodString>;
66
+ groupePolitiqueRef: z.ZodOptional<z.ZodString>;
67
+ organeRef: z.ZodOptional<z.ZodString>;
68
+ }, z.core.$strip>;
69
+ export type AuteurXiiiRaw = z.infer<typeof AuteurXiiiRawSchema>;
70
+ /**
71
+ * Signataires de l'amendement (XIII).
72
+ *
73
+ * `auteursNoms` conserve les noms tels qu'imprimés, dans l'ordre du bloc
74
+ * « présenté par » (premier nom = auteur) ; `texteAffichable` conserve le
75
+ * bloc entier, mention du groupe comprise.
76
+ */
77
+ export declare const SignatairesXiiiRawSchema: z.ZodObject<{
78
+ auteur: z.ZodObject<{
79
+ typeAuteur: z.ZodEnum<{
80
+ Gouvernement: "Gouvernement";
81
+ Rapporteur: "Rapporteur";
82
+ Depute: "Depute";
83
+ }>;
84
+ acteurRef: z.ZodOptional<z.ZodString>;
85
+ groupePolitiqueRef: z.ZodOptional<z.ZodString>;
86
+ organeRef: z.ZodOptional<z.ZodString>;
87
+ }, z.core.$strip>;
88
+ auteursNoms: z.ZodArray<z.ZodString>;
89
+ cosignataires: z.ZodObject<{
90
+ acteurRef: z.ZodArray<z.ZodString>;
91
+ }, z.core.$strip>;
92
+ texteAffichable: z.ZodString;
93
+ }, z.core.$strip>;
94
+ export type SignatairesXiiiRaw = z.infer<typeof SignatairesXiiiRawSchema>;
95
+ /**
96
+ * Division visée (XIII).
97
+ */
98
+ export declare const DivisionXiiiRawSchema: z.ZodObject<{
99
+ articleAdditionnel: z.ZodString;
100
+ articleDesignationCourte: z.ZodString;
101
+ avant_A_Apres: z.ZodEnum<{
102
+ A: "A";
103
+ Apres: "Apres";
104
+ Après: "Après";
105
+ Avant: "Avant";
106
+ }>;
107
+ chapitreAdditionnel: z.ZodString;
108
+ divisionRattachee: z.ZodString;
109
+ titre: z.ZodString;
110
+ type: z.ZodEnum<{
111
+ ANNEXE: "ANNEXE";
112
+ ARTICLE: "ARTICLE";
113
+ CHAPITRE: "CHAPITRE";
114
+ TITRE: "TITRE";
115
+ }>;
116
+ urlDivisionTexteVise: z.ZodNullable<z.ZodString>;
117
+ }, z.core.$strip>;
118
+ export type DivisionXiiiRaw = z.infer<typeof DivisionXiiiRawSchema>;
119
+ /**
120
+ * Alinéa visé (XIII).
121
+ */
122
+ export declare const AlineaXiiiRawSchema: z.ZodObject<{
123
+ alineaDesignation: z.ZodNullable<z.ZodString>;
124
+ avant_A_Apres: z.ZodNullable<z.ZodString>;
125
+ numero: z.ZodNullable<z.ZodString>;
126
+ }, z.core.$strip>;
127
+ export type AlineaXiiiRaw = z.infer<typeof AlineaXiiiRawSchema>;
128
+ /**
129
+ * Mission visée par un amendement de projet de loi de finances (XIII).
130
+ *
131
+ * Le tableau de la page ne donne que l'état (« B ») et le libellé de la
132
+ * mission ; ni code MINEfi ni identifiant de mission ne sont publiés.
133
+ */
134
+ export declare const MissionViseeXiiiRawSchema: z.ZodObject<{
135
+ codeEtat: z.ZodString;
136
+ libelleMission: z.ZodString;
137
+ }, z.core.$strip>;
138
+ export type MissionViseeXiiiRaw = z.infer<typeof MissionViseeXiiiRawSchema>;
139
+ /**
140
+ * Pointeur de fragment de texte (XIII).
141
+ */
142
+ export declare const PointeurFragmentTexteXiiiRawSchema: z.ZodObject<{
143
+ alinea: z.ZodNullable<z.ZodObject<{
144
+ alineaDesignation: z.ZodNullable<z.ZodString>;
145
+ avant_A_Apres: z.ZodNullable<z.ZodString>;
146
+ numero: z.ZodNullable<z.ZodString>;
147
+ }, z.core.$strip>>;
148
+ division: z.ZodObject<{
149
+ articleAdditionnel: z.ZodString;
150
+ articleDesignationCourte: z.ZodString;
151
+ avant_A_Apres: z.ZodEnum<{
152
+ A: "A";
153
+ Apres: "Apres";
154
+ Après: "Après";
155
+ Avant: "Avant";
156
+ }>;
157
+ chapitreAdditionnel: z.ZodString;
158
+ divisionRattachee: z.ZodString;
159
+ titre: z.ZodString;
160
+ type: z.ZodEnum<{
161
+ ANNEXE: "ANNEXE";
162
+ ARTICLE: "ARTICLE";
163
+ CHAPITRE: "CHAPITRE";
164
+ TITRE: "TITRE";
165
+ }>;
166
+ urlDivisionTexteVise: z.ZodNullable<z.ZodString>;
167
+ }, z.core.$strip>;
168
+ missionVisee: z.ZodNullable<z.ZodObject<{
169
+ codeEtat: z.ZodString;
170
+ libelleMission: z.ZodString;
171
+ }, z.core.$strip>>;
172
+ }, z.core.$strip>;
173
+ export type PointeurFragmentTexteXiiiRaw = z.infer<typeof PointeurFragmentTexteXiiiRawSchema>;
174
+ /**
175
+ * Montants d'une ligne du tableau de crédits (XIII).
176
+ */
177
+ export declare const MontantXiiiRawSchema: z.ZodObject<{
178
+ montantNegatif: z.ZodString;
179
+ montantPositif: z.ZodString;
180
+ }, z.core.$strip>;
181
+ export type MontantXiiiRaw = z.infer<typeof MontantXiiiRawSchema>;
182
+ /**
183
+ * Ligne « Dont titre 2 » d'un programme (XIII).
184
+ */
185
+ export declare const LigneCreditXiiiRawSchema: z.ZodObject<{
186
+ libelle: z.ZodString;
187
+ montantNegatif: z.ZodString;
188
+ montantPositif: z.ZodString;
189
+ }, z.core.$strip>;
190
+ export type LigneCreditXiiiRaw = z.infer<typeof LigneCreditXiiiRawSchema>;
191
+ /**
192
+ * Programme du tableau de crédits (XIII).
193
+ *
194
+ * Le tableau imprimé comporte un seul couple de colonnes « + / − » valable
195
+ * pour les autorisations d'engagement et les crédits de paiement ; il n'y a
196
+ * ni identifiant de programme, ni action, ni code mission.
197
+ */
198
+ export declare const ProgrammeXiiiRawSchema: z.ZodObject<{
199
+ libelle: z.ZodString;
200
+ montants: z.ZodObject<{
201
+ montantNegatif: z.ZodString;
202
+ montantPositif: z.ZodString;
203
+ }, z.core.$strip>;
204
+ lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
205
+ libelle: z.ZodString;
206
+ montantNegatif: z.ZodString;
207
+ montantPositif: z.ZodString;
208
+ }, z.core.$strip>>>;
209
+ }, z.core.$strip>;
210
+ export type ProgrammeXiiiRaw = z.infer<typeof ProgrammeXiiiRawSchema>;
211
+ /**
212
+ * Dispositif d'un amendement de crédits (PLF, XIII).
213
+ */
214
+ export declare const DispositifAmdtCreditXiiiRawSchema: z.ZodObject<{
215
+ programmes: z.ZodArray<z.ZodObject<{
216
+ libelle: z.ZodString;
217
+ montants: z.ZodObject<{
218
+ montantNegatif: z.ZodString;
219
+ montantPositif: z.ZodString;
220
+ }, z.core.$strip>;
221
+ lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
222
+ libelle: z.ZodString;
223
+ montantNegatif: z.ZodString;
224
+ montantPositif: z.ZodString;
225
+ }, z.core.$strip>>>;
226
+ }, z.core.$strip>>;
227
+ solde: z.ZodString;
228
+ totaux: z.ZodObject<{
229
+ montantNegatif: z.ZodString;
230
+ montantPositif: z.ZodString;
231
+ }, z.core.$strip>;
232
+ }, z.core.$strip>;
233
+ export type DispositifAmdtCreditXiiiRaw = z.infer<typeof DispositifAmdtCreditXiiiRawSchema>;
234
+ /**
235
+ * Corps de l'amendement (XIII) — contenu rédactionnel tel qu'imprimé.
236
+ *
237
+ * Variante standard : `dispositif` et `exposeSommaire` en HTML.
238
+ * Variante crédits : `dispositifAmdtCredit` remplace `dispositif`.
239
+ *
240
+ * Les pages « Rect. » déclarées irrecevables n'ont aucun corps : le texte de
241
+ * la notice est alors porté par `notice` au niveau de l'amendement.
242
+ */
243
+ export declare const CorpsXiiiRawSchema: z.ZodUnion<readonly [z.ZodObject<{
244
+ dispositif: z.ZodString;
245
+ exposeSommaire: z.ZodString;
246
+ }, z.core.$strip>, z.ZodObject<{
247
+ dispositifAmdtCredit: z.ZodObject<{
248
+ programmes: z.ZodArray<z.ZodObject<{
249
+ libelle: z.ZodString;
250
+ montants: z.ZodObject<{
251
+ montantNegatif: z.ZodString;
252
+ montantPositif: z.ZodString;
253
+ }, z.core.$strip>;
254
+ lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
255
+ libelle: z.ZodString;
256
+ montantNegatif: z.ZodString;
257
+ montantPositif: z.ZodString;
258
+ }, z.core.$strip>>>;
259
+ }, z.core.$strip>>;
260
+ solde: z.ZodString;
261
+ totaux: z.ZodObject<{
262
+ montantNegatif: z.ZodString;
263
+ montantPositif: z.ZodString;
264
+ }, z.core.$strip>;
265
+ }, z.core.$strip>;
266
+ exposeSommaire: z.ZodString;
267
+ }, z.core.$strip>]>;
268
+ export type CorpsXiiiRaw = z.infer<typeof CorpsXiiiRawSchema>;
269
+ /**
270
+ * Sort de l'amendement (XIII).
271
+ *
272
+ * `dateSaisie` n'existe pas dans la source ; `dateSort` n'est fournie que par
273
+ * les pages de 2012 (`DATE_SORT`).
274
+ */
275
+ export declare const SortXiiiRawSchema: z.ZodObject<{
276
+ dateSaisie: z.ZodNullable<z.ZodString>;
277
+ dateSort: z.ZodNullable<z.ZodString>;
278
+ sortEnSeance: z.ZodString;
279
+ }, z.core.$strip>;
280
+ export type SortXiiiRaw = z.infer<typeof SortXiiiRawSchema>;
281
+ /**
282
+ * Amendement (XIII, main object)
283
+ */
284
+ export declare const AmendementXiiiRawSchema: z.ZodObject<{
285
+ uid: z.ZodString;
286
+ identifiant: z.ZodObject<{
287
+ legislature: z.ZodString;
288
+ numero: z.ZodString;
289
+ numRect: z.ZodString;
290
+ saisine: z.ZodObject<{
291
+ mentionSecondeDeliberation: z.ZodString;
292
+ numeroPartiePLF: z.ZodString;
293
+ organeExamen: z.ZodOptional<z.ZodString>;
294
+ refTexteLegislatif: z.ZodString;
295
+ }, z.core.$strip>;
296
+ }, z.core.$strip>;
297
+ serie: z.ZodString;
298
+ numeroLong: z.ZodString;
299
+ texteTitre: z.ZodString;
300
+ etapeTexte: z.ZodOptional<z.ZodString>;
301
+ triAmendement: z.ZodNullable<z.ZodString>;
302
+ amendementParent: z.ZodNullable<z.ZodString>;
303
+ signataires: z.ZodObject<{
304
+ auteur: z.ZodObject<{
305
+ typeAuteur: z.ZodEnum<{
306
+ Gouvernement: "Gouvernement";
307
+ Rapporteur: "Rapporteur";
308
+ Depute: "Depute";
309
+ }>;
310
+ acteurRef: z.ZodOptional<z.ZodString>;
311
+ groupePolitiqueRef: z.ZodOptional<z.ZodString>;
312
+ organeRef: z.ZodOptional<z.ZodString>;
313
+ }, z.core.$strip>;
314
+ auteursNoms: z.ZodArray<z.ZodString>;
315
+ cosignataires: z.ZodObject<{
316
+ acteurRef: z.ZodArray<z.ZodString>;
317
+ }, z.core.$strip>;
318
+ texteAffichable: z.ZodString;
319
+ }, z.core.$strip>;
320
+ pointeurFragmentTexte: z.ZodObject<{
321
+ alinea: z.ZodNullable<z.ZodObject<{
322
+ alineaDesignation: z.ZodNullable<z.ZodString>;
323
+ avant_A_Apres: z.ZodNullable<z.ZodString>;
324
+ numero: z.ZodNullable<z.ZodString>;
325
+ }, z.core.$strip>>;
326
+ division: z.ZodObject<{
327
+ articleAdditionnel: z.ZodString;
328
+ articleDesignationCourte: z.ZodString;
329
+ avant_A_Apres: z.ZodEnum<{
330
+ A: "A";
331
+ Apres: "Apres";
332
+ Après: "Après";
333
+ Avant: "Avant";
334
+ }>;
335
+ chapitreAdditionnel: z.ZodString;
336
+ divisionRattachee: z.ZodString;
337
+ titre: z.ZodString;
338
+ type: z.ZodEnum<{
339
+ ANNEXE: "ANNEXE";
340
+ ARTICLE: "ARTICLE";
341
+ CHAPITRE: "CHAPITRE";
342
+ TITRE: "TITRE";
343
+ }>;
344
+ urlDivisionTexteVise: z.ZodNullable<z.ZodString>;
345
+ }, z.core.$strip>;
346
+ missionVisee: z.ZodNullable<z.ZodObject<{
347
+ codeEtat: z.ZodString;
348
+ libelleMission: z.ZodString;
349
+ }, z.core.$strip>>;
350
+ }, z.core.$strip>;
351
+ corps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
352
+ dispositif: z.ZodString;
353
+ exposeSommaire: z.ZodString;
354
+ }, z.core.$strip>, z.ZodObject<{
355
+ dispositifAmdtCredit: z.ZodObject<{
356
+ programmes: z.ZodArray<z.ZodObject<{
357
+ libelle: z.ZodString;
358
+ montants: z.ZodObject<{
359
+ montantNegatif: z.ZodString;
360
+ montantPositif: z.ZodString;
361
+ }, z.core.$strip>;
362
+ lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
363
+ libelle: z.ZodString;
364
+ montantNegatif: z.ZodString;
365
+ montantPositif: z.ZodString;
366
+ }, z.core.$strip>>>;
367
+ }, z.core.$strip>>;
368
+ solde: z.ZodString;
369
+ totaux: z.ZodObject<{
370
+ montantNegatif: z.ZodString;
371
+ montantPositif: z.ZodString;
372
+ }, z.core.$strip>;
373
+ }, z.core.$strip>;
374
+ exposeSommaire: z.ZodString;
375
+ }, z.core.$strip>]>>;
376
+ notice: z.ZodOptional<z.ZodString>;
377
+ sort: z.ZodObject<{
378
+ dateSaisie: z.ZodNullable<z.ZodString>;
379
+ dateSort: z.ZodNullable<z.ZodString>;
380
+ sortEnSeance: z.ZodString;
381
+ }, z.core.$strip>;
382
+ dateDepot: z.ZodNullable<z.ZodString>;
383
+ code: z.ZodOptional<z.ZodObject<{
384
+ code: z.ZodString;
385
+ refCode: z.ZodString;
386
+ }, z.core.$strip>>;
387
+ urlAmendement: z.ZodString;
388
+ urlDossier: z.ZodNullable<z.ZodString>;
389
+ urlPdf: z.ZodNullable<z.ZodString>;
390
+ }, z.core.$strip>;
391
+ export type AmendementXiiiRaw = z.infer<typeof AmendementXiiiRawSchema>;
392
+ /**
393
+ * Amendements d'un texte législatif (XIII) — objet unique ou tableau.
394
+ */
395
+ export declare const AmendementsClassXiiiRawSchema: z.ZodObject<{
396
+ amendement: z.ZodPreprocess<z.ZodArray<z.ZodObject<{
397
+ uid: z.ZodString;
398
+ identifiant: z.ZodObject<{
399
+ legislature: z.ZodString;
400
+ numero: z.ZodString;
401
+ numRect: z.ZodString;
402
+ saisine: z.ZodObject<{
403
+ mentionSecondeDeliberation: z.ZodString;
404
+ numeroPartiePLF: z.ZodString;
405
+ organeExamen: z.ZodOptional<z.ZodString>;
406
+ refTexteLegislatif: z.ZodString;
407
+ }, z.core.$strip>;
408
+ }, z.core.$strip>;
409
+ serie: z.ZodString;
410
+ numeroLong: z.ZodString;
411
+ texteTitre: z.ZodString;
412
+ etapeTexte: z.ZodOptional<z.ZodString>;
413
+ triAmendement: z.ZodNullable<z.ZodString>;
414
+ amendementParent: z.ZodNullable<z.ZodString>;
415
+ signataires: z.ZodObject<{
416
+ auteur: z.ZodObject<{
417
+ typeAuteur: z.ZodEnum<{
418
+ Gouvernement: "Gouvernement";
419
+ Rapporteur: "Rapporteur";
420
+ Depute: "Depute";
421
+ }>;
422
+ acteurRef: z.ZodOptional<z.ZodString>;
423
+ groupePolitiqueRef: z.ZodOptional<z.ZodString>;
424
+ organeRef: z.ZodOptional<z.ZodString>;
425
+ }, z.core.$strip>;
426
+ auteursNoms: z.ZodArray<z.ZodString>;
427
+ cosignataires: z.ZodObject<{
428
+ acteurRef: z.ZodArray<z.ZodString>;
429
+ }, z.core.$strip>;
430
+ texteAffichable: z.ZodString;
431
+ }, z.core.$strip>;
432
+ pointeurFragmentTexte: z.ZodObject<{
433
+ alinea: z.ZodNullable<z.ZodObject<{
434
+ alineaDesignation: z.ZodNullable<z.ZodString>;
435
+ avant_A_Apres: z.ZodNullable<z.ZodString>;
436
+ numero: z.ZodNullable<z.ZodString>;
437
+ }, z.core.$strip>>;
438
+ division: z.ZodObject<{
439
+ articleAdditionnel: z.ZodString;
440
+ articleDesignationCourte: z.ZodString;
441
+ avant_A_Apres: z.ZodEnum<{
442
+ A: "A";
443
+ Apres: "Apres";
444
+ Après: "Après";
445
+ Avant: "Avant";
446
+ }>;
447
+ chapitreAdditionnel: z.ZodString;
448
+ divisionRattachee: z.ZodString;
449
+ titre: z.ZodString;
450
+ type: z.ZodEnum<{
451
+ ANNEXE: "ANNEXE";
452
+ ARTICLE: "ARTICLE";
453
+ CHAPITRE: "CHAPITRE";
454
+ TITRE: "TITRE";
455
+ }>;
456
+ urlDivisionTexteVise: z.ZodNullable<z.ZodString>;
457
+ }, z.core.$strip>;
458
+ missionVisee: z.ZodNullable<z.ZodObject<{
459
+ codeEtat: z.ZodString;
460
+ libelleMission: z.ZodString;
461
+ }, z.core.$strip>>;
462
+ }, z.core.$strip>;
463
+ corps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
464
+ dispositif: z.ZodString;
465
+ exposeSommaire: z.ZodString;
466
+ }, z.core.$strip>, z.ZodObject<{
467
+ dispositifAmdtCredit: z.ZodObject<{
468
+ programmes: z.ZodArray<z.ZodObject<{
469
+ libelle: z.ZodString;
470
+ montants: z.ZodObject<{
471
+ montantNegatif: z.ZodString;
472
+ montantPositif: z.ZodString;
473
+ }, z.core.$strip>;
474
+ lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
475
+ libelle: z.ZodString;
476
+ montantNegatif: z.ZodString;
477
+ montantPositif: z.ZodString;
478
+ }, z.core.$strip>>>;
479
+ }, z.core.$strip>>;
480
+ solde: z.ZodString;
481
+ totaux: z.ZodObject<{
482
+ montantNegatif: z.ZodString;
483
+ montantPositif: z.ZodString;
484
+ }, z.core.$strip>;
485
+ }, z.core.$strip>;
486
+ exposeSommaire: z.ZodString;
487
+ }, z.core.$strip>]>>;
488
+ notice: z.ZodOptional<z.ZodString>;
489
+ sort: z.ZodObject<{
490
+ dateSaisie: z.ZodNullable<z.ZodString>;
491
+ dateSort: z.ZodNullable<z.ZodString>;
492
+ sortEnSeance: z.ZodString;
493
+ }, z.core.$strip>;
494
+ dateDepot: z.ZodNullable<z.ZodString>;
495
+ code: z.ZodOptional<z.ZodObject<{
496
+ code: z.ZodString;
497
+ refCode: z.ZodString;
498
+ }, z.core.$strip>>;
499
+ urlAmendement: z.ZodString;
500
+ urlDossier: z.ZodNullable<z.ZodString>;
501
+ urlPdf: z.ZodNullable<z.ZodString>;
502
+ }, z.core.$strip>>, unknown>;
503
+ }, z.core.$strip>;
504
+ export type AmendementsClassXiiiRaw = z.infer<typeof AmendementsClassXiiiRawSchema>;
505
+ /**
506
+ * Texte législatif et ses amendements (XIII).
507
+ */
508
+ export declare const TexteLegislatifXiiiRawSchema: z.ZodObject<{
509
+ refTexteLegislatif: z.ZodString;
510
+ titre: z.ZodString;
511
+ amendements: z.ZodObject<{
512
+ amendement: z.ZodPreprocess<z.ZodArray<z.ZodObject<{
513
+ uid: z.ZodString;
514
+ identifiant: z.ZodObject<{
515
+ legislature: z.ZodString;
516
+ numero: z.ZodString;
517
+ numRect: z.ZodString;
518
+ saisine: z.ZodObject<{
519
+ mentionSecondeDeliberation: z.ZodString;
520
+ numeroPartiePLF: z.ZodString;
521
+ organeExamen: z.ZodOptional<z.ZodString>;
522
+ refTexteLegislatif: z.ZodString;
523
+ }, z.core.$strip>;
524
+ }, z.core.$strip>;
525
+ serie: z.ZodString;
526
+ numeroLong: z.ZodString;
527
+ texteTitre: z.ZodString;
528
+ etapeTexte: z.ZodOptional<z.ZodString>;
529
+ triAmendement: z.ZodNullable<z.ZodString>;
530
+ amendementParent: z.ZodNullable<z.ZodString>;
531
+ signataires: z.ZodObject<{
532
+ auteur: z.ZodObject<{
533
+ typeAuteur: z.ZodEnum<{
534
+ Gouvernement: "Gouvernement";
535
+ Rapporteur: "Rapporteur";
536
+ Depute: "Depute";
537
+ }>;
538
+ acteurRef: z.ZodOptional<z.ZodString>;
539
+ groupePolitiqueRef: z.ZodOptional<z.ZodString>;
540
+ organeRef: z.ZodOptional<z.ZodString>;
541
+ }, z.core.$strip>;
542
+ auteursNoms: z.ZodArray<z.ZodString>;
543
+ cosignataires: z.ZodObject<{
544
+ acteurRef: z.ZodArray<z.ZodString>;
545
+ }, z.core.$strip>;
546
+ texteAffichable: z.ZodString;
547
+ }, z.core.$strip>;
548
+ pointeurFragmentTexte: z.ZodObject<{
549
+ alinea: z.ZodNullable<z.ZodObject<{
550
+ alineaDesignation: z.ZodNullable<z.ZodString>;
551
+ avant_A_Apres: z.ZodNullable<z.ZodString>;
552
+ numero: z.ZodNullable<z.ZodString>;
553
+ }, z.core.$strip>>;
554
+ division: z.ZodObject<{
555
+ articleAdditionnel: z.ZodString;
556
+ articleDesignationCourte: z.ZodString;
557
+ avant_A_Apres: z.ZodEnum<{
558
+ A: "A";
559
+ Apres: "Apres";
560
+ Après: "Après";
561
+ Avant: "Avant";
562
+ }>;
563
+ chapitreAdditionnel: z.ZodString;
564
+ divisionRattachee: z.ZodString;
565
+ titre: z.ZodString;
566
+ type: z.ZodEnum<{
567
+ ANNEXE: "ANNEXE";
568
+ ARTICLE: "ARTICLE";
569
+ CHAPITRE: "CHAPITRE";
570
+ TITRE: "TITRE";
571
+ }>;
572
+ urlDivisionTexteVise: z.ZodNullable<z.ZodString>;
573
+ }, z.core.$strip>;
574
+ missionVisee: z.ZodNullable<z.ZodObject<{
575
+ codeEtat: z.ZodString;
576
+ libelleMission: z.ZodString;
577
+ }, z.core.$strip>>;
578
+ }, z.core.$strip>;
579
+ corps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
580
+ dispositif: z.ZodString;
581
+ exposeSommaire: z.ZodString;
582
+ }, z.core.$strip>, z.ZodObject<{
583
+ dispositifAmdtCredit: z.ZodObject<{
584
+ programmes: z.ZodArray<z.ZodObject<{
585
+ libelle: z.ZodString;
586
+ montants: z.ZodObject<{
587
+ montantNegatif: z.ZodString;
588
+ montantPositif: z.ZodString;
589
+ }, z.core.$strip>;
590
+ lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
591
+ libelle: z.ZodString;
592
+ montantNegatif: z.ZodString;
593
+ montantPositif: z.ZodString;
594
+ }, z.core.$strip>>>;
595
+ }, z.core.$strip>>;
596
+ solde: z.ZodString;
597
+ totaux: z.ZodObject<{
598
+ montantNegatif: z.ZodString;
599
+ montantPositif: z.ZodString;
600
+ }, z.core.$strip>;
601
+ }, z.core.$strip>;
602
+ exposeSommaire: z.ZodString;
603
+ }, z.core.$strip>]>>;
604
+ notice: z.ZodOptional<z.ZodString>;
605
+ sort: z.ZodObject<{
606
+ dateSaisie: z.ZodNullable<z.ZodString>;
607
+ dateSort: z.ZodNullable<z.ZodString>;
608
+ sortEnSeance: z.ZodString;
609
+ }, z.core.$strip>;
610
+ dateDepot: z.ZodNullable<z.ZodString>;
611
+ code: z.ZodOptional<z.ZodObject<{
612
+ code: z.ZodString;
613
+ refCode: z.ZodString;
614
+ }, z.core.$strip>>;
615
+ urlAmendement: z.ZodString;
616
+ urlDossier: z.ZodNullable<z.ZodString>;
617
+ urlPdf: z.ZodNullable<z.ZodString>;
618
+ }, z.core.$strip>>, unknown>;
619
+ }, z.core.$strip>;
620
+ }, z.core.$strip>;
621
+ export type TexteLegislatifXiiiRaw = z.infer<typeof TexteLegislatifXiiiRawSchema>;
622
+ /**
623
+ * Wrapper racine (XIII).
624
+ *
625
+ * Même enveloppe que l'export XIV (`textesEtAmendements.texteleg`) afin que
626
+ * les deux législatures se rangent dans les mêmes fichiers.
627
+ */
628
+ export declare const AmendementsXiiiRawSchema: z.ZodObject<{
629
+ textesEtAmendements: z.ZodObject<{
630
+ texteleg: z.ZodPreprocess<z.ZodArray<z.ZodObject<{
631
+ refTexteLegislatif: z.ZodString;
632
+ titre: z.ZodString;
633
+ amendements: z.ZodObject<{
634
+ amendement: z.ZodPreprocess<z.ZodArray<z.ZodObject<{
635
+ uid: z.ZodString;
636
+ identifiant: z.ZodObject<{
637
+ legislature: z.ZodString;
638
+ numero: z.ZodString;
639
+ numRect: z.ZodString;
640
+ saisine: z.ZodObject<{
641
+ mentionSecondeDeliberation: z.ZodString;
642
+ numeroPartiePLF: z.ZodString;
643
+ organeExamen: z.ZodOptional<z.ZodString>;
644
+ refTexteLegislatif: z.ZodString;
645
+ }, z.core.$strip>;
646
+ }, z.core.$strip>;
647
+ serie: z.ZodString;
648
+ numeroLong: z.ZodString;
649
+ texteTitre: z.ZodString;
650
+ etapeTexte: z.ZodOptional<z.ZodString>;
651
+ triAmendement: z.ZodNullable<z.ZodString>;
652
+ amendementParent: z.ZodNullable<z.ZodString>;
653
+ signataires: z.ZodObject<{
654
+ auteur: z.ZodObject<{
655
+ typeAuteur: z.ZodEnum<{
656
+ Gouvernement: "Gouvernement";
657
+ Rapporteur: "Rapporteur";
658
+ Depute: "Depute";
659
+ }>;
660
+ acteurRef: z.ZodOptional<z.ZodString>;
661
+ groupePolitiqueRef: z.ZodOptional<z.ZodString>;
662
+ organeRef: z.ZodOptional<z.ZodString>;
663
+ }, z.core.$strip>;
664
+ auteursNoms: z.ZodArray<z.ZodString>;
665
+ cosignataires: z.ZodObject<{
666
+ acteurRef: z.ZodArray<z.ZodString>;
667
+ }, z.core.$strip>;
668
+ texteAffichable: z.ZodString;
669
+ }, z.core.$strip>;
670
+ pointeurFragmentTexte: z.ZodObject<{
671
+ alinea: z.ZodNullable<z.ZodObject<{
672
+ alineaDesignation: z.ZodNullable<z.ZodString>;
673
+ avant_A_Apres: z.ZodNullable<z.ZodString>;
674
+ numero: z.ZodNullable<z.ZodString>;
675
+ }, z.core.$strip>>;
676
+ division: z.ZodObject<{
677
+ articleAdditionnel: z.ZodString;
678
+ articleDesignationCourte: z.ZodString;
679
+ avant_A_Apres: z.ZodEnum<{
680
+ A: "A";
681
+ Apres: "Apres";
682
+ Après: "Après";
683
+ Avant: "Avant";
684
+ }>;
685
+ chapitreAdditionnel: z.ZodString;
686
+ divisionRattachee: z.ZodString;
687
+ titre: z.ZodString;
688
+ type: z.ZodEnum<{
689
+ ANNEXE: "ANNEXE";
690
+ ARTICLE: "ARTICLE";
691
+ CHAPITRE: "CHAPITRE";
692
+ TITRE: "TITRE";
693
+ }>;
694
+ urlDivisionTexteVise: z.ZodNullable<z.ZodString>;
695
+ }, z.core.$strip>;
696
+ missionVisee: z.ZodNullable<z.ZodObject<{
697
+ codeEtat: z.ZodString;
698
+ libelleMission: z.ZodString;
699
+ }, z.core.$strip>>;
700
+ }, z.core.$strip>;
701
+ corps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
702
+ dispositif: z.ZodString;
703
+ exposeSommaire: z.ZodString;
704
+ }, z.core.$strip>, z.ZodObject<{
705
+ dispositifAmdtCredit: z.ZodObject<{
706
+ programmes: z.ZodArray<z.ZodObject<{
707
+ libelle: z.ZodString;
708
+ montants: z.ZodObject<{
709
+ montantNegatif: z.ZodString;
710
+ montantPositif: z.ZodString;
711
+ }, z.core.$strip>;
712
+ lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
713
+ libelle: z.ZodString;
714
+ montantNegatif: z.ZodString;
715
+ montantPositif: z.ZodString;
716
+ }, z.core.$strip>>>;
717
+ }, z.core.$strip>>;
718
+ solde: z.ZodString;
719
+ totaux: z.ZodObject<{
720
+ montantNegatif: z.ZodString;
721
+ montantPositif: z.ZodString;
722
+ }, z.core.$strip>;
723
+ }, z.core.$strip>;
724
+ exposeSommaire: z.ZodString;
725
+ }, z.core.$strip>]>>;
726
+ notice: z.ZodOptional<z.ZodString>;
727
+ sort: z.ZodObject<{
728
+ dateSaisie: z.ZodNullable<z.ZodString>;
729
+ dateSort: z.ZodNullable<z.ZodString>;
730
+ sortEnSeance: z.ZodString;
731
+ }, z.core.$strip>;
732
+ dateDepot: z.ZodNullable<z.ZodString>;
733
+ code: z.ZodOptional<z.ZodObject<{
734
+ code: z.ZodString;
735
+ refCode: z.ZodString;
736
+ }, z.core.$strip>>;
737
+ urlAmendement: z.ZodString;
738
+ urlDossier: z.ZodNullable<z.ZodString>;
739
+ urlPdf: z.ZodNullable<z.ZodString>;
740
+ }, z.core.$strip>>, unknown>;
741
+ }, z.core.$strip>;
742
+ }, z.core.$strip>>, unknown>;
743
+ }, z.core.$strip>;
744
+ }, z.core.$strip>;
745
+ export type AmendementsXiiiRaw = z.infer<typeof AmendementsXiiiRawSchema>;
746
+ export declare function parseAmendementXiiiRaw(json: string): AmendementXiiiRaw;
747
+ export declare function parseAmendementsXiiiRaw(json: string): AmendementsXiiiRaw;
748
+ /**
749
+ * File-specific Convert object, same shape as the XIV one.
750
+ */
751
+ export declare const AmendementsXiiiRawConvert: {
752
+ toAmendement: typeof parseAmendementXiiiRaw;
753
+ toAmendements: typeof parseAmendementsXiiiRaw;
754
+ };