@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
package/lib/inserters.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Acteur, Organe } from './
|
|
2
|
-
import { Reunion } from './
|
|
3
|
-
import { Amendement } from './
|
|
4
|
-
import { Document, DossierParlementaire } from './
|
|
5
|
-
import { Scrutin } from './
|
|
1
|
+
import { ActeurEnriched as Acteur, OrganeEnriched as Organe } from './schemas/enriched/acteurs_et_organes.js';
|
|
2
|
+
import { ReunionEnriched as Reunion } from './schemas/enriched/agendas.js';
|
|
3
|
+
import { AmendementEnriched as Amendement } from './schemas/enriched/amendements.js';
|
|
4
|
+
import { DocumentEnriched as Document, DossierParlementaireEnriched as DossierParlementaire } from './schemas/enriched/dossiers_legislatifs.js';
|
|
5
|
+
import { ScrutinEnriched as Scrutin } from './schemas/enriched/scrutins.js';
|
|
6
6
|
export interface OutputData {
|
|
7
7
|
readonly acteurByUid?: {
|
|
8
8
|
[uid: string]: Acteur;
|
|
@@ -27,9 +27,466 @@ export interface OutputData {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
export declare function insertActeurReferences(acteur: Acteur, data: OutputData, visitedUids: Set<string>): Acteur;
|
|
30
|
-
export declare function insertAmendementReferences(amendement: Amendement, data: OutputData, visitedUids: Set<string>):
|
|
30
|
+
export declare function insertAmendementReferences(amendement: Amendement, data: OutputData, visitedUids: Set<string>): {
|
|
31
|
+
uid: string;
|
|
32
|
+
chronotag: string;
|
|
33
|
+
legislature: string;
|
|
34
|
+
identification: {
|
|
35
|
+
numeroLong: string;
|
|
36
|
+
numeroOrdreDepot: string;
|
|
37
|
+
prefixeOrganeExamen: string;
|
|
38
|
+
numeroRect: string;
|
|
39
|
+
};
|
|
40
|
+
examenRef: string;
|
|
41
|
+
texteLegislatifRef: string;
|
|
42
|
+
pointeurFragmentTexte: {
|
|
43
|
+
division?: {
|
|
44
|
+
type: "ANNEXE" | "ARTICLE" | "CHAPITRE" | "TITRE";
|
|
45
|
+
avantAApres: "A" | "Avant" | "Apres";
|
|
46
|
+
articleAdditionnel: string;
|
|
47
|
+
chapitreAdditionnel: string;
|
|
48
|
+
titre?: string | undefined;
|
|
49
|
+
articleDesignationCourte?: string | undefined;
|
|
50
|
+
articleDesignation?: string | undefined;
|
|
51
|
+
divisionRattachee?: string | undefined;
|
|
52
|
+
urlDivisionTexteVise?: string | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
alinea?: {
|
|
55
|
+
avantAApres?: "A" | "Avant" | "Apres" | undefined;
|
|
56
|
+
numero?: string | undefined;
|
|
57
|
+
alineaDesignation?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
missionVisee?: {
|
|
60
|
+
codeEtat: "B" | "C" | "D";
|
|
61
|
+
codeMissionMinefi: string;
|
|
62
|
+
libelleMission: string;
|
|
63
|
+
missionRef: string;
|
|
64
|
+
} | undefined;
|
|
65
|
+
};
|
|
66
|
+
cycleDeVie: {
|
|
67
|
+
soumisArticle40: string;
|
|
68
|
+
etatDesTraitements: {
|
|
69
|
+
etat: {
|
|
70
|
+
code: "T" | "AC" | "AT" | "DI" | "effacé" | "ER" | "ET" | "IR" | "IRR127" | "IRR20" | "IRR37" | "IRR38" | "IRR41" | "IRR42" | "IRR45" | "IRR48" | "IRR53" | "IRRAI" | "IRRAIF" | "IRRD" | "IRRHC" | "IRRHD" | "IRRSA" | "R" | "RT";
|
|
71
|
+
libelle: "effacé" | "A discuter" | "A déposer" | "Discuté" | "En recevabilité" | "En traitement" | "Irrecevable" | "Irrecevable 40" | "Retiré";
|
|
72
|
+
};
|
|
73
|
+
sousEtat?: {
|
|
74
|
+
code: "T" | "AC" | "AT" | "DI" | "effacé" | "ER" | "ET" | "IR" | "IRR127" | "IRR20" | "IRR37" | "IRR38" | "IRR41" | "IRR42" | "IRR45" | "IRR48" | "IRR53" | "IRRAI" | "IRRAIF" | "IRRD" | "IRRHC" | "IRRHD" | "IRRSA" | "R" | "RT";
|
|
75
|
+
libelle: "R" | "Retiré" | "Adopté" | "Autre irrecevabilité" | "Autre irrecevabilité 40" | "Autres irr LOLF" | "Autres irr LOLFSS" | "Cavalier (45)" | "Cavalier budgétaire" | "Cavalier social" | "Champ de l'habilitation (38)" | "Charge" | "CMP (45)" | "Crédits" | "Disposition réglementaire (37)" | "Domaine de la loi (41)" | "Domaine loi organique (127)" | "Doublon" | "Entonnoir (45)" | "Gage" | "Hors champ" | "Hors-délais" | "Injonction (20)" | "Irr en première partie" | "Irr en seconde partie" | "LOLF" | "LOLFSS" | "Non soutenu" | "Ordre du jour (48)" | "Ratification traité (53)" | "Rejeté" | "Retiré après publication" | "Retiré avant publication" | "Satisfait ou inopérant (42)" | "Sous-amendement (98)" | "Tombé";
|
|
76
|
+
} | undefined;
|
|
77
|
+
};
|
|
78
|
+
dateDepot?: Date | undefined;
|
|
79
|
+
datePublication?: Date | undefined;
|
|
80
|
+
dateSort?: Date | undefined;
|
|
81
|
+
sort?: "R" | "Retiré" | "Adopté" | "Autre irrecevabilité" | "Autre irrecevabilité 40" | "Autres irr LOLF" | "Autres irr LOLFSS" | "Cavalier (45)" | "Cavalier budgétaire" | "Cavalier social" | "Champ de l'habilitation (38)" | "Charge" | "CMP (45)" | "Crédits" | "Disposition réglementaire (37)" | "Domaine de la loi (41)" | "Domaine loi organique (127)" | "Doublon" | "Entonnoir (45)" | "Gage" | "Hors champ" | "Hors-délais" | "Injonction (20)" | "Irr en première partie" | "Irr en seconde partie" | "LOLF" | "LOLFSS" | "Non soutenu" | "Ordre du jour (48)" | "Ratification traité (53)" | "Rejeté" | "Retiré après publication" | "Retiré avant publication" | "Satisfait ou inopérant (42)" | "Sous-amendement (98)" | "Tombé" | undefined;
|
|
82
|
+
};
|
|
83
|
+
article99: string;
|
|
84
|
+
accordGouvernementDepotHorsDelai: "Accord" | "Sans objet";
|
|
85
|
+
signataires: {
|
|
86
|
+
auteur: {
|
|
87
|
+
typeAuteur: "Député" | "Gouvernement" | "Rapporteur";
|
|
88
|
+
gouvernementRef?: string | undefined;
|
|
89
|
+
acteurRef?: string | undefined;
|
|
90
|
+
groupePolitiqueRef?: string | undefined;
|
|
91
|
+
auteurRapporteurOrganeRef?: string | undefined;
|
|
92
|
+
gouvernement?: import('./index.js').Organe | undefined;
|
|
93
|
+
acteur?: Acteur | undefined;
|
|
94
|
+
groupePolitique?: import('./index.js').Organe | undefined;
|
|
95
|
+
auteurRapporteurOrgane?: import('./index.js').Organe | undefined;
|
|
96
|
+
};
|
|
97
|
+
cosignatairesRefs?: string[] | undefined;
|
|
98
|
+
suffixe?: string | undefined;
|
|
99
|
+
libelle?: string | undefined;
|
|
100
|
+
cosignataires?: Acteur[] | undefined;
|
|
101
|
+
};
|
|
102
|
+
schemaVersion?: string | undefined;
|
|
103
|
+
triAmendement?: string | undefined;
|
|
104
|
+
cardinaliteAmdtMultiples?: string | undefined;
|
|
105
|
+
amendementParentRef?: string | undefined;
|
|
106
|
+
corps?: {
|
|
107
|
+
cartoucheInformatif?: string | undefined;
|
|
108
|
+
contenuAuteur?: {
|
|
109
|
+
dispositif?: string | undefined;
|
|
110
|
+
avantAppel?: {
|
|
111
|
+
dispositif?: string | undefined;
|
|
112
|
+
dispositifAmdtCreditPLF?: {
|
|
113
|
+
cpEgalAe: string;
|
|
114
|
+
listeProgrammes?: {
|
|
115
|
+
libelle: string;
|
|
116
|
+
programmeRef: string;
|
|
117
|
+
autorisationEngagement: string;
|
|
118
|
+
creditPaiement: string;
|
|
119
|
+
action: "création" | "modification" | "suppression";
|
|
120
|
+
lignesCredits?: {
|
|
121
|
+
id: string;
|
|
122
|
+
libelle: string;
|
|
123
|
+
autorisationEngagement: string;
|
|
124
|
+
creditPaiement: string;
|
|
125
|
+
action: "création" | "modification" | "suppression";
|
|
126
|
+
}[] | undefined;
|
|
127
|
+
}[] | undefined;
|
|
128
|
+
soldeAE?: string | undefined;
|
|
129
|
+
soldeCP?: string | undefined;
|
|
130
|
+
} | undefined;
|
|
131
|
+
dispositifAmdtCreditPLFR?: {
|
|
132
|
+
cpEgalAe: string;
|
|
133
|
+
listeProgrammes?: any[] | undefined;
|
|
134
|
+
totalAE?: {
|
|
135
|
+
supplementaire: string;
|
|
136
|
+
annule: string;
|
|
137
|
+
solde: string;
|
|
138
|
+
} | undefined;
|
|
139
|
+
totalCP?: {
|
|
140
|
+
supplementaire: string;
|
|
141
|
+
annule: string;
|
|
142
|
+
solde: string;
|
|
143
|
+
} | undefined;
|
|
144
|
+
} | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
exposeSommaire?: string | undefined;
|
|
147
|
+
dispositifAmdtCreditPLF?: {
|
|
148
|
+
cpEgalAe: string;
|
|
149
|
+
listeProgrammes?: {
|
|
150
|
+
libelle: string;
|
|
151
|
+
programmeRef: string;
|
|
152
|
+
autorisationEngagement: string;
|
|
153
|
+
creditPaiement: string;
|
|
154
|
+
action: "création" | "modification" | "suppression";
|
|
155
|
+
lignesCredits?: {
|
|
156
|
+
id: string;
|
|
157
|
+
libelle: string;
|
|
158
|
+
autorisationEngagement: string;
|
|
159
|
+
creditPaiement: string;
|
|
160
|
+
action: "création" | "modification" | "suppression";
|
|
161
|
+
}[] | undefined;
|
|
162
|
+
}[] | undefined;
|
|
163
|
+
soldeAE?: string | undefined;
|
|
164
|
+
soldeCP?: string | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
dispositifAmdtCreditPLFR?: {
|
|
167
|
+
cpEgalAe: string;
|
|
168
|
+
listeProgrammes?: any[] | undefined;
|
|
169
|
+
totalAE?: {
|
|
170
|
+
supplementaire: string;
|
|
171
|
+
annule: string;
|
|
172
|
+
solde: string;
|
|
173
|
+
} | undefined;
|
|
174
|
+
totalCP?: {
|
|
175
|
+
supplementaire: string;
|
|
176
|
+
annule: string;
|
|
177
|
+
solde: string;
|
|
178
|
+
} | undefined;
|
|
179
|
+
} | undefined;
|
|
180
|
+
} | undefined;
|
|
181
|
+
} | undefined;
|
|
182
|
+
representation?: {
|
|
183
|
+
nom: "PDF";
|
|
184
|
+
typeMime: {
|
|
185
|
+
type: "application";
|
|
186
|
+
subType: "PDF";
|
|
187
|
+
};
|
|
188
|
+
statutRepresentation: {
|
|
189
|
+
verbatim: boolean;
|
|
190
|
+
canonique: boolean;
|
|
191
|
+
officielle: boolean;
|
|
192
|
+
transcription: boolean;
|
|
193
|
+
enregistrement: boolean;
|
|
194
|
+
};
|
|
195
|
+
contenu: {
|
|
196
|
+
documentURI: string;
|
|
197
|
+
};
|
|
198
|
+
} | undefined;
|
|
199
|
+
seanceDiscussionRef?: string | undefined;
|
|
200
|
+
loiReference?: {
|
|
201
|
+
codeLoi?: string | undefined;
|
|
202
|
+
divisionCodeLoi?: string | undefined;
|
|
203
|
+
} | undefined;
|
|
204
|
+
discussionCommune?: {
|
|
205
|
+
idDiscussion?: string | undefined;
|
|
206
|
+
typePosition?: "Dernier" | "Milieu" | "Premier" | undefined;
|
|
207
|
+
} | undefined;
|
|
208
|
+
discussionIdentique?: {
|
|
209
|
+
idDiscussion?: string | undefined;
|
|
210
|
+
typePosition?: "Dernier" | "Milieu" | "Premier" | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
};
|
|
31
213
|
export declare function insertDocumentReferences(document: Document, data: OutputData, visitedUids: Set<string>): Document;
|
|
32
214
|
export declare function insertDossierReferences(dossier: DossierParlementaire, data: OutputData, visitedUids: Set<string>): DossierParlementaire;
|
|
33
|
-
export declare function insertOrganeReferences(organe: Organe, data: OutputData, visitedUids: Set<string>): Organe;
|
|
34
|
-
export declare function insertReunionReferences(reunion: Reunion, data: OutputData, visitedUids: Set<string>):
|
|
35
|
-
|
|
215
|
+
export declare function insertOrganeReferences(organe: Organe, data: OutputData, visitedUids: Set<string>): import('./index.js').Organe;
|
|
216
|
+
export declare function insertReunionReferences(reunion: Reunion, data: OutputData, visitedUids: Set<string>): {
|
|
217
|
+
uid: string;
|
|
218
|
+
timestampDebut: Date;
|
|
219
|
+
cycleDeVie: {
|
|
220
|
+
etat: "Annulé" | "Confirmé" | "Eventuel" | "Supprimé";
|
|
221
|
+
chrono: {
|
|
222
|
+
creation: Date;
|
|
223
|
+
cloture?: Date | undefined;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
schemaVersion?: string | undefined;
|
|
227
|
+
xsiType?: "reunionCommission_type" | "reunionInitParlementaire_type" | "seance_type" | undefined;
|
|
228
|
+
timestampFin?: Date | undefined;
|
|
229
|
+
lieu?: {
|
|
230
|
+
code?: string | undefined;
|
|
231
|
+
libelleCourt?: string | undefined;
|
|
232
|
+
libelleLong?: string | undefined;
|
|
233
|
+
lieuRef?: string | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
organeReuniRef?: string | undefined;
|
|
236
|
+
typeReunion?: "GA" | "GE" | "GEVI" | "GP" | "DEP" | "HÉ Aurélien" | undefined;
|
|
237
|
+
sessionRef?: string | undefined;
|
|
238
|
+
ouverturePresse?: boolean | undefined;
|
|
239
|
+
odj?: {
|
|
240
|
+
convocationOdj?: string[] | undefined;
|
|
241
|
+
resumeOdj?: string[] | undefined;
|
|
242
|
+
pointsOdj?: {
|
|
243
|
+
xsiType: "podjReunion_type" | "podjSeanceConfPres_type";
|
|
244
|
+
uid: string;
|
|
245
|
+
cycleDeVie: {
|
|
246
|
+
etat: "Annulé" | "Confirmé" | "Eventuel" | "Supprimé";
|
|
247
|
+
chrono: {
|
|
248
|
+
creation: Date;
|
|
249
|
+
cloture?: Date | undefined;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
objet: string;
|
|
253
|
+
typePointOdj: "Rapport" | "Rapport d'information" | "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 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";
|
|
254
|
+
comiteSecret: boolean;
|
|
255
|
+
procedure?: "discussion générale commune" | "procédure d'examen simplifiée-Article 103" | "procédure d'examen simplifiée-Article 106" | "procédure d'examen simplifiée-Article 107" | "procédure de législation en commission-Article 107-1" | undefined;
|
|
256
|
+
dossiersLegislatifsRefs?: string[] | undefined;
|
|
257
|
+
natureTravauxOdj?: "ODJPR" | "ODJSN" | undefined;
|
|
258
|
+
dateConfPres?: Date | undefined;
|
|
259
|
+
dateLettreMinistre?: Date | undefined;
|
|
260
|
+
}[] | undefined;
|
|
261
|
+
} | undefined;
|
|
262
|
+
compteRenduRef?: string | undefined;
|
|
263
|
+
transcriptionRef?: string | undefined;
|
|
264
|
+
identifiants?: {
|
|
265
|
+
quantieme: "Deuxième" | "Première" | "Troisième" | "Unique";
|
|
266
|
+
dateSeance: Date;
|
|
267
|
+
numSeanceJo?: string | undefined;
|
|
268
|
+
idJo?: string | undefined;
|
|
269
|
+
} | undefined;
|
|
270
|
+
formatReunion?: "AuditionExterne" | "AuditionParPresidentCommission" | "AuditionParRapporteur" | "Ordinaire" | undefined;
|
|
271
|
+
infosReunionsInternationale?: {
|
|
272
|
+
estReunionInternationale: boolean;
|
|
273
|
+
listePays?: string[] | undefined;
|
|
274
|
+
informationsComplementaires?: string | undefined;
|
|
275
|
+
} | undefined;
|
|
276
|
+
captationVideo?: boolean | undefined;
|
|
277
|
+
visioConference?: string | undefined;
|
|
278
|
+
urlVideo?: string | undefined;
|
|
279
|
+
timecodeDebutVideo?: number | undefined;
|
|
280
|
+
organeReuni?: import('./index.js').Organe | undefined;
|
|
281
|
+
demandeurs?: {
|
|
282
|
+
acteurs?: {
|
|
283
|
+
acteurRef: string;
|
|
284
|
+
nom?: string | undefined;
|
|
285
|
+
acteur?: Acteur | undefined;
|
|
286
|
+
}[] | undefined;
|
|
287
|
+
organe?: {
|
|
288
|
+
nom: string;
|
|
289
|
+
organeRef: string;
|
|
290
|
+
organe?: import('./index.js').Organe | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
} | undefined;
|
|
293
|
+
participants?: {
|
|
294
|
+
personnesAuditionnees?: {
|
|
295
|
+
xsiType: "IdActeur_type" | "IdPersonneExterne_type";
|
|
296
|
+
uid: string;
|
|
297
|
+
ident: {
|
|
298
|
+
civ: "M." | "Mme";
|
|
299
|
+
prenom: string;
|
|
300
|
+
nom: string;
|
|
301
|
+
alpha?: string | undefined;
|
|
302
|
+
trigramme?: string | undefined;
|
|
303
|
+
};
|
|
304
|
+
dateNais?: Date | undefined;
|
|
305
|
+
}[] | undefined;
|
|
306
|
+
participantsInternes?: {
|
|
307
|
+
acteurRef: string;
|
|
308
|
+
presence: "absent" | "excusé" | "présent";
|
|
309
|
+
acteur?: Acteur | undefined;
|
|
310
|
+
}[] | undefined;
|
|
311
|
+
} | undefined;
|
|
312
|
+
};
|
|
313
|
+
export declare function insertScrutinReferences(scrutin: Scrutin, _data: OutputData, visitedUids: Set<string>): {
|
|
314
|
+
uid: string;
|
|
315
|
+
numero: string;
|
|
316
|
+
organeRef: string;
|
|
317
|
+
legislature: string;
|
|
318
|
+
sessionRef: string;
|
|
319
|
+
seanceRef: string;
|
|
320
|
+
dateScrutin: Date;
|
|
321
|
+
quantiemeJourSeance: string;
|
|
322
|
+
typeVote: {
|
|
323
|
+
codeTypeVote: "MOC" | "SAT" | "SPO" | "SPS" | "SSG";
|
|
324
|
+
libelleTypeVote: "motion de censure" | "scrutin public ordinaire" | "scrutin public solennel" | "scrutin à la tribune" | "Scrutin solennel congrès";
|
|
325
|
+
typeMajorite: "Majorité absolue des suffrages exprimés" | "majorité absolue des suffrages exprimés" | "majorité des membres composant l'Assemblée nationale" | "majorité des membres composants composant l'Assemblée" | "majorité des membres composants composant l'Assemblée nationale" | "Majorité requise pour un Congrès" | "Majorité requise pour une motion de censure";
|
|
326
|
+
};
|
|
327
|
+
sort: {
|
|
328
|
+
code: "adopté" | "rejeté";
|
|
329
|
+
libelle: "l'Assemblée nationale a adopté" | "L'Assemblée nationale n'a pas adopté" | "Le Congrès du Parlement a adopté" | "Le Congrès du Parlement n'a pas adopté";
|
|
330
|
+
};
|
|
331
|
+
titre: string;
|
|
332
|
+
demandeur: {
|
|
333
|
+
texte?: string | undefined;
|
|
334
|
+
};
|
|
335
|
+
objet: {
|
|
336
|
+
libelle: string;
|
|
337
|
+
};
|
|
338
|
+
modePublicationDesVotes: "DecompteDissidentsPositionGroupe" | "DecompteNominatif";
|
|
339
|
+
syntheseVote: {
|
|
340
|
+
nombreVotants: string;
|
|
341
|
+
suffragesExprimes: string;
|
|
342
|
+
nbrSuffragesRequis: string;
|
|
343
|
+
annonce: "l'Assemblée nationale a adopté" | "L'Assemblée nationale n'a pas adopté" | "Le Congrès du Parlement a adopté" | "Le Congrès du Parlement n'a pas adopté";
|
|
344
|
+
decompte: {
|
|
345
|
+
pour: string;
|
|
346
|
+
contre: string;
|
|
347
|
+
abstentions?: string | undefined;
|
|
348
|
+
nonVotants?: string | undefined;
|
|
349
|
+
nonVotantsVolontaires?: string | undefined;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
ventilationVotes: {
|
|
353
|
+
organeRef: string;
|
|
354
|
+
groupes: {
|
|
355
|
+
organeRef: string;
|
|
356
|
+
nombreMembresGroupe: string;
|
|
357
|
+
vote: {
|
|
358
|
+
positionMajoritaire: "abstention" | "contre" | "pour";
|
|
359
|
+
decompteVoix: {
|
|
360
|
+
pour: string;
|
|
361
|
+
contre: string;
|
|
362
|
+
abstentions?: string | undefined;
|
|
363
|
+
nonVotants?: string | undefined;
|
|
364
|
+
nonVotantsVolontaires?: string | undefined;
|
|
365
|
+
};
|
|
366
|
+
decompteNominatif: {
|
|
367
|
+
nonVotants?: {
|
|
368
|
+
acteurRef: string;
|
|
369
|
+
mandatRef: string;
|
|
370
|
+
parDelegation?: boolean | undefined;
|
|
371
|
+
numPlace?: number | undefined;
|
|
372
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
373
|
+
acteur?: Acteur | undefined;
|
|
374
|
+
}[] | undefined;
|
|
375
|
+
pour?: {
|
|
376
|
+
acteurRef: string;
|
|
377
|
+
mandatRef: string;
|
|
378
|
+
parDelegation?: boolean | undefined;
|
|
379
|
+
numPlace?: number | undefined;
|
|
380
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
381
|
+
acteur?: Acteur | undefined;
|
|
382
|
+
}[] | undefined;
|
|
383
|
+
contre?: {
|
|
384
|
+
acteurRef: string;
|
|
385
|
+
mandatRef: string;
|
|
386
|
+
parDelegation?: boolean | undefined;
|
|
387
|
+
numPlace?: number | undefined;
|
|
388
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
389
|
+
acteur?: Acteur | undefined;
|
|
390
|
+
}[] | undefined;
|
|
391
|
+
abstentions?: {
|
|
392
|
+
acteurRef: string;
|
|
393
|
+
mandatRef: string;
|
|
394
|
+
parDelegation?: boolean | undefined;
|
|
395
|
+
numPlace?: number | undefined;
|
|
396
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
397
|
+
acteur?: Acteur | undefined;
|
|
398
|
+
}[] | undefined;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
organe?: import('./index.js').Organe | undefined;
|
|
402
|
+
}[];
|
|
403
|
+
organe?: import('./index.js').Organe | undefined;
|
|
404
|
+
};
|
|
405
|
+
schemaVersion?: string | undefined;
|
|
406
|
+
lieuVote?: "Congrès" | "Hémicycle" | "Salons" | undefined;
|
|
407
|
+
miseAuPoint?: {
|
|
408
|
+
nonVotants?: {
|
|
409
|
+
acteurRef: string;
|
|
410
|
+
mandatRef: string;
|
|
411
|
+
parDelegation?: boolean | undefined;
|
|
412
|
+
numPlace?: number | undefined;
|
|
413
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
414
|
+
acteur?: Acteur | undefined;
|
|
415
|
+
}[] | undefined;
|
|
416
|
+
pour?: {
|
|
417
|
+
acteurRef: string;
|
|
418
|
+
mandatRef: string;
|
|
419
|
+
parDelegation?: boolean | undefined;
|
|
420
|
+
numPlace?: number | undefined;
|
|
421
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
422
|
+
acteur?: Acteur | undefined;
|
|
423
|
+
}[] | undefined;
|
|
424
|
+
contre?: {
|
|
425
|
+
acteurRef: string;
|
|
426
|
+
mandatRef: string;
|
|
427
|
+
parDelegation?: boolean | undefined;
|
|
428
|
+
numPlace?: number | undefined;
|
|
429
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
430
|
+
acteur?: Acteur | undefined;
|
|
431
|
+
}[] | undefined;
|
|
432
|
+
abstentions?: {
|
|
433
|
+
acteurRef: string;
|
|
434
|
+
mandatRef: string;
|
|
435
|
+
parDelegation?: boolean | undefined;
|
|
436
|
+
numPlace?: number | undefined;
|
|
437
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
438
|
+
acteur?: Acteur | undefined;
|
|
439
|
+
}[] | undefined;
|
|
440
|
+
nonVotantsVolontaires?: {
|
|
441
|
+
acteurRef: string;
|
|
442
|
+
mandatRef: string;
|
|
443
|
+
parDelegation?: boolean | undefined;
|
|
444
|
+
numPlace?: number | undefined;
|
|
445
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
446
|
+
acteur?: Acteur | undefined;
|
|
447
|
+
}[] | undefined;
|
|
448
|
+
dysfonctionnement?: {
|
|
449
|
+
nonVotants?: {
|
|
450
|
+
acteurRef: string;
|
|
451
|
+
mandatRef: string;
|
|
452
|
+
parDelegation?: boolean | undefined;
|
|
453
|
+
numPlace?: number | undefined;
|
|
454
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
455
|
+
acteur?: Acteur | undefined;
|
|
456
|
+
}[] | undefined;
|
|
457
|
+
pour?: {
|
|
458
|
+
acteurRef: string;
|
|
459
|
+
mandatRef: string;
|
|
460
|
+
parDelegation?: boolean | undefined;
|
|
461
|
+
numPlace?: number | undefined;
|
|
462
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
463
|
+
acteur?: Acteur | undefined;
|
|
464
|
+
}[] | undefined;
|
|
465
|
+
contre?: {
|
|
466
|
+
acteurRef: string;
|
|
467
|
+
mandatRef: string;
|
|
468
|
+
parDelegation?: boolean | undefined;
|
|
469
|
+
numPlace?: number | undefined;
|
|
470
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
471
|
+
acteur?: Acteur | undefined;
|
|
472
|
+
}[] | undefined;
|
|
473
|
+
abstentions?: {
|
|
474
|
+
acteurRef: string;
|
|
475
|
+
mandatRef: string;
|
|
476
|
+
parDelegation?: boolean | undefined;
|
|
477
|
+
numPlace?: number | undefined;
|
|
478
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
479
|
+
acteur?: Acteur | undefined;
|
|
480
|
+
}[] | undefined;
|
|
481
|
+
nonVotantsVolontaires?: {
|
|
482
|
+
acteurRef: string;
|
|
483
|
+
mandatRef: string;
|
|
484
|
+
parDelegation?: boolean | undefined;
|
|
485
|
+
numPlace?: number | undefined;
|
|
486
|
+
causePositionVote?: "MG" | "PAN" | "PSE" | undefined;
|
|
487
|
+
acteur?: Acteur | undefined;
|
|
488
|
+
}[] | undefined;
|
|
489
|
+
} | undefined;
|
|
490
|
+
} | undefined;
|
|
491
|
+
organe?: import('./index.js').Organe | undefined;
|
|
492
|
+
};
|
package/lib/loaders.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { EnabledDatasets, Dataset } from './datasets';
|
|
2
|
-
import { Acteur, Organe, Photo } from './
|
|
3
|
-
import { Reunion } from './
|
|
4
|
-
import { Amendement } from './
|
|
5
|
-
import { CompteRendu } from './
|
|
6
|
-
import { Document, DossierParlementaire } from './
|
|
7
|
-
import { Legislature } from './
|
|
8
|
-
import { Scrutin } from './
|
|
9
|
-
import { Question } from './
|
|
10
|
-
import { DocumentUrlFormat } from './urls';
|
|
11
|
-
export { EnabledDatasets } from './datasets';
|
|
12
|
-
export { walkDir } from './file_systems';
|
|
1
|
+
import { Datasets, EnabledDatasets, Dataset } from './datasets.js';
|
|
2
|
+
import { ActeurClean as Acteur, OrganeClean as Organe, PhotoClean as Photo } from './schemas/clean/acteurs_et_organes.js';
|
|
3
|
+
import { ReunionClean as Reunion } from './schemas/clean/agendas.js';
|
|
4
|
+
import { AmendementClean as Amendement } from './schemas/clean/amendements.js';
|
|
5
|
+
import { CompteRenduClean as CompteRendu } from './schemas/clean/debats.js';
|
|
6
|
+
import { DocumentClean as Document, DossierParlementaireClean as DossierParlementaire } from './schemas/clean/dossiers_legislatifs.js';
|
|
7
|
+
import { Legislature } from './legislatures';
|
|
8
|
+
import { ScrutinClean as Scrutin } from './schemas/clean/scrutins.js';
|
|
9
|
+
import { QuestionClean as Question } from './schemas/clean/questions.js';
|
|
10
|
+
import { DocumentUrlFormat } from './urls.js';
|
|
11
|
+
export { EnabledDatasets } from './datasets.js';
|
|
12
|
+
export { walkDir } from './file_systems.js';
|
|
13
13
|
export interface Data {
|
|
14
14
|
readonly acteurByUid: {
|
|
15
15
|
[uid: string]: Acteur;
|
|
@@ -54,6 +54,7 @@ export interface Data {
|
|
|
54
54
|
[uid: string]: CompteRendu;
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
+
export declare const datasets: Datasets;
|
|
57
58
|
export declare function iterLoadAssembleeActeurs(dataDir: string, legislature: Legislature, options?: {}, customDatasets?: Dataset[]): Generator<{
|
|
58
59
|
acteur: Acteur;
|
|
59
60
|
datasetLegislature: Legislature;
|