@tricoteuses/assemblee 2.5.31 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +16 -6
- package/README.md +1 -19
- package/lib/amendements-CXmsqoof.js +170 -0
- package/lib/amendements-CZHXlq07.js +4198 -0
- package/lib/cleaners/acteurs.d.ts +2 -1
- package/lib/cleaners/amendements.d.ts +2 -1
- package/lib/cleaners/debats.d.ts +2 -1
- package/lib/cleaners/documents.d.ts +2 -1
- package/lib/cleaners/dossiers_legislatifs.d.ts +2 -1
- package/lib/cleaners/organes.d.ts +2 -1
- package/lib/cleaners/questions.d.ts +2 -1
- package/lib/cleaners/reunions.d.ts +2 -1
- package/lib/cleaners/scrutins.d.ts +2 -1
- package/lib/cleaners/xml.d.ts +5 -5
- package/lib/cleaners.js +186 -179
- package/lib/datasets.d.ts +5 -7
- package/lib/dossiers_legislatifs.d.ts +5 -2
- package/lib/file_systems.d.ts +9 -4
- package/lib/index.d.ts +24 -19
- package/lib/index.js +390 -1234
- package/lib/inserters.d.ts +466 -9
- package/lib/loaders.d.ts +13 -12
- package/lib/loaders.js +1900 -538
- package/lib/organes.d.ts +1 -1
- package/lib/parsers/compte_rendu.d.ts +2 -1
- package/lib/parsers/compte_rendu_commission.d.ts +1 -1
- package/lib/parsers/recherche_amendements.d.ts +2 -2
- package/lib/parsers/textes_lois.d.ts +1 -1
- package/lib/parsers.js +2109 -2075
- package/lib/questions-DTO3nK5V.js +2777 -0
- package/lib/questions-DXAzvI1T.js +230 -0
- package/lib/registries.d.ts +112 -0
- package/lib/schemas/clean/acteurs_et_organes.d.ts +2377 -0
- package/lib/schemas/clean/agendas.d.ts +830 -0
- package/lib/schemas/clean/amendements.d.ts +2305 -0
- package/lib/schemas/clean/debats.d.ts +300 -0
- package/lib/schemas/clean/dossiers_legislatifs.d.ts +1365 -0
- package/lib/schemas/clean/questions.d.ts +625 -0
- package/lib/schemas/clean/scrutins.d.ts +1137 -0
- package/lib/schemas/enriched/acteurs_et_organes.d.ts +112 -0
- package/lib/schemas/enriched/agendas.d.ts +501 -0
- package/lib/schemas/enriched/amendements.d.ts +1230 -0
- package/lib/schemas/enriched/debats.d.ts +308 -0
- package/lib/schemas/enriched/dossiers_legislatifs.d.ts +1131 -0
- package/lib/schemas/enriched/questions.d.ts +589 -0
- package/lib/schemas/enriched/scrutins.d.ts +1094 -0
- package/lib/schemas/raw/acteurs_et_organes.d.ts +5870 -0
- package/lib/schemas/raw/agendas.d.ts +1734 -0
- package/lib/schemas/raw/amendements.d.ts +4758 -0
- package/lib/schemas/raw/debats.d.ts +410 -0
- package/lib/schemas/raw/dossiers_legislatifs.d.ts +3252 -0
- package/lib/schemas/raw/questions.d.ts +983 -0
- package/lib/schemas/raw/scrutins.d.ts +2763 -0
- package/lib/scripts/retrieve_deputes_photos.d.ts +58 -4
- package/lib/scripts/retrieve_documents.d.ts +100 -12
- package/lib/scripts/retrieve_open_data.d.ts +75 -4
- package/lib/scripts/retrieve_videos.d.ts +1 -1
- package/lib/scripts/shared/cli_helpers.d.ts +103 -77
- package/lib/scripts/shared/photos.d.ts +106 -0
- package/lib/scripts/shared/utils.d.ts +4 -1
- package/lib/urls.d.ts +2 -2
- package/package.json +16 -12
- package/lib/amendements-40Z7OJLT.js +0 -682
- package/lib/amendements-J6Sx61n8.js +0 -154
- package/lib/datasets-Cb3wpfRH.js +0 -3580
- package/lib/parse-Ccs6wcUg.js +0 -2512
- package/lib/raw_types/acteurs_et_organes.d.ts +0 -464
- package/lib/raw_types/agendas.d.ts +0 -265
- package/lib/raw_types/amendements.d.ts +0 -365
- package/lib/raw_types/debats.d.ts +0 -140
- package/lib/raw_types/dossiers_legislatifs.d.ts +0 -567
- package/lib/raw_types/questions.d.ts +0 -115
- package/lib/raw_types/scrutins.d.ts +0 -187
- package/lib/schemas/acteurs_et_organes.json +0 -1167
- package/lib/schemas/agendas.json +0 -1757
- package/lib/schemas/amendements.json +0 -2087
- package/lib/schemas/compte_rendu_commission/CompteRenduCommission.json +0 -63
- package/lib/schemas/debats.json +0 -847
- package/lib/schemas/dossiers_legislatifs.json +0 -3884
- package/lib/schemas/legislatures.json +0 -17
- package/lib/schemas/questions.json +0 -711
- package/lib/schemas/scrutins.json +0 -701
- package/lib/scripts/copy-schemas.d.ts +0 -1
- package/lib/scripts/generate-json-schemas.d.ts +0 -1
- package/lib/shared_types/acteurs_et_organes.d.ts +0 -149
- package/lib/shared_types/dossiers_legislatifs.d.ts +0 -222
- package/lib/types/acteurs_et_organes.d.ts +0 -598
- package/lib/types/agendas.d.ts +0 -442
- package/lib/types/amendements.d.ts +0 -615
- package/lib/types/debats.d.ts +0 -186
- package/lib/types/dossiers_legislatifs.d.ts +0 -826
- package/lib/types/questions.d.ts +0 -203
- package/lib/types/scrutins.d.ts +0 -254
- /package/lib/{types/legislatures.d.ts → legislatures.d.ts} +0 -0
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Available options for vote result decision.
|
|
4
|
+
* Note: Uses Unicode right single quotation mark (U+2019 ’) not ASCII apostrophe (')
|
|
5
|
+
*/
|
|
6
|
+
export declare const decisionOptions: readonly ["", "ADOPTION amendement (main levée) adt", "ADOPTION d’un article (vote à main levée)", "ADOPTION d’un sous-amendement (main levée) ss-adt", "ADOPTION de plusieurs amendements (main levée) adts", "ADOPTION de plusieurs sous-amendements (main levée) ss-adts", "REJET d’un amendement (main levée) adt", "REJET d’un article (vote à main levée)", "REJET d’un sous-amendement (main levée) ss-adt", "REJET de plusieurs amendements (main levée) adts", "REJET de plusieurs sous-amendements (main levée) ss-adts", "REJET motion de rejet préalable (main levée)"];
|
|
7
|
+
/**
|
|
8
|
+
* Zod schema for vote result decision.
|
|
9
|
+
*/
|
|
10
|
+
export declare const DecisionSchema: z.ZodEnum<{
|
|
11
|
+
"": "";
|
|
12
|
+
"ADOPTION amendement (main lev\u00E9e) adt": "ADOPTION amendement (main levée) adt";
|
|
13
|
+
"ADOPTION d\u2019un article (vote \u00E0 main lev\u00E9e)": "ADOPTION d’un article (vote à main levée)";
|
|
14
|
+
"ADOPTION d\u2019un sous-amendement (main lev\u00E9e) ss-adt": "ADOPTION d’un sous-amendement (main levée) ss-adt";
|
|
15
|
+
"ADOPTION de plusieurs amendements (main lev\u00E9e) adts": "ADOPTION de plusieurs amendements (main levée) adts";
|
|
16
|
+
"ADOPTION de plusieurs sous-amendements (main lev\u00E9e) ss-adts": "ADOPTION de plusieurs sous-amendements (main levée) ss-adts";
|
|
17
|
+
"REJET d\u2019un amendement (main lev\u00E9e) adt": "REJET d’un amendement (main levée) adt";
|
|
18
|
+
"REJET d\u2019un article (vote \u00E0 main lev\u00E9e)": "REJET d’un article (vote à main levée)";
|
|
19
|
+
"REJET d\u2019un sous-amendement (main lev\u00E9e) ss-adt": "REJET d’un sous-amendement (main levée) ss-adt";
|
|
20
|
+
"REJET de plusieurs amendements (main lev\u00E9e) adts": "REJET de plusieurs amendements (main levée) adts";
|
|
21
|
+
"REJET de plusieurs sous-amendements (main lev\u00E9e) ss-adts": "REJET de plusieurs sous-amendements (main levée) ss-adts";
|
|
22
|
+
"REJET motion de rejet pr\u00E9alable (main lev\u00E9e)": "REJET motion de rejet préalable (main levée)";
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Type representing vote result decision.
|
|
26
|
+
*/
|
|
27
|
+
export type Decision = z.infer<typeof DecisionSchema>;
|
|
28
|
+
/**
|
|
29
|
+
* Texte element (with nested lienAdt)
|
|
30
|
+
*/
|
|
31
|
+
export declare const TexteDebatRawSchema: z.ZodType<TexteDebatRaw>;
|
|
32
|
+
export type TexteDebatRaw = {
|
|
33
|
+
_?: string;
|
|
34
|
+
id_syceron?: string;
|
|
35
|
+
stime?: string;
|
|
36
|
+
sup?: string;
|
|
37
|
+
lienAdt?: TexteDebatRaw[] | TexteDebatRaw;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Orateur element
|
|
41
|
+
*/
|
|
42
|
+
export declare const OrateurElementRawSchema: z.ZodObject<{
|
|
43
|
+
nom: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
44
|
+
id: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>> & z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>, z.ZodTransform<string, string>>;
|
|
45
|
+
qualite: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
export type OrateurElementRaw = z.infer<typeof OrateurElementRawSchema>;
|
|
48
|
+
/**
|
|
49
|
+
* Orateurs (list of speakers)
|
|
50
|
+
*/
|
|
51
|
+
export declare const OrateursRawSchema: z.ZodObject<{
|
|
52
|
+
orateur: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodObject<{
|
|
53
|
+
nom: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
54
|
+
id: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>> & z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>, z.ZodTransform<string, string>>;
|
|
55
|
+
qualite: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
56
|
+
}, z.core.$strip>>>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
export type OrateursRaw = z.infer<typeof OrateursRawSchema>;
|
|
59
|
+
/**
|
|
60
|
+
* Point (recursive structure for debate sections)
|
|
61
|
+
*/
|
|
62
|
+
export declare const PointRawSchema: z.ZodType<PointRaw>;
|
|
63
|
+
export type PointRaw = {
|
|
64
|
+
id_preparation?: string;
|
|
65
|
+
ordre_absolu_seance?: string;
|
|
66
|
+
code_grammaire?: string;
|
|
67
|
+
sommaire?: string;
|
|
68
|
+
id_syceron?: string;
|
|
69
|
+
valeur_ptsodj?: string;
|
|
70
|
+
nivpoint?: string;
|
|
71
|
+
ordinal_prise?: string;
|
|
72
|
+
code_style?: string;
|
|
73
|
+
code_parole?: string;
|
|
74
|
+
valeur?: string;
|
|
75
|
+
orateurs?: OrateursRaw | string;
|
|
76
|
+
texte?: TexteDebatRaw | string;
|
|
77
|
+
paragraphe?: PointRaw[] | PointRaw;
|
|
78
|
+
interExtraction?: PointRaw[] | PointRaw;
|
|
79
|
+
point?: PointRaw[] | PointRaw;
|
|
80
|
+
structure?: string;
|
|
81
|
+
id_acteur?: string;
|
|
82
|
+
id_mandat?: string;
|
|
83
|
+
id_nomination_oe?: string;
|
|
84
|
+
id_nomination_op?: string;
|
|
85
|
+
orateur?: string;
|
|
86
|
+
bibard?: string;
|
|
87
|
+
art?: string;
|
|
88
|
+
adt?: string;
|
|
89
|
+
ssadt?: string;
|
|
90
|
+
roledebat?: string;
|
|
91
|
+
changementPresidence?: PointRaw[] | PointRaw;
|
|
92
|
+
type_debat?: string;
|
|
93
|
+
decision?: Decision;
|
|
94
|
+
ouvertureSeance?: PointRaw;
|
|
95
|
+
qualite?: string;
|
|
96
|
+
nom_orateur?: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Fin de séance
|
|
100
|
+
*/
|
|
101
|
+
export declare const FinSeanceRawSchema: z.ZodObject<{
|
|
102
|
+
point: z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
export type FinSeanceRaw = z.infer<typeof FinSeanceRawSchema>;
|
|
105
|
+
/**
|
|
106
|
+
* Quantièmes (session dates)
|
|
107
|
+
*/
|
|
108
|
+
export declare const QuantiemesRawSchema: z.ZodObject<{
|
|
109
|
+
journee: z.ZodString;
|
|
110
|
+
session: z.ZodString;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
export type QuantiemesRaw = z.infer<typeof QuantiemesRawSchema>;
|
|
113
|
+
/**
|
|
114
|
+
* Contenu (main debate content)
|
|
115
|
+
*/
|
|
116
|
+
export declare const ContenuRawSchema: z.ZodObject<{
|
|
117
|
+
quantiemes: z.ZodObject<{
|
|
118
|
+
journee: z.ZodString;
|
|
119
|
+
session: z.ZodString;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
ouvertureSeance: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>>;
|
|
122
|
+
point: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>;
|
|
123
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
124
|
+
point: z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
paragraphe: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>>;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
export type ContenuRaw = z.infer<typeof ContenuRawSchema>;
|
|
129
|
+
/**
|
|
130
|
+
* Titre de structure
|
|
131
|
+
*/
|
|
132
|
+
export declare const TitreStructRawSchema: z.ZodObject<{
|
|
133
|
+
id_syceron: z.ZodString;
|
|
134
|
+
intitule: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
135
|
+
sousIntitule: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
136
|
+
type_debat: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodString>>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
export type TitreStructRaw = z.infer<typeof TitreStructRawSchema>;
|
|
139
|
+
/**
|
|
140
|
+
* Sommaire element (recursive)
|
|
141
|
+
*/
|
|
142
|
+
export declare const SommaireElementRawSchema: z.ZodType<SommaireElementRaw>;
|
|
143
|
+
export type SommaireElementRaw = {
|
|
144
|
+
valeur_pts_odj?: string;
|
|
145
|
+
titreStruct: TitreStructRaw;
|
|
146
|
+
para?: Array<TexteDebatRaw | string> | TexteDebatRaw;
|
|
147
|
+
sommaire2?: SommaireElementRaw[] | SommaireElementRaw;
|
|
148
|
+
sommaire3?: SommaireElementRaw[] | SommaireElementRaw;
|
|
149
|
+
presidentSeance?: TexteDebatRaw[] | TexteDebatRaw;
|
|
150
|
+
type_debat?: string;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Sommaire (table of contents)
|
|
154
|
+
*/
|
|
155
|
+
export declare const SommaireRawSchema: z.ZodObject<{
|
|
156
|
+
presidentSeance: z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>;
|
|
157
|
+
sommaire1: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>;
|
|
158
|
+
sommaire2: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
159
|
+
sommaire3: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
160
|
+
para: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>>>>;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
export type SommaireRaw = z.infer<typeof SommaireRawSchema>;
|
|
163
|
+
/**
|
|
164
|
+
* Métadonnées (metadata)
|
|
165
|
+
*/
|
|
166
|
+
export declare const MetadonneesRawSchema: z.ZodObject<{
|
|
167
|
+
dateSeance: z.ZodString;
|
|
168
|
+
dateSeanceJour: z.ZodString;
|
|
169
|
+
numSeanceJour: z.ZodString;
|
|
170
|
+
numSeance: z.ZodString;
|
|
171
|
+
typeAssemblee: z.ZodString;
|
|
172
|
+
legislature: z.ZodString;
|
|
173
|
+
session: z.ZodString;
|
|
174
|
+
nomFichierJo: z.ZodString;
|
|
175
|
+
validite: z.ZodString;
|
|
176
|
+
etat: z.ZodString;
|
|
177
|
+
diffusion: z.ZodString;
|
|
178
|
+
version: z.ZodString;
|
|
179
|
+
environnement: z.ZodString;
|
|
180
|
+
heureGeneration: z.ZodISODateTime;
|
|
181
|
+
sommaire: z.ZodObject<{
|
|
182
|
+
presidentSeance: z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>;
|
|
183
|
+
sommaire1: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>;
|
|
184
|
+
sommaire2: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
185
|
+
sommaire3: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
186
|
+
para: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>>>>;
|
|
187
|
+
}, z.core.$strip>;
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
export type MetadonneesRaw = z.infer<typeof MetadonneesRawSchema>;
|
|
190
|
+
/**
|
|
191
|
+
* Compte Rendu (single debate transcript)
|
|
192
|
+
*/
|
|
193
|
+
export declare const CompteRenduRawSchema: z.ZodObject<{
|
|
194
|
+
xmlns: z.ZodString;
|
|
195
|
+
uid: z.ZodString;
|
|
196
|
+
seanceRef: z.ZodString;
|
|
197
|
+
sessionRef: z.ZodString;
|
|
198
|
+
metadonnees: z.ZodObject<{
|
|
199
|
+
dateSeance: z.ZodString;
|
|
200
|
+
dateSeanceJour: z.ZodString;
|
|
201
|
+
numSeanceJour: z.ZodString;
|
|
202
|
+
numSeance: z.ZodString;
|
|
203
|
+
typeAssemblee: z.ZodString;
|
|
204
|
+
legislature: z.ZodString;
|
|
205
|
+
session: z.ZodString;
|
|
206
|
+
nomFichierJo: z.ZodString;
|
|
207
|
+
validite: z.ZodString;
|
|
208
|
+
etat: z.ZodString;
|
|
209
|
+
diffusion: z.ZodString;
|
|
210
|
+
version: z.ZodString;
|
|
211
|
+
environnement: z.ZodString;
|
|
212
|
+
heureGeneration: z.ZodISODateTime;
|
|
213
|
+
sommaire: z.ZodObject<{
|
|
214
|
+
presidentSeance: z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>;
|
|
215
|
+
sommaire1: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>;
|
|
216
|
+
sommaire2: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
217
|
+
sommaire3: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
218
|
+
para: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>>>>;
|
|
219
|
+
}, z.core.$strip>;
|
|
220
|
+
}, z.core.$strip>;
|
|
221
|
+
contenu: z.ZodObject<{
|
|
222
|
+
quantiemes: z.ZodObject<{
|
|
223
|
+
journee: z.ZodString;
|
|
224
|
+
session: z.ZodString;
|
|
225
|
+
}, z.core.$strip>;
|
|
226
|
+
ouvertureSeance: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>>;
|
|
227
|
+
point: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>;
|
|
228
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
229
|
+
point: z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>;
|
|
230
|
+
}, z.core.$strip>>;
|
|
231
|
+
paragraphe: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>>;
|
|
232
|
+
}, z.core.$strip>;
|
|
233
|
+
}, z.core.$strip>;
|
|
234
|
+
export type CompteRenduRaw = z.infer<typeof CompteRenduRawSchema>;
|
|
235
|
+
/**
|
|
236
|
+
* CompteRendu wrapper (single item wrapper)
|
|
237
|
+
*/
|
|
238
|
+
export declare const CompteRenduWrapperRawSchema: z.ZodObject<{
|
|
239
|
+
compteRendu: z.ZodObject<{
|
|
240
|
+
xmlns: z.ZodString;
|
|
241
|
+
uid: z.ZodString;
|
|
242
|
+
seanceRef: z.ZodString;
|
|
243
|
+
sessionRef: z.ZodString;
|
|
244
|
+
metadonnees: z.ZodObject<{
|
|
245
|
+
dateSeance: z.ZodString;
|
|
246
|
+
dateSeanceJour: z.ZodString;
|
|
247
|
+
numSeanceJour: z.ZodString;
|
|
248
|
+
numSeance: z.ZodString;
|
|
249
|
+
typeAssemblee: z.ZodString;
|
|
250
|
+
legislature: z.ZodString;
|
|
251
|
+
session: z.ZodString;
|
|
252
|
+
nomFichierJo: z.ZodString;
|
|
253
|
+
validite: z.ZodString;
|
|
254
|
+
etat: z.ZodString;
|
|
255
|
+
diffusion: z.ZodString;
|
|
256
|
+
version: z.ZodString;
|
|
257
|
+
environnement: z.ZodString;
|
|
258
|
+
heureGeneration: z.ZodISODateTime;
|
|
259
|
+
sommaire: z.ZodObject<{
|
|
260
|
+
presidentSeance: z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>;
|
|
261
|
+
sommaire1: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>;
|
|
262
|
+
sommaire2: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
263
|
+
sommaire3: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
264
|
+
para: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>>>>;
|
|
265
|
+
}, z.core.$strip>;
|
|
266
|
+
}, z.core.$strip>;
|
|
267
|
+
contenu: z.ZodObject<{
|
|
268
|
+
quantiemes: z.ZodObject<{
|
|
269
|
+
journee: z.ZodString;
|
|
270
|
+
session: z.ZodString;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
ouvertureSeance: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>>;
|
|
273
|
+
point: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>;
|
|
274
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
275
|
+
point: z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>;
|
|
276
|
+
}, z.core.$strip>>;
|
|
277
|
+
paragraphe: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>>;
|
|
278
|
+
}, z.core.$strip>;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
}, z.core.$strip>;
|
|
281
|
+
export type CompteRenduWrapperRaw = z.infer<typeof CompteRenduWrapperRawSchema>;
|
|
282
|
+
/**
|
|
283
|
+
* CompteRenduClass (inner array wrapper)
|
|
284
|
+
*/
|
|
285
|
+
export declare const CompteRenduClassRawSchema: z.ZodObject<{
|
|
286
|
+
compteRendu: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodObject<{
|
|
287
|
+
xmlns: z.ZodString;
|
|
288
|
+
uid: z.ZodString;
|
|
289
|
+
seanceRef: z.ZodString;
|
|
290
|
+
sessionRef: z.ZodString;
|
|
291
|
+
metadonnees: z.ZodObject<{
|
|
292
|
+
dateSeance: z.ZodString;
|
|
293
|
+
dateSeanceJour: z.ZodString;
|
|
294
|
+
numSeanceJour: z.ZodString;
|
|
295
|
+
numSeance: z.ZodString;
|
|
296
|
+
typeAssemblee: z.ZodString;
|
|
297
|
+
legislature: z.ZodString;
|
|
298
|
+
session: z.ZodString;
|
|
299
|
+
nomFichierJo: z.ZodString;
|
|
300
|
+
validite: z.ZodString;
|
|
301
|
+
etat: z.ZodString;
|
|
302
|
+
diffusion: z.ZodString;
|
|
303
|
+
version: z.ZodString;
|
|
304
|
+
environnement: z.ZodString;
|
|
305
|
+
heureGeneration: z.ZodISODateTime;
|
|
306
|
+
sommaire: z.ZodObject<{
|
|
307
|
+
presidentSeance: z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>;
|
|
308
|
+
sommaire1: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>;
|
|
309
|
+
sommaire2: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
310
|
+
sommaire3: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
311
|
+
para: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>>>>;
|
|
312
|
+
}, z.core.$strip>;
|
|
313
|
+
}, z.core.$strip>;
|
|
314
|
+
contenu: z.ZodObject<{
|
|
315
|
+
quantiemes: z.ZodObject<{
|
|
316
|
+
journee: z.ZodString;
|
|
317
|
+
session: z.ZodString;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
ouvertureSeance: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>>;
|
|
320
|
+
point: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>;
|
|
321
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
322
|
+
point: z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>;
|
|
323
|
+
}, z.core.$strip>>;
|
|
324
|
+
paragraphe: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>>;
|
|
325
|
+
}, z.core.$strip>;
|
|
326
|
+
}, z.core.$strip>>>;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
export type CompteRenduClassRaw = z.infer<typeof CompteRenduClassRawSchema>;
|
|
329
|
+
/**
|
|
330
|
+
* ComptesRendus (main export structure for list)
|
|
331
|
+
*/
|
|
332
|
+
export declare const ComptesRendusRawSchema: z.ZodObject<{
|
|
333
|
+
compteRendu: z.ZodObject<{
|
|
334
|
+
compteRendu: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodObject<{
|
|
335
|
+
xmlns: z.ZodString;
|
|
336
|
+
uid: z.ZodString;
|
|
337
|
+
seanceRef: z.ZodString;
|
|
338
|
+
sessionRef: z.ZodString;
|
|
339
|
+
metadonnees: z.ZodObject<{
|
|
340
|
+
dateSeance: z.ZodString;
|
|
341
|
+
dateSeanceJour: z.ZodString;
|
|
342
|
+
numSeanceJour: z.ZodString;
|
|
343
|
+
numSeance: z.ZodString;
|
|
344
|
+
typeAssemblee: z.ZodString;
|
|
345
|
+
legislature: z.ZodString;
|
|
346
|
+
session: z.ZodString;
|
|
347
|
+
nomFichierJo: z.ZodString;
|
|
348
|
+
validite: z.ZodString;
|
|
349
|
+
etat: z.ZodString;
|
|
350
|
+
diffusion: z.ZodString;
|
|
351
|
+
version: z.ZodString;
|
|
352
|
+
environnement: z.ZodString;
|
|
353
|
+
heureGeneration: z.ZodISODateTime;
|
|
354
|
+
sommaire: z.ZodObject<{
|
|
355
|
+
presidentSeance: z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>;
|
|
356
|
+
sommaire1: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>;
|
|
357
|
+
sommaire2: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
358
|
+
sommaire3: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementRaw, unknown, z.core.$ZodTypeInternals<SommaireElementRaw, unknown>>>>>;
|
|
359
|
+
para: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<TexteDebatRaw, unknown, z.core.$ZodTypeInternals<TexteDebatRaw, unknown>>>>>;
|
|
360
|
+
}, z.core.$strip>;
|
|
361
|
+
}, z.core.$strip>;
|
|
362
|
+
contenu: z.ZodObject<{
|
|
363
|
+
quantiemes: z.ZodObject<{
|
|
364
|
+
journee: z.ZodString;
|
|
365
|
+
session: z.ZodString;
|
|
366
|
+
}, z.core.$strip>;
|
|
367
|
+
ouvertureSeance: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>>;
|
|
368
|
+
point: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>;
|
|
369
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
370
|
+
point: z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>;
|
|
371
|
+
}, z.core.$strip>>;
|
|
372
|
+
paragraphe: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<PointRaw, unknown, z.core.$ZodTypeInternals<PointRaw, unknown>>>>>;
|
|
373
|
+
}, z.core.$strip>;
|
|
374
|
+
}, z.core.$strip>>>;
|
|
375
|
+
}, z.core.$strip>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
export type ComptesRendusRaw = z.infer<typeof ComptesRendusRawSchema>;
|
|
378
|
+
/**
|
|
379
|
+
* Parse CompteRenduWrapper from JSON string
|
|
380
|
+
*/
|
|
381
|
+
export declare function parseCompteRenduWrapperRaw(json: string): CompteRenduWrapperRaw;
|
|
382
|
+
/**
|
|
383
|
+
* Parse ComptesRendus from JSON string
|
|
384
|
+
*/
|
|
385
|
+
export declare function parseComptesRendusRaw(json: string): ComptesRendusRaw;
|
|
386
|
+
/**
|
|
387
|
+
* Serialize CompteRenduWrapper to JSON string
|
|
388
|
+
*/
|
|
389
|
+
export declare function compteRenduWrapperRawToJson(value: CompteRenduWrapperRaw): string;
|
|
390
|
+
/**
|
|
391
|
+
* Serialize ComptesRendus to JSON string
|
|
392
|
+
*/
|
|
393
|
+
export declare function comptesRendusRawToJson(value: ComptesRendusRaw): string;
|
|
394
|
+
/**
|
|
395
|
+
* File-specific Convert object matching Quicktype's Convert class API
|
|
396
|
+
*
|
|
397
|
+
* @example
|
|
398
|
+
* ```typescript
|
|
399
|
+
* import { DebatsRawConvert } from "@tricoteuses/assemblee/zod"
|
|
400
|
+
*
|
|
401
|
+
* const compteRendu = DebatsRawConvert.toCompteRenduWrapper(json)
|
|
402
|
+
* const json = DebatsRawConvert.compteRenduWrapperToJson(compteRendu)
|
|
403
|
+
* ```
|
|
404
|
+
*/
|
|
405
|
+
export declare const DebatsRawConvert: {
|
|
406
|
+
toCompteRenduWrapper: typeof parseCompteRenduWrapperRaw;
|
|
407
|
+
compteRenduWrapperToJson: typeof compteRenduWrapperRawToJson;
|
|
408
|
+
toComptesRendus: typeof parseComptesRendusRaw;
|
|
409
|
+
comptesRendusToJson: typeof comptesRendusRawToJson;
|
|
410
|
+
};
|