@tricoteuses/assemblee 2.5.30 → 3.0.0
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 +2 -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 +10 -3
- 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 +1901 -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 +86 -12
- package/lib/scripts/retrieve_open_data.d.ts +39 -4
- package/lib/scripts/retrieve_videos.d.ts +1 -1
- package/lib/scripts/shared/cli_helpers.d.ts +41 -77
- package/lib/scripts/shared/photos.d.ts +106 -0
- package/lib/scripts/shared/utils.d.ts +4 -0
- 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,308 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ActeurEnriched } from './acteurs_et_organes.js';
|
|
3
|
+
/**
|
|
4
|
+
* Texte enriched - extends TexteClean
|
|
5
|
+
* Currently no enrichment fields, structure in place for future use
|
|
6
|
+
*/
|
|
7
|
+
export declare const TexteEnrichedSchema: z.ZodType<TexteEnriched>;
|
|
8
|
+
export type TexteEnriched = {
|
|
9
|
+
_?: string;
|
|
10
|
+
id_syceron?: string;
|
|
11
|
+
stime?: string;
|
|
12
|
+
sup?: string;
|
|
13
|
+
lienAdt?: TexteEnriched[];
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* OrateurElement enriched - extends OrateurElementClean
|
|
17
|
+
* Currently no enrichment fields, structure in place for future use
|
|
18
|
+
*/
|
|
19
|
+
export declare const OrateurElementEnrichedSchema: z.ZodObject<{
|
|
20
|
+
nom: z.ZodOptional<z.ZodString>;
|
|
21
|
+
id: z.ZodOptional<z.ZodString>;
|
|
22
|
+
qualite: z.ZodOptional<z.ZodString>;
|
|
23
|
+
acteur: z.ZodOptional<z.ZodLazy<z.ZodType<ActeurEnriched, unknown, z.core.$ZodTypeInternals<ActeurEnriched, unknown>>>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export type OrateurElementEnriched = z.infer<typeof OrateurElementEnrichedSchema>;
|
|
26
|
+
/**
|
|
27
|
+
* Orateurs enriched - extends OrateursClean
|
|
28
|
+
* Uses OrateurElementEnriched
|
|
29
|
+
*/
|
|
30
|
+
export declare const OrateursEnrichedSchema: z.ZodObject<{
|
|
31
|
+
orateur: z.ZodArray<z.ZodObject<{
|
|
32
|
+
nom: z.ZodOptional<z.ZodString>;
|
|
33
|
+
id: z.ZodOptional<z.ZodString>;
|
|
34
|
+
qualite: z.ZodOptional<z.ZodString>;
|
|
35
|
+
acteur: z.ZodOptional<z.ZodLazy<z.ZodType<ActeurEnriched, unknown, z.core.$ZodTypeInternals<ActeurEnriched, unknown>>>>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export type OrateursEnriched = z.infer<typeof OrateursEnrichedSchema>;
|
|
39
|
+
/**
|
|
40
|
+
* Point enriched - extends PointClean
|
|
41
|
+
* Uses enriched nested types
|
|
42
|
+
*/
|
|
43
|
+
export declare const PointEnrichedSchema: z.ZodType<PointEnriched>;
|
|
44
|
+
export type PointEnriched = {
|
|
45
|
+
id_preparation?: string;
|
|
46
|
+
ordre_absolu_seance?: string;
|
|
47
|
+
code_grammaire?: string;
|
|
48
|
+
sommaire?: string;
|
|
49
|
+
id_syceron?: string;
|
|
50
|
+
valeur_ptsodj?: string;
|
|
51
|
+
nivpoint?: string;
|
|
52
|
+
ordinal_prise?: string;
|
|
53
|
+
code_style?: string;
|
|
54
|
+
code_parole?: string;
|
|
55
|
+
valeur?: string;
|
|
56
|
+
orateurs?: OrateursEnriched | string;
|
|
57
|
+
texte?: TexteEnriched | string;
|
|
58
|
+
paragraphe?: PointEnriched[];
|
|
59
|
+
interExtraction?: PointEnriched[];
|
|
60
|
+
point?: PointEnriched[];
|
|
61
|
+
structure?: string;
|
|
62
|
+
id_acteur?: string;
|
|
63
|
+
id_mandat?: string;
|
|
64
|
+
id_nomination_oe?: string;
|
|
65
|
+
id_nomination_op?: string;
|
|
66
|
+
orateur?: string;
|
|
67
|
+
bibard?: string;
|
|
68
|
+
art?: string;
|
|
69
|
+
adt?: string;
|
|
70
|
+
ssadt?: string;
|
|
71
|
+
roledebat?: string;
|
|
72
|
+
changementPresidence?: PointEnriched[];
|
|
73
|
+
type_debat?: string;
|
|
74
|
+
decision?: string;
|
|
75
|
+
ouvertureSeance?: PointEnriched;
|
|
76
|
+
nom_orateur?: string;
|
|
77
|
+
qualite?: string;
|
|
78
|
+
acteur?: ActeurEnriched;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* FinSeance enriched - extends FinSeanceClean
|
|
82
|
+
* Uses PointEnriched
|
|
83
|
+
*/
|
|
84
|
+
export declare const FinSeanceEnrichedSchema: z.ZodObject<{
|
|
85
|
+
point: z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
export type FinSeanceEnriched = z.infer<typeof FinSeanceEnrichedSchema>;
|
|
88
|
+
/**
|
|
89
|
+
* Quantiemes enriched - extends QuantiemesClean
|
|
90
|
+
* Currently no enrichment fields
|
|
91
|
+
*/
|
|
92
|
+
export declare const QuantiemesEnrichedSchema: z.ZodObject<{
|
|
93
|
+
journee: z.ZodString;
|
|
94
|
+
session: z.ZodString;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
export type QuantiemesEnriched = z.infer<typeof QuantiemesEnrichedSchema>;
|
|
97
|
+
/**
|
|
98
|
+
* Contenu enriched - extends ContenuClean
|
|
99
|
+
* Uses PointEnriched
|
|
100
|
+
*/
|
|
101
|
+
export declare const ContenuEnrichedSchema: z.ZodObject<{
|
|
102
|
+
quantiemes: z.ZodObject<{
|
|
103
|
+
journee: z.ZodString;
|
|
104
|
+
session: z.ZodString;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
ouvertureSeance: z.ZodOptional<z.ZodArray<z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>>>;
|
|
107
|
+
point: z.ZodArray<z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>>;
|
|
108
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
109
|
+
point: z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
paragraphe: z.ZodOptional<z.ZodArray<z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>>>;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
export type ContenuEnriched = z.infer<typeof ContenuEnrichedSchema>;
|
|
114
|
+
/**
|
|
115
|
+
* TitreStruct enriched - extends TitreStructClean
|
|
116
|
+
* Currently no enrichment fields
|
|
117
|
+
*/
|
|
118
|
+
export declare const TitreStructEnrichedSchema: z.ZodObject<{
|
|
119
|
+
id_syceron: z.ZodString;
|
|
120
|
+
intitule: z.ZodOptional<z.ZodString>;
|
|
121
|
+
sousIntitule: z.ZodOptional<z.ZodString>;
|
|
122
|
+
type_debat: z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
export type TitreStructEnriched = z.infer<typeof TitreStructEnrichedSchema>;
|
|
125
|
+
/**
|
|
126
|
+
* SommaireElement enriched - extends SommaireElementClean
|
|
127
|
+
* Uses TexteEnriched
|
|
128
|
+
*/
|
|
129
|
+
export declare const SommaireElementEnrichedSchema: z.ZodType<SommaireElementEnriched>;
|
|
130
|
+
export type SommaireElementEnriched = {
|
|
131
|
+
valeur_pts_odj?: string;
|
|
132
|
+
titreStruct: TitreStructEnriched;
|
|
133
|
+
para?: Array<TexteEnriched | string>;
|
|
134
|
+
sommaire2?: SommaireElementEnriched[];
|
|
135
|
+
sommaire3?: SommaireElementEnriched[];
|
|
136
|
+
presidentSeance?: TexteEnriched[];
|
|
137
|
+
type_debat?: string;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Sommaire enriched - extends SommaireClean
|
|
141
|
+
* Uses TexteEnriched and SommaireElementEnriched
|
|
142
|
+
*/
|
|
143
|
+
export declare const SommaireEnrichedSchema: z.ZodObject<{
|
|
144
|
+
presidentSeance: z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>;
|
|
145
|
+
sommaire1: z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>;
|
|
146
|
+
sommaire3: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>>;
|
|
147
|
+
sommaire2: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>>;
|
|
148
|
+
para: z.ZodOptional<z.ZodArray<z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>>>;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
export type SommaireEnriched = z.infer<typeof SommaireEnrichedSchema>;
|
|
151
|
+
/**
|
|
152
|
+
* Metadonnees enriched - extends MetadonneesClean
|
|
153
|
+
* Uses SommaireEnriched
|
|
154
|
+
*/
|
|
155
|
+
export declare const MetadonneesEnrichedSchema: z.ZodObject<{
|
|
156
|
+
dateSeance: z.ZodString;
|
|
157
|
+
dateSeanceJour: z.ZodString;
|
|
158
|
+
numSeanceJour: z.ZodString;
|
|
159
|
+
numSeance: z.ZodString;
|
|
160
|
+
typeAssemblee: z.ZodString;
|
|
161
|
+
legislature: z.ZodString;
|
|
162
|
+
session: z.ZodString;
|
|
163
|
+
nomFichierJo: z.ZodString;
|
|
164
|
+
validite: z.ZodString;
|
|
165
|
+
etat: z.ZodString;
|
|
166
|
+
diffusion: z.ZodString;
|
|
167
|
+
version: z.ZodString;
|
|
168
|
+
environnement: z.ZodString;
|
|
169
|
+
heureGeneration: z.ZodISODateTime;
|
|
170
|
+
sommaire: z.ZodObject<{
|
|
171
|
+
presidentSeance: z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>;
|
|
172
|
+
sommaire1: z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>;
|
|
173
|
+
sommaire3: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>>;
|
|
174
|
+
sommaire2: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>>;
|
|
175
|
+
para: z.ZodOptional<z.ZodArray<z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>>>;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
export type MetadonneesEnriched = z.infer<typeof MetadonneesEnrichedSchema>;
|
|
179
|
+
/**
|
|
180
|
+
* CompteRendu enriched - extends CompteRenduClean
|
|
181
|
+
* Includes Tricoteuses-added fields (videoUrl, videoTimecode)
|
|
182
|
+
*/
|
|
183
|
+
export declare const CompteRenduEnrichedSchema: z.ZodObject<{
|
|
184
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
185
|
+
uid: z.ZodString;
|
|
186
|
+
seanceRef: z.ZodString;
|
|
187
|
+
sessionRef: z.ZodString;
|
|
188
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
189
|
+
videoTimecode: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
metadonnees: z.ZodObject<{
|
|
191
|
+
dateSeance: z.ZodString;
|
|
192
|
+
dateSeanceJour: z.ZodString;
|
|
193
|
+
numSeanceJour: z.ZodString;
|
|
194
|
+
numSeance: z.ZodString;
|
|
195
|
+
typeAssemblee: z.ZodString;
|
|
196
|
+
legislature: z.ZodString;
|
|
197
|
+
session: z.ZodString;
|
|
198
|
+
nomFichierJo: z.ZodString;
|
|
199
|
+
validite: z.ZodString;
|
|
200
|
+
etat: z.ZodString;
|
|
201
|
+
diffusion: z.ZodString;
|
|
202
|
+
version: z.ZodString;
|
|
203
|
+
environnement: z.ZodString;
|
|
204
|
+
heureGeneration: z.ZodISODateTime;
|
|
205
|
+
sommaire: z.ZodObject<{
|
|
206
|
+
presidentSeance: z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>;
|
|
207
|
+
sommaire1: z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>;
|
|
208
|
+
sommaire3: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>>;
|
|
209
|
+
sommaire2: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>>;
|
|
210
|
+
para: z.ZodOptional<z.ZodArray<z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>>>;
|
|
211
|
+
}, z.core.$strip>;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
contenu: z.ZodObject<{
|
|
214
|
+
quantiemes: z.ZodObject<{
|
|
215
|
+
journee: z.ZodString;
|
|
216
|
+
session: z.ZodString;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
ouvertureSeance: z.ZodOptional<z.ZodArray<z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>>>;
|
|
219
|
+
point: z.ZodArray<z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>>;
|
|
220
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
point: z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
paragraphe: z.ZodOptional<z.ZodArray<z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>>>;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
}, z.core.$strip>;
|
|
226
|
+
export type CompteRenduEnriched = z.infer<typeof CompteRenduEnrichedSchema>;
|
|
227
|
+
/**
|
|
228
|
+
* ComptesRendus enriched - extends ComptesRendusClean
|
|
229
|
+
*/
|
|
230
|
+
export declare const ComptesRendusEnrichedSchema: z.ZodObject<{
|
|
231
|
+
comptesRendus: z.ZodArray<z.ZodObject<{
|
|
232
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
233
|
+
uid: z.ZodString;
|
|
234
|
+
seanceRef: z.ZodString;
|
|
235
|
+
sessionRef: z.ZodString;
|
|
236
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
237
|
+
videoTimecode: z.ZodOptional<z.ZodNumber>;
|
|
238
|
+
metadonnees: z.ZodObject<{
|
|
239
|
+
dateSeance: z.ZodString;
|
|
240
|
+
dateSeanceJour: z.ZodString;
|
|
241
|
+
numSeanceJour: z.ZodString;
|
|
242
|
+
numSeance: z.ZodString;
|
|
243
|
+
typeAssemblee: z.ZodString;
|
|
244
|
+
legislature: z.ZodString;
|
|
245
|
+
session: z.ZodString;
|
|
246
|
+
nomFichierJo: z.ZodString;
|
|
247
|
+
validite: z.ZodString;
|
|
248
|
+
etat: z.ZodString;
|
|
249
|
+
diffusion: z.ZodString;
|
|
250
|
+
version: z.ZodString;
|
|
251
|
+
environnement: z.ZodString;
|
|
252
|
+
heureGeneration: z.ZodISODateTime;
|
|
253
|
+
sommaire: z.ZodObject<{
|
|
254
|
+
presidentSeance: z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>;
|
|
255
|
+
sommaire1: z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>;
|
|
256
|
+
sommaire3: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>>;
|
|
257
|
+
sommaire2: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>>;
|
|
258
|
+
para: z.ZodOptional<z.ZodArray<z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>>>;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
contenu: z.ZodObject<{
|
|
262
|
+
quantiemes: z.ZodObject<{
|
|
263
|
+
journee: z.ZodString;
|
|
264
|
+
session: z.ZodString;
|
|
265
|
+
}, z.core.$strip>;
|
|
266
|
+
ouvertureSeance: z.ZodOptional<z.ZodArray<z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>>>;
|
|
267
|
+
point: z.ZodArray<z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>>;
|
|
268
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
point: z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>;
|
|
270
|
+
}, z.core.$strip>>;
|
|
271
|
+
paragraphe: z.ZodOptional<z.ZodArray<z.ZodType<PointEnriched, unknown, z.core.$ZodTypeInternals<PointEnriched, unknown>>>>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
}, z.core.$strip>>;
|
|
274
|
+
}, z.core.$strip>;
|
|
275
|
+
export type ComptesRendusEnriched = z.infer<typeof ComptesRendusEnrichedSchema>;
|
|
276
|
+
/**
|
|
277
|
+
* Parse CompteRendu from JSON string
|
|
278
|
+
*/
|
|
279
|
+
export declare function parseCompteRenduEnriched(json: string): CompteRenduEnriched;
|
|
280
|
+
/**
|
|
281
|
+
* Parse ComptesRendus from JSON string
|
|
282
|
+
*/
|
|
283
|
+
export declare function parseComptesRendusEnriched(json: string): ComptesRendusEnriched;
|
|
284
|
+
/**
|
|
285
|
+
* Serialize CompteRendu to JSON string
|
|
286
|
+
*/
|
|
287
|
+
export declare function compteRenduEnrichedToJson(value: CompteRenduEnriched): string;
|
|
288
|
+
/**
|
|
289
|
+
* Serialize ComptesRendus to JSON string
|
|
290
|
+
*/
|
|
291
|
+
export declare function comptesRendusEnrichedToJson(value: ComptesRendusEnriched): string;
|
|
292
|
+
/**
|
|
293
|
+
* File-specific Convert object matching Quicktype's Convert class API
|
|
294
|
+
*
|
|
295
|
+
* @example
|
|
296
|
+
* ```typescript
|
|
297
|
+
* import { DebatsEnrichedConvert } from "@tricoteuses/assemblee/zod"
|
|
298
|
+
*
|
|
299
|
+
* const compteRendu = DebatsEnrichedConvert.toCompteRendu(json)
|
|
300
|
+
* const json = DebatsEnrichedConvert.compteRenduToJson(compteRendu)
|
|
301
|
+
* ```
|
|
302
|
+
*/
|
|
303
|
+
export declare const DebatsEnrichedConvert: {
|
|
304
|
+
toCompteRendu: typeof parseCompteRenduEnriched;
|
|
305
|
+
compteRenduToJson: typeof compteRenduEnrichedToJson;
|
|
306
|
+
toComptesRendus: typeof parseComptesRendusEnriched;
|
|
307
|
+
comptesRendusToJson: typeof comptesRendusEnrichedToJson;
|
|
308
|
+
};
|