@tricoteuses/assemblee 3.2.0 → 3.2.2

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.
@@ -0,0 +1,2053 @@
1
+ import { $ as e, Q as t, X as n, Y as r, Z as i, et as a, nt as o, tt as s } from "./amendements-DHZKmvto.js";
2
+ import { z as c } from "zod";
3
+ //#region src/legislatures.ts
4
+ var l = /* @__PURE__ */ function(e) {
5
+ return e[e.Quatorze = 14] = "Quatorze", e[e.Quinze = 15] = "Quinze", e[e.Seize = 16] = "Seize", e[e.DixSept = 17] = "DixSept", e[e.DixHuit = 18] = "DixHuit", e[e.All = 0] = "All", e;
6
+ }({}), ee = [
7
+ l.Quatorze,
8
+ l.Quinze,
9
+ l.Seize,
10
+ l.DixSept,
11
+ l.DixHuit
12
+ ], te = /* @__PURE__ */ "API.ASSEMBLEE.BUREAU.CIRCONSCRIPTION.CJR.CMP.CNPE.CNPS.COMNL.COMPER.COMSENAT.COMSPSENAT.CONFPT.CONSTITU.DELEG.DELEGBUREAU.DELEGSENAT.GA.GE.GEVI.GOUVERNEMENT.GP.GROUPESENAT.HCJ.MINISTERE.MISAPPL.MISEVAL.MISGRTR.MISINFO.MISINFOCOM.MISINFOPRE.OFFPAR.ORGAINT.ORGEXTPARL.PARPOL.PRESREP.SENAT".split("."), u = c.enum(te), ne = ["M.", "Mme"], d = c.enum(ne).meta({ description: "Civilité" }), re = [
13
+ "H",
14
+ "M",
15
+ "O",
16
+ "T"
17
+ ], ie = c.enum(re), ae = /* @__PURE__ */ "Ain.Aisne.Allier.Alpes-de-Haute-Provence.Alpes-Maritimes.Ardennes.Ardèche.Ariège.Aube.Aude.Aveyron.Bas-Rhin.Bouches-du-Rhône.Calvados.Cantal.Charente.Charente-Maritime.Cher.Comores.Corrèze.Corse.Corse-du-Sud.Creuse.Côte-d'Or.Côtes-d'Armor.Côtes-du-Nord.Deux-Sèvres.Dordogne.Doubs.Drôme.Essonne.Eure.Eure-et-Loir.Finistère.Français établis hors de France.Gard.Gers.Gironde.Guadeloupe.Guyane.Haut-Rhin.Haute-Corse.Haute-Garonne.Haute-Loire.Haute-Marne.Haute-Savoie.Haute-Saône.Haute-Vienne.Hautes-Alpes.Hautes-Pyrénées.Hauts-de-Seine.Hérault.Ille-et-Vilaine.Indre.Indre-et-Loire.Isère.Jura.Landes.Loir-et-Cher.Loire.Loire-Atlantique.Loiret.Lot.Lot-et-Garonne.Lozère.Maine-et-Loire.Manche.Marne.Martinique.Mayenne.Mayotte.Meurthe-et-Moselle.Meuse.Morbihan.Moselle.Nièvre.Nord.Nouvelle-Calédonie.Oise.Orne.Paris.Pas-de-Calais.Polynésie Française.Puy-de-Dôme.Pyrénées-Atlantiques.Pyrénées-Orientales.Rhône.Réunion.Saint-Barthélemy et Saint-Martin.Saint-Martin.Saint-Pierre-et-Miquelon.Sarthe.Savoie.Saône-et-Loire.Seine-et-Marne.Seine-Inférieure.Seine-Maritime.Seine-Saint-Denis.Somme.Tarn.Tarn-et-Garonne.Territoire de Belfort.Val-d'Oise.Val-de-Marne.Var.Vaucluse.Vendée.Vienne.Vosges.Wallis-et-Futuna.Yonne.Yvelines".split("."), f = c.enum(ae), oe = [
18
+ "Agriculteurs exploitants",
19
+ "Artisans, commerçants, chefs d'entreprises",
20
+ "Artisans, commerçants et chefs d'entreprise",
21
+ "Autres personnes sans activité professionnelle",
22
+ "Cadres et professions intellectuelles supérieures",
23
+ "Employés",
24
+ "Ouvriers",
25
+ "Professions intermédiaires",
26
+ "Professions Intermédiaires",
27
+ "Retraités",
28
+ "Sans profession déclarée"
29
+ ], se = c.enum(oe).meta({ description: "Famille socio professionelle de l'INSEE." }), ce = [
30
+ "Auvergne-Rhône-Alpes",
31
+ "Bourgogne-Franche-Comté",
32
+ "Bretagne",
33
+ "Centre-Val de Loire",
34
+ "Corse",
35
+ "Français établis hors de France",
36
+ "Grand Est",
37
+ "Guadeloupe",
38
+ "Guyane",
39
+ "Hauts-de-France",
40
+ "Ile-de-France",
41
+ "Martinique",
42
+ "Mayotte",
43
+ "Normandie",
44
+ "Nouvelle-Aquitaine",
45
+ "Nouvelle-Calédonie",
46
+ "Occitanie",
47
+ "Pays de la Loire",
48
+ "Polynésie française",
49
+ "Provence-Alpes-Côte d'Azur",
50
+ "Réunion",
51
+ "Saint-Barthélemy et Saint-Martin",
52
+ "Saint-Pierre-et-Miquelon",
53
+ "Wallis-et-Futuna"
54
+ ], p = c.enum(ce), le = [
55
+ "MandatAvecSuppleant_Type",
56
+ "MandatMission_Type",
57
+ "MandatParlementaire_type",
58
+ "MandatSimple_Type"
59
+ ], ue = c.enum(le), de = [
60
+ "GroupePolitique_type",
61
+ "OrganeCirconscription_type",
62
+ "OrganeExterne_Type",
63
+ "OrganeExtraParlementaire_type",
64
+ "OrganeParlementaireInternational",
65
+ "OrganeParlementaire_Type"
66
+ ], m = c.enum(de), fe = [
67
+ "Majoritaire",
68
+ "Minoritaire",
69
+ "Opposition"
70
+ ], h = c.enum(fe).meta({ description: "Position politique, uniquement pour les groupes politiques (dont le codeType est égal à GP)." }), pe = [
71
+ "Assemblée consultative provisoire",
72
+ "Assemblées nationales constituantes",
73
+ "3ème République",
74
+ "4ème République",
75
+ "5ème République"
76
+ ], g = c.enum(pe).meta({ description: "Nom du régime politique républicain sous lequel l'organe a été créé. Le 20 aout 1944 le régime de vichy est remplacé par l'assemblée consultative provisoire. Le 21 octobre 1945 une assemblée constituante est créée et sera remplacée par la {@link https://fr.wikipedia.org/wiki/Quatri%C3%A8me_R%C3%A9publique_(France) | 4ème République} le 27 octobre 1946." }), me = [
77
+ "Collectivités d'outre-mer et Nouvelle-Calédonie",
78
+ "Dom",
79
+ "Français établis hors de France",
80
+ "Métropolitain"
81
+ ], _ = c.enum(me).meta({ description: "Type de territoire de la circonscription du député ({@link https://fr.wikipedia.org/wiki/R%C3%A9gion_fran%C3%A7aise | Métropolitain}, {@link https://fr.wikipedia.org/wiki/D%C3%A9partement_et_r%C3%A9gion_d%27outre-mer | Dom}, {@link https://fr.wikipedia.org/wiki/Collectivit%C3%A9_d%27outre-mer | Collectivités d'outre-mer et Nouvelle-Calédonie} ou {@link https://fr.wikipedia.org/wiki/Fran%C3%A7ais_%C3%A9tablis_hors_de_France | Français établis hors de France})" }), he = c.enum(["IdActeur_type"]), v = c.object({
82
+ "@xmlns:xsi": c.string(),
83
+ "@xsi:nil": c.string()
84
+ }), ge = c.object({
85
+ "@xmlns:xsi": c.string().optional(),
86
+ "@xsi:type": he,
87
+ "#text": c.string()
88
+ }), _e = c.object({
89
+ civ: d,
90
+ prenom: c.string(),
91
+ nom: c.string(),
92
+ alpha: c.string(),
93
+ trigramme: c.union([v, c.string()]).nullable().optional()
94
+ }), ve = c.object({
95
+ dateNais: c.union([v, n()]).nullable(),
96
+ villeNais: c.union([v, c.string()]).nullable().optional(),
97
+ depNais: c.union([v, f]).nullable().optional(),
98
+ paysNais: c.union([v, c.string()]).nullable().optional()
99
+ }), ye = c.object({
100
+ ident: _e,
101
+ infoNaissance: ve.optional(),
102
+ dateDeces: c.union([v, n()]).nullable()
103
+ }), be = c.object({
104
+ catSocPro: c.union([v, c.string()]).nullable().optional(),
105
+ famSocPro: c.union([v, se]).nullable().optional()
106
+ }), xe = c.object({
107
+ libelleCourant: c.union([v, c.string()]).nullable().optional(),
108
+ socProcINSEE: be.optional()
109
+ }), Se = c.object({
110
+ adresse: t(c.record(c.string(), c.string().nullable())).optional(),
111
+ "@xmlns:xsi": c.string().optional(),
112
+ "@xsi:nil": c.string().optional()
113
+ }), Ce = c.object({
114
+ codeQualite: c.string().nullable(),
115
+ libQualite: c.string(),
116
+ libQualiteSex: c.string().nullable()
117
+ }), we = c.object({ organeRef: t(e()) }), Te = c.object({
118
+ dateDebut: i(),
119
+ dateFin: n().nullable(),
120
+ suppleantRef: r()
121
+ }), Ee = c.object({ suppleant: Te }), De = c.object({
122
+ region: p.nullable(),
123
+ regionType: _.nullable(),
124
+ departement: f.nullable(),
125
+ numDepartement: c.string().nullable(),
126
+ numCirco: c.string().nullable()
127
+ }), Oe = c.object({
128
+ lieu: De,
129
+ causeMandat: c.string().nullable(),
130
+ refCirconscription: c.string().nullable().optional()
131
+ }), ke = c.object({
132
+ qualite: d.nullable(),
133
+ prenom: c.string(),
134
+ nom: c.string(),
135
+ dateDebut: c.null(),
136
+ dateFin: c.null()
137
+ }), Ae = c.object({ collaborateur: t(ke) }), je = c.object({ HATVP_URI: c.null() }), Me = c.object({
138
+ datePriseFonction: n().nullable(),
139
+ causeFin: c.string().nullable(),
140
+ premiereElection: c.string().nullable(),
141
+ placeHemicycle: c.string().nullable(),
142
+ mandatRemplaceRef: c.string().nullable().optional(),
143
+ matriculeVote: c.string().nullable().optional()
144
+ }), Ne = c.object({
145
+ "@xmlns:xsi": c.string().optional(),
146
+ "@xsi:type": ue.optional(),
147
+ uid: o(),
148
+ acteurRef: r(),
149
+ legislature: c.string().nullable(),
150
+ typeOrgane: u,
151
+ dateDebut: i(),
152
+ datePublication: n().nullable(),
153
+ dateFin: n().nullable(),
154
+ preseance: c.string().nullable(),
155
+ nominPrincipale: c.string(),
156
+ infosQualite: Ce,
157
+ organes: we,
158
+ libelle: c.string().nullable().optional(),
159
+ missionSuivanteRef: c.string().nullable().optional(),
160
+ missionPrecedenteRef: c.string().nullable().optional(),
161
+ suppleants: Ee.nullable().optional(),
162
+ chambre: c.null().optional(),
163
+ election: Oe.optional(),
164
+ InfosHorsSIAN: je.optional(),
165
+ mandature: Me.optional(),
166
+ collaborateurs: c.union([c.array(c.null()), Ae]).nullable().optional()
167
+ }), Pe = c.object({ mandat: t(Ne) }), Fe = c.object({
168
+ "@xmlns": c.string().optional(),
169
+ uid: ge,
170
+ etatCivil: ye,
171
+ profession: xe,
172
+ uri_hatvp: c.union([v, c.string()]).nullable().optional(),
173
+ adresses: Se.nullable(),
174
+ mandats: Pe.optional(),
175
+ "@xmlns:xsi": c.string().optional()
176
+ });
177
+ c.object({ acteur: Fe });
178
+ var Ie = c.object({
179
+ uid: ge,
180
+ etatCivil: ye,
181
+ uri_hatvp: c.string().nullable().optional(),
182
+ mandats: Pe
183
+ }), Le = c.object({ acteur: c.array(Ie) }), Re = c.object({
184
+ dateDebut: n().nullable(),
185
+ dateAgrement: n().nullable(),
186
+ dateFin: n().nullable()
187
+ }), ze = c.object({
188
+ secretaire01: c.string().nullable(),
189
+ secretaire02: c.string().nullable()
190
+ }), Be = c.object({
191
+ codeNatureDep: ie.nullable(),
192
+ code: c.string().nullable(),
193
+ libelle: f.nullable()
194
+ }), Ve = c.object({
195
+ type: _.nullable(),
196
+ libelle: p.nullable()
197
+ }), He = c.object({
198
+ region: Ve,
199
+ departement: Be
200
+ }), Ue = c.object({ paysRef: t(c.string()) }), We = c.object({
201
+ "@xmlns": c.string().optional(),
202
+ "@xmlns:xsi": c.string(),
203
+ "@xsi:type": m.optional(),
204
+ uid: o(),
205
+ codeType: u,
206
+ libelle: c.string(),
207
+ libelleEdition: c.string().nullable(),
208
+ libelleAbrege: c.string(),
209
+ libelleAbrev: c.string(),
210
+ viMoDe: Re,
211
+ organeParent: e().nullable().optional(),
212
+ organePrecedentRef: e().nullable().optional(),
213
+ chambre: c.null().optional(),
214
+ regime: g.nullable().optional(),
215
+ legislature: c.string().nullable().optional(),
216
+ regimeJuridique: c.string().nullable().optional(),
217
+ siteInternet: c.string().nullable().optional(),
218
+ nombreReunionsAnnuelles: c.string().nullable().optional(),
219
+ secretariat: ze.optional(),
220
+ numero: c.string().nullable().optional(),
221
+ lieu: He.optional(),
222
+ positionPolitique: h.nullable().optional(),
223
+ preseance: c.string().nullable().optional(),
224
+ couleurAssociee: c.string().nullable().optional(),
225
+ listePays: Ue.nullable().optional()
226
+ });
227
+ c.object({ organe: We });
228
+ var Ge = c.object({
229
+ "@xsi:type": m,
230
+ uid: o(),
231
+ codeType: u,
232
+ libelle: c.string(),
233
+ libelleEdition: c.string().nullable(),
234
+ libelleAbrege: c.string(),
235
+ libelleAbrev: c.string(),
236
+ viMoDe: Re,
237
+ regimeJuridique: c.string().nullable().optional(),
238
+ regime: g.nullable().optional(),
239
+ legislature: c.string().nullable().optional(),
240
+ secretariat: ze.optional(),
241
+ positionPolitique: h.nullable().optional()
242
+ }), Ke = c.object({ organe: c.array(Ge) }), y = c.object({
243
+ code: c.string(),
244
+ libelle: c.string()
245
+ }), qe = c.object({
246
+ type: y,
247
+ referenceTextuelle: c.string(),
248
+ references: c.null()
249
+ }), Je = c.object({
250
+ "@xmlns": c.string(),
251
+ "@xmlns:xsi": c.string(),
252
+ uid: o(),
253
+ chronotag: c.string(),
254
+ legislature: c.string(),
255
+ refActeur: r(),
256
+ dateCreation: i(),
257
+ datePublication: n(),
258
+ portee: y,
259
+ lecture: y,
260
+ instance: y,
261
+ cible: qe,
262
+ explication: c.string().nullable()
263
+ });
264
+ c.object({ deport: Je }), c.object({ mandat: Ne });
265
+ var Ye = c.object({
266
+ "@xmlns:xsi": c.string(),
267
+ organes: Ke,
268
+ acteurs: Le
269
+ });
270
+ c.object({ export: Ye });
271
+ //#endregion
272
+ //#region src/schemas/raw/agendas.ts
273
+ var Xe = [
274
+ "AuditionExterne",
275
+ "AuditionParPresidentCommission",
276
+ "AuditionParRapporteur",
277
+ "Ordinaire"
278
+ ], Ze = c.enum(Xe), Qe = ["ODJPR", "ODJSN"], $e = c.enum(Qe), et = ["podjReunion_type", "podjSeanceConfPres_type"], tt = c.enum(et), nt = [
279
+ "absent",
280
+ "excusé",
281
+ "présent"
282
+ ], rt = c.enum(nt), it = [
283
+ "discussion générale commune",
284
+ "procédure d'examen simplifiée-Article 103",
285
+ "procédure d'examen simplifiée-Article 106",
286
+ "procédure d'examen simplifiée-Article 107",
287
+ "procédure de législation en commission-Article 107-1"
288
+ ], at = c.enum(it), ot = [
289
+ "Deuxième",
290
+ "Première",
291
+ "Troisième",
292
+ "Unique"
293
+ ], st = c.enum(ot), ct = [
294
+ "reunionCommission_type",
295
+ "reunionInitParlementaire_type",
296
+ "seance_type"
297
+ ], b = c.enum(ct), lt = /* @__PURE__ */ "Amendements (Art. 88),Amendements (Art. 91),Audition,Audition ministre,Audition ministre ouverte à la presse,Audition ouverte à la presse,Communication,Constitution de mission d'information,Discussion,Débat d'initiative parlementaire,Déclaration du Gouvernement suivie d'un débat,Echanges de vues,Examen,Explications de vote des groupes et vote par scrutin public,Explications de vote et vote par scrutin public,Fixation de l'ordre du jour,Nomination bureau,Nomination candidats organisme extraparlementaire,Nomination d'un membre d'une mission d'information,Nomination rapporteur,Nomination rapporteur d'application,Nomination rapporteur d'information,Nomination rapporteur pour avis,Ouverture et clôture de session,Questions au Gouvernement,Questions orales sans débat,Rapport,Rapport d'information,Rapport pour avis,Séances réservées à un groupe de l'opposition ou minoritaire,Suite de la discussion,Table ronde,Vote par scrutin public,Vote solennel".split(","), x = c.enum(lt), ut = [
298
+ "DEP",
299
+ "GA",
300
+ "GE",
301
+ "GEVI",
302
+ "GP",
303
+ "HÉ Aurélien"
304
+ ], S = c.enum(ut), dt = [
305
+ "Annulé",
306
+ "Confirmé",
307
+ "Eventuel",
308
+ "Supprimé"
309
+ ], ft = c.enum(dt), pt = ["IdActeur_type", "IdPersonneExterne_type"], mt = c.enum(pt), ht = c.object({
310
+ creation: c.string(),
311
+ cloture: c.string().nullable()
312
+ }), gt = c.object({
313
+ etat: ft,
314
+ chrono: ht
315
+ }), _t = c.object({ dossierRef: t(c.string()) }), vt = c.object({ item: t(c.string()) }), yt = c.object({
316
+ "@xsi:type": tt,
317
+ uid: o(),
318
+ cycleDeVie: gt,
319
+ objet: c.string(),
320
+ demandeurPoint: c.null(),
321
+ procedure: at.nullable(),
322
+ dossiersLegislatifsRefs: c.union([_t, c.null()]),
323
+ typePointODJ: x,
324
+ comiteSecret: c.string(),
325
+ textesAssocies: c.null(),
326
+ natureTravauxODJ: $e.optional(),
327
+ dateConfPres: a(),
328
+ dateLettreMinistre: a()
329
+ }), bt = c.object({ pointODJ: t(yt) }), xt = c.object({
330
+ convocationODJ: vt.nullable(),
331
+ resumeODJ: vt.nullable(),
332
+ pointsODJ: bt.nullable().optional()
333
+ }), St = c.object({
334
+ nom: c.string().nullable(),
335
+ acteurRef: r()
336
+ }), Ct = c.object({
337
+ nom: c.string(),
338
+ organeRef: e()
339
+ }), wt = c.object({
340
+ acteur: St.optional(),
341
+ organe: Ct.optional()
342
+ }), Tt = c.object({
343
+ acteur: t(St).optional(),
344
+ organe: Ct.optional()
345
+ }), Et = c.object({ paysRef: t(c.string()) }), Dt = c.object({
346
+ estReunionInternationale: c.string(),
347
+ listePays: Et.nullable(),
348
+ informationsComplementaires: c.string().nullable().optional()
349
+ }), Ot = c.object({
350
+ code: c.string().nullable().optional(),
351
+ libelleCourt: c.string().nullable().optional(),
352
+ libelleLong: c.string().nullable(),
353
+ lieuRef: c.string().nullable().optional()
354
+ }), kt = c.object({
355
+ acteurRef: r(),
356
+ presence: rt
357
+ }), At = c.object({ participantInterne: t(kt) }), jt = c.object({ participantInterne: c.array(kt) }), Mt = c.object({ personneAuditionnee: c.array(c.null()).nullable() }), Nt = c.object({
358
+ "@xsi:type": mt,
359
+ "#text": c.string()
360
+ }), Pt = c.object({
361
+ civ: d,
362
+ prenom: c.string(),
363
+ nom: c.string(),
364
+ alpha: a(),
365
+ trigramme: c.string().nullable().optional()
366
+ }), Ft = c.object({
367
+ uid: Nt,
368
+ ident: Pt,
369
+ dateNais: n().nullable()
370
+ }), It = c.object({ personneAuditionnee: t(Ft) }), Lt = c.object({
371
+ participantsInternes: c.union([At, c.null()]),
372
+ personnesAuditionnees: c.union([Mt, c.null()])
373
+ }), Rt = c.object({
374
+ participantsInternes: c.union([jt, c.null()]),
375
+ personnesAuditionnees: c.union([It, c.null()])
376
+ }), zt = c.object({
377
+ numSeanceJO: c.string().nullable(),
378
+ idJO: c.string().nullable(),
379
+ quantieme: st,
380
+ DateSeance: c.string()
381
+ }), Bt = c.object({
382
+ "@xmlns": c.string(),
383
+ "@xmlns:xsi": c.string(),
384
+ "@xsi:type": b,
385
+ uid: o(),
386
+ timeStampDebut: i(),
387
+ timeStampFin: a(),
388
+ lieu: Ot.optional(),
389
+ cycleDeVie: gt,
390
+ demandeurs: Tt.nullable().optional(),
391
+ organeReuniRef: c.string().nullable(),
392
+ typeReunion: S.optional(),
393
+ demandeur: wt.nullable().optional(),
394
+ participants: Lt.nullable().optional(),
395
+ visioConference: c.string().nullable().optional(),
396
+ ODJ: xt.nullable().optional(),
397
+ sessionRef: c.string().nullable().optional(),
398
+ ouverturePresse: a(),
399
+ captationVideo: a(),
400
+ compteRenduRef: c.string().nullable().optional(),
401
+ formatReunion: Ze.optional(),
402
+ infosReunionsInternationale: Dt.optional(),
403
+ identifiants: zt.optional()
404
+ });
405
+ c.object({ reunion: Bt });
406
+ var Vt = c.object({
407
+ uid: o(),
408
+ timeStampDebut: i(),
409
+ timeStampFin: a(),
410
+ lieu: Ot,
411
+ cycleDeVie: gt,
412
+ demandeurs: Tt.nullable().optional(),
413
+ organeReuniRef: c.string().nullable(),
414
+ typeReunion: S.optional(),
415
+ "@xmlns:xsi": a(),
416
+ demandeur: c.null().optional(),
417
+ participants: Rt.nullable().optional(),
418
+ sessionRef: c.string().nullable().optional(),
419
+ ouverturePresse: a(),
420
+ ODJ: xt.optional(),
421
+ compteRenduRef: c.string().nullable().optional(),
422
+ identifiants: zt.optional()
423
+ }), Ht = c.object({ reunion: c.array(Vt) });
424
+ c.object({ reunions: Ht });
425
+ //#endregion
426
+ //#region src/schemas/raw/debats.ts
427
+ var Ut = [
428
+ "",
429
+ "ADOPTION amendement (main levée) adt",
430
+ "ADOPTION d’un article (vote à main levée)",
431
+ "ADOPTION d’un sous-amendement (main levée) ss-adt",
432
+ "ADOPTION de plusieurs amendements (main levée) adts",
433
+ "ADOPTION de plusieurs sous-amendements (main levée) ss-adts",
434
+ "REJET d’un amendement (main levée) adt",
435
+ "REJET d’un article (vote à main levée)",
436
+ "REJET d’un sous-amendement (main levée) ss-adt",
437
+ "REJET de plusieurs amendements (main levée) adts",
438
+ "REJET de plusieurs sous-amendements (main levée) ss-adts",
439
+ "REJET motion de rejet préalable (main levée)"
440
+ ], Wt = c.enum(Ut), C = c.lazy(() => c.object({
441
+ _: a(),
442
+ id_syceron: a(),
443
+ stime: a(),
444
+ sup: a(),
445
+ lienAdt: t(C).optional()
446
+ })), Gt = c.object({
447
+ nom: a(),
448
+ id: s(),
449
+ qualite: a()
450
+ }), Kt = c.object({ orateur: t(Gt) }), w = c.lazy(() => c.object({
451
+ id_preparation: a(),
452
+ ordre_absolu_seance: a(),
453
+ code_grammaire: a(),
454
+ sommaire: a(),
455
+ id_syceron: a(),
456
+ valeur_ptsodj: a(),
457
+ nivpoint: a(),
458
+ ordinal_prise: a(),
459
+ code_style: a(),
460
+ code_parole: a(),
461
+ valeur: a(),
462
+ orateurs: c.union([Kt, c.string()]).optional(),
463
+ texte: c.union([C, c.string()]).optional(),
464
+ paragraphe: t(w).optional(),
465
+ interExtraction: t(w).optional(),
466
+ point: t(w).optional(),
467
+ structure: a(),
468
+ id_acteur: a(),
469
+ id_mandat: a(),
470
+ id_nomination_oe: a(),
471
+ id_nomination_op: a(),
472
+ orateur: a(),
473
+ bibard: a(),
474
+ art: a(),
475
+ adt: a(),
476
+ ssadt: a(),
477
+ roledebat: a(),
478
+ changementPresidence: t(w).optional(),
479
+ type_debat: a(),
480
+ decision: Wt.optional(),
481
+ ouvertureSeance: w.optional(),
482
+ qualite: a(),
483
+ nom_orateur: a()
484
+ })), qt = c.object({ point: w }), Jt = c.object({
485
+ journee: c.string(),
486
+ session: c.string()
487
+ }), Yt = c.object({
488
+ quantiemes: Jt,
489
+ ouvertureSeance: t(w).optional(),
490
+ point: t(w),
491
+ finSeance: qt.optional(),
492
+ paragraphe: t(w).optional()
493
+ }), Xt = c.object({
494
+ id_syceron: c.string(),
495
+ intitule: a(),
496
+ sousIntitule: a(),
497
+ type_debat: a()
498
+ }), T = c.lazy(() => c.object({
499
+ valeur_pts_odj: a(),
500
+ titreStruct: Xt,
501
+ para: t(c.union([C, c.string()])).optional(),
502
+ sommaire2: t(T).optional(),
503
+ sommaire3: t(T).optional(),
504
+ presidentSeance: t(C).optional(),
505
+ type_debat: a()
506
+ })), Zt = c.object({
507
+ presidentSeance: C,
508
+ sommaire1: t(T),
509
+ sommaire2: t(T).optional(),
510
+ sommaire3: t(T).optional(),
511
+ para: t(C).optional()
512
+ }), Qt = c.object({
513
+ dateSeance: c.string(),
514
+ dateSeanceJour: c.string(),
515
+ numSeanceJour: c.string(),
516
+ numSeance: c.string(),
517
+ typeAssemblee: c.string(),
518
+ legislature: c.string(),
519
+ session: c.string(),
520
+ nomFichierJo: c.string(),
521
+ validite: c.string(),
522
+ etat: c.string(),
523
+ diffusion: c.string(),
524
+ version: c.string(),
525
+ environnement: c.string(),
526
+ heureGeneration: c.iso.datetime({ offset: !0 }),
527
+ sommaire: Zt
528
+ }), $t = c.object({
529
+ xmlns: c.string(),
530
+ uid: o(),
531
+ seanceRef: c.string(),
532
+ sessionRef: c.string(),
533
+ metadonnees: Qt,
534
+ contenu: Yt
535
+ });
536
+ c.object({ compteRendu: $t });
537
+ var en = c.object({ compteRendu: t($t) });
538
+ c.object({ compteRendu: en });
539
+ //#endregion
540
+ //#region src/schemas/raw/dossiers_legislatifs.ts
541
+ var tn = /* @__PURE__ */ "AN1.AN1-ACIN.AN1-AVCE.AN1-COM.AN1-COM-AVIS.AN1-COM-AVIS-NOMIN.AN1-COM-AVIS-RAPPORT.AN1-COM-AVIS-REUNION.AN1-COM-AVIS-SAISIE.AN1-COM-FOND.AN1-COM-FOND-NOMIN.AN1-COM-FOND-RAPPORT.AN1-COM-FOND-REUNION.AN1-COM-FOND-SAISIE.AN1-DEBATS.AN1-DEBATS-DEC.AN1-DEBATS-MOTION.AN1-DEBATS-MOTION-VOTE.AN1-DEBATS-SEANCE.AN1-DEPOT.AN1-DGVT.AN1-DPTLETTRECT.AN1-ETI.AN1-MOTION.AN1-MOTION-VOTE.AN1-PROCACC.AN1-RECBUREAU.AN1-RTRINI.AN2.AN20.AN20-COMENQ.AN20-COMENQ-CREA.AN20-COMENQ-NOMIN.AN20-COMENQ-RAPPORT.AN20-MISINF.AN20-MISINF-CREA.AN20-MISINF-NOMIN.AN20-MISINF-RAPPORT.AN20-RAPPORT.AN21.AN21-APAN.AN21-DEBATS.AN21-DEBATS-MOTION-VOTE.AN21-DEBATS-SEANCE.AN21-DGVT.AN21-MOTION.AN21-MOTION-VOTE.AN21-MPR.AN2-COM.AN2-COM-AVIS.AN2-COM-AVIS-RAPPORT.AN2-COM-AVIS-REUNION.AN2-COM-AVIS-SAISIE.AN2-COM-FOND.AN2-COM-FOND-NOMIN.AN2-COM-FOND-RAPPORT.AN2-COM-FOND-REUNION.AN2-COM-FOND-SAISIE.AN2-DEBATS.AN2-DEBATS-DEC.AN2-DEBATS-SEANCE.AN2-DEPOT.AN3.AN3-COM.AN3-COM-FOND.AN3-COM-FOND-NOMIN.AN3-COM-FOND-RAPPORT.AN3-COM-FOND-REUNION.AN3-COM-FOND-SAISIE.AN3-DEBATS.AN3-DEBATS-DEC.AN3-DEBATS-SEANCE.AN3-DEPOT.AN-APPLI.AN-APPLI-RAPPORT.ANLDEF.ANLDEF-COM.ANLDEF-COM-FOND.ANLDEF-COM-FOND-RAPPORT.ANLDEF-COM-FOND-REUNION.ANLDEF-COM-FOND-SAISIE.ANLDEF-DEBATS.ANLDEF-DEBATS-DEC.ANLDEF-DEBATS-MOTION-VOTE.ANLDEF-DEBATS-SEANCE.ANLDEF-DEPOT.ANLDEF-DGVT.ANLDEF-MOTION.ANLDEF-MOTION-VOTE.ANLUNI.ANLUNI-COM.ANLUNI-COM-CAE.ANLUNI-COM-CAE-DEC.ANLUNI-COM-CAE-NOMIN.ANLUNI-COM-CAE-RAPPORT.ANLUNI-COM-CAE-REUNION.ANLUNI-COM-CAE-SAISIE.ANLUNI-COM-FOND.ANLUNI-COM-FOND-NOMIN.ANLUNI-COM-FOND-RAPPORT.ANLUNI-COM-FOND-REUNION.ANLUNI-COM-FOND-SAISIE.ANLUNI-DEBATS.ANLUNI-DEBATS-DEC.ANLUNI-DEBATS-SEANCE.ANLUNI-DEPOT.ANLUNI-RTRINI.ANNLEC.ANNLEC-COM.ANNLEC-COM-AVIS.ANNLEC-COM-AVIS-NOMIN.ANNLEC-COM-AVIS-RAPPORT.ANNLEC-COM-AVIS-REUNION.ANNLEC-COM-AVIS-SAISIE.ANNLEC-COM-FOND.ANNLEC-COM-FOND-NOMIN.ANNLEC-COM-FOND-RAPPORT.ANNLEC-COM-FOND-REUNION.ANNLEC-COM-FOND-SAISIE.ANNLEC-DEBATS.ANNLEC-DEBATS-DEC.ANNLEC-DEBATS-MOTION-VOTE.ANNLEC-DEBATS-SEANCE.ANNLEC-DEPOT.ANNLEC-DGVT.ANNLEC-MOTION.ANNLEC-MOTION-VOTE.CC.CC-CONCLUSION.CC-SAISIE-AN.CC-SAISIE-DROIT.CC-SAISIE-PAN.CC-SAISIE-PM.CC-SAISIE-PR.CC-SAISIE-PSN.CC-SAISIE-SN.CG22.CG22-CONV.CG22-DEBATS.CG22-DEBATS-DEC.CG22-DEBATS-SEANCE.CMP.CMP-COM.CMP-COM-NOMIN.CMP-COM-RAPPORT-AN.CMP-COM-RAPPORT-SN.CMP-DEBATS.CMP-DEBATS-AN.CMP-DEBATS-AN-DEC.CMP-DEBATS-AN-SEANCE.CMP-DEBATS-DEC.CMP-DEBATS-SN.CMP-DEBATS-SN-DEC.CMP-DEBATS-SN-SEANCE.CMP-DEC.CMP-DEPOT.CMP-DGVT.CMP-MOTION.CMP-MOTION-VOTE.CMP-SAISIE.EU.EU-DEC.MOTION.MOTION-VOTE.PROM.PROM-PUB.SN1.SN1-AVCE.SN1-COM.SN1-COM-AVIS.SN1-COM-AVIS-NOMIN.SN1-COM-AVIS-RAPPORT.SN1-COM-AVIS-SAISIE.SN1-COM-FOND.SN1-COM-FOND-NOMIN.SN1-COM-FOND-RAPPORT.SN1-COM-FOND-SAISIE.SN1-DEBATS.SN1-DEBATS-DEC.SN1-DEBATS-MOTION.SN1-DEBATS-MOTION-VOTE.SN1-DEBATS-SEANCE.SN1-DEPOT.SN1-DPTLETTRECT.SN1-ETI.SN1-PROCACC.SN1-RTRINI.SN2.SN2-COM.SN2-COM-AVIS.SN2-COM-AVIS-NOMIN.SN2-COM-AVIS-RAPPORT.SN2-COM-AVIS-SAISIE.SN2-COM-FOND.SN2-COM-FOND-NOMIN.SN2-COM-FOND-RAPPORT.SN2-COM-FOND-SAISIE.SN2-DEBATS.SN2-DEBATS-DEC.SN2-DEBATS-SEANCE.SN2-DEPOT.SN3.SN3-COM.SN3-COM-FOND.SN3-COM-FOND-RAPPORT.SN3-COM-FOND-SAISIE.SN3-DEBATS.SN3-DEBATS-DEC.SN3-DEBATS-SEANCE.SN3-DEPOT.SNNLEC.SNNLEC-COM.SNNLEC-COM-FOND.SNNLEC-COM-FOND-NOMIN.SNNLEC-COM-FOND-RAPPORT.SNNLEC-COM-FOND-SAISIE.SNNLEC-DEBATS.SNNLEC-DEBATS-DEC.SNNLEC-DEBATS-SEANCE.SNNLEC-DEPOT".split("."), nn = c.enum(tn), E = c.enum([
542
+ "accordInternational_Type",
543
+ "avisConseilEtat_Type",
544
+ "documentEtudeImpact_Type",
545
+ "rapportParlementaire_Type",
546
+ "texteLoi_Type"
547
+ ]), D = c.enum([
548
+ "auteur",
549
+ "cosignataire",
550
+ "rapporteur",
551
+ "rapporteur général",
552
+ "rapporteur pour avis",
553
+ "rapporteur spécial"
554
+ ]), rn = /* @__PURE__ */ "ACCPRESRP.APPART1515.APPART341.APPLOI.AUE.AUTRATCONV.AVECVOTE.CENSURE492.CENSURE493.COMENQ.COMPA.COMSPCPTE.CONST.CTRLBUDG.DIVERS.ENGRESPTXT.ENQU.FIN.FINGEST.FINRECT.FINSSOC.FINSSOCREC.IMPACTLOIS.LEGDELEGAN.MINFOCOMPER.MODREGLTAN.NOTEOPECST.OFFPARL.ORG.PETITION.PRESIDAGE.PRESIDASS.PRESIDREP.PROPACTCOM.PRPDIT.RECT.REFART11.RGLTBUDG.RGLTBUDG2.SUPP.SUSPOURS.TVXINSTITEUROP".split("."), an = c.enum(rn), on = c.enum([
555
+ "ADOPTCOM",
556
+ "ADOPTSEANCE",
557
+ "REJETSEANCE"
558
+ ]), sn = c.enum(["Rectifié"]), cn = c.enum([
559
+ "Allocution",
560
+ "Avis",
561
+ "Déclaration",
562
+ "Lettre",
563
+ "Message",
564
+ "Motion",
565
+ "Projet de loi",
566
+ "Proposition de loi",
567
+ "Proposition de résolution",
568
+ "Rapport",
569
+ "Rapport d'information",
570
+ "Résolution"
571
+ ]), ln = c.enum([
572
+ "Commission",
573
+ "Séance",
574
+ "Texte Déposé"
575
+ ]), un = c.enum([
576
+ "DossierCommissionEnquete_Type",
577
+ "DossierIniativeExecutif_Type",
578
+ "DossierLegislatif_Type",
579
+ "DossierMissionControle_Type",
580
+ "DossierMissionInformation_Type",
581
+ "DossierResolutionAN"
582
+ ]), dn = c.enum([
583
+ "Budget annexe",
584
+ "Budget général",
585
+ "Compte de concours financier",
586
+ "Compte spécial",
587
+ "Première partie"
588
+ ]), fn = c.enum([
589
+ "mission principale",
590
+ "mission secondaire",
591
+ "partie de mission"
592
+ ]), pn = /* @__PURE__ */ "Adoption_Europe_Type.ConclusionEtapeCC_Type.ConvocationCongres_Type.CreationOrganeTemporaire_Type.DecisionMotionCensure_Type.DecisionRecevabiliteBureau_Type.Decision_Type.DeclarationGouvernement_Type.DepotAccordInternational_Type.DepotAvisConseilEtat_Type.DepotInitiativeNavette_Type.DepotInitiative_Type.DepotLettreRectificative_Type.DepotMotionCensure_Type.DepotMotionReferendaire_Type.DepotRapport_Type.DiscussionCommission_Type.DiscussionSeancePublique_Type.Etape_Type.EtudeImpact_Type.MotionProcedure_Type.NominRapporteurs_Type.ProcedureAccelere_Type.Promulgation_Type.RenvoiPrealable_Type.RenvoiCMP_Type.RetraitInitiative_Type.SaisieComAvis_Type.SaisieComFond_Type.SaisineConseilConstit_Type".split("."), mn = c.enum(pn), hn = c.enum(["BTA", "TAP"]), gn = c.enum(["En application de l'article 61§2 de la Constitution"]), _n = c.enum(["JO_LOI_DECRET"]), vn = c.enum(["Dossier absorbé", "Examen commun"]), yn = c.enum(["Décret"]), O = c.object({
593
+ code: c.string(),
594
+ libelle: c.string()
595
+ }), bn = c.object({
596
+ code: an,
597
+ libelle: a(),
598
+ libelleEdition: a()
599
+ }), xn = c.object({
600
+ depot: O,
601
+ classe: O,
602
+ espece: O.optional()
603
+ }), Sn = c.object({
604
+ famille: xn.nullable(),
605
+ type: O,
606
+ sousType: bn.nullable(),
607
+ statutAdoption: on.nullable()
608
+ }), Cn = c.object({
609
+ dateCreation: n(),
610
+ dateDepot: n(),
611
+ datePublication: n(),
612
+ datePublicationWeb: n()
613
+ }), wn = c.object({ chrono: Cn }), Tn = c.object({
614
+ titrePrincipal: c.string(),
615
+ titrePrincipalCourt: c.string()
616
+ }), En = c.object({
617
+ acteurRef: r(),
618
+ qualite: D
619
+ }), Dn = c.object({ organeRef: e() }), On = c.object({
620
+ acteur: En.optional(),
621
+ organe: Dn.optional()
622
+ }), kn = c.object({ auteur: t(On) }), An = c.object({
623
+ typeCorrection: sn,
624
+ niveauCorrection: a()
625
+ }), k = c.object({
626
+ numNotice: a(),
627
+ formule: a(),
628
+ adoptionConforme: c.string()
629
+ }), A = c.object({
630
+ DIAN: c.string().nullable().optional(),
631
+ ISBN: c.string().nullable().optional(),
632
+ ISSN: c.string().nullable().optional(),
633
+ nbPage: c.string().nullable().optional(),
634
+ prix: c.string().nullable()
635
+ }), jn = c.object({ libelleTheme: c.string() }), Mn = c.object({
636
+ "@niveau": c.string(),
637
+ theme: jn
638
+ }), j = c.object({ themes: Mn }), Nn = c.object({ organeRef: t(e()) }), Pn = c.object({ acteurRef: r() }), Fn = c.object({
639
+ organeRef: e(),
640
+ etApparentes: c.string()
641
+ }), In = c.object({
642
+ acteur: Pn.optional(),
643
+ dateCosignature: c.string(),
644
+ dateRetraitCosignature: c.string().nullable(),
645
+ edite: c.string(),
646
+ organe: Fn.optional()
647
+ }), Ln = c.object({ coSignataire: t(In) }), Rn = c.object({
648
+ amendable: c.string(),
649
+ dateLimiteDepot: c.null()
650
+ }), zn = c.object({
651
+ organeRef: e(),
652
+ amendable: c.string(),
653
+ dateLimiteDepot: c.null()
654
+ }), Bn = c.object({ commission: t(zn) }), Vn = c.object({
655
+ amendementsSeance: Rn,
656
+ amendementsCommission: Bn.optional()
657
+ }), Hn = c.lazy(() => c.object({
658
+ "@xsi:type": E,
659
+ uid: o(),
660
+ legislature: c.string().nullable(),
661
+ cycleDeVie: wn,
662
+ denominationStructurelle: c.string(),
663
+ titres: Tn,
664
+ divisions: M.nullable(),
665
+ dossierRef: c.string(),
666
+ redacteur: c.null(),
667
+ classification: Sn,
668
+ auteurs: kn,
669
+ organesReferents: Nn.nullable().optional(),
670
+ correction: An.nullable(),
671
+ notice: k,
672
+ indexation: j.nullable(),
673
+ imprimerie: A.nullable(),
674
+ coSignataires: c.null().optional(),
675
+ depotAmendements: c.null().optional(),
676
+ rapportPublie: c.union([
677
+ c.literal("true"),
678
+ c.literal("false"),
679
+ c.literal("undefined")
680
+ ]).optional()
681
+ })), M = c.object({ division: t(Hn) }), Un = c.object({ dateSuppression: i() }), Wn = c.object({
682
+ "@xmlns": c.string(),
683
+ "@xmlns:xsi": c.string(),
684
+ "@xsi:type": E,
685
+ uid: o(),
686
+ metadatas: Un
687
+ }), Gn = c.object({
688
+ "@xmlns": c.string(),
689
+ "@xmlns:xsi": c.string(),
690
+ "@xsi:type": E,
691
+ uid: o(),
692
+ legislature: c.string().nullable(),
693
+ cycleDeVie: wn,
694
+ denominationStructurelle: cn,
695
+ provenance: ln.optional(),
696
+ titres: Tn,
697
+ divisions: M.nullable(),
698
+ dossierRef: c.string(),
699
+ redacteur: c.null(),
700
+ classification: Sn,
701
+ auteurs: kn,
702
+ correction: An.nullable(),
703
+ notice: k,
704
+ indexation: j.nullable(),
705
+ imprimerie: A.nullable(),
706
+ coSignataires: Ln.nullable().optional(),
707
+ depotAmendements: Vn.nullable().optional(),
708
+ organesReferents: Nn.nullable().optional(),
709
+ rapportPublie: c.union([
710
+ c.literal("true"),
711
+ c.literal("false"),
712
+ c.literal("undefined")
713
+ ]).optional()
714
+ });
715
+ c.object({ document: c.union([Gn, Wn]) });
716
+ var Kn = c.object({
717
+ "@xsi:type": E,
718
+ uid: o(),
719
+ legislature: c.string().nullable(),
720
+ cycleDeVie: wn,
721
+ denominationStructurelle: cn,
722
+ provenance: ln.optional(),
723
+ titres: Tn,
724
+ divisions: M.nullable(),
725
+ dossierRef: c.string(),
726
+ redacteur: c.null(),
727
+ classification: Sn,
728
+ auteurs: kn,
729
+ correction: An.nullable(),
730
+ notice: k,
731
+ indexation: j.nullable(),
732
+ imprimerie: A.nullable(),
733
+ coSignataires: Ln.nullable().optional(),
734
+ depotAmendements: Vn.nullable().optional(),
735
+ rapportPublie: c.union([
736
+ c.literal("true"),
737
+ c.literal("false"),
738
+ c.literal("undefined")
739
+ ]).optional()
740
+ }), qn = c.object({ document: c.array(Kn) }), Jn = c.object({
741
+ titre: c.string(),
742
+ titreChemin: c.string().nullable(),
743
+ senatChemin: c.string().nullable()
744
+ }), Yn = c.object({ uid: o() }), Xn = c.object({ organeRef: Yn }), Zn = c.object({ organe: Xn }), Qn = c.object({
745
+ acteurRef: r(),
746
+ mandatRef: c.string()
747
+ }), $n = c.object({ acteur: t(Qn) }), N = c.object({
748
+ acteurs: $n.optional(),
749
+ organes: Zn.optional()
750
+ }), er = c.object({
751
+ acteurRef: a(),
752
+ organeRef: a()
753
+ }), tr = c.object({
754
+ cause: vn,
755
+ dossierAbsorbantRef: c.string()
756
+ }), P = c.object({
757
+ acteurRef: r(),
758
+ typeRapporteur: D,
759
+ etudePLFRef: a()
760
+ }), nr = c.object({ rapporteur: t(P) }), rr = c.lazy(() => c.object({
761
+ typeMission: fn,
762
+ codeMission: a(),
763
+ libelleLong: s(),
764
+ libelleCourt: s(),
765
+ typeBudget: dn,
766
+ missions: ir.optional()
767
+ })), ir = c.object({ mission: t(rr) }), ar = c.object({
768
+ uid: o(),
769
+ organeRef: e(),
770
+ texteAssocie: a(),
771
+ rapporteur: c.union([t(P), P]).optional(),
772
+ missionMinefi: rr.optional(),
773
+ ordreDIQS: c.string(),
774
+ ordreCommission: c.string()
775
+ }), or = c.object({ EtudePLF: c.array(ar) }), F = c.object({
776
+ fam_code: c.string(),
777
+ libelle: a()
778
+ }), sr = c.object({
779
+ nomCanonique: c.string(),
780
+ libelleCourt: a()
781
+ }), cr = c.object({
782
+ dateFermeture: c.string().nullable(),
783
+ dateOuverture: a()
784
+ }), lr = c.object({ voteRef: t(c.string()) }), ur = c.object({
785
+ typeTexte: hn,
786
+ refTexteAssocie: c.string()
787
+ }), dr = c.object({ texteAssocie: t(ur) }), fr = c.object({ acteurRef: t(r()) }), pr = c.object({
788
+ typeJO: _n,
789
+ dateJO: c.string(),
790
+ pageJO: c.null(),
791
+ numJO: c.string(),
792
+ urlLegifrance: s(),
793
+ referenceNOR: a()
794
+ }), mr = c.object({
795
+ typeTexteEuropeen: c.string(),
796
+ titreTexteEuropeen: c.string()
797
+ }), hr = c.object({
798
+ refJOCE: c.string(),
799
+ dateJOCE: c.string()
800
+ }), gr = c.object({
801
+ typeDoc: yn,
802
+ texteRef: c.string(),
803
+ titreDoc: c.string(),
804
+ urlDoc: c.string()
805
+ }), _r = c.lazy(() => c.object({
806
+ "@xsi:type": mn,
807
+ uid: o(),
808
+ codeActe: nn,
809
+ libelleActe: sr,
810
+ organeRef: a(),
811
+ dateActe: n(),
812
+ actesLegislatifs: vr.nullable().optional(),
813
+ texteAssocie: a(),
814
+ contributionInternaute: cr.optional(),
815
+ provenance: a(),
816
+ depotInitialLectureDefinitiveRef: c.union([c.null(), c.string()]).optional(),
817
+ initiateur: N.optional(),
818
+ statutConclusion: F.optional(),
819
+ reunionRef: c.string().nullable().optional(),
820
+ odjRef: c.string().nullable().optional(),
821
+ odSeancejRef: c.null().optional(),
822
+ voteRefs: lr.nullable().optional(),
823
+ textesAssocies: dr.optional(),
824
+ rapporteurs: nr.optional(),
825
+ reunion: c.null().optional(),
826
+ texteAdopte: c.string().nullable().optional(),
827
+ casSaisine: F.optional(),
828
+ decision: F.optional(),
829
+ formuleDecision: a(),
830
+ initiateurs: er.nullable().optional(),
831
+ motif: gn.optional(),
832
+ urlConclusion: a(),
833
+ numDecision: a(),
834
+ anneeDecision: a(),
835
+ typeDeclaration: F.optional(),
836
+ typeMotionCensure: F.optional(),
837
+ auteurs: fr.nullable().optional(),
838
+ typeMotion: F.optional(),
839
+ auteurMotion: a(),
840
+ dateRetrait: c.null().optional(),
841
+ texteLoiRef: a(),
842
+ infoJO: pr.nullable().optional(),
843
+ urlEcheancierLoi: c.string().nullable().optional(),
844
+ codeLoi: a(),
845
+ titreLoi: c.string().nullable().optional(),
846
+ infoJORect: c.union([t(pr), pr]).optional(),
847
+ texteEuropeen: mr.optional(),
848
+ infoJOCE: hr.optional(),
849
+ statutAdoption: F.optional(),
850
+ urlLegifrance: a(),
851
+ referenceNOR: a(),
852
+ texteExterneAssocie: gr.optional()
853
+ })), vr = c.object({ acteLegislatif: t(_r) }), yr = c.object({
854
+ "@xmlns": c.string(),
855
+ "@xmlns:xsi": c.string(),
856
+ "@xsi:type": un,
857
+ uid: o(),
858
+ legislature: c.string(),
859
+ titreDossier: Jn,
860
+ procedureParlementaire: O,
861
+ initiateur: N.nullable(),
862
+ actesLegislatifs: vr.nullable(),
863
+ indexation: j.optional(),
864
+ fusionDossier: tr.nullable(),
865
+ PLF: or.optional()
866
+ });
867
+ c.object({ dossierParlementaire: yr });
868
+ var br = c.object({
869
+ "@xsi:type": un.optional(),
870
+ uid: o(),
871
+ legislature: c.string(),
872
+ titreDossier: Jn,
873
+ procedureParlementaire: O,
874
+ initiateur: N.nullable(),
875
+ actesLegislatifs: vr,
876
+ indexation: j.optional(),
877
+ fusionDossier: tr.nullable(),
878
+ PLF: or.optional()
879
+ }), xr = c.object({ dossierParlementaire: br }), Sr = c.object({ dossier: c.array(xr) }), Cr = c.object({
880
+ "@xmlns:xsi": c.string(),
881
+ textesLegislatifs: qn,
882
+ dossiersLegislatifs: Sr
883
+ });
884
+ c.object({ export: Cr });
885
+ //#endregion
886
+ //#region src/schemas/raw/questions.ts
887
+ var wr = [
888
+ "QuestionEcrite_Type",
889
+ "QuestionGouvernement_Type",
890
+ "QuestionOrale_Type"
891
+ ], Tr = c.enum(wr), Er = [
892
+ "QE",
893
+ "QG",
894
+ "QOSD"
895
+ ], Dr = c.enum(Er), Or = Dr, kr = c.enum([
896
+ "JO_QUESTION",
897
+ "JO_LOI_DECRET",
898
+ "JO_DEBAT"
899
+ ]), Ar = c.object({
900
+ numero: c.string(),
901
+ regime: c.string(),
902
+ legislature: c.string()
903
+ }), jr = c.object({
904
+ organeRef: e().meta({ description: "Référence à l'organe." }),
905
+ abrege: c.string(),
906
+ developpe: c.string()
907
+ }), Mr = c.object({
908
+ acteurRef: r().meta({ description: "Référence à l'acteur." }),
909
+ mandatRef: c.string()
910
+ }), Nr = c.object({
911
+ identite: Mr,
912
+ groupe: jr
913
+ }), I = c.object({
914
+ typeJO: kr.nullable(),
915
+ dateJO: i().describe("Date de publication au Journal Officiel"),
916
+ pageJO: s().nullable(),
917
+ numJO: s().nullable(),
918
+ urlLegifrance: s().nullable(),
919
+ referenceNOR: s().nullable()
920
+ }), Pr = c.object({ analyse: s().nullable() }), Fr = c.object({
921
+ rubrique: s().nullable(),
922
+ teteAnalyse: c.null(),
923
+ analyses: Pr
924
+ }), Ir = c.object({
925
+ infoJO: I,
926
+ denomination: jr
927
+ }), Lr = c.object({ minAttrib: t(Ir) }), Rr = c.object({
928
+ infoJO: I,
929
+ texte: s().nullable(),
930
+ erratum: c.string().optional()
931
+ }), zr = c.object({ texteQuestion: t(Rr) }), Br = c.object({ texteReponse: t(Rr) }), Vr = c.object({
932
+ codeCloture: c.string(),
933
+ libelleCloture: c.string(),
934
+ dateCloture: n(),
935
+ infoJO: I.nullable()
936
+ }), Hr = c.object({
937
+ dateDepotSignal: i().describe("Date de dépôt du signalement"),
938
+ infoJO: I
939
+ }), Ur = c.object({ infoJO: I }), Wr = c.object({ renouvellement: t(Ur) }), Gr = c.object({
940
+ "@xmlns": c.string().optional(),
941
+ "@xmlns:xsi": c.string(),
942
+ "@xsi:type": Tr,
943
+ uid: o().meta({ description: "Identifiant unique de la question." }),
944
+ identifiant: Ar,
945
+ type: Or,
946
+ indexationAN: Fr,
947
+ auteur: Nr,
948
+ minInt: jr,
949
+ minAttribs: Lr,
950
+ textesQuestion: zr.nullable().optional(),
951
+ textesReponse: Br.nullable().optional(),
952
+ cloture: Vr.nullable().optional(),
953
+ signalement: Hr.nullable().optional(),
954
+ renouvellements: Wr.nullable().optional()
955
+ });
956
+ c.object({ question: Gr });
957
+ var Kr = c.object({ question: c.array(Gr) });
958
+ c.object({ questions: Kr });
959
+ //#endregion
960
+ //#region src/schemas/raw/scrutins.ts
961
+ var qr = [
962
+ "MG",
963
+ "PAN",
964
+ "PSE"
965
+ ], Jr = c.enum(qr), Yr = ["adopté", "rejeté"], Xr = c.enum(Yr), Zr = [
966
+ "MOC",
967
+ "SAT",
968
+ "SPO",
969
+ "SPS",
970
+ "SSG"
971
+ ], Qr = c.enum(Zr), $r = [
972
+ "l'Assemblée nationale a adopté",
973
+ "L'Assemblée nationale n'a pas adopté",
974
+ "Le Congrès du Parlement a adopté",
975
+ "Le Congrès du Parlement n'a pas adopté"
976
+ ], L = c.enum($r), ei = [
977
+ "motion de censure",
978
+ "scrutin public ordinaire",
979
+ "scrutin public solennel",
980
+ "scrutin à la tribune",
981
+ "Scrutin solennel congrès"
982
+ ], ti = c.enum(ei), ni = [
983
+ "Congrès",
984
+ "Hémicycle",
985
+ "Salons"
986
+ ], ri = c.enum(ni), ii = ["DecompteDissidentsPositionGroupe", "DecompteNominatif"], R = c.enum(ii), ai = [
987
+ "abstention",
988
+ "contre",
989
+ "pour"
990
+ ], oi = c.enum(ai), si = [
991
+ "Majorité absolue des suffrages exprimés",
992
+ "majorité absolue des suffrages exprimés",
993
+ "majorité des membres composant l'Assemblée nationale",
994
+ "majorité des membres composants composant l'Assemblée",
995
+ "majorité des membres composants composant l'Assemblée nationale",
996
+ "Majorité requise pour un Congrès",
997
+ "Majorité requise pour une motion de censure"
998
+ ], ci = c.enum(si), li = Xr, ui = L, di = c.object({
999
+ texte: c.string().nullable(),
1000
+ referenceLegislative: c.null()
1001
+ }), fi = c.object({
1002
+ libelle: c.string(),
1003
+ dossierRef: c.string()
1004
+ }), pi = c.object({
1005
+ libelle: c.string(),
1006
+ referenceLegislative: c.null(),
1007
+ dossierLegislatif: c.union([fi, c.null()]).optional()
1008
+ }), mi = c.object({
1009
+ code: li,
1010
+ libelle: ui
1011
+ }), hi = c.object({
1012
+ codeTypeVote: Qr,
1013
+ libelleTypeVote: ti,
1014
+ typeMajorite: ci
1015
+ }), gi = c.object({
1016
+ pour: c.string(),
1017
+ contre: c.string(),
1018
+ abstentions: c.string(),
1019
+ nonVotants: c.string().nullable(),
1020
+ nonVotantsVolontaires: c.string().optional()
1021
+ }), _i = c.object({
1022
+ nombreVotants: c.string(),
1023
+ suffragesExprimes: c.string(),
1024
+ nbrSuffragesRequis: c.string(),
1025
+ annonce: ui,
1026
+ decompte: gi
1027
+ }), vi = c.object({
1028
+ acteurRef: r(),
1029
+ mandatRef: c.string(),
1030
+ parDelegation: c.string().optional(),
1031
+ numPlace: c.string().nullable().optional(),
1032
+ causePositionVote: Jr.optional()
1033
+ }), z = c.object({ votant: t(vi) }), yi = c.object({
1034
+ pour: c.string(),
1035
+ contre: c.string(),
1036
+ abstention: c.string().optional(),
1037
+ nonVotant: c.string().nullable().optional(),
1038
+ nonVotants: c.string().optional(),
1039
+ abstentions: c.string().optional(),
1040
+ nonVotantsVolontaires: c.string().optional()
1041
+ }), bi = c.object({
1042
+ nonVotant: c.null().optional(),
1043
+ nonVotants: c.union([z, c.string()]).nullable().optional(),
1044
+ pour: z.nullable().optional(),
1045
+ contre: z.nullable().optional(),
1046
+ abstention: z.nullable().optional(),
1047
+ abstentions: z.nullable().optional(),
1048
+ pours: z.nullable().optional(),
1049
+ contres: z.nullable().optional()
1050
+ }), xi = c.object({
1051
+ positionMajoritaire: oi,
1052
+ decompteVoix: yi,
1053
+ decompteNominatif: bi
1054
+ }), Si = c.object({
1055
+ organeRef: e(),
1056
+ nombreMembresGroupe: c.string(),
1057
+ vote: xi
1058
+ }), Ci = c.object({ groupe: t(Si) }), wi = c.object({
1059
+ organeRef: e(),
1060
+ groupes: Ci
1061
+ }), Ti = c.object({ organe: wi }), Ei = c.object({
1062
+ nonVotants: z.nullable(),
1063
+ pour: z.nullable(),
1064
+ contre: z.nullable(),
1065
+ abstentions: z.nullable(),
1066
+ nonVotantsVolontaires: z.nullable()
1067
+ }), Di = c.object({
1068
+ nonVotants: t(z.nullable()).nullable(),
1069
+ pour: z.nullable().optional(),
1070
+ contre: z.nullable().optional(),
1071
+ abstentions: t(z.nullable()).optional(),
1072
+ nonVotantsVolontaires: t(z.nullable()).optional(),
1073
+ pours: z.nullable().optional(),
1074
+ contres: z.nullable().optional(),
1075
+ dysfonctionnement: Ei.optional()
1076
+ }), Oi = c.object({
1077
+ "@xmlns:xsi": c.string(),
1078
+ "@xmlns": c.string().optional(),
1079
+ uid: o(),
1080
+ numero: c.string(),
1081
+ organeRef: e(),
1082
+ legislature: c.string(),
1083
+ sessionRef: c.string(),
1084
+ seanceRef: c.string(),
1085
+ dateScrutin: i(),
1086
+ quantiemeJourSeance: c.string(),
1087
+ typeVote: hi,
1088
+ sort: mi,
1089
+ titre: c.string(),
1090
+ demandeur: di,
1091
+ objet: pi,
1092
+ modePublicationDesVotes: R,
1093
+ syntheseVote: _i,
1094
+ ventilationVotes: Ti,
1095
+ miseAuPoint: Di.nullable(),
1096
+ lieuVote: ri.optional()
1097
+ });
1098
+ c.object({ scrutin: Oi });
1099
+ var ki = c.object({ scrutin: t(Oi) });
1100
+ c.object({ scrutins: ki });
1101
+ //#endregion
1102
+ //#region src/uids.ts
1103
+ var Ai = /^((?<documentType>ACIN|ALCN|AVCE|AVIS|DECL|ETDI|LETT|MESS|MION|PION|PNRE|PRJL|RAPP|RINF|RION)(?<chambre>AN|CG|SN)(?<republique>R\d+)[LS](?<legislature>\d+)(?<etat>B|BTA|BTC|TAP)(?<numero>\d+)(-.*)?)|((?<documentType2>MION)(?<chambre2>AN|SN)(?<republique2>R\d+)[LS](?<legislature2>\d+)-N(?<numero2>\d+))$/, ji = /^DL(R\d+)(L\d+)N(\d+)$/, Mi = /^RU(AN|CG|SN)(R\d+)(L\d+)([AS]\d{4})(IDC|IDFL?|IDS)(\d+)$/, Ni = /^VT(AN|CG)(R\d+)(L\d+)V(\d+)$/, Pi = /^CR(S|C)(AN|CG)(R\d+)(L\d+)(S\d+)((?:O|E|D|PO)\d+)(N\d+)$/, Fi = /^QAN(R\d+)(L\d+)Q(E|G|OSD)(\d+)$/, Ii = c.enum([
1104
+ "AdresseMail_Type",
1105
+ "AdressePostale_Type",
1106
+ "AdresseSiteWeb_Type",
1107
+ "AdresseTelephonique_Type"
1108
+ ]), Li = c.object({
1109
+ civ: d,
1110
+ prenom: c.string().meta({ description: "Prénom." }),
1111
+ nom: c.string().meta({ description: "Nom." }),
1112
+ alpha: c.string().meta({ description: "La signification de ce champ est indéfinie." }),
1113
+ trigramme: c.string().optional().meta({ description: "La signification de ce champ est indéfinie." })
1114
+ }).meta({ description: "Identité" }), Ri = c.object({
1115
+ dateNais: n().meta({ description: "Date de naissance." }),
1116
+ villeNais: c.string().optional().meta({ description: "Ville de naissance." }),
1117
+ depNais: f.optional().meta({ description: "Département de naissance." }),
1118
+ paysNais: c.string().optional().meta({ description: "Pays de naissance." })
1119
+ }), zi = c.object({
1120
+ ident: Li,
1121
+ infoNaissance: Ri.optional(),
1122
+ dateDeces: n().meta({ description: "Date du décès" })
1123
+ }).meta({
1124
+ title: "État civil",
1125
+ description: "L'état civil est la situation de la personne dans la société, résultat d'une procédure écrite d'identification administrative."
1126
+ }), Bi = c.object({
1127
+ catSocPro: c.string().optional().meta({ description: "Catégorie socio professionelle de l'INSEE." }),
1128
+ famSocPro: se.optional().meta({ description: "Famille socio professionelle de l'INSEE." })
1129
+ }), Vi = c.object({
1130
+ libelleCourant: c.string().optional().meta({ description: "Profession." }),
1131
+ socProcInsee: Bi.optional()
1132
+ }).meta({ description: "Profession" }), Hi = c.object({
1133
+ xsiType: Ii,
1134
+ uid: c.string().meta({ description: "Identifiant unique." }),
1135
+ type: c.string().meta({ description: "Détermine l'interprétation des champs **adresseDeRattachement** et **valElec**. Voir aussi le champ **typeLibelle**. Nombre entier." }),
1136
+ typeLibelle: c.string().meta({ description: "Signification du champ type." }),
1137
+ poids: c.string().optional().meta({ description: "Détermine un ordre entre les valeurs d'un même type (Téléphone, courriel etc.) pour un acteur donné. Les valeurs dont le poids est le plus petit sont les premières. Nombre entier." }),
1138
+ intitule: c.string().optional().meta({ description: "Intitulé (par exemple Assemblée nationale)." }),
1139
+ numeroRue: c.string().optional().meta({ description: "Numéro de rue." }),
1140
+ nomRue: c.string().optional().meta({ description: "Nom de rue." }),
1141
+ complementAdresse: c.string().optional().meta({ description: "Complément d'adresse." }),
1142
+ codePostal: c.string().optional().meta({ description: "Code Postal." }),
1143
+ ville: c.string().optional().meta({ description: "Ville." }),
1144
+ adresseDeRattachement: c.string().optional().meta({ description: "Identifiant unique de {@link AdressePostale | l'addresse postale} associée. Uniquement renseigné pour les types Téléphone et Télécopie." }),
1145
+ valElec: c.string().optional().meta({ description: "Numéro de téléphone ou adresse électronique (courriel, site web, identifiant, etc.)" })
1146
+ }).meta({
1147
+ title: "Adresse postale et électronique",
1148
+ description: "Les adresses postales, numéros de téléphones et les adresses électroniques de l'acteur."
1149
+ }), Ui = c.object({
1150
+ codeQualite: c.string().optional().meta({ description: "Abrégé de la qualité, unifié entre les {@link CodeTypeOrgane | types d'organes}." }),
1151
+ libQualite: c.string().meta({ description: "La signification de ce champ est indéfinie." }),
1152
+ libQualiteSex: c.string().optional().meta({ description: "Titre donné en raison du mandat. (par exemple: Sénateur, Vice-Président, Membre, etc.)" })
1153
+ }), Wi = c.object({
1154
+ dateDebut: i().meta({ description: "Date de début de la nomination." }),
1155
+ dateFin: n().meta({ description: "Date de fin de la fonction." }),
1156
+ suppleantRef: r().meta({ description: "Référence au suppléant" })
1157
+ }).meta({ description: "Personne physique désignée pour remplacer le mandataire si nécessaire." }), Gi = c.object({
1158
+ region: p.optional().meta({ description: "Région de la cirsconscription du député. Uniquement si le type de territoire est Métropolitain ou Dom." }),
1159
+ regionType: _.optional(),
1160
+ departement: f.optional().meta({ description: "Si le type de territoire est Métropolitain ou Dom: {@link https://fr.wikipedia.org/wiki/D%C3%A9partement_fran%C3%A7ais#D%C3%A9nomination_des_d%C3%A9partements | nom du département} de la cirsconscription du député. Si le type de territoire est \"Collectivités d'outre-mer et Nouvelle-Calédonie\": nom de la collectivité." }),
1161
+ numDepartement: c.string().optional().meta({ description: "{@link https://fr.wikipedia.org/wiki/D%C3%A9partement_fran%C3%A7ais#Codification | Numéro du département} de la cirsconscription du député. Uniquement si le type de territoire n'est pas \"Français établis hors de France\"." }),
1162
+ numCirco: c.string().optional().meta({ description: "Numéro de la {@link https://fr.wikipedia.org/wiki/Circonscriptions_l%C3%A9gislatives_fran%C3%A7aises | circonscription du député}." })
1163
+ }).meta({ description: "Lieu" }), Ki = c.object({
1164
+ lieu: Gi,
1165
+ causeMandat: c.string().optional().meta({ description: "Élection ou nommination à l'origine du mandat (par exemple: élections générales, remplacement d'un député nommé au Gouvernement, etc.)" }),
1166
+ refCirconscription: c.string().optional().meta({ description: "La signification de ce champ est indéfinie." })
1167
+ }), qi = c.object({
1168
+ qualite: d.optional(),
1169
+ prenom: c.string().meta({ description: "Prénom." }),
1170
+ nom: c.string().meta({ description: "Nom." })
1171
+ }).meta({ description: "Collaborateur" }), Ji = c.object({
1172
+ datePriseFonction: n().meta({ description: "Date de la prise de fonction." }),
1173
+ causeFin: c.string().optional().meta({ description: "Cause de la fin du mandat (par exemple: Fin de législature, Élection au Sénat, etc.)" }),
1174
+ premiereElection: c.string().optional().meta({ description: "1 s'il s'agit d'une première élection, 0 sinon" }),
1175
+ placeHemicycle: c.string().optional().meta({ description: "Numéro de la place du député dans {@link https://fr.wikipedia.org/wiki/H%C3%A9micycle | l'hémicycle}" }),
1176
+ mandatRemplaceRef: c.string().optional().meta({ description: "Identifiant unique (uid) du mandat remplacé par ce mandat dans le cas d'une suppléance." }),
1177
+ matriculeVote: c.string().optional()
1178
+ }).meta({ description: "Détails concernant uniquement les {@link https://fr.wikipedia.org/wiki/Mandature | mandats représentatifs}." }), Yi = c.object({
1179
+ xsiType: ue.optional(),
1180
+ uid: o().meta({ description: "Identifiant unique du mandat" }),
1181
+ acteurRef: r().meta({ description: "Référence à l'acteur" }),
1182
+ legislature: c.string().optional().meta({ description: "Numéro de {@link https://fr.wikipedia.org/wiki/Liste_des_l%C3%A9gislatures_fran%C3%A7aises | la législature} sous laquelle a été créé l'organe. Nombre entier." }),
1183
+ typeOrgane: u,
1184
+ dateDebut: i().meta({ description: "Date de début de la nomination de l'acteur." }),
1185
+ datePublication: n().meta({ description: "Date de publication de la nomination au journal officiel." }),
1186
+ dateFin: n().meta({ description: "Date de fin du mandat." }),
1187
+ preseance: c.string().optional().meta({ description: "Plus le mandat est important, plus la préséance est proche de 1. Nombre entier." }),
1188
+ nominPrincipale: c.string().meta({ description: "1 pour le mandat principal, 0 sinon. Si deux mandats pour un même organe coïncident dans le temps (c'est à dire que les intervalles de temps entre leurs dates de début et de fin ont une intersection), alors le mandat principal est celui dont le champ préséance a la plus petite valeur." }),
1189
+ infosQualite: Ui,
1190
+ organesRefs: c.array(e()).meta({ description: "Identifiants uniques (uid) des {@link Organe | organes} au sein desquels le mandat est exercé." }),
1191
+ libelle: c.string().optional().meta({ description: "Libellé de la nomination. Uniquement pour les {@link http://www2.assemblee-nationale.fr/deputes/liste/deputes-en-mission | députés en mission auprès du gouvernement}." }),
1192
+ missionSuivanteRef: c.string().optional().meta({ description: "Identifiant unique (uid) du mandat suivant. Uniquement pour les {@link http://www2.assemblee-nationale.fr/deputes/liste/deputes-en-mission | députés en mission auprès du gouvernement}." }),
1193
+ missionPrecedenteRef: c.string().optional().meta({ description: "Identifiant unique (uid) du mandat précédent. Uniquement pour les {@link http://www2.assemblee-nationale.fr/deputes/liste/deputes-en-mission | députés en mission auprès du gouvernement}." }),
1194
+ suppleant: Wi.optional().meta({ description: "Personne physique désignée pour remplacer le mandataire si nécessaire." }),
1195
+ election: Ki.optional(),
1196
+ mandature: Ji.optional().meta({ description: "Détails concernant uniquement les {@link https://fr.wikipedia.org/wiki/Mandature | mandats représentatifs}." }),
1197
+ collaborateurs: c.array(qi).optional().meta({ description: "Liste des collaborateurs attachés au {@link https://fr.wikipedia.org/wiki/Mandat_repr%C3%A9sentatif | mandat représentatif}" })
1198
+ }).meta({
1199
+ title: "Mandat",
1200
+ description: "Une personne physique peut être mandataire d'un mandat représentatif ou bien d'un mandat dit simple, comme par exemple être membre d'une commission. Un {@link https://fr.wikipedia.org/wiki/Mandat_repr%C3%A9sentatif | mandat représentatif} est \"une forme de mandat politique qui possède la caractéristique d'être général, libre et non révocable\"."
1201
+ }), Xi = c.object({
1202
+ chemin: c.string(),
1203
+ cheminMosaique: c.string(),
1204
+ hauteur: c.number(),
1205
+ largeur: c.number(),
1206
+ xMosaique: c.number(),
1207
+ yMosaique: c.number()
1208
+ }), Zi = c.object({
1209
+ schemaVersion: c.string().optional(),
1210
+ uid: o().meta({ description: "Identifiant unique de l'acteur" }),
1211
+ etatCivil: zi,
1212
+ profession: Vi.optional(),
1213
+ uriHatvp: c.string().optional().meta({ description: "URL de la déclaration d'intérêt de l'acteur sur le site de la Haute Autorité pour la Transparence dans la Vie Publique." }),
1214
+ adresses: c.array(Hi).optional().meta({ description: "Les adresses postales, numéros de téléphones et les adresses électroniques de l'acteur." }),
1215
+ mandats: c.array(Yi).optional().meta({ description: "Les mandats ({@link https://fr.wikipedia.org/wiki/Mandat_repr%C3%A9sentatif | représentatifs} ou {@link https://fr.wikipedia.org/wiki/Mandat_imp%C3%A9ratif | impératifs}) passés ou présents." }),
1216
+ photo: Xi.optional(),
1217
+ deports: c.array(c.lazy(() => ia)).optional()
1218
+ }).meta({
1219
+ title: "Acteur",
1220
+ description: "Personne physique ayant été élue ou nommée dans {@link Organe | un organe}."
1221
+ }), Qi = c.object({
1222
+ dateDebut: n().meta({ description: "Date de création de l'organe." }),
1223
+ dateAgrement: n().meta({ description: "Date de publication de la création de l'organe parlementaire au journal officiel." }),
1224
+ dateFin: n().meta({ description: "Date de clôture de l'organe." })
1225
+ }).meta({
1226
+ title: "Début, fin et agrément",
1227
+ description: "L'intervalle de temps durant lequel un organe existe."
1228
+ }), $i = c.object({
1229
+ secretaire01: c.string().optional().meta({ description: "Civilité Prénom Nom." }),
1230
+ secretaire02: c.string().optional().meta({ description: "Civilité Prénom Nom." })
1231
+ }).meta({ description: "Le rôle du secrétaire administratif est d'assister le président dans tous les aspects du fonctionnement du groupe : à ce titre, il est notamment chargé de l'organisation matérielle des activités du groupe (dont les missions et les réceptions) et établit les comptes rendus de ses réunions. Cette définition {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-relations-interparlementaires/les-groupes-d-amitie | du secrétaire administratif d'un groupe d'amitié} se rapproche de celle des autres organes ({@link http://www.assemblee-nationale.fr/connaissance/reglement.pdf | Groupes Parlementaires} Article 20, etc.)" }), ea = c.object({
1232
+ codeNatureDep: ie.optional(),
1233
+ code: c.string().optional(),
1234
+ libelle: f.optional()
1235
+ }), ta = c.object({
1236
+ type: _.optional(),
1237
+ libelle: p.optional()
1238
+ }), na = c.object({
1239
+ region: ta,
1240
+ departement: ea
1241
+ }), B = c.lazy(() => c.object({
1242
+ schemaVersion: c.string().optional(),
1243
+ xsiType: m.optional(),
1244
+ uid: o().meta({ description: "Identifiant unique de l'organe" }),
1245
+ codeType: u,
1246
+ libelle: c.string().meta({ description: "Nom complet." }),
1247
+ libelleEdition: c.string().optional().meta({ description: "Le contenu de ce champ n'est pas défini." }),
1248
+ libelleAbrege: c.string().meta({ description: "Nom court." }),
1249
+ libelleAbrev: c.string().meta({ description: "Abréviation en majuscule." }),
1250
+ viMoDe: Qi.optional(),
1251
+ organeParentRef: e().optional().meta({ description: "Identifiant unique (uid) de l'organe parent. Le gouvernement est l'organe parent des ministères, secrétariats d'état et du premier ministre. Une commission permanente (.codeType == COMPER) peut être parente d'une mission d'information (.codeType == MISINFO)" }),
1252
+ organeParent: B.optional(),
1253
+ organePrecedentRef: e().optional(),
1254
+ organePrecedent: B.optional(),
1255
+ regime: g.optional(),
1256
+ legislature: c.string().optional().meta({ description: "Numéro de {@link https://fr.wikipedia.org/wiki/Liste_des_l%C3%A9gislatures_fran%C3%A7aises | la législature} sous laquelle a été créé l'organe. Nombre entier." }),
1257
+ regimeJuridique: c.string().optional().meta({ description: "Référence en texte libre au texte législatif et réglementaire qui a créé l'organe. Il est possible de le retrouver en faisant une recherche sur https://www.legifrance.gouv.fr/. Uniquement renseigné pour les organismes extra parlementaires (dont le codeType est égal à ORGEXTPARL)." }),
1258
+ siteInternet: c.string().optional().meta({ description: "Site internet de l'organe." }),
1259
+ nombreReunionsAnnuelles: c.string().optional().meta({ description: "Nombre de réunions annuelles. Nombre entier." }),
1260
+ secretariat: $i.optional(),
1261
+ numero: c.string().optional(),
1262
+ lieu: na.optional(),
1263
+ positionPolitique: h.optional(),
1264
+ preseance: c.string().optional().meta({ description: "Plus le groupe politique est important, plus la préséance est proche de 1. Nombre entier. Uniquement renseigné pour les groupes politiques (dont le codeType est égal à GP)." }),
1265
+ couleurAssociee: c.string().optional().meta({ description: "Couleur suggérée pour l'affichage, sous la forme #rrggbb." }),
1266
+ listePays: c.array(c.string()).optional().meta({ description: "Le contenu de ce champ n'est pas défini." })
1267
+ }).meta({
1268
+ title: "Organe",
1269
+ description: "Il contribue au fonctionnement de l'Etat (par exemple l'Assemblée nationale ou une Délégation parlementaire)"
1270
+ })), V = c.object({
1271
+ code: c.string(),
1272
+ libelle: c.string()
1273
+ }), ra = c.object({
1274
+ type: V,
1275
+ referenceTextuelle: c.string()
1276
+ }), ia = c.object({
1277
+ uid: o().meta({ description: "Identifiant unique du déport" }),
1278
+ chronotag: c.string(),
1279
+ legislature: c.string(),
1280
+ refActeur: r().meta({ description: "Référence à l'acteur" }),
1281
+ dateCreation: i(),
1282
+ datePublication: n(),
1283
+ portee: V,
1284
+ lecture: V,
1285
+ instance: V,
1286
+ cible: ra,
1287
+ explication: c.string().optional()
1288
+ }), aa = c.object({
1289
+ organes: c.array(B),
1290
+ acteurs: c.array(Zi)
1291
+ });
1292
+ function oa(e) {
1293
+ let t = Zi.safeParse(JSON.parse(e));
1294
+ if (!t.success) throw Error(H("ActeurClean", t.error));
1295
+ return t.data;
1296
+ }
1297
+ function sa(e) {
1298
+ let t = B.safeParse(JSON.parse(e));
1299
+ if (!t.success) throw Error(H("OrganeClean", t.error));
1300
+ return t.data;
1301
+ }
1302
+ function ca(e) {
1303
+ let t = ia.safeParse(JSON.parse(e));
1304
+ if (!t.success) throw Error(H("DeportClean", t.error));
1305
+ return t.data;
1306
+ }
1307
+ function la(e) {
1308
+ let t = aa.safeParse(JSON.parse(e));
1309
+ if (!t.success) throw Error(H("ActeursEtOrganesClean", t.error));
1310
+ return t.data;
1311
+ }
1312
+ function ua(e) {
1313
+ return JSON.stringify(e, null, 2);
1314
+ }
1315
+ function da(e) {
1316
+ return JSON.stringify(e, null, 2);
1317
+ }
1318
+ function fa(e) {
1319
+ return JSON.stringify(e, null, 2);
1320
+ }
1321
+ function pa(e) {
1322
+ return JSON.stringify(e, null, 2);
1323
+ }
1324
+ function H(e, t) {
1325
+ return `Invalid ${e}:\n${t.issues.map((e) => ` - ${e.path.join(".")}: ${e.message}`).join("\n")}`;
1326
+ }
1327
+ var ma = {
1328
+ toActeur: oa,
1329
+ acteurToJson: ua,
1330
+ toOrgane: sa,
1331
+ organeToJson: da,
1332
+ toDeport: ca,
1333
+ deportToJson: fa,
1334
+ toActeursEtOrganes: la,
1335
+ acteursEtOrganesToJson: pa
1336
+ }, ha = [
1337
+ "Annulé",
1338
+ "Confirmé",
1339
+ "Eventuel",
1340
+ "Supprimé"
1341
+ ], ga = c.enum(ha), _a = ["IdActeur_type", "IdPersonneExterne_type"], va = c.enum(_a), ya = c.object({
1342
+ creation: c.union([c.date(), c.iso.datetime({ offset: !0 }).pipe(c.coerce.date())]).meta({ description: "Date de création." }),
1343
+ cloture: c.union([c.date(), c.iso.datetime({ offset: !0 }).pipe(c.coerce.date())]).optional().meta({ description: "Date de fin." })
1344
+ }), ba = c.object({
1345
+ etat: ga.meta({ description: "La réunion ou le point de l'ordre du est valide si le champ contient la valeur 'Eventuel' ou 'Confirmé'. Si la valeur est 'Annulé' ou 'Supprimé', aucun des champs de la réunion ou de l'ordre du jour n'a de signification définie. Par exemple, si une réunion est 'Annulé' et que le champ concernant l'ordre du jour est présent, il doit être ignoré car son contenu n'est pas nécessairement cohérent." }),
1346
+ chrono: ya
1347
+ }), xa = c.object({
1348
+ xsiType: tt.meta({ description: "Pour les réunions dont xsiType est 'seance_type', c'est à dire une séance publique, chaque point de l'ordre du jour est fixé par la {@link https://fr.wikipedia.org/wiki/Conf%C3%A9rence_des_pr%C3%A9sidents_de_l%27Assembl%C3%A9e_nationale | conférence des présidents} et a donc la valeur 'podjSeanceConfPres_type' pour le champ xsiType. Dans tout les autres cas la valeur est 'podjReunion_type'" }),
1349
+ uid: o().meta({ description: "Identifiant unique du point ODJ" }),
1350
+ cycleDeVie: ba.meta({ description: "Cycle de vie du point de l'ordre du jour." }),
1351
+ objet: c.string().meta({ description: "Description du point de l'ordre du jour en texte libre." }),
1352
+ procedure: at.optional().meta({ description: "L'article du {@link http://www2.assemblee-nationale.fr/content/download/73698/754101/version/2/file/reglement.pdf | règlement de l'assemblée nationale} qui justifie ce point de l'ordre du jour (par exemple: la {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/textes-de-reference/reglement-de-l-assemblee-nationale/titre-ii/premiere-partie/chapitre-v | procédure d'examen simplifiée})." }),
1353
+ dossiersLegislatifsRefs: c.array(c.string()).optional().meta({ description: "Pour les réunions dont xsiType est 'seance_type', c'est à dire une séance publique ou bien 'reunionCommission_type', c'est à dire une commission, liste des identifiants uniques (uid) des {@link DossierParlementaire | dossiers législatifs} dont il sera question." }),
1354
+ typePointOdj: x.meta({ description: "Type de point de l'ordre du jour (par exemple: Discussion, Examen, Suite de la discussion, Amendements (Art. 88), etc." }),
1355
+ comiteSecret: c.boolean().meta({ description: "Le contenu de ce champ n'est pas défini." }),
1356
+ natureTravauxOdj: $e.optional().meta({ description: "Vaut ODJPR pour les ordre du jour prioritaires (quel que soit le lieu ou se tient la réunion) et ODJSN pour les ordre du jour des réunions qui se tiennent au Sénat." }),
1357
+ dateConfPres: c.union([c.date(), c.iso.date().pipe(c.coerce.date())]).optional().meta({ description: "Pour les réunions dont xsiType est 'seance_type', c'est à dire une séance publique, date à laquelle la {@link https://fr.wikipedia.org/wiki/Conf%C3%A9rence_des_pr%C3%A9sidents_de_l%27Assembl%C3%A9e_nationale | conférence des présidents} a ajouté ce point à l'ordre du jour." }),
1358
+ dateLettreMinistre: c.union([c.date(), c.iso.date().pipe(c.coerce.date())]).optional().meta({ description: "Pour les réunions dont xsiType est 'seance_type', c'est à dire une séance publique, date de la lettre du premier ministre qui demande l'inscription d'un texte à l'ordre du jour {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/l-organisation-des-travaux-de-l-assemblee-nationale/la-fixation-de-l-ordre-du-jour-et-la-conference-des-presidents | au nom du gouvernement}." })
1359
+ }), Sa = c.object({
1360
+ convocationOdj: c.array(c.string()).optional().meta({ description: "Texte décrivant l'objet de la réunion." }),
1361
+ resumeOdj: c.array(c.string()).optional().meta({ description: "Texte court décrivant l'objet de la réunion." }),
1362
+ pointsOdj: c.array(xa).optional().meta({ description: "Liste des points inscrits à l'ordre du jour de la réunion" })
1363
+ }), Ca = c.object({
1364
+ nom: c.string().optional().meta({ description: "Civilité Prénom Nom {@link Acteur | de l'acteur}." }),
1365
+ acteurRef: r().meta({ description: "Référence à l'acteur" })
1366
+ }), wa = c.object({
1367
+ nom: c.string().meta({ description: "Nom de l'{@link Organe | organe}" }),
1368
+ organeRef: e().meta({ description: "Référence à l'organe" })
1369
+ }), Ta = c.object({
1370
+ acteurs: c.array(Ca).optional().meta({ description: "Liste des {@link Acteur | personnes} à l'initiative de la réunion." }),
1371
+ organe: wa.optional()
1372
+ }), Ea = c.object({
1373
+ code: c.string().optional().meta({ description: "Code du lieu de la réunion: S pour sénat, AN pour assemblée nationale, CG pour congrès, SALREU* pour les salles de réunion." }),
1374
+ libelleCourt: c.string().optional().meta({ description: "Nom du lieu de la réunion." }),
1375
+ libelleLong: c.string().optional().meta({ description: "Nom du lieu de la réunion et une indication sur son addresse." }),
1376
+ lieuRef: c.string().optional()
1377
+ }), Da = c.object({
1378
+ acteurRef: r().meta({ description: "Référence à l'acteur participant" }),
1379
+ presence: rt.meta({ description: "La valeur est 'absent' ou 'excusé' si la personne n'a pas participé à la réunion, 'présent' sinon." })
1380
+ }), Oa = c.object({
1381
+ civ: d.meta({ description: "Civilité." }),
1382
+ prenom: c.string().meta({ description: "Prénom." }),
1383
+ nom: c.string().meta({ description: "Nom de famille." }),
1384
+ alpha: c.string().optional().meta({ description: "Le contenu de ce champ n'est pas défini." }),
1385
+ trigramme: c.string().optional().meta({ description: "Le contenu de ce champ n'est pas défini." })
1386
+ }), ka = c.object({
1387
+ xsiType: va.meta({ description: "Type de personne auditionnée (acteur interne ou personne externe)." }),
1388
+ uid: c.string().meta({ description: "Identifiant unique de l'{@link Acteur | acteur} ou bien, dans le cas ou il ne s'agit pas d'un acteur, un identifiant unique de personne externe débutant par PE qui est utilisé uniquement dans ce contexte." }),
1389
+ ident: Oa,
1390
+ dateNais: c.union([c.date(), c.iso.datetime({ offset: !0 }).pipe(c.coerce.date())]).optional().meta({ description: "Date de naissance." })
1391
+ }), Aa = c.object({
1392
+ participantsInternes: c.array(Da).optional().meta({ description: "Liste des personnes participant à la réunion." }),
1393
+ personnesAuditionnees: c.array(ka).optional().meta({ description: "Liste des personnes auditionnées durant la réunion." })
1394
+ }), ja = c.object({
1395
+ numSeanceJo: c.string().optional().meta({ description: "Numérotation de la séance selon l'ordre du journal officiel." }),
1396
+ idJo: c.string().optional().meta({ description: "Identifiant du journal officiel composé de l'année sur quatre chiffres et du numéro de séance (**numSeanceJo**) sur quatre chiffres (exemple: 20190053)." }),
1397
+ quantieme: st.meta({ description: "Numéro de la séance dans la journée." }),
1398
+ dateSeance: c.union([c.date(), c.iso.date().pipe(c.coerce.date())]).meta({ description: "Date à laquelle la séance publique a lieu." })
1399
+ }), Ma = c.object({
1400
+ estReunionInternationale: c.boolean().meta({ description: "'false' si la réunion ne concerne pas l'international, 'true' sinon." }),
1401
+ listePays: c.array(c.string()).optional().meta({ description: "Le contenu de ce champ n'est pas défini." }),
1402
+ informationsComplementaires: c.string().optional().meta({ description: "Contient parfois le nom de la personne qui organise la réunion." })
1403
+ }), Na = c.object({
1404
+ schemaVersion: c.string().optional().meta({ description: "Le contenu de ce champ n'est pas défini." }),
1405
+ xsiType: b.optional(),
1406
+ uid: o().meta({ description: "Identifiant unique de la réunion" }),
1407
+ timestampDebut: c.union([c.date(), c.iso.datetime({ offset: !0 }).pipe(c.coerce.date())]).meta({ description: "Date et heure du début de la réunion." }),
1408
+ timestampFin: c.union([
1409
+ c.date(),
1410
+ c.iso.date().pipe(c.coerce.date()),
1411
+ c.iso.datetime({ offset: !0 }).pipe(c.coerce.date())
1412
+ ]).optional().meta({ description: "Date et heure de la fin de la réunion." }),
1413
+ lieu: Ea.optional().meta({ description: "Lieu de la réunion." }),
1414
+ cycleDeVie: ba.meta({ description: "Cycle de vie de la réunion." }),
1415
+ demandeurs: Ta.optional().meta({ description: "Le cas échéant l'{@link Organe | organe} et/ou les {@link Acteur | acteurs} à l'initiative de la réunion." }),
1416
+ organeReuniRef: c.string().optional().meta({ description: "Le cas échéant, l'organe qui se réunit. Ce n'est pas nécessairement identique au demandeur. Par exemple le président de l'assemblée nationale convoque la conférence des présidents." }),
1417
+ typeReunion: S.optional().meta({ description: "Le contenu de ce champ n'est pas défini." }),
1418
+ participants: Aa.optional(),
1419
+ sessionRef: c.string().optional(),
1420
+ ouverturePresse: c.boolean().optional().meta({ description: "'true' si la réunion est accessible à la presse, 'false' sinon" }),
1421
+ odj: Sa.optional(),
1422
+ compteRenduRef: c.string().optional().meta({ description: "Identifiant unique du {@link http://data.assemblee-nationale.fr/travaux-parlementaires/debats | compte rendu} d'une séance publique. Uniquement si xsiType égal à 'seance_type'." }),
1423
+ transcriptionRef: c.string().optional(),
1424
+ identifiants: ja.optional().meta({ description: "Identifiant de la séance publique. Uniquement si xsiType égal à 'seance_type'." }),
1425
+ formatReunion: Ze.optional().meta({ description: "Le contenu de ce champ n'est pas défini." }),
1426
+ infosReunionsInternationale: Ma.optional().meta({ description: "Informations sur les personnes et pays concernées par une réunion de commission qui concerne l'international, le cas échéant. Uniquement si xsiType égal à 'reunionCommission_type'." }),
1427
+ captationVideo: c.boolean().optional().meta({ description: "Vrai si la réunion est enregistrée en vidéo." }),
1428
+ visioConference: c.string().optional(),
1429
+ urlVideo: c.string().optional().meta({ description: "Lien m3u8 de la video de la réunion." }),
1430
+ urlPageVideo: c.string().optional().meta({ description: "Lien vers la page de la vidéo de la réunion sur le site de l'assemblée nationale. Ce lien est différent du lien m3u8 qui est dans le champ urlVideo et qui permet d'accéder directement au flux vidéo." }),
1431
+ timecodeDebutVideo: c.number().optional().meta({ description: "Timecode de début de la vidéo de la réunion." })
1432
+ }), Pa = c.object({ reunions: c.array(Na) });
1433
+ function Fa(e) {
1434
+ let t = Na.safeParse(JSON.parse(e));
1435
+ if (!t.success) throw Error(za("ReunionClean", t.error));
1436
+ return t.data;
1437
+ }
1438
+ function Ia(e) {
1439
+ let t = Pa.safeParse(JSON.parse(e));
1440
+ if (!t.success) throw Error(za("AgendasClean", t.error));
1441
+ return t.data;
1442
+ }
1443
+ function La(e) {
1444
+ return JSON.stringify(e, null, 2);
1445
+ }
1446
+ function Ra(e) {
1447
+ return JSON.stringify(e, null, 2);
1448
+ }
1449
+ function za(e, t) {
1450
+ return `Invalid ${e}:\n${t.issues.map((e) => ` - ${e.path.join(".")}: ${e.message}`).join("\n")}`;
1451
+ }
1452
+ var Ba = {
1453
+ toReunion: Fa,
1454
+ reunionToJson: La,
1455
+ toAgendas: Ia,
1456
+ agendasToJson: Ra
1457
+ }, U = c.lazy(() => c.object({
1458
+ _: c.string().optional(),
1459
+ id_syceron: c.string().optional(),
1460
+ stime: c.string().optional(),
1461
+ sup: c.string().optional(),
1462
+ lienAdt: c.array(U).optional()
1463
+ }).meta({ description: "Texte de la séance du débat." })), W = c.object({
1464
+ nom: c.string().optional(),
1465
+ id: c.string().optional(),
1466
+ qualite: c.string().optional()
1467
+ }).meta({ description: "Orateur de la séance du débat." }), Va = c.object({ orateur: t(W) }), Ha = c.union([
1468
+ Va,
1469
+ t(W),
1470
+ W,
1471
+ c.string()
1472
+ ]), G = c.lazy(() => c.object({
1473
+ id_preparation: c.string().optional(),
1474
+ ordre_absolu_seance: c.string().optional(),
1475
+ code_grammaire: c.string().optional(),
1476
+ sommaire: c.string().optional(),
1477
+ id_syceron: c.string().optional(),
1478
+ valeur_ptsodj: c.string().optional(),
1479
+ nivpoint: c.string().optional(),
1480
+ ordinal_prise: c.string().optional(),
1481
+ code_style: c.string().optional(),
1482
+ code_parole: c.string().optional(),
1483
+ valeur: c.string().optional(),
1484
+ orateurs: Ha.optional(),
1485
+ texte: c.union([U, c.string()]).optional(),
1486
+ paragraphe: t(G).optional(),
1487
+ interExtraction: t(G).optional(),
1488
+ point: t(G).optional(),
1489
+ structure: c.string().optional(),
1490
+ id_acteur: c.string().optional(),
1491
+ id_mandat: c.string().optional(),
1492
+ id_nomination_oe: c.string().optional(),
1493
+ id_nomination_op: c.string().optional(),
1494
+ orateur: c.string().optional(),
1495
+ bibard: c.string().optional(),
1496
+ art: c.string().optional(),
1497
+ adt: c.string().optional(),
1498
+ ssadt: c.string().optional(),
1499
+ roledebat: c.string().optional(),
1500
+ changementPresidence: t(G).optional(),
1501
+ type_debat: c.string().optional(),
1502
+ decision: Wt.optional().meta({ description: "Décision prise à l'issue du point de débat." }),
1503
+ ouvertureSeance: G.optional(),
1504
+ qualite: c.string().optional(),
1505
+ nom_orateur: c.string().optional()
1506
+ }).meta({ description: "Point de la séance du débat." })), Ua = c.object({ point: G }), Wa = c.object({
1507
+ journee: c.string(),
1508
+ session: c.string()
1509
+ }), Ga = c.object({
1510
+ quantiemes: Wa,
1511
+ ouvertureSeance: t(G).optional(),
1512
+ point: t(G),
1513
+ finSeance: Ua.optional(),
1514
+ paragraphe: t(G).optional()
1515
+ }).meta({ description: "Contenu de la séance du débat." }), Ka = c.object({
1516
+ id_syceron: c.string(),
1517
+ intitule: c.string().optional(),
1518
+ sousIntitule: c.string().optional(),
1519
+ type_debat: c.string().optional()
1520
+ }), K = c.lazy(() => c.object({
1521
+ valeur_pts_odj: c.string().optional(),
1522
+ titreStruct: Ka,
1523
+ para: t(c.union([
1524
+ U,
1525
+ c.string(),
1526
+ c.unknown()
1527
+ ])).optional(),
1528
+ sommaire2: t(K).optional(),
1529
+ sommaire3: t(K).optional(),
1530
+ presidentSeance: t(U).optional(),
1531
+ type_debat: c.string().optional()
1532
+ }).meta({ description: "Sommaire de la séance du débat." })), qa = c.object({
1533
+ presidentSeance: U.meta({ description: "Président de la séance." }),
1534
+ sommaire1: t(K).meta({ description: "Premier niveau de sommaire." }),
1535
+ sommaire3: t(K).optional().meta({ description: "Troisième niveau de sommaire." }),
1536
+ sommaire2: t(K).optional().meta({ description: "Second niveau de sommaire." }),
1537
+ para: t(U).optional().meta({ description: "Paragraphe de texte libre dans le sommaire." })
1538
+ }).meta({ description: "Sommaire de la séance du débat." }), Ja = c.object({
1539
+ dateSeance: c.string(),
1540
+ dateSeanceJour: c.string(),
1541
+ numSeanceJour: c.string(),
1542
+ numSeance: c.string(),
1543
+ typeAssemblee: c.string(),
1544
+ legislature: c.string(),
1545
+ session: c.string(),
1546
+ nomFichierJo: c.string(),
1547
+ validite: c.string(),
1548
+ etat: c.string(),
1549
+ diffusion: c.string(),
1550
+ version: c.string(),
1551
+ environnement: c.string(),
1552
+ heureGeneration: c.iso.datetime({ offset: !0 }).optional(),
1553
+ sommaire: qa
1554
+ }).meta({ description: "Données de la séance du débat." }), Ya = c.object({
1555
+ schemaVersion: c.string().optional(),
1556
+ uid: o().meta({ description: "Identifiant unique du compte rendu" }),
1557
+ seanceRef: c.string(),
1558
+ sessionRef: c.string(),
1559
+ metadonnees: Ja,
1560
+ contenu: Ga,
1561
+ videoUrl: c.string().optional(),
1562
+ videoTimecode: c.number().optional()
1563
+ }).meta({
1564
+ title: "Débat",
1565
+ description: "Compte rendu des débats en séance."
1566
+ }), Xa = c.object({ comptesRendus: c.array(Ya) });
1567
+ function Za(e) {
1568
+ let t = Ya.safeParse(JSON.parse(e));
1569
+ if (!t.success) throw Error(to("CompteRenduClean", t.error));
1570
+ return t.data;
1571
+ }
1572
+ function Qa(e) {
1573
+ let t = Xa.safeParse(JSON.parse(e));
1574
+ if (!t.success) throw Error(to("ComptesRendusClean", t.error));
1575
+ return t.data;
1576
+ }
1577
+ function $a(e) {
1578
+ return JSON.stringify(e, null, 2);
1579
+ }
1580
+ function eo(e) {
1581
+ return JSON.stringify(e, null, 2);
1582
+ }
1583
+ function to(e, t) {
1584
+ return `Invalid ${e}:\n${t.issues.map((e) => ` - ${e.path.join(".")}: ${e.message}`).join("\n")}`;
1585
+ }
1586
+ var no = {
1587
+ toCompteRendu: Za,
1588
+ compteRenduToJson: $a,
1589
+ toComptesRendus: Qa,
1590
+ comptesRendusToJson: eo
1591
+ }, ro = [
1592
+ "accordInternational_Type",
1593
+ "avisConseilEtat_Type",
1594
+ "documentEtudeImpact_Type",
1595
+ "rapportParlementaire_Type",
1596
+ "texteLoi_Type"
1597
+ ], io = c.enum(ro), ao = [
1598
+ "DossierCommissionEnquete_Type",
1599
+ "DossierIniativeExecutif_Type",
1600
+ "DossierLegislatif_Type",
1601
+ "DossierMissionControle_Type",
1602
+ "DossierMissionInformation_Type",
1603
+ "DossierResolutionAN"
1604
+ ], oo = c.enum(ao), so = /* @__PURE__ */ "Adoption_Europe_Type.ConclusionEtapeCC_Type.ConvocationCongres_Type.CreationOrganeTemporaire_Type.DecisionMotionCensure_Type.DecisionRecevabiliteBureau_Type.Decision_Type.DeclarationGouvernement_Type.DepotAccordInternational_Type.DepotAvisConseilEtat_Type.DepotInitiativeNavette_Type.DepotInitiative_Type.DepotLettreRectificative_Type.DepotMotionCensure_Type.DepotMotionReferendaire_Type.DepotRapport_Type.DiscussionCommission_Type.DiscussionSeancePublique_Type.Etape_Type.EtudeImpact_Type.MotionProcedure_Type.NominRapporteurs_Type.ProcedureAccelere_Type.Promulgation_Type.RenvoiPrealable_Type.RenvoiCMP_Type.RetraitInitiative_Type.SaisieComAvis_Type.SaisieComFond_Type.SaisineConseilConstit_Type".split("."), co = c.enum(so), q = c.object({
1605
+ code: c.string(),
1606
+ libelle: c.string()
1607
+ }), lo = c.object({
1608
+ code: an,
1609
+ libelle: c.string().optional(),
1610
+ libelleEdition: c.string().optional()
1611
+ }), uo = c.object({
1612
+ depot: q,
1613
+ classe: q,
1614
+ espece: q.optional()
1615
+ }), fo = c.object({
1616
+ famille: uo.optional(),
1617
+ type: q,
1618
+ sousType: lo.optional(),
1619
+ statutAdoption: on.optional()
1620
+ }), po = c.object({
1621
+ dateCreation: n(),
1622
+ dateDepot: n(),
1623
+ datePublication: n(),
1624
+ datePublicationWeb: n()
1625
+ }), mo = c.object({ chrono: po }), ho = c.object({
1626
+ titrePrincipal: c.string(),
1627
+ titrePrincipalCourt: c.string()
1628
+ }), go = c.object({
1629
+ acteurRef: c.string(),
1630
+ qualite: D
1631
+ }), _o = c.object({
1632
+ acteur: go.optional(),
1633
+ organeRef: c.string().optional()
1634
+ }), vo = c.object({
1635
+ typeCorrection: sn,
1636
+ niveauCorrection: c.string().optional()
1637
+ }), yo = c.object({
1638
+ numNotice: c.string().optional(),
1639
+ formule: c.string().optional(),
1640
+ adoptionConforme: c.boolean()
1641
+ }), bo = c.object({
1642
+ dian: c.string().optional(),
1643
+ isbn: c.string().optional(),
1644
+ issn: c.string().optional(),
1645
+ nbPage: c.string().optional(),
1646
+ prix: c.string().optional()
1647
+ }), xo = c.object({ libelleTheme: c.string() }), So = c.object({
1648
+ "@niveau": c.string(),
1649
+ theme: xo
1650
+ }), J = c.object({ themes: So }), Co = c.object({
1651
+ organeRef: c.string(),
1652
+ etApparentes: c.boolean()
1653
+ }), wo = c.object({
1654
+ acteurRef: c.string().optional(),
1655
+ dateCosignature: c.string(),
1656
+ dateRetraitCosignature: c.string().optional(),
1657
+ edite: c.boolean(),
1658
+ organe: Co.optional()
1659
+ }), To = c.object({ amendable: c.boolean() }), Eo = c.object({
1660
+ organeRef: c.string(),
1661
+ amendable: c.boolean()
1662
+ }), Do = c.object({
1663
+ amendementsSeance: To,
1664
+ amendementsCommission: c.array(Eo).optional()
1665
+ }), Oo = c.lazy(() => c.object({
1666
+ xsiType: io,
1667
+ uid: o().meta({ description: "Identifiant unique de la division" }),
1668
+ legislature: c.string().optional(),
1669
+ cycleDeVie: mo,
1670
+ denominationStructurelle: c.string(),
1671
+ titres: ho,
1672
+ divisions: c.array(Oo).optional(),
1673
+ dossierRef: c.string(),
1674
+ classification: fo,
1675
+ auteurs: c.array(_o),
1676
+ organesReferents: c.array(c.string()).optional(),
1677
+ correction: vo.optional(),
1678
+ notice: yo,
1679
+ indexation: J.optional(),
1680
+ imprimerie: bo.optional(),
1681
+ rapportPublie: c.boolean().optional()
1682
+ })), ko = c.object({
1683
+ schemaVersion: c.string().optional(),
1684
+ xsiType: io,
1685
+ uid: o().meta({ description: "Identifiant unique du document" }),
1686
+ legislature: c.string().optional(),
1687
+ cycleDeVie: mo,
1688
+ denominationStructurelle: cn,
1689
+ provenance: ln.optional(),
1690
+ titres: ho,
1691
+ divisions: c.array(Oo).optional(),
1692
+ dossierRef: c.string(),
1693
+ classification: fo,
1694
+ auteurs: c.array(_o),
1695
+ correction: vo.optional(),
1696
+ notice: yo,
1697
+ indexation: J.optional(),
1698
+ imprimerie: bo.optional(),
1699
+ coSignataires: c.array(wo).optional(),
1700
+ depotAmendements: Do.optional(),
1701
+ organesReferents: c.array(c.string()).optional(),
1702
+ rapportPublie: c.boolean().optional()
1703
+ }), Ao = c.object({
1704
+ titre: c.string(),
1705
+ titreChemin: c.string().optional(),
1706
+ senatChemin: c.string().optional()
1707
+ }), jo = c.object({
1708
+ acteurRef: c.string(),
1709
+ mandatRef: c.string().optional()
1710
+ }), Mo = c.object({
1711
+ acteurs: c.array(jo).optional(),
1712
+ organeRef: c.string().optional()
1713
+ }), No = c.object({
1714
+ cause: vn,
1715
+ dossierAbsorbantRef: c.string()
1716
+ }), Po = c.object({
1717
+ acteurRef: c.string(),
1718
+ typeRapporteur: D,
1719
+ etudePlfRef: c.string().optional()
1720
+ }), Fo = c.lazy(() => c.object({
1721
+ typeMission: fn,
1722
+ codeMission: c.string().optional(),
1723
+ libelleLong: c.string(),
1724
+ libelleCourt: c.string(),
1725
+ typeBudget: dn,
1726
+ missions: c.array(Fo).optional()
1727
+ })), Io = c.object({
1728
+ uid: o().meta({ description: "Identifiant unique de l'étude PLF" }),
1729
+ organeRef: c.string(),
1730
+ texteAssocie: c.string().optional(),
1731
+ rapporteurs: c.array(Po).optional(),
1732
+ missionMinefi: Fo.optional(),
1733
+ ordreDiqs: c.string(),
1734
+ ordreCommission: c.string()
1735
+ }), Y = c.object({
1736
+ famCode: c.string(),
1737
+ libelle: c.string().optional()
1738
+ }), Lo = c.object({
1739
+ nomCanonique: c.string(),
1740
+ libelleCourt: c.string().optional()
1741
+ }), Ro = c.object({
1742
+ dateOuverture: c.string().optional(),
1743
+ dateFermeture: c.string().optional()
1744
+ }), zo = c.object({
1745
+ typeTexte: hn,
1746
+ texteAssocieRef: c.string()
1747
+ }), Bo = c.object({
1748
+ typeJo: _n,
1749
+ dateJo: c.string(),
1750
+ numJo: c.string(),
1751
+ urlLegifrance: c.string().optional(),
1752
+ referenceNor: c.string().optional()
1753
+ }), Vo = c.object({
1754
+ typeTexteEuropeen: c.string(),
1755
+ titreTexteEuropeen: c.string()
1756
+ }), Ho = c.object({
1757
+ refJoce: c.string(),
1758
+ dateJoce: c.string()
1759
+ }), Uo = c.object({
1760
+ typeDoc: yn,
1761
+ texteRef: c.string(),
1762
+ titreDoc: c.string(),
1763
+ urlDoc: c.string()
1764
+ }), Wo = c.lazy(() => c.object({
1765
+ xsiType: co,
1766
+ uid: o().meta({ description: "Identifiant unique de l'acte législatif" }),
1767
+ codeActe: nn,
1768
+ libelleActe: Lo,
1769
+ organeRef: c.string().optional(),
1770
+ dateActe: n(),
1771
+ actesLegislatifs: c.array(Wo).optional(),
1772
+ anneeDecision: c.string().optional(),
1773
+ auteurMotion: c.string().optional(),
1774
+ auteursRefs: c.array(c.string()).optional(),
1775
+ casSaisine: Y.optional(),
1776
+ codeLoi: c.string().optional(),
1777
+ contributionInternaute: Ro.optional(),
1778
+ decision: Y.optional(),
1779
+ depotInitialLectureDefinitiveRef: c.string().optional(),
1780
+ formuleDecision: c.string().optional(),
1781
+ infoJo: Bo.optional(),
1782
+ infoJoce: Ho.optional(),
1783
+ infoJoRect: c.array(Bo).optional(),
1784
+ initiateur: Mo.optional(),
1785
+ motif: gn.optional(),
1786
+ numDecision: c.string().optional(),
1787
+ odjRef: c.string().optional(),
1788
+ provenanceRef: c.string().optional(),
1789
+ rapporteurs: c.array(Po).optional(),
1790
+ referenceNor: c.string().optional(),
1791
+ reunionRef: c.string().optional(),
1792
+ statutAdoption: Y.optional(),
1793
+ statutConclusion: Y.optional(),
1794
+ texteAdopteRef: c.string().optional(),
1795
+ texteAssocieRef: c.string().optional(),
1796
+ texteEuropeen: Vo.optional(),
1797
+ texteExterneAssocie: Uo.optional(),
1798
+ texteLoiRef: c.string().optional(),
1799
+ textesAssocies: c.array(zo).optional(),
1800
+ titreLoi: c.string().optional(),
1801
+ typeDeclaration: Y.optional(),
1802
+ typeMotion: Y.optional(),
1803
+ typeMotionCensure: Y.optional(),
1804
+ urlConclusion: c.string().optional(),
1805
+ urlEcheancierLoi: c.string().optional(),
1806
+ urlLegifrance: c.string().optional(),
1807
+ voteRefs: c.array(c.string()).optional()
1808
+ })), Go = c.object({
1809
+ schemaVersion: c.string().optional(),
1810
+ xsiType: oo.optional(),
1811
+ uid: o().meta({ description: "Identifiant unique du dossier parlementaire" }),
1812
+ legislature: c.string(),
1813
+ titreDossier: Ao,
1814
+ procedureParlementaire: q,
1815
+ initiateur: Mo.optional(),
1816
+ actesLegislatifs: c.array(Wo).optional(),
1817
+ fusionDossier: No.optional(),
1818
+ indexation: J.optional(),
1819
+ plf: c.array(Io).optional()
1820
+ }), Ko = c.object({
1821
+ textesLegislatifs: c.array(ko),
1822
+ dossiersParlementaires: c.array(Go)
1823
+ });
1824
+ function qo(e) {
1825
+ let t = ko.safeParse(JSON.parse(e));
1826
+ if (!t.success) throw Error($o("DocumentClean", t.error));
1827
+ return t.data;
1828
+ }
1829
+ function Jo(e) {
1830
+ let t = Go.safeParse(JSON.parse(e));
1831
+ if (!t.success) throw Error($o("DossierParlementaireClean", t.error));
1832
+ return t.data;
1833
+ }
1834
+ function Yo(e) {
1835
+ let t = Ko.safeParse(JSON.parse(e));
1836
+ if (!t.success) throw Error($o("DossiersLegislatifsClean", t.error));
1837
+ return t.data;
1838
+ }
1839
+ function Xo(e) {
1840
+ return JSON.stringify(e, null, 2);
1841
+ }
1842
+ function Zo(e) {
1843
+ return JSON.stringify(e, null, 2);
1844
+ }
1845
+ function Qo(e) {
1846
+ return JSON.stringify(e, null, 2);
1847
+ }
1848
+ function $o(e, t) {
1849
+ return `Invalid ${e}:\n${t.issues.map((e) => ` - ${e.path.join(".")}: ${e.message}`).join("\n")}`;
1850
+ }
1851
+ var es = {
1852
+ toDocument: qo,
1853
+ documentToJson: Xo,
1854
+ toDossierParlementaire: Jo,
1855
+ dossierParlementaireToJson: Zo,
1856
+ toDossiersLegislatifs: Yo,
1857
+ dossiersLegislatifsToJson: Qo
1858
+ }, ts = [
1859
+ "JO_QUESTION",
1860
+ "JO_LOI_DECRET",
1861
+ "JO_DEBAT"
1862
+ ], ns = c.enum(ts), X = c.preprocess((e) => {
1863
+ if (e == null) return;
1864
+ if (typeof e != "string") return e;
1865
+ let t = e.trim();
1866
+ return t === "" ? void 0 : t;
1867
+ }, c.string().optional()), rs = c.object({
1868
+ numero: c.string().meta({ description: "Numéro de la question." }),
1869
+ regime: c.string().meta({ description: "Régime." }),
1870
+ legislature: c.string().meta({ description: "Législature." })
1871
+ }), Z = c.object({
1872
+ organeRef: e().meta({ description: "Référence à l'organe" }),
1873
+ abrege: c.string().meta({ description: "Abrégé." }),
1874
+ developpe: c.string().meta({ description: "Développé." })
1875
+ }), is = c.object({
1876
+ acteurRef: r().meta({ description: "Référence à l'acteur" }),
1877
+ mandatRef: c.string().meta({ description: "Identifiant unique du {@link Mandat | mandat}." })
1878
+ }), as = c.object({
1879
+ identite: is.meta({ description: "Identité de l'auteur." }),
1880
+ groupe: Z.meta({ description: "Groupe politique de l'auteur." })
1881
+ }), Q = c.object({
1882
+ typeJO: ns.optional().meta({ description: "Type de Journal Officiel." }),
1883
+ dateJO: X.meta({ description: "Date de publication au Journal Officiel." }),
1884
+ pageJO: X.meta({ description: "Page du Journal Officiel." }),
1885
+ numJO: X.meta({ description: "Numéro du Journal Officiel." }),
1886
+ urlLegifrance: X.meta({ description: "URL du texte promulgué sur le site https://www.legifrance.gouv.fr/" }),
1887
+ referenceNOR: X.meta({ description: "Numéro {@link https://fr.wikipedia.org/wiki/Syst%C3%A8me_NOR | NOR} attribué au texte promulgué." })
1888
+ }), os = c.object({ analyse: c.string().optional().meta({ description: "Analyse." }) }), ss = c.object({
1889
+ rubrique: c.string().optional().meta({ description: "Rubrique." }),
1890
+ analyses: os.optional().meta({ description: "Analyses." })
1891
+ }), cs = c.object({
1892
+ infoJO: Q.meta({ description: "Informations Journal Officiel." }),
1893
+ denomination: Z.meta({ description: "Dénomination." })
1894
+ }), ls = c.object({ minAttrib: t(cs).meta({ description: "Attributions ministérielles." }) }), us = c.object({
1895
+ infoJO: Q.meta({ description: "Informations Journal Officiel." }),
1896
+ texte: c.string().optional().meta({ description: "Texte de la question ou de la réponse." }),
1897
+ erratum: c.string().optional().meta({ description: "Erratum." })
1898
+ }), ds = c.object({ texteQuestion: t(us).meta({ description: "Textes de la question." }) }), fs = c.object({ texteReponse: t(us).meta({ description: "Textes de la réponse." }) }), ps = c.object({
1899
+ codeCloture: c.string().meta({ description: "Code de la clôture." }),
1900
+ libelleCloture: c.string().meta({ description: "Libellé de la clôture." }),
1901
+ dateCloture: X.meta({ description: "Date de clôture." }),
1902
+ infoJO: Q.nullish().meta({ description: "Informations Journal Officiel liées à la clôture." })
1903
+ }), ms = c.object({
1904
+ dateDepotSignal: c.string().meta({ description: "Date de dépôt du signalement." }),
1905
+ infoJO: Q.meta({ description: "Informations Journal Officiel du signalement." })
1906
+ }), hs = c.object({ infoJO: Q.meta({ description: "Informations Journal Officiel." }) }), gs = c.object({ renouvellement: c.array(hs).meta({ description: "Renouvellements." }) }), _s = c.object({
1907
+ schemaVersion: c.string().optional().meta({ description: "Version du schéma." }),
1908
+ "@xsi:type": Tr.optional().meta({ description: "Type de question (QuestionEcrite_Type, QuestionGouvernement_Type, QuestionOrale_Type)." }),
1909
+ uid: o().meta({ description: "Identifiant unique de la question" }),
1910
+ identifiant: rs.meta({ description: "Identifiant." }),
1911
+ type: Dr.meta({ description: "Type de question abrégé (QE, QG, QOSD)." }),
1912
+ indexationAN: ss.optional().meta({ description: "Indexation Assemblée Nationale." }),
1913
+ auteur: as.meta({ description: "Auteur de la question." }),
1914
+ minInt: Z.meta({ description: "Ministère interrogé." }),
1915
+ minAttribs: ls.meta({ description: "Attributions ministérielles." }),
1916
+ textesQuestion: ds.optional().meta({ description: "Textes de la question." }),
1917
+ textesReponse: fs.optional().meta({ description: "Textes de la réponse." }),
1918
+ cloture: ps.optional().meta({ description: "Clôture de la question." }),
1919
+ signalement: ms.optional().meta({ description: "Signalement." }),
1920
+ renouvellements: gs.optional().meta({ description: "Renouvellements." })
1921
+ }), vs = c.object({ questions: c.array(_s).meta({ description: "Liste des questions." }) });
1922
+ function ys(e) {
1923
+ let t = _s.safeParse(JSON.parse(e));
1924
+ if (!t.success) throw Error(Cs("QuestionClean", t.error));
1925
+ return t.data;
1926
+ }
1927
+ function bs(e) {
1928
+ let t = vs.safeParse(JSON.parse(e));
1929
+ if (!t.success) throw Error(Cs("QuestionsClean", t.error));
1930
+ return t.data;
1931
+ }
1932
+ function xs(e) {
1933
+ return JSON.stringify(e, null, 2);
1934
+ }
1935
+ function Ss(e) {
1936
+ return JSON.stringify(e, null, 2);
1937
+ }
1938
+ function Cs(e, t) {
1939
+ return `Invalid ${e}:\n${t.issues.map((e) => ` - ${e.path.join(".")}: ${e.message}`).join("\n")}`;
1940
+ }
1941
+ var ws = {
1942
+ toQuestion: ys,
1943
+ questionToJson: xs,
1944
+ toQuestions: bs,
1945
+ questionsToJson: Ss
1946
+ }, Ts = c.object({ texte: c.string().optional() }), Es = c.object({
1947
+ libelle: c.string(),
1948
+ dossierRef: c.string()
1949
+ }), Ds = c.object({
1950
+ libelle: c.string(),
1951
+ dossierLegislatif: Es.optional()
1952
+ }), Os = c.object({
1953
+ code: Xr,
1954
+ libelle: L
1955
+ }), ks = c.object({
1956
+ codeTypeVote: Qr,
1957
+ libelleTypeVote: ti,
1958
+ typeMajorite: ci.meta({ description: "La signification de ce champ n'est pas définie." })
1959
+ }), As = c.object({
1960
+ pour: c.string().meta({ description: "Nombre total de votes pour." }),
1961
+ contre: c.string().meta({ description: "Nombre total de votes contre." }),
1962
+ abstentions: c.string().optional().meta({ description: "Nombre total d'abstentions." }),
1963
+ nonVotants: c.string().optional().meta({ description: "Nombre total de non votants" }),
1964
+ nonVotantsVolontaires: c.string().optional().meta({ description: "Nombre total de non votants volontaires." })
1965
+ }), js = c.object({
1966
+ nombreVotants: c.string().meta({ description: "Nombre de votants, c'est à dire de {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/les-votes-a-l-assemblee-nationale | sièges occupés dans l'hémicycle}." }),
1967
+ suffragesExprimes: c.string().meta({ description: "Nombre de suffrages exprimés." }),
1968
+ nbrSuffragesRequis: c.string().meta({ description: "Nombre de suffrages requis, le {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/les-votes-a-l-assemblee-nationale | cas échéant}." }),
1969
+ annonce: L,
1970
+ decompte: As
1971
+ }), $ = c.object({
1972
+ acteurRef: r().meta({ description: "Référence à l'acteur votant" }),
1973
+ mandatRef: c.string(),
1974
+ parDelegation: c.boolean().optional(),
1975
+ numPlace: c.number().optional(),
1976
+ causePositionVote: Jr.optional()
1977
+ }), Ms = c.object({
1978
+ nonVotants: c.array($).optional(),
1979
+ pour: c.array($).optional(),
1980
+ contre: c.array($).optional(),
1981
+ abstentions: c.array($).optional()
1982
+ }), Ns = c.object({
1983
+ positionMajoritaire: oi,
1984
+ decompteVoix: As,
1985
+ decompteNominatif: Ms
1986
+ }), Ps = c.object({
1987
+ organeRef: e(),
1988
+ nombreMembresGroupe: c.string(),
1989
+ vote: Ns
1990
+ }), Fs = c.object({
1991
+ organeRef: e(),
1992
+ groupes: c.array(Ps)
1993
+ }), Is = c.object({
1994
+ nonVotants: c.array($).optional(),
1995
+ pour: c.array($).optional(),
1996
+ contre: c.array($).optional(),
1997
+ abstentions: c.array($).optional(),
1998
+ nonVotantsVolontaires: c.array($).optional()
1999
+ }), Ls = c.object({
2000
+ nonVotants: c.array($).optional(),
2001
+ pour: c.array($).optional(),
2002
+ contre: c.array($).optional(),
2003
+ abstentions: c.array($).optional(),
2004
+ nonVotantsVolontaires: c.array($).optional(),
2005
+ dysfonctionnement: Is.optional()
2006
+ }), Rs = c.object({
2007
+ schemaVersion: c.string().optional(),
2008
+ uid: o(),
2009
+ numero: c.string().meta({ description: "Numéro unique du vote, relativement à la législature, débutant par 1 et par incrément de 1. On le retrouve aussi à la fin de l'identifiant unique du vote (uid)." }),
2010
+ organeRef: e().meta({ description: "L'identifiant unique (uid) de l'{@link Organe | organe} au sein duquel se déroule le vote. Il s'agit toujours de l'Assemblée Nationale mais son uid varie en fonction de la législature." }),
2011
+ legislature: c.string().meta({ description: "Numéro de {@link https://fr.wikipedia.org/wiki/Liste_des_l%C3%A9gislatures_fran%C3%A7aises | la législature} sous laquelle a été créé le scrutin. Nombre entier." }),
2012
+ sessionRef: c.string().meta({ description: "Le contenu de ce champ n'est pas défini." }),
2013
+ seanceRef: c.string().meta({ description: "Identifiant unique (uid) de l'entrée de l'{@link Reunion | agenda} correspondant au moment ou le vote a lieu." }),
2014
+ dateScrutin: i().meta({ description: "Date à laquelle le vote a eu lieu." }),
2015
+ quantiemeJourSeance: c.string().meta({ description: "Numéro de la séance dans la journée." }),
2016
+ typeVote: ks,
2017
+ sort: Os,
2018
+ titre: c.string().meta({ description: "Objet du vote." }),
2019
+ demandeur: Ts,
2020
+ objet: Ds,
2021
+ modePublicationDesVotes: R.meta({ description: "La signification de ce champ n'est pas définie." }),
2022
+ syntheseVote: js,
2023
+ ventilationVotes: Fs,
2024
+ miseAuPoint: Ls.optional(),
2025
+ lieuVote: ri.optional()
2026
+ }), zs = c.object({ scrutins: c.array(Rs) });
2027
+ function Bs(e) {
2028
+ let t = Rs.safeParse(JSON.parse(e));
2029
+ if (!t.success) throw Error(Ws("ScrutinClean", t.error));
2030
+ return t.data;
2031
+ }
2032
+ function Vs(e) {
2033
+ let t = zs.safeParse(JSON.parse(e));
2034
+ if (!t.success) throw Error(Ws("ScrutinsClean", t.error));
2035
+ return t.data;
2036
+ }
2037
+ function Hs(e) {
2038
+ return JSON.stringify(e, null, 2);
2039
+ }
2040
+ function Us(e) {
2041
+ return JSON.stringify(e, null, 2);
2042
+ }
2043
+ function Ws(e, t) {
2044
+ return `Invalid ${e}:\n${t.issues.map((e) => ` - ${e.path.join(".")}: ${e.message}`).join("\n")}`;
2045
+ }
2046
+ var Gs = {
2047
+ toScrutin: Bs,
2048
+ scrutinToJson: Hs,
2049
+ toScrutins: Vs,
2050
+ scrutinsToJson: Us
2051
+ };
2052
+ //#endregion
2053
+ export { Io as $, wr as $n, xa as $t, gs as A, Mi as An, u as Ar, W as At, _o as B, ci as Bn, re as Br, ba as Bt, ss as C, Bi as Cn, ot as Cr, ro as Ct, _s as D, Ai as Dn, pt as Dr, no as Dt, ls as E, Pi as En, ut as Er, Ga as Et, ts as F, L as Fn, m as Fr, K as Ft, Ro as G, ei as Gn, le as Gr, ja as Gt, fo as H, Yr as Hn, ae as Hr, wa as Ht, Wo as I, ti as In, h as Ir, U as It, Do as J, ai as Jn, pe as Jr, Sa as Jt, vo as K, ni as Kn, de as Kr, Ma as Kt, Eo as L, ri as Ln, g as Lr, Ka as Lt, us as M, Jr as Mn, se as Mr, G as Mt, ds as N, Xr as Nn, p as Nr, Wa as Nt, ws as O, ji as On, d as Or, Ua as Ot, fs as P, Qr as Pn, ue as Pr, qa as Pt, es as Q, Dr as Qn, va as Qt, To as R, R as Rn, _ as Rr, Ba as Rt, is as S, $i as Sn, it as Sr, so as St, cs as T, Qi as Tn, lt as Tr, Ya as Tt, wo as U, Zr as Un, oe as Ur, Ta as Ut, po as V, qr as Vn, te as Vr, Ca as Vt, Co as W, $r as Wn, ce as Wr, Oa as Wt, ko as X, Gr as Xn, l as Xr, Aa as Xt, Oo as Y, si as Yn, me as Yr, Da as Yt, Go as Z, Tr as Zn, ee as Zr, ka as Zt, os as _, B as _n, dt as _r, Uo as _t, Is as a, Hi as an, Ut as ar, Bo as at, Z as b, Vi as bn, et as br, Ao as bt, Rs as c, ea as cn, $e as cr, Mo as ct, js as d, zi as dn, at as dr, yo as dt, Na as en, Er as er, Y as et, ks as f, Li as fn, st as fr, q as ft, Ns as g, Ji as gn, mt as gr, Vo as gt, $ as h, Yi as hn, S as hr, zo as ht, Es as i, ma as in, Wt as ir, J as it, ms as j, Ni as jn, f as jr, Va as jt, hs as k, Fi as kn, ie as kr, Ja as kt, Gs as l, ia as ln, tt as lr, Lo as lt, Ps as m, Ui as mn, x as mr, lo as mt, As as n, _a as nn, tn as nr, No as nt, Ls as o, ra as on, ft as or, Ho as ot, Fs as p, Ri as pn, b as pr, Po as pt, mo as q, ii as qn, fe as qr, Ea as qt, Ts as r, Zi as rn, $t as rr, bo as rt, Ds as s, qi as sn, Ze as sr, jo as st, Ms as t, ha as tn, nn as tr, uo as tt, Os as u, Ki as un, rt as ur, Fo as ut, as as v, na as vn, Xe as vr, xo as vt, Q as w, Wi as wn, ct as wr, ao as wt, rs as x, ta as xn, nt as xr, ho as xt, ps as y, Xi as yn, Qe as yr, So as yt, go as z, oi as zn, ne as zr, ya as zt };