@tricoteuses/assemblee 2.5.31 → 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 +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 +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 -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,300 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Decision } from '../raw/debats.js';
|
|
3
|
+
/**
|
|
4
|
+
* Texte element - clean version
|
|
5
|
+
* Note: lienAdt array normalized by cleaner
|
|
6
|
+
*/
|
|
7
|
+
export declare const TexteCleanSchema: z.ZodType<TexteClean>;
|
|
8
|
+
export type TexteClean = {
|
|
9
|
+
_?: string;
|
|
10
|
+
id_syceron?: string;
|
|
11
|
+
stime?: string;
|
|
12
|
+
sup?: string;
|
|
13
|
+
lienAdt?: TexteClean[];
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Orateur element - clean version
|
|
17
|
+
*/
|
|
18
|
+
export declare const OrateurElementCleanSchema: z.ZodObject<{
|
|
19
|
+
nom: z.ZodOptional<z.ZodString>;
|
|
20
|
+
id: z.ZodOptional<z.ZodString>;
|
|
21
|
+
qualite: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type OrateurElementClean = z.infer<typeof OrateurElementCleanSchema>;
|
|
24
|
+
/**
|
|
25
|
+
* Orateurs (list of speakers) - clean version
|
|
26
|
+
* Note: orateur array normalized by cleaner
|
|
27
|
+
*/
|
|
28
|
+
export declare const OrateursCleanSchema: z.ZodObject<{
|
|
29
|
+
orateur: z.ZodArray<z.ZodObject<{
|
|
30
|
+
nom: z.ZodOptional<z.ZodString>;
|
|
31
|
+
id: z.ZodOptional<z.ZodString>;
|
|
32
|
+
qualite: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export type OrateursClean = z.infer<typeof OrateursCleanSchema>;
|
|
36
|
+
/**
|
|
37
|
+
* Point (recursive structure for debate sections) - clean version
|
|
38
|
+
* Note: All arrays normalized by cleaner
|
|
39
|
+
*/
|
|
40
|
+
export declare const PointCleanSchema: z.ZodType<PointClean>;
|
|
41
|
+
export type PointClean = {
|
|
42
|
+
id_preparation?: string;
|
|
43
|
+
ordre_absolu_seance?: string;
|
|
44
|
+
code_grammaire?: string;
|
|
45
|
+
sommaire?: string;
|
|
46
|
+
id_syceron?: string;
|
|
47
|
+
valeur_ptsodj?: string;
|
|
48
|
+
nivpoint?: string;
|
|
49
|
+
ordinal_prise?: string;
|
|
50
|
+
code_style?: string;
|
|
51
|
+
code_parole?: string;
|
|
52
|
+
valeur?: string;
|
|
53
|
+
orateurs?: OrateursClean | string;
|
|
54
|
+
texte?: TexteClean | string;
|
|
55
|
+
paragraphe?: PointClean[];
|
|
56
|
+
interExtraction?: PointClean[];
|
|
57
|
+
point?: PointClean[];
|
|
58
|
+
structure?: string;
|
|
59
|
+
id_acteur?: string;
|
|
60
|
+
id_mandat?: string;
|
|
61
|
+
id_nomination_oe?: string;
|
|
62
|
+
id_nomination_op?: string;
|
|
63
|
+
orateur?: string;
|
|
64
|
+
bibard?: string;
|
|
65
|
+
art?: string;
|
|
66
|
+
adt?: string;
|
|
67
|
+
ssadt?: string;
|
|
68
|
+
roledebat?: string;
|
|
69
|
+
changementPresidence?: PointClean[];
|
|
70
|
+
type_debat?: string;
|
|
71
|
+
decision?: Decision;
|
|
72
|
+
ouvertureSeance?: PointClean;
|
|
73
|
+
nom_orateur?: string;
|
|
74
|
+
qualite?: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Fin de séance - clean version
|
|
78
|
+
*/
|
|
79
|
+
export declare const FinSeanceCleanSchema: z.ZodObject<{
|
|
80
|
+
point: z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
export type FinSeanceClean = z.infer<typeof FinSeanceCleanSchema>;
|
|
83
|
+
/**
|
|
84
|
+
* Quantièmes (session dates) - clean version
|
|
85
|
+
*/
|
|
86
|
+
export declare const QuantiemesCleanSchema: z.ZodObject<{
|
|
87
|
+
journee: z.ZodString;
|
|
88
|
+
session: z.ZodString;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
export type QuantiemesClean = z.infer<typeof QuantiemesCleanSchema>;
|
|
91
|
+
/**
|
|
92
|
+
* Contenu (main debate content) - clean version
|
|
93
|
+
* Note: Arrays normalized by cleaner
|
|
94
|
+
*/
|
|
95
|
+
export declare const ContenuCleanSchema: z.ZodObject<{
|
|
96
|
+
quantiemes: z.ZodObject<{
|
|
97
|
+
journee: z.ZodString;
|
|
98
|
+
session: z.ZodString;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
ouvertureSeance: z.ZodOptional<z.ZodArray<z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>>>;
|
|
101
|
+
point: z.ZodArray<z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>>;
|
|
102
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
point: z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>;
|
|
104
|
+
}, z.core.$strip>>;
|
|
105
|
+
paragraphe: z.ZodOptional<z.ZodArray<z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>>>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
export type ContenuClean = z.infer<typeof ContenuCleanSchema>;
|
|
108
|
+
/**
|
|
109
|
+
* Titre de structure - clean version
|
|
110
|
+
*/
|
|
111
|
+
export declare const TitreStructCleanSchema: z.ZodObject<{
|
|
112
|
+
id_syceron: z.ZodString;
|
|
113
|
+
intitule: z.ZodOptional<z.ZodString>;
|
|
114
|
+
sousIntitule: z.ZodOptional<z.ZodString>;
|
|
115
|
+
type_debat: z.ZodOptional<z.ZodString>;
|
|
116
|
+
}, z.core.$strip>;
|
|
117
|
+
export type TitreStructClean = z.infer<typeof TitreStructCleanSchema>;
|
|
118
|
+
/**
|
|
119
|
+
* Sommaire element (recursive) - clean version
|
|
120
|
+
* Note: Arrays normalized by cleaner
|
|
121
|
+
*/
|
|
122
|
+
export declare const SommaireElementCleanSchema: z.ZodType<SommaireElementClean>;
|
|
123
|
+
export type SommaireElementClean = {
|
|
124
|
+
valeur_pts_odj?: string;
|
|
125
|
+
titreStruct: TitreStructClean;
|
|
126
|
+
para?: Array<TexteClean | string>;
|
|
127
|
+
sommaire2?: SommaireElementClean[];
|
|
128
|
+
sommaire3?: SommaireElementClean[];
|
|
129
|
+
presidentSeance?: TexteClean[];
|
|
130
|
+
type_debat?: string;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Sommaire (table of contents) - clean version
|
|
134
|
+
* Note: Arrays normalized by cleaner
|
|
135
|
+
*/
|
|
136
|
+
export declare const SommaireCleanSchema: z.ZodObject<{
|
|
137
|
+
presidentSeance: z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>;
|
|
138
|
+
sommaire1: z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>;
|
|
139
|
+
sommaire3: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
|
|
140
|
+
sommaire2: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
|
|
141
|
+
para: z.ZodOptional<z.ZodArray<z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>>>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
export type SommaireClean = z.infer<typeof SommaireCleanSchema>;
|
|
144
|
+
/**
|
|
145
|
+
* Métadonnées (metadata) - clean version
|
|
146
|
+
*/
|
|
147
|
+
export declare const MetadonneesCleanSchema: z.ZodObject<{
|
|
148
|
+
dateSeance: z.ZodString;
|
|
149
|
+
dateSeanceJour: z.ZodString;
|
|
150
|
+
numSeanceJour: z.ZodString;
|
|
151
|
+
numSeance: z.ZodString;
|
|
152
|
+
typeAssemblee: z.ZodString;
|
|
153
|
+
legislature: z.ZodString;
|
|
154
|
+
session: z.ZodString;
|
|
155
|
+
nomFichierJo: z.ZodString;
|
|
156
|
+
validite: z.ZodString;
|
|
157
|
+
etat: z.ZodString;
|
|
158
|
+
diffusion: z.ZodString;
|
|
159
|
+
version: z.ZodString;
|
|
160
|
+
environnement: z.ZodString;
|
|
161
|
+
heureGeneration: z.ZodISODateTime;
|
|
162
|
+
sommaire: z.ZodObject<{
|
|
163
|
+
presidentSeance: z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>;
|
|
164
|
+
sommaire1: z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>;
|
|
165
|
+
sommaire3: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
|
|
166
|
+
sommaire2: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
|
|
167
|
+
para: z.ZodOptional<z.ZodArray<z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>>>;
|
|
168
|
+
}, z.core.$strip>;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
export type MetadonneesClean = z.infer<typeof MetadonneesCleanSchema>;
|
|
171
|
+
/**
|
|
172
|
+
* Compte Rendu (single debate transcript) - clean version
|
|
173
|
+
* Note: schemaVersion optional (from QuickType types)
|
|
174
|
+
*/
|
|
175
|
+
export declare const CompteRenduCleanSchema: z.ZodObject<{
|
|
176
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
177
|
+
uid: z.ZodString;
|
|
178
|
+
seanceRef: z.ZodString;
|
|
179
|
+
sessionRef: z.ZodString;
|
|
180
|
+
metadonnees: z.ZodObject<{
|
|
181
|
+
dateSeance: z.ZodString;
|
|
182
|
+
dateSeanceJour: z.ZodString;
|
|
183
|
+
numSeanceJour: z.ZodString;
|
|
184
|
+
numSeance: z.ZodString;
|
|
185
|
+
typeAssemblee: z.ZodString;
|
|
186
|
+
legislature: z.ZodString;
|
|
187
|
+
session: z.ZodString;
|
|
188
|
+
nomFichierJo: z.ZodString;
|
|
189
|
+
validite: z.ZodString;
|
|
190
|
+
etat: z.ZodString;
|
|
191
|
+
diffusion: z.ZodString;
|
|
192
|
+
version: z.ZodString;
|
|
193
|
+
environnement: z.ZodString;
|
|
194
|
+
heureGeneration: z.ZodISODateTime;
|
|
195
|
+
sommaire: z.ZodObject<{
|
|
196
|
+
presidentSeance: z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>;
|
|
197
|
+
sommaire1: z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>;
|
|
198
|
+
sommaire3: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
|
|
199
|
+
sommaire2: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
|
|
200
|
+
para: z.ZodOptional<z.ZodArray<z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>>>;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
contenu: z.ZodObject<{
|
|
204
|
+
quantiemes: z.ZodObject<{
|
|
205
|
+
journee: z.ZodString;
|
|
206
|
+
session: z.ZodString;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
ouvertureSeance: z.ZodOptional<z.ZodArray<z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>>>;
|
|
209
|
+
point: z.ZodArray<z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>>;
|
|
210
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
211
|
+
point: z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>;
|
|
212
|
+
}, z.core.$strip>>;
|
|
213
|
+
paragraphe: z.ZodOptional<z.ZodArray<z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>>>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
216
|
+
videoTimecode: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
export type CompteRenduClean = z.infer<typeof CompteRenduCleanSchema>;
|
|
219
|
+
/**
|
|
220
|
+
* ComptesRendus (top-level wrapper) - clean version
|
|
221
|
+
*/
|
|
222
|
+
export declare const ComptesRendusCleanSchema: z.ZodObject<{
|
|
223
|
+
comptesRendus: z.ZodArray<z.ZodObject<{
|
|
224
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
225
|
+
uid: z.ZodString;
|
|
226
|
+
seanceRef: z.ZodString;
|
|
227
|
+
sessionRef: z.ZodString;
|
|
228
|
+
metadonnees: z.ZodObject<{
|
|
229
|
+
dateSeance: z.ZodString;
|
|
230
|
+
dateSeanceJour: z.ZodString;
|
|
231
|
+
numSeanceJour: z.ZodString;
|
|
232
|
+
numSeance: z.ZodString;
|
|
233
|
+
typeAssemblee: z.ZodString;
|
|
234
|
+
legislature: z.ZodString;
|
|
235
|
+
session: z.ZodString;
|
|
236
|
+
nomFichierJo: z.ZodString;
|
|
237
|
+
validite: z.ZodString;
|
|
238
|
+
etat: z.ZodString;
|
|
239
|
+
diffusion: z.ZodString;
|
|
240
|
+
version: z.ZodString;
|
|
241
|
+
environnement: z.ZodString;
|
|
242
|
+
heureGeneration: z.ZodISODateTime;
|
|
243
|
+
sommaire: z.ZodObject<{
|
|
244
|
+
presidentSeance: z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>;
|
|
245
|
+
sommaire1: z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>;
|
|
246
|
+
sommaire3: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
|
|
247
|
+
sommaire2: z.ZodOptional<z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
|
|
248
|
+
para: z.ZodOptional<z.ZodArray<z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>>>;
|
|
249
|
+
}, z.core.$strip>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
contenu: z.ZodObject<{
|
|
252
|
+
quantiemes: z.ZodObject<{
|
|
253
|
+
journee: z.ZodString;
|
|
254
|
+
session: z.ZodString;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
ouvertureSeance: z.ZodOptional<z.ZodArray<z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>>>;
|
|
257
|
+
point: z.ZodArray<z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>>;
|
|
258
|
+
finSeance: z.ZodOptional<z.ZodObject<{
|
|
259
|
+
point: z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>;
|
|
260
|
+
}, z.core.$strip>>;
|
|
261
|
+
paragraphe: z.ZodOptional<z.ZodArray<z.ZodType<PointClean, unknown, z.core.$ZodTypeInternals<PointClean, unknown>>>>;
|
|
262
|
+
}, z.core.$strip>;
|
|
263
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
264
|
+
videoTimecode: z.ZodOptional<z.ZodNumber>;
|
|
265
|
+
}, z.core.$strip>>;
|
|
266
|
+
}, z.core.$strip>;
|
|
267
|
+
export type ComptesRendusClean = z.infer<typeof ComptesRendusCleanSchema>;
|
|
268
|
+
/**
|
|
269
|
+
* Parse CompteRendu from JSON string
|
|
270
|
+
*/
|
|
271
|
+
export declare function parseCompteRenduClean(json: string): CompteRenduClean;
|
|
272
|
+
/**
|
|
273
|
+
* Parse ComptesRendus from JSON string
|
|
274
|
+
*/
|
|
275
|
+
export declare function parseComptesRendusClean(json: string): ComptesRendusClean;
|
|
276
|
+
/**
|
|
277
|
+
* Serialize CompteRendu to JSON string
|
|
278
|
+
*/
|
|
279
|
+
export declare function compteRenduCleanToJson(value: CompteRenduClean): string;
|
|
280
|
+
/**
|
|
281
|
+
* Serialize ComptesRendus to JSON string
|
|
282
|
+
*/
|
|
283
|
+
export declare function comptesRendusCleanToJson(value: ComptesRendusClean): string;
|
|
284
|
+
/**
|
|
285
|
+
* File-specific Convert object matching Quicktype's Convert class API
|
|
286
|
+
*
|
|
287
|
+
* @example
|
|
288
|
+
* ```typescript
|
|
289
|
+
* import { DebatsCleanConvert } from "@tricoteuses/assemblee/zod"
|
|
290
|
+
*
|
|
291
|
+
* const compteRendu = DebatsCleanConvert.toCompteRendu(json)
|
|
292
|
+
* const json = DebatsCleanConvert.compteRenduToJson(compteRendu)
|
|
293
|
+
* ```
|
|
294
|
+
*/
|
|
295
|
+
export declare const DebatsCleanConvert: {
|
|
296
|
+
toCompteRendu: typeof parseCompteRenduClean;
|
|
297
|
+
compteRenduToJson: typeof compteRenduCleanToJson;
|
|
298
|
+
toComptesRendus: typeof parseComptesRendusClean;
|
|
299
|
+
comptesRendusToJson: typeof comptesRendusCleanToJson;
|
|
300
|
+
};
|