@tricoteuses/assemblee 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/amendements-CN7bRFdP.js +259 -0
- package/lib/amendements-CN7bRFdP.js.map +1 -0
- package/lib/amendements-Cg1lyCBp.js +735 -0
- package/lib/amendements-Cg1lyCBp.js.map +1 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -0
- package/lib/cleaners/actes_legislatifs.d.ts +1 -0
- package/lib/cleaners/actes_legislatifs.d.ts.map +1 -0
- package/lib/cleaners/acteurs.d.ts +1 -0
- package/lib/cleaners/acteurs.d.ts.map +1 -0
- package/lib/cleaners/amendements.d.ts +1 -0
- package/lib/cleaners/amendements.d.ts.map +1 -0
- package/lib/cleaners/debats.d.ts +1 -0
- package/lib/cleaners/debats.d.ts.map +1 -0
- package/lib/cleaners/documents.d.ts +1 -0
- package/lib/cleaners/documents.d.ts.map +1 -0
- package/lib/cleaners/dossiers_legislatifs.d.ts +1 -0
- package/lib/cleaners/dossiers_legislatifs.d.ts.map +1 -0
- package/lib/cleaners/index.d.ts +1 -0
- package/lib/cleaners/index.d.ts.map +1 -0
- package/lib/cleaners/organes.d.ts +1 -0
- package/lib/cleaners/organes.d.ts.map +1 -0
- package/lib/cleaners/questions.d.ts +1 -0
- package/lib/cleaners/questions.d.ts.map +1 -0
- package/lib/cleaners/reunions.d.ts +1 -0
- package/lib/cleaners/reunions.d.ts.map +1 -0
- package/lib/cleaners/scrutins.d.ts +1 -0
- package/lib/cleaners/scrutins.d.ts.map +1 -0
- package/lib/cleaners/xml.d.ts +1 -0
- package/lib/cleaners/xml.d.ts.map +1 -0
- package/lib/cleaners.js +1082 -508
- package/lib/cleaners.js.map +1 -0
- package/lib/datasets.d.ts +1 -0
- package/lib/datasets.d.ts.map +1 -0
- package/lib/dates.d.ts +1 -0
- package/lib/dates.d.ts.map +1 -0
- package/lib/debats-BwZYgzXe.js +3978 -0
- package/lib/debats-BwZYgzXe.js.map +1 -0
- package/lib/dossiers_legislatifs.d.ts +1 -0
- package/lib/dossiers_legislatifs.d.ts.map +1 -0
- package/lib/file_systems.d.ts +1 -0
- package/lib/file_systems.d.ts.map +1 -0
- package/lib/git.d.ts +1 -0
- package/lib/git.d.ts.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +1211 -808
- package/lib/index.js.map +1 -0
- package/lib/inserters.d.ts +1 -0
- package/lib/inserters.d.ts.map +1 -0
- package/lib/loaders.d.ts +1 -0
- package/lib/loaders.d.ts.map +1 -0
- package/lib/loaders.js +983 -27
- package/lib/loaders.js.map +1 -0
- package/lib/logger.d.ts +1 -0
- package/lib/logger.d.ts.map +1 -0
- package/lib/organes.d.ts +1 -0
- package/lib/organes.d.ts.map +1 -0
- package/lib/parse-CzW8NHW5.js +2850 -0
- package/lib/parse-CzW8NHW5.js.map +1 -0
- package/lib/parsers/index.d.ts +1 -0
- package/lib/parsers/index.d.ts.map +1 -0
- package/lib/parsers/plf.d.ts +1 -0
- package/lib/parsers/plf.d.ts.map +1 -0
- package/lib/parsers/recherche_amendements.d.ts +1 -0
- package/lib/parsers/recherche_amendements.d.ts.map +1 -0
- package/lib/parsers/textes_lois.d.ts +1 -0
- package/lib/parsers/textes_lois.d.ts.map +1 -0
- package/lib/parsers.js +287 -292
- package/lib/parsers.js.map +1 -0
- package/lib/raw_types/acteurs_et_organes.d.ts +1 -0
- package/lib/raw_types/acteurs_et_organes.d.ts.map +1 -0
- package/lib/raw_types/agendas.d.ts +1 -0
- package/lib/raw_types/agendas.d.ts.map +1 -0
- package/lib/raw_types/amendements.d.ts +1 -0
- package/lib/raw_types/amendements.d.ts.map +1 -0
- package/lib/raw_types/debats.d.ts +1 -0
- package/lib/raw_types/debats.d.ts.map +1 -0
- package/lib/raw_types/dossiers_legislatifs.d.ts +1 -0
- package/lib/raw_types/dossiers_legislatifs.d.ts.map +1 -0
- package/lib/raw_types/questions.d.ts +1 -0
- package/lib/raw_types/questions.d.ts.map +1 -0
- package/lib/raw_types/scrutins.d.ts +1 -0
- package/lib/raw_types/scrutins.d.ts.map +1 -0
- package/lib/schemas/acteurs_et_organes.d.json +982 -0
- package/lib/schemas/agendas.d.json +1561 -0
- package/lib/schemas/amendements.d.json +1901 -0
- package/lib/schemas/debats.d.json +623 -0
- package/lib/schemas/dossiers_legislatifs.d.json +3690 -0
- package/lib/schemas/legislatures.d.json +17 -0
- package/lib/schemas/questions.d.json +520 -0
- package/lib/schemas/scrutins.d.json +517 -0
- package/lib/scripts/add_links_to_documents.d.ts +1 -0
- package/lib/scripts/add_links_to_documents.d.ts.map +1 -0
- package/lib/scripts/clean_reorganized_data.d.ts +1 -0
- package/lib/scripts/clean_reorganized_data.d.ts.map +1 -0
- package/lib/scripts/copy-schemas.d.ts +1 -0
- package/lib/scripts/copy-schemas.d.ts.map +1 -0
- package/lib/scripts/diff_amendements.d.ts +1 -0
- package/lib/scripts/diff_amendements.d.ts.map +1 -0
- package/lib/scripts/document_dossiers_legislatifs.d.ts +1 -0
- package/lib/scripts/document_dossiers_legislatifs.d.ts.map +1 -0
- package/lib/scripts/generate-json-schemas.d.ts +1 -0
- package/lib/scripts/generate-json-schemas.d.ts.map +1 -0
- package/lib/scripts/get_today_reunions.d.ts +1 -0
- package/lib/scripts/get_today_reunions.d.ts.map +1 -0
- package/lib/scripts/merge_scrutins.d.ts +1 -0
- package/lib/scripts/merge_scrutins.d.ts.map +1 -0
- package/lib/scripts/process_open_dataset.d.ts +1 -0
- package/lib/scripts/process_open_dataset.d.ts.map +1 -0
- package/lib/scripts/raw_types_from_amendements.d.ts +1 -0
- package/lib/scripts/raw_types_from_amendements.d.ts.map +1 -0
- package/lib/scripts/reorganize_data.d.ts +1 -0
- package/lib/scripts/reorganize_data.d.ts.map +1 -0
- package/lib/scripts/retrieve_deputes_photos.d.ts +1 -0
- package/lib/scripts/retrieve_deputes_photos.d.ts.map +1 -0
- package/lib/scripts/retrieve_documents.d.ts +1 -0
- package/lib/scripts/retrieve_documents.d.ts.map +1 -0
- package/lib/scripts/retrieve_open_data.d.ts +1 -0
- package/lib/scripts/retrieve_open_data.d.ts.map +1 -0
- package/lib/scripts/retrieve_pending_amendments.d.ts +1 -0
- package/lib/scripts/retrieve_pending_amendments.d.ts.map +1 -0
- package/lib/scripts/retrieve_senateurs_photos.d.ts +1 -0
- package/lib/scripts/retrieve_senateurs_photos.d.ts.map +1 -0
- package/lib/scripts/shared/cli_helpers.d.ts +1 -0
- package/lib/scripts/shared/cli_helpers.d.ts.map +1 -0
- package/lib/scripts/test_iter_load.d.ts +1 -0
- package/lib/scripts/test_iter_load.d.ts.map +1 -0
- package/lib/scripts/test_load.d.ts +1 -0
- package/lib/scripts/test_load.d.ts.map +1 -0
- package/lib/scripts/test_load_big_files.d.ts +1 -0
- package/lib/scripts/test_load_big_files.d.ts.map +1 -0
- package/lib/scripts/validate_json.d.ts +1 -0
- package/lib/scripts/validate_json.d.ts.map +1 -0
- package/lib/shared_types/codes_actes.d.ts +1 -0
- package/lib/shared_types/codes_actes.d.ts.map +1 -0
- package/lib/strings.d.ts +1 -0
- package/lib/strings.d.ts.map +1 -0
- package/lib/types/acteurs_et_organes.d.ts +1 -0
- package/lib/types/acteurs_et_organes.d.ts.map +1 -0
- package/lib/types/agendas.d.ts +1 -0
- package/lib/types/agendas.d.ts.map +1 -0
- package/lib/types/amendements.d.ts +1 -0
- package/lib/types/amendements.d.ts.map +1 -0
- package/lib/types/debats.d.ts +1 -0
- package/lib/types/debats.d.ts.map +1 -0
- package/lib/types/dossiers_legislatifs.d.ts +1 -0
- package/lib/types/dossiers_legislatifs.d.ts.map +1 -0
- package/lib/types/legislatures.d.ts +1 -0
- package/lib/types/legislatures.d.ts.map +1 -0
- package/lib/types/questions.d.ts +1 -0
- package/lib/types/questions.d.ts.map +1 -0
- package/lib/types/scrutins.d.ts +1 -0
- package/lib/types/scrutins.d.ts.map +1 -0
- package/lib/urls.d.ts +1 -0
- package/lib/urls.d.ts.map +1 -0
- package/package.json +1 -3
- package/lib/amendements-79bwpkvR.js +0 -154
- package/lib/amendements-CV3s5a0M.js +0 -667
- package/lib/loaders-9mHdTl9L.js +0 -4158
- package/lib/parse-Ccs6wcUg.js +0 -2512
|
@@ -0,0 +1,3978 @@
|
|
|
1
|
+
import fs from "fs-extra";
|
|
2
|
+
import "node:assert";
|
|
3
|
+
import "node:crypto";
|
|
4
|
+
import path from "node:path";
|
|
5
|
+
var Civ;
|
|
6
|
+
(function(Civ2) {
|
|
7
|
+
Civ2["M"] = "M.";
|
|
8
|
+
Civ2["Mme"] = "Mme";
|
|
9
|
+
})(Civ || (Civ = {}));
|
|
10
|
+
var TypeMandat;
|
|
11
|
+
(function(TypeMandat2) {
|
|
12
|
+
TypeMandat2["MandatAvecSuppleantType"] = "MandatAvecSuppleant_Type";
|
|
13
|
+
TypeMandat2["MandatMissionType"] = "MandatMission_Type";
|
|
14
|
+
TypeMandat2["MandatParlementaireType"] = "MandatParlementaire_type";
|
|
15
|
+
TypeMandat2["MandatSimpleType"] = "MandatSimple_Type";
|
|
16
|
+
})(TypeMandat || (TypeMandat = {}));
|
|
17
|
+
var RegionType;
|
|
18
|
+
(function(RegionType2) {
|
|
19
|
+
RegionType2["CollectivitésDOutreMerEtNouvelleCalédonie"] = "Collectivités d'outre-mer et Nouvelle-Calédonie";
|
|
20
|
+
RegionType2["Dom"] = "Dom";
|
|
21
|
+
RegionType2["FrançaisÉtablisHorsDeFrance"] = "Français établis hors de France";
|
|
22
|
+
RegionType2["Métropolitain"] = "Métropolitain";
|
|
23
|
+
})(RegionType || (RegionType = {}));
|
|
24
|
+
var CodeTypeOrgane;
|
|
25
|
+
(function(CodeTypeOrgane2) {
|
|
26
|
+
CodeTypeOrgane2["Api"] = "API";
|
|
27
|
+
CodeTypeOrgane2["Assemblee"] = "ASSEMBLEE";
|
|
28
|
+
CodeTypeOrgane2["Bureau"] = "BUREAU";
|
|
29
|
+
CodeTypeOrgane2["Circonscription"] = "CIRCONSCRIPTION";
|
|
30
|
+
CodeTypeOrgane2["Cjr"] = "CJR";
|
|
31
|
+
CodeTypeOrgane2["Cmp"] = "CMP";
|
|
32
|
+
CodeTypeOrgane2["Cnpe"] = "CNPE";
|
|
33
|
+
CodeTypeOrgane2["Cnps"] = "CNPS";
|
|
34
|
+
CodeTypeOrgane2["Comnl"] = "COMNL";
|
|
35
|
+
CodeTypeOrgane2["Comper"] = "COMPER";
|
|
36
|
+
CodeTypeOrgane2["Comsenat"] = "COMSENAT";
|
|
37
|
+
CodeTypeOrgane2["Comspsenat"] = "COMSPSENAT";
|
|
38
|
+
CodeTypeOrgane2["Confpt"] = "CONFPT";
|
|
39
|
+
CodeTypeOrgane2["Constitu"] = "CONSTITU";
|
|
40
|
+
CodeTypeOrgane2["Deleg"] = "DELEG";
|
|
41
|
+
CodeTypeOrgane2["Delegbureau"] = "DELEGBUREAU";
|
|
42
|
+
CodeTypeOrgane2["Delegsenat"] = "DELEGSENAT";
|
|
43
|
+
CodeTypeOrgane2["Ga"] = "GA";
|
|
44
|
+
CodeTypeOrgane2["Ge"] = "GE";
|
|
45
|
+
CodeTypeOrgane2["Gevi"] = "GEVI";
|
|
46
|
+
CodeTypeOrgane2["Gouvernement"] = "GOUVERNEMENT";
|
|
47
|
+
CodeTypeOrgane2["Gp"] = "GP";
|
|
48
|
+
CodeTypeOrgane2["Groupesenat"] = "GROUPESENAT";
|
|
49
|
+
CodeTypeOrgane2["Hcj"] = "HCJ";
|
|
50
|
+
CodeTypeOrgane2["Ministere"] = "MINISTERE";
|
|
51
|
+
CodeTypeOrgane2["Miseval"] = "MISEVAL";
|
|
52
|
+
CodeTypeOrgane2["Misinfo"] = "MISINFO";
|
|
53
|
+
CodeTypeOrgane2["Misinfocom"] = "MISINFOCOM";
|
|
54
|
+
CodeTypeOrgane2["Misinfopre"] = "MISINFOPRE";
|
|
55
|
+
CodeTypeOrgane2["Offpar"] = "OFFPAR";
|
|
56
|
+
CodeTypeOrgane2["Orgaint"] = "ORGAINT";
|
|
57
|
+
CodeTypeOrgane2["Orgextparl"] = "ORGEXTPARL";
|
|
58
|
+
CodeTypeOrgane2["Parpol"] = "PARPOL";
|
|
59
|
+
CodeTypeOrgane2["Presrep"] = "PRESREP";
|
|
60
|
+
CodeTypeOrgane2["Senat"] = "SENAT";
|
|
61
|
+
})(CodeTypeOrgane || (CodeTypeOrgane = {}));
|
|
62
|
+
var FamSocPro;
|
|
63
|
+
(function(FamSocPro2) {
|
|
64
|
+
FamSocPro2["AgriculteursExploitants"] = "Agriculteurs exploitants";
|
|
65
|
+
FamSocPro2["ArtisansCommerçantsChefsDEntreprises"] = "Artisans, commerçants, chefs d'entreprises";
|
|
66
|
+
FamSocPro2["ArtisansCommerçantsEtChefsDEntrepriseAncien"] = "Artisans, commerçants et chefs d'entreprise";
|
|
67
|
+
FamSocPro2["AutresPersonnesSansActivitéProfessionnelle"] = "Autres personnes sans activité professionnelle";
|
|
68
|
+
FamSocPro2["CadresEtProfessionsIntellectuellesSupérieures"] = "Cadres et professions intellectuelles supérieures";
|
|
69
|
+
FamSocPro2["Employés"] = "Employés";
|
|
70
|
+
FamSocPro2["Ouvriers"] = "Ouvriers";
|
|
71
|
+
FamSocPro2["ProfessionsIntermédiaires"] = "Professions intermédiaires";
|
|
72
|
+
FamSocPro2["ProfessionsIntermédiairesAncien"] = "Professions Intermédiaires";
|
|
73
|
+
FamSocPro2["Retraités"] = "Retraités";
|
|
74
|
+
FamSocPro2["SansProfessionDéclarée"] = "Sans profession déclarée";
|
|
75
|
+
})(FamSocPro || (FamSocPro = {}));
|
|
76
|
+
var TypeOrgane;
|
|
77
|
+
(function(TypeOrgane2) {
|
|
78
|
+
TypeOrgane2["GroupePolitiqueType"] = "GroupePolitique_type";
|
|
79
|
+
TypeOrgane2["OrganeCirconscriptionType"] = "OrganeCirconscription_type";
|
|
80
|
+
TypeOrgane2["OrganeExterneType"] = "OrganeExterne_Type";
|
|
81
|
+
TypeOrgane2["OrganeExtraParlementaireType"] = "OrganeExtraParlementaire_type";
|
|
82
|
+
TypeOrgane2["OrganeParlementaireInternational"] = "OrganeParlementaireInternational";
|
|
83
|
+
TypeOrgane2["OrganeParlementaireType"] = "OrganeParlementaire_Type";
|
|
84
|
+
})(TypeOrgane || (TypeOrgane = {}));
|
|
85
|
+
var CodeNatureDep;
|
|
86
|
+
(function(CodeNatureDep2) {
|
|
87
|
+
CodeNatureDep2["H"] = "H";
|
|
88
|
+
CodeNatureDep2["M"] = "M";
|
|
89
|
+
CodeNatureDep2["O"] = "O";
|
|
90
|
+
CodeNatureDep2["T"] = "T";
|
|
91
|
+
})(CodeNatureDep || (CodeNatureDep = {}));
|
|
92
|
+
var PositionPolitique;
|
|
93
|
+
(function(PositionPolitique2) {
|
|
94
|
+
PositionPolitique2["Majoritaire"] = "Majoritaire";
|
|
95
|
+
PositionPolitique2["Minoritaire"] = "Minoritaire";
|
|
96
|
+
PositionPolitique2["Opposition"] = "Opposition";
|
|
97
|
+
})(PositionPolitique || (PositionPolitique = {}));
|
|
98
|
+
var Regime;
|
|
99
|
+
(function(Regime2) {
|
|
100
|
+
Regime2["AssembléeConsultativeProvisoire"] = "Assemblée consultative provisoire";
|
|
101
|
+
Regime2["AssembléesNationalesConstituantes"] = "Assemblées nationales constituantes";
|
|
102
|
+
Regime2["The3ÈmeRépublique"] = "3ème République";
|
|
103
|
+
Regime2["The4ÈmeRépublique"] = "4ème République";
|
|
104
|
+
Regime2["The5ÈmeRépublique"] = "5ème République";
|
|
105
|
+
})(Regime || (Regime = {}));
|
|
106
|
+
let Convert$5 = class Convert {
|
|
107
|
+
static toActeursEtOrganes(json) {
|
|
108
|
+
return cast$5(JSON.parse(json), r$5("ActeursEtOrganes"));
|
|
109
|
+
}
|
|
110
|
+
static acteursEtOrganesToJson(value) {
|
|
111
|
+
return JSON.stringify(uncast$5(value, r$5("ActeursEtOrganes")), null, 2);
|
|
112
|
+
}
|
|
113
|
+
static toActeur(json) {
|
|
114
|
+
return cast$5(JSON.parse(json), r$5("Acteur"));
|
|
115
|
+
}
|
|
116
|
+
static acteurToJson(value) {
|
|
117
|
+
return JSON.stringify(uncast$5(value, r$5("Acteur")), null, 2);
|
|
118
|
+
}
|
|
119
|
+
static toOrgane(json) {
|
|
120
|
+
return cast$5(JSON.parse(json), r$5("Organe"));
|
|
121
|
+
}
|
|
122
|
+
static organeToJson(value) {
|
|
123
|
+
return JSON.stringify(uncast$5(value, r$5("Organe")), null, 2);
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
function invalidValue$5(typ, val, key = "") {
|
|
127
|
+
if (key) {
|
|
128
|
+
throw Error(`Invalid value for key "${key}". Expected type ${JSON.stringify(typ)} but got ${JSON.stringify(val)}`);
|
|
129
|
+
}
|
|
130
|
+
throw Error(`Invalid value ${JSON.stringify(val)} for type ${JSON.stringify(typ)}`);
|
|
131
|
+
}
|
|
132
|
+
function jsonToJSProps$5(typ) {
|
|
133
|
+
if (typ.jsonToJS === void 0) {
|
|
134
|
+
const map = {};
|
|
135
|
+
typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
|
|
136
|
+
typ.jsonToJS = map;
|
|
137
|
+
}
|
|
138
|
+
return typ.jsonToJS;
|
|
139
|
+
}
|
|
140
|
+
function jsToJSONProps$5(typ) {
|
|
141
|
+
if (typ.jsToJSON === void 0) {
|
|
142
|
+
const map = {};
|
|
143
|
+
typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
|
|
144
|
+
typ.jsToJSON = map;
|
|
145
|
+
}
|
|
146
|
+
return typ.jsToJSON;
|
|
147
|
+
}
|
|
148
|
+
function transform$5(val, typ, getProps, key = "") {
|
|
149
|
+
function transformPrimitive(typ2, val2) {
|
|
150
|
+
if (typeof typ2 === typeof val2)
|
|
151
|
+
return val2;
|
|
152
|
+
return invalidValue$5(typ2, val2, key);
|
|
153
|
+
}
|
|
154
|
+
function transformUnion(typs, val2) {
|
|
155
|
+
const l2 = typs.length;
|
|
156
|
+
for (let i = 0; i < l2; i++) {
|
|
157
|
+
const typ2 = typs[i];
|
|
158
|
+
try {
|
|
159
|
+
return transform$5(val2, typ2, getProps);
|
|
160
|
+
} catch (_) {
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
return invalidValue$5(typs, val2);
|
|
164
|
+
}
|
|
165
|
+
function transformEnum(cases, val2) {
|
|
166
|
+
if (cases.indexOf(val2) !== -1)
|
|
167
|
+
return val2;
|
|
168
|
+
return invalidValue$5(cases, val2);
|
|
169
|
+
}
|
|
170
|
+
function transformArray(typ2, val2) {
|
|
171
|
+
if (!Array.isArray(val2))
|
|
172
|
+
return invalidValue$5("array", val2);
|
|
173
|
+
return val2.map((el) => transform$5(el, typ2, getProps));
|
|
174
|
+
}
|
|
175
|
+
function transformDate(val2) {
|
|
176
|
+
if (val2 === null) {
|
|
177
|
+
return null;
|
|
178
|
+
}
|
|
179
|
+
const d = new Date(val2);
|
|
180
|
+
if (isNaN(d.valueOf())) {
|
|
181
|
+
return invalidValue$5("Date", val2);
|
|
182
|
+
}
|
|
183
|
+
return d;
|
|
184
|
+
}
|
|
185
|
+
function transformObject(props, additional, val2) {
|
|
186
|
+
if (val2 === null || typeof val2 !== "object" || Array.isArray(val2)) {
|
|
187
|
+
return invalidValue$5("object", val2);
|
|
188
|
+
}
|
|
189
|
+
const result = {};
|
|
190
|
+
Object.getOwnPropertyNames(props).forEach((key2) => {
|
|
191
|
+
const prop = props[key2];
|
|
192
|
+
const v = Object.prototype.hasOwnProperty.call(val2, key2) ? val2[key2] : void 0;
|
|
193
|
+
result[prop.key] = transform$5(v, prop.typ, getProps, prop.key);
|
|
194
|
+
});
|
|
195
|
+
Object.getOwnPropertyNames(val2).forEach((key2) => {
|
|
196
|
+
if (!Object.prototype.hasOwnProperty.call(props, key2)) {
|
|
197
|
+
result[key2] = transform$5(val2[key2], additional, getProps, key2);
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
return result;
|
|
201
|
+
}
|
|
202
|
+
if (typ === "any")
|
|
203
|
+
return val;
|
|
204
|
+
if (typ === null) {
|
|
205
|
+
if (val === null)
|
|
206
|
+
return val;
|
|
207
|
+
return invalidValue$5(typ, val);
|
|
208
|
+
}
|
|
209
|
+
while (typeof typ === "object" && typ.ref !== void 0) {
|
|
210
|
+
typ = typeMap$5[typ.ref];
|
|
211
|
+
}
|
|
212
|
+
if (Array.isArray(typ))
|
|
213
|
+
return transformEnum(typ, val);
|
|
214
|
+
if (typeof typ === "object") {
|
|
215
|
+
return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) : invalidValue$5(typ, val);
|
|
216
|
+
}
|
|
217
|
+
if (typ === Date && typeof val !== "number")
|
|
218
|
+
return transformDate(val);
|
|
219
|
+
return transformPrimitive(typ, val);
|
|
220
|
+
}
|
|
221
|
+
function cast$5(val, typ) {
|
|
222
|
+
return transform$5(val, typ, jsonToJSProps$5);
|
|
223
|
+
}
|
|
224
|
+
function uncast$5(val, typ) {
|
|
225
|
+
return transform$5(val, typ, jsToJSONProps$5);
|
|
226
|
+
}
|
|
227
|
+
function a$5(typ) {
|
|
228
|
+
return { arrayItems: typ };
|
|
229
|
+
}
|
|
230
|
+
function u$5(...typs) {
|
|
231
|
+
return { unionMembers: typs };
|
|
232
|
+
}
|
|
233
|
+
function o$5(props, additional) {
|
|
234
|
+
return { props, additional };
|
|
235
|
+
}
|
|
236
|
+
function r$5(name) {
|
|
237
|
+
return { ref: name };
|
|
238
|
+
}
|
|
239
|
+
const typeMap$5 = {
|
|
240
|
+
ActeursEtOrganes: o$5([
|
|
241
|
+
{ json: "organes", js: "organes", typ: a$5(r$5("Organe")) },
|
|
242
|
+
{ json: "acteurs", js: "acteurs", typ: a$5(r$5("Acteur")) }
|
|
243
|
+
], false),
|
|
244
|
+
Acteur: o$5([
|
|
245
|
+
{ json: "schemaVersion", js: "schemaVersion", typ: u$5(void 0, "") },
|
|
246
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
247
|
+
{ json: "etatCivil", js: "etatCivil", typ: r$5("EtatCivil") },
|
|
248
|
+
{
|
|
249
|
+
json: "profession",
|
|
250
|
+
js: "profession",
|
|
251
|
+
typ: u$5(void 0, r$5("Profession"))
|
|
252
|
+
},
|
|
253
|
+
{ json: "uriHatvp", js: "uriHatvp", typ: u$5(void 0, "") },
|
|
254
|
+
{
|
|
255
|
+
json: "adresses",
|
|
256
|
+
js: "adresses",
|
|
257
|
+
typ: u$5(void 0, a$5(u$5(r$5("AdresseElectronique"), r$5("AdressePostale"))))
|
|
258
|
+
},
|
|
259
|
+
{ json: "mandats", js: "mandats", typ: u$5(void 0, a$5(r$5("Mandat"))) },
|
|
260
|
+
{ json: "photo", js: "photo", typ: u$5(void 0, r$5("Photo")) },
|
|
261
|
+
{ json: "deports", js: "deports", typ: u$5(void 0, a$5(r$5("Deport"))) }
|
|
262
|
+
], false),
|
|
263
|
+
AdresseElectronique: o$5([
|
|
264
|
+
{ json: "xsiType", js: "xsiType", typ: "" },
|
|
265
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
266
|
+
{ json: "type", js: "type", typ: "" },
|
|
267
|
+
{ json: "typeLibelle", js: "typeLibelle", typ: "" },
|
|
268
|
+
{ json: "poids", js: "poids", typ: u$5(void 0, "") },
|
|
269
|
+
{
|
|
270
|
+
json: "adresseDeRattachement",
|
|
271
|
+
js: "adresseDeRattachement",
|
|
272
|
+
typ: u$5(void 0, "")
|
|
273
|
+
},
|
|
274
|
+
{ json: "valElec", js: "valElec", typ: u$5(void 0, "") }
|
|
275
|
+
], false),
|
|
276
|
+
AdressePostale: o$5([
|
|
277
|
+
{ json: "xsiType", js: "xsiType", typ: "" },
|
|
278
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
279
|
+
{ json: "type", js: "type", typ: "" },
|
|
280
|
+
{ json: "typeLibelle", js: "typeLibelle", typ: "" },
|
|
281
|
+
{ json: "poids", js: "poids", typ: u$5(void 0, "") },
|
|
282
|
+
{ json: "intitule", js: "intitule", typ: u$5(void 0, "") },
|
|
283
|
+
{ json: "numeroRue", js: "numeroRue", typ: u$5(void 0, "") },
|
|
284
|
+
{ json: "nomRue", js: "nomRue", typ: u$5(void 0, "") },
|
|
285
|
+
{
|
|
286
|
+
json: "complementAdresse",
|
|
287
|
+
js: "complementAdresse",
|
|
288
|
+
typ: u$5(void 0, "")
|
|
289
|
+
},
|
|
290
|
+
{ json: "codePostal", js: "codePostal", typ: u$5(void 0, "") },
|
|
291
|
+
{ json: "ville", js: "ville", typ: u$5(void 0, "") }
|
|
292
|
+
], false),
|
|
293
|
+
EtatCivil: o$5([
|
|
294
|
+
{ json: "ident", js: "ident", typ: r$5("Ident") },
|
|
295
|
+
{ json: "infoNaissance", js: "infoNaissance", typ: r$5("InfoNaissance") },
|
|
296
|
+
{ json: "dateDeces", js: "dateDeces", typ: u$5(void 0, Date) }
|
|
297
|
+
], false),
|
|
298
|
+
Ident: o$5([
|
|
299
|
+
{ json: "civ", js: "civ", typ: r$5("Civ") },
|
|
300
|
+
{ json: "prenom", js: "prenom", typ: "" },
|
|
301
|
+
{ json: "nom", js: "nom", typ: "" },
|
|
302
|
+
{ json: "alpha", js: "alpha", typ: "" },
|
|
303
|
+
{ json: "trigramme", js: "trigramme", typ: u$5(void 0, "") }
|
|
304
|
+
], false),
|
|
305
|
+
InfoNaissance: o$5([
|
|
306
|
+
{ json: "dateNais", js: "dateNais", typ: u$5(void 0, Date) },
|
|
307
|
+
{ json: "villeNais", js: "villeNais", typ: u$5(void 0, "") },
|
|
308
|
+
{ json: "depNais", js: "depNais", typ: u$5(void 0, "") },
|
|
309
|
+
{ json: "paysNais", js: "paysNais", typ: u$5(void 0, "") }
|
|
310
|
+
], false),
|
|
311
|
+
Mandat: o$5([
|
|
312
|
+
{ json: "xsiType", js: "xsiType", typ: u$5(void 0, r$5("TypeMandat")) },
|
|
313
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
314
|
+
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
315
|
+
{ json: "legislature", js: "legislature", typ: u$5(void 0, "") },
|
|
316
|
+
{ json: "typeOrgane", js: "typeOrgane", typ: r$5("CodeTypeOrgane") },
|
|
317
|
+
{ json: "dateDebut", js: "dateDebut", typ: Date },
|
|
318
|
+
{
|
|
319
|
+
json: "datePublication",
|
|
320
|
+
js: "datePublication",
|
|
321
|
+
typ: u$5(void 0, Date)
|
|
322
|
+
},
|
|
323
|
+
{ json: "dateFin", js: "dateFin", typ: u$5(void 0, Date) },
|
|
324
|
+
{ json: "preseance", js: "preseance", typ: u$5(void 0, "") },
|
|
325
|
+
{ json: "nominPrincipale", js: "nominPrincipale", typ: "" },
|
|
326
|
+
{ json: "infosQualite", js: "infosQualite", typ: r$5("InfosQualite") },
|
|
327
|
+
{ json: "organesRefs", js: "organesRefs", typ: a$5("") },
|
|
328
|
+
{ json: "suppleant", js: "suppleant", typ: u$5(void 0, r$5("Suppleant")) },
|
|
329
|
+
{ json: "election", js: "election", typ: u$5(void 0, r$5("Election")) },
|
|
330
|
+
{ json: "mandature", js: "mandature", typ: u$5(void 0, r$5("Mandature")) },
|
|
331
|
+
{
|
|
332
|
+
json: "collaborateurs",
|
|
333
|
+
js: "collaborateurs",
|
|
334
|
+
typ: u$5(void 0, a$5(r$5("Collaborateur")))
|
|
335
|
+
},
|
|
336
|
+
{ json: "libelle", js: "libelle", typ: u$5(void 0, "") },
|
|
337
|
+
{
|
|
338
|
+
json: "missionSuivanteRef",
|
|
339
|
+
js: "missionSuivanteRef",
|
|
340
|
+
typ: u$5(void 0, "")
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
json: "missionPrecedenteRef",
|
|
344
|
+
js: "missionPrecedenteRef",
|
|
345
|
+
typ: u$5(void 0, "")
|
|
346
|
+
}
|
|
347
|
+
], false),
|
|
348
|
+
Collaborateur: o$5([
|
|
349
|
+
{ json: "qualite", js: "qualite", typ: u$5(void 0, r$5("Civ")) },
|
|
350
|
+
{ json: "prenom", js: "prenom", typ: "" },
|
|
351
|
+
{ json: "nom", js: "nom", typ: "" }
|
|
352
|
+
], false),
|
|
353
|
+
Election: o$5([
|
|
354
|
+
{ json: "lieu", js: "lieu", typ: r$5("Lieu") },
|
|
355
|
+
{ json: "causeMandat", js: "causeMandat", typ: u$5(void 0, "") },
|
|
356
|
+
{
|
|
357
|
+
json: "refCirconscription",
|
|
358
|
+
js: "refCirconscription",
|
|
359
|
+
typ: u$5(void 0, "")
|
|
360
|
+
}
|
|
361
|
+
], false),
|
|
362
|
+
Lieu: o$5([
|
|
363
|
+
{ json: "region", js: "region", typ: u$5(void 0, "") },
|
|
364
|
+
{
|
|
365
|
+
json: "regionType",
|
|
366
|
+
js: "regionType",
|
|
367
|
+
typ: u$5(void 0, r$5("RegionType"))
|
|
368
|
+
},
|
|
369
|
+
{ json: "departement", js: "departement", typ: u$5(void 0, "") },
|
|
370
|
+
{ json: "numDepartement", js: "numDepartement", typ: u$5(void 0, "") },
|
|
371
|
+
{ json: "numCirco", js: "numCirco", typ: u$5(void 0, "") }
|
|
372
|
+
], false),
|
|
373
|
+
InfosQualite: o$5([
|
|
374
|
+
{ json: "codeQualite", js: "codeQualite", typ: u$5(void 0, "") },
|
|
375
|
+
{ json: "libQualite", js: "libQualite", typ: "" },
|
|
376
|
+
{ json: "libQualiteSex", js: "libQualiteSex", typ: u$5(void 0, "") }
|
|
377
|
+
], false),
|
|
378
|
+
Mandature: o$5([
|
|
379
|
+
{
|
|
380
|
+
json: "datePriseFonction",
|
|
381
|
+
js: "datePriseFonction",
|
|
382
|
+
typ: u$5(void 0, Date)
|
|
383
|
+
},
|
|
384
|
+
{ json: "causeFin", js: "causeFin", typ: u$5(void 0, "") },
|
|
385
|
+
{
|
|
386
|
+
json: "premiereElection",
|
|
387
|
+
js: "premiereElection",
|
|
388
|
+
typ: u$5(void 0, "")
|
|
389
|
+
},
|
|
390
|
+
{ json: "placeHemicycle", js: "placeHemicycle", typ: u$5(void 0, "") },
|
|
391
|
+
{
|
|
392
|
+
json: "mandatRemplaceRef",
|
|
393
|
+
js: "mandatRemplaceRef",
|
|
394
|
+
typ: u$5(void 0, "")
|
|
395
|
+
},
|
|
396
|
+
{ json: "matriculeVote", js: "matriculeVote", typ: u$5(void 0, "") }
|
|
397
|
+
], false),
|
|
398
|
+
Suppleant: o$5([
|
|
399
|
+
{ json: "dateDebut", js: "dateDebut", typ: Date },
|
|
400
|
+
{ json: "dateFin", js: "dateFin", typ: u$5(void 0, Date) },
|
|
401
|
+
{ json: "suppleantRef", js: "suppleantRef", typ: "" }
|
|
402
|
+
], false),
|
|
403
|
+
Profession: o$5([
|
|
404
|
+
{ json: "libelleCourant", js: "libelleCourant", typ: u$5(void 0, "") },
|
|
405
|
+
{ json: "socProcInsee", js: "socProcInsee", typ: r$5("SocProcInsee") }
|
|
406
|
+
], false),
|
|
407
|
+
SocProcInsee: o$5([
|
|
408
|
+
{ json: "catSocPro", js: "catSocPro", typ: u$5(void 0, "") },
|
|
409
|
+
{ json: "famSocPro", js: "famSocPro", typ: u$5(void 0, r$5("FamSocPro")) }
|
|
410
|
+
], false),
|
|
411
|
+
Deport: o$5([
|
|
412
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
413
|
+
{ json: "chronotag", js: "chronotag", typ: "" },
|
|
414
|
+
{ json: "legislature", js: "legislature", typ: "" },
|
|
415
|
+
{ json: "refActeur", js: "refActeur", typ: "" },
|
|
416
|
+
{ json: "dateCreation", js: "dateCreation", typ: Date },
|
|
417
|
+
{ json: "datePublication", js: "datePublication", typ: Date },
|
|
418
|
+
{ json: "portee", js: "portee", typ: r$5("CodeEtLibelle") },
|
|
419
|
+
{ json: "lecture", js: "lecture", typ: r$5("CodeEtLibelle") },
|
|
420
|
+
{ json: "instance", js: "instance", typ: r$5("CodeEtLibelle") },
|
|
421
|
+
{ json: "cible", js: "cible", typ: r$5("Cible") },
|
|
422
|
+
{ json: "explication", js: "explication", typ: u$5(void 0, "") }
|
|
423
|
+
], false),
|
|
424
|
+
Cible: o$5([
|
|
425
|
+
{ json: "type", js: "type", typ: r$5("CodeEtLibelle") },
|
|
426
|
+
{ json: "referenceTextuelle", js: "referenceTextuelle", typ: "" }
|
|
427
|
+
], false),
|
|
428
|
+
CodeEtLibelle: o$5([
|
|
429
|
+
{ json: "code", js: "code", typ: "" },
|
|
430
|
+
{ json: "libelle", js: "libelle", typ: "" }
|
|
431
|
+
], false),
|
|
432
|
+
Organe: o$5([
|
|
433
|
+
{ json: "schemaVersion", js: "schemaVersion", typ: u$5(void 0, "") },
|
|
434
|
+
{ json: "xsiType", js: "xsiType", typ: u$5(void 0, r$5("TypeOrgane")) },
|
|
435
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
436
|
+
{ json: "codeType", js: "codeType", typ: r$5("CodeTypeOrgane") },
|
|
437
|
+
{ json: "libelle", js: "libelle", typ: "" },
|
|
438
|
+
{ json: "libelleEdition", js: "libelleEdition", typ: u$5(void 0, "") },
|
|
439
|
+
{ json: "libelleAbrege", js: "libelleAbrege", typ: "" },
|
|
440
|
+
{ json: "libelleAbrev", js: "libelleAbrev", typ: "" },
|
|
441
|
+
{ json: "viMoDe", js: "viMoDe", typ: r$5("ViMoDe") },
|
|
442
|
+
{
|
|
443
|
+
json: "organeParentRef",
|
|
444
|
+
js: "organeParentRef",
|
|
445
|
+
typ: u$5(void 0, "")
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
json: "organePrecedentRef",
|
|
449
|
+
js: "organePrecedentRef",
|
|
450
|
+
typ: u$5(void 0, "")
|
|
451
|
+
},
|
|
452
|
+
{ json: "regime", js: "regime", typ: u$5(void 0, r$5("Regime")) },
|
|
453
|
+
{
|
|
454
|
+
json: "legislature",
|
|
455
|
+
js: "legislature",
|
|
456
|
+
typ: u$5(void 0, "")
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
json: "secretariat",
|
|
460
|
+
js: "secretariat",
|
|
461
|
+
typ: u$5(void 0, r$5("Secretariat"))
|
|
462
|
+
},
|
|
463
|
+
{ json: "numero", js: "numero", typ: u$5(void 0, "") },
|
|
464
|
+
{ json: "lieu", js: "lieu", typ: u$5(void 0, r$5("OrganeLieu")) },
|
|
465
|
+
{
|
|
466
|
+
json: "regimeJuridique",
|
|
467
|
+
js: "regimeJuridique",
|
|
468
|
+
typ: u$5(void 0, "")
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
json: "siteInternet",
|
|
472
|
+
js: "siteInternet",
|
|
473
|
+
typ: u$5(void 0, "")
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
json: "nombreReunionsAnnuelles",
|
|
477
|
+
js: "nombreReunionsAnnuelles",
|
|
478
|
+
typ: u$5(void 0, "")
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
json: "positionPolitique",
|
|
482
|
+
js: "positionPolitique",
|
|
483
|
+
typ: u$5(void 0, r$5("PositionPolitique"))
|
|
484
|
+
},
|
|
485
|
+
{ json: "preseance", js: "preseance", typ: u$5(void 0, "") },
|
|
486
|
+
{ json: "couleurAssociee", js: "couleurAssociee", typ: u$5(void 0, "") },
|
|
487
|
+
{
|
|
488
|
+
json: "listePays",
|
|
489
|
+
js: "listePays",
|
|
490
|
+
typ: u$5(void 0, a$5(""))
|
|
491
|
+
}
|
|
492
|
+
], false),
|
|
493
|
+
OrganeLieu: o$5([
|
|
494
|
+
{ json: "region", js: "region", typ: r$5("Region") },
|
|
495
|
+
{ json: "departement", js: "departement", typ: r$5("Departement") }
|
|
496
|
+
], false),
|
|
497
|
+
Departement: o$5([
|
|
498
|
+
{
|
|
499
|
+
json: "codeNatureDep",
|
|
500
|
+
js: "codeNatureDep",
|
|
501
|
+
typ: u$5(void 0, r$5("CodeNatureDep"))
|
|
502
|
+
},
|
|
503
|
+
{ json: "code", js: "code", typ: u$5(void 0, "") },
|
|
504
|
+
{ json: "libelle", js: "libelle", typ: u$5(void 0, "") }
|
|
505
|
+
], false),
|
|
506
|
+
Region: o$5([
|
|
507
|
+
{ json: "type", js: "type", typ: u$5(void 0, r$5("RegionType")) },
|
|
508
|
+
{ json: "libelle", js: "libelle", typ: u$5(void 0, "") }
|
|
509
|
+
], false),
|
|
510
|
+
Secretariat: o$5([
|
|
511
|
+
{ json: "secretaire01", js: "secretaire01", typ: u$5(void 0, "") },
|
|
512
|
+
{ json: "secretaire02", js: "secretaire02", typ: u$5(void 0, "") }
|
|
513
|
+
], false),
|
|
514
|
+
ViMoDe: o$5([
|
|
515
|
+
{ json: "dateDebut", js: "dateDebut", typ: u$5(void 0, Date) },
|
|
516
|
+
{ json: "dateAgrement", js: "dateAgrement", typ: u$5(void 0, Date) },
|
|
517
|
+
{ json: "dateFin", js: "dateFin", typ: u$5(void 0, Date) }
|
|
518
|
+
], false),
|
|
519
|
+
Photo: o$5([
|
|
520
|
+
{ json: "chemin", js: "chemin", typ: "" },
|
|
521
|
+
{ json: "cheminMosaique", js: "cheminMosaique", typ: "" },
|
|
522
|
+
{ json: "hauteur", js: "hauteur", typ: 0 },
|
|
523
|
+
{ json: "largeur", js: "largeur", typ: 0 },
|
|
524
|
+
{ json: "xMosaique", js: "xMosaique", typ: 0 },
|
|
525
|
+
{ json: "yMosaique", js: "yMosaique", typ: 0 }
|
|
526
|
+
], false),
|
|
527
|
+
Civ: ["M.", "Mme"],
|
|
528
|
+
TypeMandat: [
|
|
529
|
+
"MandatAvecSuppleant_Type",
|
|
530
|
+
"MandatMission_Type",
|
|
531
|
+
"MandatParlementaire_type",
|
|
532
|
+
"MandatSimple_Type"
|
|
533
|
+
],
|
|
534
|
+
RegionType: [
|
|
535
|
+
"Collectivités d'outre-mer et Nouvelle-Calédonie",
|
|
536
|
+
"Dom",
|
|
537
|
+
"Français établis hors de France",
|
|
538
|
+
"Métropolitain"
|
|
539
|
+
],
|
|
540
|
+
CodeTypeOrgane: [
|
|
541
|
+
"API",
|
|
542
|
+
"ASSEMBLEE",
|
|
543
|
+
"BUREAU",
|
|
544
|
+
"CIRCONSCRIPTION",
|
|
545
|
+
"CJR",
|
|
546
|
+
"CMP",
|
|
547
|
+
"CNPE",
|
|
548
|
+
"CNPS",
|
|
549
|
+
"COMNL",
|
|
550
|
+
"COMPER",
|
|
551
|
+
"COMSENAT",
|
|
552
|
+
"COMSPSENAT",
|
|
553
|
+
"CONFPT",
|
|
554
|
+
"CONSTITU",
|
|
555
|
+
"DELEG",
|
|
556
|
+
"DELEGBUREAU",
|
|
557
|
+
"DELEGSENAT",
|
|
558
|
+
"GA",
|
|
559
|
+
"GE",
|
|
560
|
+
"GEVI",
|
|
561
|
+
"GOUVERNEMENT",
|
|
562
|
+
"GP",
|
|
563
|
+
"GROUPESENAT",
|
|
564
|
+
"HCJ",
|
|
565
|
+
"MINISTERE",
|
|
566
|
+
"MISEVAL",
|
|
567
|
+
"MISINFO",
|
|
568
|
+
"MISINFOCOM",
|
|
569
|
+
"MISINFOPRE",
|
|
570
|
+
"OFFPAR",
|
|
571
|
+
"ORGAINT",
|
|
572
|
+
"ORGEXTPARL",
|
|
573
|
+
"PARPOL",
|
|
574
|
+
"PRESREP",
|
|
575
|
+
"SENAT"
|
|
576
|
+
],
|
|
577
|
+
FamSocPro: [
|
|
578
|
+
"Agriculteurs exploitants",
|
|
579
|
+
"Artisans, commerçants et chefs d'entreprise",
|
|
580
|
+
"Artisans, commerçants, chefs d'entreprises",
|
|
581
|
+
"Autres personnes sans activité professionnelle",
|
|
582
|
+
"Cadres et professions intellectuelles supérieures",
|
|
583
|
+
"Employés",
|
|
584
|
+
"Ouvriers",
|
|
585
|
+
"Professions Intermédiaires",
|
|
586
|
+
"Professions intermédiaires",
|
|
587
|
+
"Retraités",
|
|
588
|
+
"Sans profession déclarée"
|
|
589
|
+
],
|
|
590
|
+
TypeOrgane: [
|
|
591
|
+
"GroupePolitique_type",
|
|
592
|
+
"OrganeCirconscription_type",
|
|
593
|
+
"OrganeExterne_Type",
|
|
594
|
+
"OrganeExtraParlementaire_type",
|
|
595
|
+
"OrganeParlementaireInternational",
|
|
596
|
+
"OrganeParlementaire_Type"
|
|
597
|
+
],
|
|
598
|
+
CodeNatureDep: ["H", "M", "O", "T"],
|
|
599
|
+
PositionPolitique: ["Majoritaire", "Minoritaire", "Opposition"],
|
|
600
|
+
Regime: [
|
|
601
|
+
"Assemblée consultative provisoire",
|
|
602
|
+
"Assemblées nationales constituantes",
|
|
603
|
+
"3ème République",
|
|
604
|
+
"4ème République",
|
|
605
|
+
"5ème République"
|
|
606
|
+
]
|
|
607
|
+
};
|
|
608
|
+
var Legislature;
|
|
609
|
+
(function(Legislature2) {
|
|
610
|
+
Legislature2[Legislature2["Quatorze"] = 14] = "Quatorze";
|
|
611
|
+
Legislature2[Legislature2["Quinze"] = 15] = "Quinze";
|
|
612
|
+
Legislature2[Legislature2["Seize"] = 16] = "Seize";
|
|
613
|
+
Legislature2[Legislature2["DixSept"] = 17] = "DixSept";
|
|
614
|
+
Legislature2[Legislature2["DixHuit"] = 18] = "DixHuit";
|
|
615
|
+
Legislature2[Legislature2["All"] = 0] = "All";
|
|
616
|
+
})(Legislature || (Legislature = {}));
|
|
617
|
+
var DatasetStructure;
|
|
618
|
+
(function(DatasetStructure2) {
|
|
619
|
+
DatasetStructure2[DatasetStructure2["SingleFile"] = 0] = "SingleFile";
|
|
620
|
+
DatasetStructure2[DatasetStructure2["SegmentedFiles"] = 1] = "SegmentedFiles";
|
|
621
|
+
})(DatasetStructure || (DatasetStructure = {}));
|
|
622
|
+
var EnabledDatasets;
|
|
623
|
+
(function(EnabledDatasets2) {
|
|
624
|
+
EnabledDatasets2[EnabledDatasets2["None"] = 0] = "None";
|
|
625
|
+
EnabledDatasets2[EnabledDatasets2["ActeursEtOrganes"] = 1] = "ActeursEtOrganes";
|
|
626
|
+
EnabledDatasets2[EnabledDatasets2["Agendas"] = 2] = "Agendas";
|
|
627
|
+
EnabledDatasets2[EnabledDatasets2["Amendements"] = 4] = "Amendements";
|
|
628
|
+
EnabledDatasets2[EnabledDatasets2["DossiersLegislatifs"] = 8] = "DossiersLegislatifs";
|
|
629
|
+
EnabledDatasets2[EnabledDatasets2["Photos"] = 16] = "Photos";
|
|
630
|
+
EnabledDatasets2[EnabledDatasets2["Scrutins"] = 32] = "Scrutins";
|
|
631
|
+
EnabledDatasets2[EnabledDatasets2["Questions"] = 64] = "Questions";
|
|
632
|
+
EnabledDatasets2[EnabledDatasets2["ComptesRendusSeances"] = 128] = "ComptesRendusSeances";
|
|
633
|
+
EnabledDatasets2[EnabledDatasets2["All"] = 255] = "All";
|
|
634
|
+
})(EnabledDatasets || (EnabledDatasets = {}));
|
|
635
|
+
function repairForJsonSubdirectory(dataset, dataDir) {
|
|
636
|
+
const targetDir = path.join(dataDir, dataset.filename);
|
|
637
|
+
if (fs.existsSync(targetDir)) {
|
|
638
|
+
fs.removeSync(targetDir);
|
|
639
|
+
}
|
|
640
|
+
if (fs.existsSync(path.join(dataDir, "json"))) {
|
|
641
|
+
fs.moveSync(path.join(dataDir, "json"), targetDir);
|
|
642
|
+
} else {
|
|
643
|
+
fs.mkdirSync(targetDir);
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
const datasets = {
|
|
647
|
+
acteursEtOrganes: [
|
|
648
|
+
{
|
|
649
|
+
// AMO10 (XVII)
|
|
650
|
+
//
|
|
651
|
+
// Contient les députés actifs
|
|
652
|
+
// * avec tous les mandats en cours
|
|
653
|
+
// * y compris avec leur parti politique (typeOrgane: "PARPOL")
|
|
654
|
+
// * mais sans les mandats achevés (y compris dans cette législature)
|
|
655
|
+
//
|
|
656
|
+
// Organes :
|
|
657
|
+
// * Contient seulement les organes correspondants aux mandats en cours
|
|
658
|
+
// * avec le xsiType de l'organe
|
|
659
|
+
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
660
|
+
// * avec des délégations sénatoriales en cours
|
|
661
|
+
// * avec des groupes sénatoriaux en cours
|
|
662
|
+
// * avec des ministères en cours
|
|
663
|
+
// * avec les Présidences de la République (y compris Sarkozy)
|
|
664
|
+
// * avec le Conseil constitutionnel
|
|
665
|
+
//
|
|
666
|
+
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO20
|
|
667
|
+
// (qui est lui même un sous-ensemble de l'AMO30).
|
|
668
|
+
// Il n'apporte donc absolument rien par rapport à AMO20 ou l'AMO30.
|
|
669
|
+
filename: "AMO10_deputes_actifs_mandats_actifs_organes_XVII.json",
|
|
670
|
+
ignoreForWeb: true,
|
|
671
|
+
legislature: Legislature.DixSept,
|
|
672
|
+
repairZip: repairForJsonSubdirectory,
|
|
673
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
674
|
+
title: "Députés actifs et organes de la XVIIème législature",
|
|
675
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/deputes_actifs_mandats_actifs_organes/AMO10_deputes_actifs_mandats_actifs_organes.json.zip"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
// AMO10 (XVI)
|
|
679
|
+
//
|
|
680
|
+
// Contient les députés actifs
|
|
681
|
+
// * avec tous les mandats en cours
|
|
682
|
+
// * y compris avec leur parti politique (typeOrgane: "PARPOL")
|
|
683
|
+
// * mais sans les mandats achevés (y compris dans cette législature)
|
|
684
|
+
//
|
|
685
|
+
// Organes :
|
|
686
|
+
// * Contient seulement les organes correspondants aux mandats en cours
|
|
687
|
+
// * avec le xsiType de l'organe
|
|
688
|
+
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
689
|
+
// * avec des délégations sénatoriales en cours
|
|
690
|
+
// * avec des groupes sénatoriaux en cours
|
|
691
|
+
// * avec des ministères en cours
|
|
692
|
+
// * avec les Présidences de la République (y compris Sarkozy)
|
|
693
|
+
// * avec le Conseil constitutionnel
|
|
694
|
+
//
|
|
695
|
+
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO20
|
|
696
|
+
// (qui est lui même un sous-ensemble de l'AMO30).
|
|
697
|
+
// Il n'apporte donc absolument rien par rapport à AMO20 ou l'AMO30.
|
|
698
|
+
filename: "AMO10_deputes_actifs_mandats_actifs_organes_XVI.json",
|
|
699
|
+
ignoreForWeb: true,
|
|
700
|
+
legislature: Legislature.Seize,
|
|
701
|
+
repairZip: repairForJsonSubdirectory,
|
|
702
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
703
|
+
title: "Députés actifs et organes de la XVIème législature",
|
|
704
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/deputes_actifs_mandats_actifs_organes/AMO10_deputes_actifs_mandats_actifs_organes.json.zip"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
// AMO10 (XV)
|
|
708
|
+
//
|
|
709
|
+
// Contient les députés actifs
|
|
710
|
+
// * avec tous les mandats en cours
|
|
711
|
+
// * y compris avec leur parti politique (typeOrgane: "PARPOL")
|
|
712
|
+
// * mais sans les mandats achevés (y compris dans cette législature)
|
|
713
|
+
//
|
|
714
|
+
// Organes :
|
|
715
|
+
// * Contient seulement les organes correspondants aux mandats en cours
|
|
716
|
+
// * avec le xsiType de l'organe
|
|
717
|
+
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
718
|
+
// * avec des délégations sénatoriales en cours
|
|
719
|
+
// * avec des groupes sénatoriaux en cours
|
|
720
|
+
// * avec des ministères en cours
|
|
721
|
+
// * avec les Présidences de la République (y compris Sarkozy)
|
|
722
|
+
// * avec le Conseil constitutionnel
|
|
723
|
+
//
|
|
724
|
+
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO20
|
|
725
|
+
// (qui est lui même un sous-ensemble de l'AMO30).
|
|
726
|
+
// Il n'apporte donc absolument rien par rapport à AMO20 ou l'AMO30.
|
|
727
|
+
filename: "AMO10_deputes_actifs_mandats_actifs_organes_XV.json",
|
|
728
|
+
ignoreForWeb: true,
|
|
729
|
+
legislature: Legislature.Quinze,
|
|
730
|
+
repairZip: repairForJsonSubdirectory,
|
|
731
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
732
|
+
title: "Députés actifs et organes de la XVème législature",
|
|
733
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/deputes_actifs_mandats_actifs_organes/AMO10_deputes_actifs_mandats_actifs_organes_XV.json.zip"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
// AMO20 (XVII)
|
|
737
|
+
//
|
|
738
|
+
// Contient les députés de la législature, actifs ou non (invalidés, etc), les sénateurs actuels
|
|
739
|
+
// Pour les députés :
|
|
740
|
+
// * avec tous leurs mandats de la législature
|
|
741
|
+
// * y compris les mandats achevés
|
|
742
|
+
// * y compris leurs partis politiques (typeOrgane: "PARPOL")
|
|
743
|
+
// * mais sans les mandats des législatures précédentes (qui sont dans AMO40)
|
|
744
|
+
//
|
|
745
|
+
// Contient tous les organes référencés par les mandats
|
|
746
|
+
// * avec le xsiType de l'organe
|
|
747
|
+
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
748
|
+
// * avec des délégations sénatoriales en cours
|
|
749
|
+
// * avec des groupes sénatoriaux en cours
|
|
750
|
+
// * avec des ministères en cours
|
|
751
|
+
// * avec les Présidences de la République (y compris Sarkozy)
|
|
752
|
+
// * avec le Conseil constitutionnel
|
|
753
|
+
//
|
|
754
|
+
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO30.
|
|
755
|
+
// Il n'apporte donc absolument rien par rapport à l'AMO30.
|
|
756
|
+
filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XVII.json",
|
|
757
|
+
ignoreForWeb: true,
|
|
758
|
+
legislature: Legislature.DixSept,
|
|
759
|
+
repairZip: repairForJsonSubdirectory,
|
|
760
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
761
|
+
title: "Acteurs et organes de la XVIIème législature",
|
|
762
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/deputes_senateurs_ministres_legislature/AMO20_dep_sen_min_tous_mandats_et_organes.json.zip"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
// AMO20 (XVI)
|
|
766
|
+
//
|
|
767
|
+
// Contient les députés de la législature, actifs ou non (invalidés, etc), les sénateurs actuels
|
|
768
|
+
// Pour les députés :
|
|
769
|
+
// * avec tous leurs mandats de la législature
|
|
770
|
+
// * y compris les mandats achevés
|
|
771
|
+
// * y compris leurs partis politiques (typeOrgane: "PARPOL")
|
|
772
|
+
// * mais sans les mandats des législatures précédentes (qui sont dans AMO40)
|
|
773
|
+
//
|
|
774
|
+
// Contient tous les organes référencés par les mandats
|
|
775
|
+
// * avec le xsiType de l'organe
|
|
776
|
+
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
777
|
+
// * avec des délégations sénatoriales en cours
|
|
778
|
+
// * avec des groupes sénatoriaux en cours
|
|
779
|
+
// * avec des ministères en cours
|
|
780
|
+
// * avec les Présidences de la République (y compris Sarkozy)
|
|
781
|
+
// * avec le Conseil constitutionnel
|
|
782
|
+
//
|
|
783
|
+
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO30.
|
|
784
|
+
// Il n'apporte donc absolument rien par rapport à l'AMO30.
|
|
785
|
+
filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XVI.json",
|
|
786
|
+
ignoreForWeb: true,
|
|
787
|
+
legislature: Legislature.Seize,
|
|
788
|
+
repairZip: repairForJsonSubdirectory,
|
|
789
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
790
|
+
title: "Acteurs et organes de la XVIème législature",
|
|
791
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/deputes_senateurs_ministres_legislature/AMO20_dep_sen_min_tous_mandats_et_organes.json.zip"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
// AMO20 (XV)
|
|
795
|
+
//
|
|
796
|
+
// Contient les députés de la législature, actifs ou non (invalidés, etc), les sénateurs actuels
|
|
797
|
+
// Pour les députés :
|
|
798
|
+
// * avec tous leurs mandats de la législature
|
|
799
|
+
// * y compris les mandats achevés
|
|
800
|
+
// * y compris leurs partis politiques (typeOrgane: "PARPOL")
|
|
801
|
+
// * mais sans les mandats des législatures précédentes (qui sont dans AMO40)
|
|
802
|
+
//
|
|
803
|
+
// Contient tous les organes référencés par les mandats
|
|
804
|
+
// * avec le xsiType de l'organe
|
|
805
|
+
// * avec des commissions sénatoriales (permanentes et spéciales) en cours
|
|
806
|
+
// * avec des délégations sénatoriales en cours
|
|
807
|
+
// * avec des groupes sénatoriaux en cours
|
|
808
|
+
// * avec des ministères en cours
|
|
809
|
+
// * avec les Présidences de la République (y compris Sarkozy)
|
|
810
|
+
// * avec le Conseil constitutionnel
|
|
811
|
+
//
|
|
812
|
+
// Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO30.
|
|
813
|
+
// Il n'apporte donc absolument rien par rapport à l'AMO30.
|
|
814
|
+
filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XV.json",
|
|
815
|
+
ignoreForWeb: true,
|
|
816
|
+
legislature: Legislature.Quinze,
|
|
817
|
+
repairZip: repairForJsonSubdirectory,
|
|
818
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
819
|
+
title: "Acteurs et organes de la XVème législature",
|
|
820
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/deputes_senateurs_ministres_legislature/AMO20_dep_sen_min_tous_mandats_et_organes_XV.json.zip"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
// AMO20 (XIV)
|
|
824
|
+
//
|
|
825
|
+
// Comme AMO20 (XV) mais pour la XIVème législature
|
|
826
|
+
// Tous les acteurs sauf un (PA429892) sont présents en plus à jour dans AMO30.
|
|
827
|
+
// Cet acteur PA429892 (ancienne Sénatrice) n'est présent dans aucun des autres
|
|
828
|
+
// fichiers AMO.
|
|
829
|
+
// Tous les organes sont présents en plus complets dans AMO30.
|
|
830
|
+
//
|
|
831
|
+
// Ce fichier est donc à un détail prêt (PA429892) un sous-ensemble d'AMO30.
|
|
832
|
+
// Il n'apporte donc quasiment rien par rapport à l'AMO30.
|
|
833
|
+
filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XIV.json",
|
|
834
|
+
ignoreForWeb: true,
|
|
835
|
+
legislature: Legislature.Quatorze,
|
|
836
|
+
structure: DatasetStructure.SingleFile,
|
|
837
|
+
title: "Acteurs et organes de la XIVème législature",
|
|
838
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/14/amo/deputes_senateurs_ministres_legislatures_XIV/AMO20_dep_sen_min_tous_mandats_et_organes_XIV.json.zip"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
// AMO30 (XVII)
|
|
842
|
+
//
|
|
843
|
+
// Ce fichier contient tous les acteurs et organes.
|
|
844
|
+
// C'est un sur-ensemble des fichiers AMO20.
|
|
845
|
+
filename: "AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json",
|
|
846
|
+
legislature: Legislature.All,
|
|
847
|
+
repairZip: repairForJsonSubdirectory,
|
|
848
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
849
|
+
title: "Historique de tous les acteurs et organes depuis la XIème législature",
|
|
850
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/tous_acteurs_mandats_organes_xi_legislature/AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json.zip"
|
|
851
|
+
},
|
|
852
|
+
// {
|
|
853
|
+
// // AMO30 (XVI)
|
|
854
|
+
// //
|
|
855
|
+
// // Ce fichier contient tous les acteurs et organes.
|
|
856
|
+
// // C'est un sur-ensemble des fichiers AMO20.
|
|
857
|
+
// filename: "AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json",
|
|
858
|
+
// legislature: Legislature.All,
|
|
859
|
+
// repairZip: repairForJsonSubdirectory,
|
|
860
|
+
// structure: DatasetStructure.SegmentedFiles,
|
|
861
|
+
// title:
|
|
862
|
+
// "Historique de tous les acteurs et organes depuis la XIème législature",
|
|
863
|
+
// url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/tous_acteurs_mandats_organes_xi_legislature/AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json.zip",
|
|
864
|
+
// },
|
|
865
|
+
// {
|
|
866
|
+
// // AMO30 (XV)
|
|
867
|
+
// //
|
|
868
|
+
// // Ce fichier contient tous les acteurs et organes.
|
|
869
|
+
// // C'est un sur-ensemble des fichiers AMO20.
|
|
870
|
+
// filename: "AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json",
|
|
871
|
+
// legislature: Legislature.All,
|
|
872
|
+
// repairZip: (dataset: Dataset, dataDir: string) => {
|
|
873
|
+
// const targetDir = path.join(dataDir, dataset.filename)
|
|
874
|
+
// if (fs.existsSync(targetDir)) {
|
|
875
|
+
// fs.removeSync(targetDir)
|
|
876
|
+
// }
|
|
877
|
+
// fs.moveSync(path.join(dataDir, "json"), targetDir)
|
|
878
|
+
// },
|
|
879
|
+
// structure: DatasetStructure.SegmentedFiles,
|
|
880
|
+
// title:
|
|
881
|
+
// "Historique de tous les acteurs et organes depuis la XIème législature",
|
|
882
|
+
// url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/tous_acteurs_mandats_organes_xi_legislature/AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json.zip",
|
|
883
|
+
// },
|
|
884
|
+
{
|
|
885
|
+
// AMO40 (XVII)
|
|
886
|
+
//
|
|
887
|
+
// Contient les députés actifs (les mêmes qu'AMO20)
|
|
888
|
+
// * avec presque tous leurs mandats
|
|
889
|
+
// * y compris les mandats achevés et ceux des législatures précédentes
|
|
890
|
+
// * y compris leurs partis politiques précédents
|
|
891
|
+
// * mais sans leur parti politique actuel (typeOrgane: "PARPOL")
|
|
892
|
+
//
|
|
893
|
+
// Contient beaucoup d'organes référencés, y compris ceux des législatures
|
|
894
|
+
// précédentes
|
|
895
|
+
// * mais il manque le xsiType des organes
|
|
896
|
+
// * ne contient pas les organes sénatoriaux
|
|
897
|
+
// * ne contient pas les ministères
|
|
898
|
+
// * ne contient pas la Présidence de la République
|
|
899
|
+
// * ne contient pas le Conseil constitutionnel
|
|
900
|
+
//
|
|
901
|
+
// Pour les acteurs, ce dépôt est un sous-ensemble strict de AMO30 :
|
|
902
|
+
// Il a moins d'acteurs et il sont moins complets.
|
|
903
|
+
//
|
|
904
|
+
// Pour les organes :
|
|
905
|
+
// Quand l'organe est aussi présent dans AMO30, il vaut mieux prendre celui
|
|
906
|
+
// d'AMO30, car il contient le xsiType (c'est la seule différence semble-t-i).
|
|
907
|
+
// Sinon, il faut le prendre seulement si on est intéressé par les législatures
|
|
908
|
+
// précédentes.
|
|
909
|
+
filename: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XVII.json",
|
|
910
|
+
ignoreForWeb: true,
|
|
911
|
+
legislature: Legislature.DixSept,
|
|
912
|
+
repairZip: (dataset, dataDir) => {
|
|
913
|
+
const targetDir = path.join(dataDir, dataset.filename);
|
|
914
|
+
if (fs.existsSync(targetDir)) {
|
|
915
|
+
fs.removeSync(targetDir);
|
|
916
|
+
}
|
|
917
|
+
fs.mkdirSync(targetDir);
|
|
918
|
+
if (fs.pathExistsSync(path.join(dataDir, "acteur"))) {
|
|
919
|
+
fs.moveSync(path.join(dataDir, "acteur"), path.join(targetDir, "acteur"));
|
|
920
|
+
}
|
|
921
|
+
fs.moveSync(path.join(dataDir, "organe"), path.join(targetDir, "organe"));
|
|
922
|
+
},
|
|
923
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
924
|
+
title: "Députés actifs et organes de la XVIIème législature",
|
|
925
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/deputes_actifs_mandats_actifs_organes_divises/AMO40_deputes_actifs_mandats_actifs_organes_divises.json.zip"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
// AMO40 (XVI)
|
|
929
|
+
//
|
|
930
|
+
// Contient les députés actifs (les mêmes qu'AMO20)
|
|
931
|
+
// * avec presque tous leurs mandats
|
|
932
|
+
// * y compris les mandats achevés et ceux des législatures précédentes
|
|
933
|
+
// * y compris leurs partis politiques précédents
|
|
934
|
+
// * mais sans leur parti politique actuel (typeOrgane: "PARPOL")
|
|
935
|
+
//
|
|
936
|
+
// Contient beaucoup d'organes référencés, y compris ceux des législatures
|
|
937
|
+
// précédentes
|
|
938
|
+
// * mais il manque le xsiType des organes
|
|
939
|
+
// * ne contient pas les organes sénatoriaux
|
|
940
|
+
// * ne contient pas les ministères
|
|
941
|
+
// * ne contient pas la Présidence de la République
|
|
942
|
+
// * ne contient pas le Conseil constitutionnel
|
|
943
|
+
//
|
|
944
|
+
// Pour les acteurs, ce dépôt est un sous-ensemble strict de AMO30 :
|
|
945
|
+
// Il a moins d'acteurs et il sont moins complets.
|
|
946
|
+
//
|
|
947
|
+
// Pour les organes :
|
|
948
|
+
// Quand l'organe est aussi présent dans AMO30, il vaut mieux prendre celui
|
|
949
|
+
// d'AMO30, car il contient le xsiType (c'est la seule différence semble-t-i).
|
|
950
|
+
// Sinon, il faut le prendre seulement si on est intéressé par les législatures
|
|
951
|
+
// précédentes.
|
|
952
|
+
filename: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XVI.json",
|
|
953
|
+
ignoreForWeb: true,
|
|
954
|
+
legislature: Legislature.Seize,
|
|
955
|
+
repairZip: (dataset, dataDir) => {
|
|
956
|
+
const targetDir = path.join(dataDir, dataset.filename);
|
|
957
|
+
if (fs.existsSync(targetDir)) {
|
|
958
|
+
fs.removeSync(targetDir);
|
|
959
|
+
}
|
|
960
|
+
fs.mkdirSync(targetDir);
|
|
961
|
+
if (fs.pathExistsSync(path.join(dataDir, "acteur"))) {
|
|
962
|
+
fs.moveSync(path.join(dataDir, "acteur"), path.join(targetDir, "acteur"));
|
|
963
|
+
}
|
|
964
|
+
fs.moveSync(path.join(dataDir, "organe"), path.join(targetDir, "organe"));
|
|
965
|
+
},
|
|
966
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
967
|
+
title: "Députés actifs et organes de la XVIème législature",
|
|
968
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/deputes_actifs_mandats_actifs_organes_divises/AMO40_deputes_actifs_mandats_actifs_organes_divises.json.zip"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
// AMO40 (XV)
|
|
972
|
+
//
|
|
973
|
+
// Contient les députés actifs (les mêmes qu'AMO20)
|
|
974
|
+
// * avec presque tous leurs mandats
|
|
975
|
+
// * y compris les mandats achevés et ceux des législatures précédentes
|
|
976
|
+
// * y compris leurs partis politiques précédents
|
|
977
|
+
// * mais sans leur parti politique actuel (typeOrgane: "PARPOL")
|
|
978
|
+
//
|
|
979
|
+
// Contient beaucoup d'organes référencés, y compris ceux des législatures
|
|
980
|
+
// précédentes
|
|
981
|
+
// * mais il manque le xsiType des organes
|
|
982
|
+
// * ne contient pas les organes sénatoriaux
|
|
983
|
+
// * ne contient pas les ministères
|
|
984
|
+
// * ne contient pas la Présidence de la République
|
|
985
|
+
// * ne contient pas le Conseil constitutionnel
|
|
986
|
+
//
|
|
987
|
+
// Pour les acteurs, ce dépôt est un sous-ensemble strict de AMO30 :
|
|
988
|
+
// Il a moins d'acteurs et il sont moins complets.
|
|
989
|
+
//
|
|
990
|
+
// Pour les organes :
|
|
991
|
+
// Quand l'organe est aussi présent dans AMO30, il vaut mieux prendre celui
|
|
992
|
+
// d'AMO30, car il contient le xsiType (c'est la seule différence semble-t-i).
|
|
993
|
+
// Sinon, il faut le prendre seulement si on est intéressé par les législatures
|
|
994
|
+
// précédentes.
|
|
995
|
+
filename: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XV.json",
|
|
996
|
+
ignoreForWeb: true,
|
|
997
|
+
legislature: Legislature.Quinze,
|
|
998
|
+
repairZip: (dataset, dataDir) => {
|
|
999
|
+
const targetDir = path.join(dataDir, dataset.filename);
|
|
1000
|
+
if (fs.existsSync(targetDir)) {
|
|
1001
|
+
fs.removeSync(targetDir);
|
|
1002
|
+
}
|
|
1003
|
+
fs.mkdirSync(targetDir);
|
|
1004
|
+
fs.moveSync(path.join(dataDir, "acteur"), path.join(targetDir, "acteur"));
|
|
1005
|
+
fs.moveSync(path.join(dataDir, "organe"), path.join(targetDir, "organe"));
|
|
1006
|
+
},
|
|
1007
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1008
|
+
title: "Députés actifs et organes de la XVème législature",
|
|
1009
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/deputes_actifs_mandats_actifs_organes_divises/AMO40_deputes_actifs_mandats_actifs_organes_divises_XV.json.zip"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
// AMO50 (XVII)
|
|
1013
|
+
//
|
|
1014
|
+
// Attention, ce fichier n'est pas mis à jour régulièrement !
|
|
1015
|
+
//
|
|
1016
|
+
// Pour les acteurs :
|
|
1017
|
+
// * c'est un sous ensemble obsolète d'AMO30
|
|
1018
|
+
// * il manque les xsiType aux mandats
|
|
1019
|
+
//
|
|
1020
|
+
// Pour les organes :
|
|
1021
|
+
// * c'est un sous ensemble obsolète d'AMO30
|
|
1022
|
+
// * il manque les xsiType
|
|
1023
|
+
//
|
|
1024
|
+
// Ce fichier n'apporte donc absolument rien par rapport à l'AMO30,
|
|
1025
|
+
// dont il est un sous ensemble obsolète.
|
|
1026
|
+
filename: "AMO50_acteurs_mandats_organes_divises_XVII.json",
|
|
1027
|
+
ignoreForWeb: true,
|
|
1028
|
+
legislature: Legislature.DixSept,
|
|
1029
|
+
repairZip: (dataset, dataDir) => {
|
|
1030
|
+
const targetDir = path.join(dataDir, dataset.filename);
|
|
1031
|
+
if (fs.existsSync(targetDir)) {
|
|
1032
|
+
fs.removeSync(targetDir);
|
|
1033
|
+
}
|
|
1034
|
+
fs.mkdirSync(targetDir);
|
|
1035
|
+
fs.moveSync(path.join(dataDir, "mandat"), path.join(targetDir, "mandat"));
|
|
1036
|
+
fs.moveSync(path.join(dataDir, "acteur"), path.join(targetDir, "acteur"));
|
|
1037
|
+
fs.moveSync(path.join(dataDir, "organe"), path.join(targetDir, "organe"));
|
|
1038
|
+
},
|
|
1039
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1040
|
+
title: "Acteurs, mandats et organes de la XVIIème législature (fichiers séparés, y compris mandats)",
|
|
1041
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/acteurs_mandats_organes_divises/AMO50_acteurs_mandats_organes_divises.json.zip"
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
// AMO50 (XVI)
|
|
1045
|
+
//
|
|
1046
|
+
// Attention, ce fichier n'est pas mis à jour régulièrement !
|
|
1047
|
+
//
|
|
1048
|
+
// Pour les acteurs :
|
|
1049
|
+
// * c'est un sous ensemble obsolète d'AMO30
|
|
1050
|
+
// * il manque les xsiType aux mandats
|
|
1051
|
+
//
|
|
1052
|
+
// Pour les organes :
|
|
1053
|
+
// * c'est un sous ensemble obsolète d'AMO30
|
|
1054
|
+
// * il manque les xsiType
|
|
1055
|
+
//
|
|
1056
|
+
// Ce fichier n'apporte donc absolument rien par rapport à l'AMO30,
|
|
1057
|
+
// dont il est un sous ensemble obsolète.
|
|
1058
|
+
filename: "AMO50_acteurs_mandats_organes_divises_XVI.json",
|
|
1059
|
+
ignoreForWeb: true,
|
|
1060
|
+
legislature: Legislature.Seize,
|
|
1061
|
+
repairZip: (dataset, dataDir) => {
|
|
1062
|
+
const targetDir = path.join(dataDir, dataset.filename);
|
|
1063
|
+
if (fs.existsSync(targetDir)) {
|
|
1064
|
+
fs.removeSync(targetDir);
|
|
1065
|
+
}
|
|
1066
|
+
fs.mkdirSync(targetDir);
|
|
1067
|
+
fs.moveSync(path.join(dataDir, "mandat"), path.join(targetDir, "mandat"));
|
|
1068
|
+
fs.moveSync(path.join(dataDir, "acteur"), path.join(targetDir, "acteur"));
|
|
1069
|
+
fs.moveSync(path.join(dataDir, "organe"), path.join(targetDir, "organe"));
|
|
1070
|
+
},
|
|
1071
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1072
|
+
title: "Acteurs, mandats et organes de la XVIème législature (fichiers séparés, y compris mandats)",
|
|
1073
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/acteurs_mandats_organes_divises/AMO50_acteurs_mandats_organes_divises.json.zip"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
// AMO50 (XV)
|
|
1077
|
+
//
|
|
1078
|
+
// Attention, ce fichier n'est pas mis à jour régulièrement !
|
|
1079
|
+
//
|
|
1080
|
+
// Pour les acteurs :
|
|
1081
|
+
// * c'est un sous ensemble obsolète d'AMO30
|
|
1082
|
+
// * il manque les xsiType aux mandats
|
|
1083
|
+
//
|
|
1084
|
+
// Pour les organes :
|
|
1085
|
+
// * c'est un sous ensemble obsolète d'AMO30
|
|
1086
|
+
// * il manque les xsiType
|
|
1087
|
+
//
|
|
1088
|
+
// Ce fichier n'apporte donc absolument rien par rapport à l'AMO30,
|
|
1089
|
+
// dont il est un sous ensemble obsolète.
|
|
1090
|
+
filename: "AMO50_acteurs_mandats_organes_divises_XV.json",
|
|
1091
|
+
ignoreForWeb: true,
|
|
1092
|
+
legislature: Legislature.Quinze,
|
|
1093
|
+
repairZip: (dataset, dataDir) => {
|
|
1094
|
+
const targetDir = path.join(dataDir, dataset.filename);
|
|
1095
|
+
if (fs.existsSync(targetDir)) {
|
|
1096
|
+
fs.removeSync(targetDir);
|
|
1097
|
+
}
|
|
1098
|
+
fs.mkdirSync(targetDir);
|
|
1099
|
+
fs.moveSync(path.join(dataDir, "mandat"), path.join(targetDir, "mandat"));
|
|
1100
|
+
fs.moveSync(path.join(dataDir, "acteur"), path.join(targetDir, "acteur"));
|
|
1101
|
+
fs.moveSync(path.join(dataDir, "organe"), path.join(targetDir, "organe"));
|
|
1102
|
+
},
|
|
1103
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1104
|
+
title: "Acteurs, mandats et organes de la XVème législature (fichiers séparés, y compris mandats)",
|
|
1105
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/acteurs_mandats_organes_divises/AMO50_acteurs_mandats_organes_divises_XV.json.zip"
|
|
1106
|
+
}
|
|
1107
|
+
],
|
|
1108
|
+
agendas: [
|
|
1109
|
+
{
|
|
1110
|
+
filename: "Agenda_XVII.json",
|
|
1111
|
+
legislature: Legislature.DixSept,
|
|
1112
|
+
repairZip: repairForJsonSubdirectory,
|
|
1113
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1114
|
+
title: "Agenda de la XVIIème législature",
|
|
1115
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/vp/reunions/Agenda.json.zip"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
filename: "Agenda_XVI.json",
|
|
1119
|
+
legislature: Legislature.Seize,
|
|
1120
|
+
repairZip: repairForJsonSubdirectory,
|
|
1121
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1122
|
+
title: "Agenda de la XVIème législature",
|
|
1123
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/vp/reunions/Agenda.json.zip"
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
filename: "Agenda_XV.json",
|
|
1127
|
+
legislature: Legislature.Quinze,
|
|
1128
|
+
repairZip: repairForJsonSubdirectory,
|
|
1129
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1130
|
+
title: "Agenda de la XVème législature",
|
|
1131
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/vp/reunions/Agenda_XV.json.zip"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
filename: "Agenda_XIV.json",
|
|
1135
|
+
legislature: Legislature.Quatorze,
|
|
1136
|
+
structure: DatasetStructure.SingleFile,
|
|
1137
|
+
title: "Agenda de la XIVème législature",
|
|
1138
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/14/vp/reunions/Agenda_XIV.json.zip"
|
|
1139
|
+
}
|
|
1140
|
+
],
|
|
1141
|
+
amendements: [
|
|
1142
|
+
{
|
|
1143
|
+
filename: "Amendements_XVII.json",
|
|
1144
|
+
legislature: Legislature.DixSept,
|
|
1145
|
+
repairZip: repairForJsonSubdirectory,
|
|
1146
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1147
|
+
title: "Amendements de la XVIIème législature",
|
|
1148
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/loi/amendements_div_legis/Amendements.json.zip"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
filename: "Amendements_XVI.json",
|
|
1152
|
+
legislature: Legislature.Seize,
|
|
1153
|
+
repairZip: repairForJsonSubdirectory,
|
|
1154
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1155
|
+
title: "Amendements de la XVIème législature",
|
|
1156
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/loi/amendements_div_legis/Amendements.json.zip"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
filename: "Amendements_XV.json",
|
|
1160
|
+
legislature: Legislature.Quinze,
|
|
1161
|
+
repairZip: repairForJsonSubdirectory,
|
|
1162
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1163
|
+
title: "Amendements de la XVème législature",
|
|
1164
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/loi/amendements_legis/Amendements_XV.json.zip"
|
|
1165
|
+
}
|
|
1166
|
+
// {
|
|
1167
|
+
// filename: "Amendements_XIV.json",
|
|
1168
|
+
// ignoreForWeb: true,
|
|
1169
|
+
// legislature: Legislature.Quatorze,
|
|
1170
|
+
// structure: DatasetStructure.SingleFile,
|
|
1171
|
+
// title: "Amendements de la XIVème législature",
|
|
1172
|
+
// url:
|
|
1173
|
+
// "https://data.assemblee-nationale.fr/static/openData/repository/14/loi/amendements_legis_XIV/Amendements_XIV.json.zip",
|
|
1174
|
+
// },
|
|
1175
|
+
],
|
|
1176
|
+
dossiersLegislatifs: [
|
|
1177
|
+
{
|
|
1178
|
+
filename: "Dossiers_Legislatifs_XVII.json",
|
|
1179
|
+
legislature: Legislature.DixSept,
|
|
1180
|
+
repairZip: repairForJsonSubdirectory,
|
|
1181
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1182
|
+
title: "Dossiers législatifs de la XVIIème législature",
|
|
1183
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/loi/dossiers_legislatifs/Dossiers_Legislatifs.json.zip"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
filename: "Dossiers_Legislatifs_XVI.json",
|
|
1187
|
+
legislature: Legislature.Seize,
|
|
1188
|
+
repairZip: repairForJsonSubdirectory,
|
|
1189
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1190
|
+
title: "Dossiers législatifs de la XVIème législature",
|
|
1191
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/loi/dossiers_legislatifs/Dossiers_Legislatifs.json.zip"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
filename: "Dossiers_Legislatifs_XV.json",
|
|
1195
|
+
legislature: Legislature.Quinze,
|
|
1196
|
+
repairZip: repairForJsonSubdirectory,
|
|
1197
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1198
|
+
title: "Dossiers législatifs de la XVème législature",
|
|
1199
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/loi/dossiers_legislatifs/Dossiers_Legislatifs_XV.json.zip"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
filename: "Dossiers_Legislatifs_XIV.json",
|
|
1203
|
+
legislature: Legislature.Quatorze,
|
|
1204
|
+
structure: DatasetStructure.SingleFile,
|
|
1205
|
+
title: "Dossiers législatifs de la XIVème législature",
|
|
1206
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/14/loi/dossiers_legislatifs/Dossiers_Legislatifs_XIV.json.zip"
|
|
1207
|
+
}
|
|
1208
|
+
],
|
|
1209
|
+
scrutins: [
|
|
1210
|
+
{
|
|
1211
|
+
filename: "Scrutins_XVII.json",
|
|
1212
|
+
legislature: Legislature.DixSept,
|
|
1213
|
+
repairZip: repairForJsonSubdirectory,
|
|
1214
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1215
|
+
title: "Scrutins de la XVIIème législature",
|
|
1216
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/loi/scrutins/Scrutins.json.zip"
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
filename: "Scrutins_XVI.json",
|
|
1220
|
+
legislature: Legislature.Seize,
|
|
1221
|
+
repairZip: repairForJsonSubdirectory,
|
|
1222
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1223
|
+
title: "Scrutins de la XVIème législature",
|
|
1224
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/loi/scrutins/Scrutins.json.zip"
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
filename: "Scrutins_XV.json",
|
|
1228
|
+
legislature: Legislature.Quinze,
|
|
1229
|
+
repairZip: repairForJsonSubdirectory,
|
|
1230
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1231
|
+
title: "Scrutins de la XVème législature",
|
|
1232
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/15/loi/scrutins/Scrutins_XV.json.zip"
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
filename: "Scrutins_XIV.json",
|
|
1236
|
+
legislature: Legislature.Quatorze,
|
|
1237
|
+
structure: DatasetStructure.SingleFile,
|
|
1238
|
+
title: "Scrutins de la XIVème législature",
|
|
1239
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/14/loi/scrutins/Scrutins_XIV.json.zip"
|
|
1240
|
+
}
|
|
1241
|
+
],
|
|
1242
|
+
questions: [
|
|
1243
|
+
{
|
|
1244
|
+
filename: "Questions_ecrites_XVII.json",
|
|
1245
|
+
legislature: Legislature.DixSept,
|
|
1246
|
+
repairZip: repairForJsonSubdirectory,
|
|
1247
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1248
|
+
title: "Questions écrites de la XVIIème législature",
|
|
1249
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/questions/questions_ecrites/Questions_ecrites.json.zip"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
filename: "Questions_ecrites_XVI.json",
|
|
1253
|
+
legislature: Legislature.Seize,
|
|
1254
|
+
repairZip: repairForJsonSubdirectory,
|
|
1255
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1256
|
+
title: "Questions écrites de la XVIème législature",
|
|
1257
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/questions/questions_ecrites/Questions_ecrites.json.zip"
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
filename: "Questions_gouvernement_XVII.json",
|
|
1261
|
+
legislature: Legislature.DixSept,
|
|
1262
|
+
repairZip: repairForJsonSubdirectory,
|
|
1263
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1264
|
+
title: "Questions au gouvernement de la XVIIème législature",
|
|
1265
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/questions/questions_gouvernement/Questions_gouvernement.json.zip"
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
filename: "Questions_gouvernement_XVI.json",
|
|
1269
|
+
legislature: Legislature.Seize,
|
|
1270
|
+
repairZip: repairForJsonSubdirectory,
|
|
1271
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1272
|
+
title: "Questions au gouvernement de la XVIème législature",
|
|
1273
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/questions/questions_gouvernement/Questions_gouvernement.json.zip"
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
filename: "Questions_orales_XVII.json",
|
|
1277
|
+
legislature: Legislature.DixSept,
|
|
1278
|
+
repairZip: repairForJsonSubdirectory,
|
|
1279
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1280
|
+
title: "Questions orales sans débats de la XVIIème législature",
|
|
1281
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/questions/questions_orales_sans_debat/Questions_orales_sans_debat.json.zip"
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
filename: "Questions_orales_XVI.json",
|
|
1285
|
+
legislature: Legislature.Seize,
|
|
1286
|
+
repairZip: repairForJsonSubdirectory,
|
|
1287
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1288
|
+
title: "Questions orales sans débats de la XVIème législature",
|
|
1289
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/questions/questions_orales_sans_debat/Questions_orales_sans_debat.json.zip"
|
|
1290
|
+
}
|
|
1291
|
+
],
|
|
1292
|
+
comptesRendusSeances: [
|
|
1293
|
+
{
|
|
1294
|
+
filename: "Comptes_Rendus_Seances_XVII.xml",
|
|
1295
|
+
legislature: Legislature.DixSept,
|
|
1296
|
+
repairZip: (dataset, dataDir) => {
|
|
1297
|
+
const targetDir = path.join(dataDir, dataset.filename);
|
|
1298
|
+
if (fs.existsSync(targetDir)) {
|
|
1299
|
+
fs.removeSync(targetDir);
|
|
1300
|
+
}
|
|
1301
|
+
fs.moveSync(path.join(dataDir, "xml"), targetDir);
|
|
1302
|
+
},
|
|
1303
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1304
|
+
title: "Comptes rendus des séances publiques de la XVIIème législature",
|
|
1305
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/17/vp/syceronbrut/syseron.xml.zip"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
filename: "Comptes_Rendus_Seances_XVI.xml",
|
|
1309
|
+
legislature: Legislature.Seize,
|
|
1310
|
+
repairZip: (dataset, dataDir) => {
|
|
1311
|
+
const targetDir = path.join(dataDir, dataset.filename);
|
|
1312
|
+
if (fs.existsSync(targetDir)) {
|
|
1313
|
+
fs.removeSync(targetDir);
|
|
1314
|
+
}
|
|
1315
|
+
fs.moveSync(path.join(dataDir, "xml"), targetDir);
|
|
1316
|
+
},
|
|
1317
|
+
structure: DatasetStructure.SegmentedFiles,
|
|
1318
|
+
title: "Comptes rendus des séances publiques de la XVIème législature",
|
|
1319
|
+
url: "https://data.assemblee-nationale.fr/static/openData/repository/16/vp/syceronbrut/syseron.xml.zip"
|
|
1320
|
+
}
|
|
1321
|
+
]
|
|
1322
|
+
};
|
|
1323
|
+
var ReunionXsiType;
|
|
1324
|
+
(function(ReunionXsiType2) {
|
|
1325
|
+
ReunionXsiType2["ReunionCommissionType"] = "reunionCommission_type";
|
|
1326
|
+
ReunionXsiType2["ReunionInitParlementaireType"] = "reunionInitParlementaire_type";
|
|
1327
|
+
ReunionXsiType2["SeanceType"] = "seance_type";
|
|
1328
|
+
})(ReunionXsiType || (ReunionXsiType = {}));
|
|
1329
|
+
var PointOdjXsiType;
|
|
1330
|
+
(function(PointOdjXsiType2) {
|
|
1331
|
+
PointOdjXsiType2["PodjReunionType"] = "podjReunion_type";
|
|
1332
|
+
PointOdjXsiType2["PodjSeanceConfPresType"] = "podjSeanceConfPres_type";
|
|
1333
|
+
})(PointOdjXsiType || (PointOdjXsiType = {}));
|
|
1334
|
+
var EtatCycleDeVie;
|
|
1335
|
+
(function(EtatCycleDeVie2) {
|
|
1336
|
+
EtatCycleDeVie2["Annulé"] = "Annulé";
|
|
1337
|
+
EtatCycleDeVie2["Confirmé"] = "Confirmé";
|
|
1338
|
+
EtatCycleDeVie2["Eventuel"] = "Eventuel";
|
|
1339
|
+
EtatCycleDeVie2["Supprimé"] = "Supprimé";
|
|
1340
|
+
})(EtatCycleDeVie || (EtatCycleDeVie = {}));
|
|
1341
|
+
var NatureTravauxOdj;
|
|
1342
|
+
(function(NatureTravauxOdj2) {
|
|
1343
|
+
NatureTravauxOdj2["Odjpr"] = "ODJPR";
|
|
1344
|
+
NatureTravauxOdj2["Odjsn"] = "ODJSN";
|
|
1345
|
+
})(NatureTravauxOdj || (NatureTravauxOdj = {}));
|
|
1346
|
+
var Procedure;
|
|
1347
|
+
(function(Procedure2) {
|
|
1348
|
+
Procedure2["DiscussionGénéraleCommune"] = "discussion générale commune";
|
|
1349
|
+
Procedure2["ProcédureDExamenSimplifiéeArticle103"] = "procédure d'examen simplifiée-Article 103";
|
|
1350
|
+
Procedure2["ProcédureDExamenSimplifiéeArticle106"] = "procédure d'examen simplifiée-Article 106";
|
|
1351
|
+
Procedure2["ProcédureDExamenSimplifiéeArticle107"] = "procédure d'examen simplifiée-Article 107";
|
|
1352
|
+
Procedure2["ProcédureDeLégislationEnCommissionArticle1071"] = "procédure de législation en commission-Article 107-1";
|
|
1353
|
+
})(Procedure || (Procedure = {}));
|
|
1354
|
+
var TypePointOdj;
|
|
1355
|
+
(function(TypePointOdj2) {
|
|
1356
|
+
TypePointOdj2["AmendementsArt88"] = "Amendements (Art. 88)";
|
|
1357
|
+
TypePointOdj2["AmendementsArt91"] = "Amendements (Art. 91)";
|
|
1358
|
+
TypePointOdj2["Audition"] = "Audition";
|
|
1359
|
+
TypePointOdj2["AuditionMinistre"] = "Audition ministre";
|
|
1360
|
+
TypePointOdj2["AuditionMinistreOuverteÀLaPresse"] = "Audition ministre ouverte à la presse";
|
|
1361
|
+
TypePointOdj2["AuditionOuverteÀLaPresse"] = "Audition ouverte à la presse";
|
|
1362
|
+
TypePointOdj2["Communication"] = "Communication";
|
|
1363
|
+
TypePointOdj2["ConstitutionDeMissionDInformation"] = "Constitution de mission d'information";
|
|
1364
|
+
TypePointOdj2["Discussion"] = "Discussion";
|
|
1365
|
+
TypePointOdj2["DébatDInitiativeParlementaire"] = "Débat d'initiative parlementaire";
|
|
1366
|
+
TypePointOdj2["DéclarationDuGouvernementSuivieDUnDébat"] = "Déclaration du Gouvernement suivie d'un débat";
|
|
1367
|
+
TypePointOdj2["EchangesDeVues"] = "Echanges de vues";
|
|
1368
|
+
TypePointOdj2["Examen"] = "Examen";
|
|
1369
|
+
TypePointOdj2["ExplicationsDeVoteDesGroupesEtVoteParScrutinPublic"] = "Explications de vote des groupes et vote par scrutin public";
|
|
1370
|
+
TypePointOdj2["ExplicationsDeVoteEtVoteParScrutinPublic"] = "Explications de vote et vote par scrutin public";
|
|
1371
|
+
TypePointOdj2["FixationDeLOrdreDuJour"] = "Fixation de l'ordre du jour";
|
|
1372
|
+
TypePointOdj2["NominationBureau"] = "Nomination bureau";
|
|
1373
|
+
TypePointOdj2["NominationCandidatsOrganismeExtraparlementaire"] = "Nomination candidats organisme extraparlementaire";
|
|
1374
|
+
TypePointOdj2["NominationDUnMembreDUneMissionDInformation"] = "Nomination d'un membre d'une mission d'information";
|
|
1375
|
+
TypePointOdj2["NominationRapporteur"] = "Nomination rapporteur";
|
|
1376
|
+
TypePointOdj2["NominationRapporteurDApplication"] = "Nomination rapporteur d'application";
|
|
1377
|
+
TypePointOdj2["NominationRapporteurDInformation"] = "Nomination rapporteur d'information";
|
|
1378
|
+
TypePointOdj2["NominationRapporteurPourAvis"] = "Nomination rapporteur pour avis";
|
|
1379
|
+
TypePointOdj2["OuvertureEtClôtureDeSession"] = "Ouverture et clôture de session";
|
|
1380
|
+
TypePointOdj2["QuestionsAuGouvernement"] = "Questions au Gouvernement";
|
|
1381
|
+
TypePointOdj2["QuestionsOralesSansDébat"] = "Questions orales sans débat";
|
|
1382
|
+
TypePointOdj2["Rapport"] = "Rapport";
|
|
1383
|
+
TypePointOdj2["RapportDInformation"] = "Rapport d'information";
|
|
1384
|
+
TypePointOdj2["RapportPourAvis"] = "Rapport pour avis";
|
|
1385
|
+
TypePointOdj2["SeancesReserveesGroupeOppositionOuMinoritaire"] = "Séances réservées à un groupe de l'opposition ou minoritaire";
|
|
1386
|
+
TypePointOdj2["SuiteDeLaDiscussion"] = "Suite de la discussion";
|
|
1387
|
+
TypePointOdj2["TableRonde"] = "Table ronde";
|
|
1388
|
+
TypePointOdj2["VoteParScrutinPublic"] = "Vote par scrutin public";
|
|
1389
|
+
TypePointOdj2["VoteSolennel"] = "Vote solennel";
|
|
1390
|
+
})(TypePointOdj || (TypePointOdj = {}));
|
|
1391
|
+
var FormatReunion;
|
|
1392
|
+
(function(FormatReunion2) {
|
|
1393
|
+
FormatReunion2["AuditionExterne"] = "AuditionExterne";
|
|
1394
|
+
FormatReunion2["AuditionParPresidentCommission"] = "AuditionParPresidentCommission";
|
|
1395
|
+
FormatReunion2["AuditionParRapporteur"] = "AuditionParRapporteur";
|
|
1396
|
+
FormatReunion2["Ordinaire"] = "Ordinaire";
|
|
1397
|
+
})(FormatReunion || (FormatReunion = {}));
|
|
1398
|
+
var Quantieme;
|
|
1399
|
+
(function(Quantieme2) {
|
|
1400
|
+
Quantieme2["Deuxième"] = "Deuxième";
|
|
1401
|
+
Quantieme2["Première"] = "Première";
|
|
1402
|
+
Quantieme2["Troisième"] = "Troisième";
|
|
1403
|
+
Quantieme2["Unique"] = "Unique";
|
|
1404
|
+
})(Quantieme || (Quantieme = {}));
|
|
1405
|
+
var Presence;
|
|
1406
|
+
(function(Presence2) {
|
|
1407
|
+
Presence2["Absent"] = "absent";
|
|
1408
|
+
Presence2["Excusé"] = "excusé";
|
|
1409
|
+
Presence2["Présent"] = "présent";
|
|
1410
|
+
})(Presence || (Presence = {}));
|
|
1411
|
+
var PersonneAuditionneeXsiType;
|
|
1412
|
+
(function(PersonneAuditionneeXsiType2) {
|
|
1413
|
+
PersonneAuditionneeXsiType2["IdActeurType"] = "IdActeur_type";
|
|
1414
|
+
PersonneAuditionneeXsiType2["IdPersonneExterneType"] = "IdPersonneExterne_type";
|
|
1415
|
+
})(PersonneAuditionneeXsiType || (PersonneAuditionneeXsiType = {}));
|
|
1416
|
+
var TypeReunion;
|
|
1417
|
+
(function(TypeReunion2) {
|
|
1418
|
+
TypeReunion2["Dep"] = "DEP";
|
|
1419
|
+
TypeReunion2["Ga"] = "GA";
|
|
1420
|
+
TypeReunion2["Ge"] = "GE";
|
|
1421
|
+
TypeReunion2["Gevi"] = "GEVI";
|
|
1422
|
+
TypeReunion2["Gp"] = "GP";
|
|
1423
|
+
TypeReunion2["HéAurélien"] = "HÉ Aurélien";
|
|
1424
|
+
})(TypeReunion || (TypeReunion = {}));
|
|
1425
|
+
let Convert$4 = class Convert2 {
|
|
1426
|
+
static toAgendas(json) {
|
|
1427
|
+
return cast$4(JSON.parse(json), r$4("Agendas"));
|
|
1428
|
+
}
|
|
1429
|
+
static agendasToJson(value) {
|
|
1430
|
+
return JSON.stringify(uncast$4(value, r$4("Agendas")), null, 2);
|
|
1431
|
+
}
|
|
1432
|
+
static toReunion(json) {
|
|
1433
|
+
return cast$4(JSON.parse(json), r$4("Reunion"));
|
|
1434
|
+
}
|
|
1435
|
+
static reunionToJson(value) {
|
|
1436
|
+
return JSON.stringify(uncast$4(value, r$4("Reunion")), null, 2);
|
|
1437
|
+
}
|
|
1438
|
+
};
|
|
1439
|
+
function invalidValue$4(typ, val, key = "") {
|
|
1440
|
+
if (key) {
|
|
1441
|
+
throw Error(`Invalid value for key "${key}". Expected type ${JSON.stringify(typ)} but got ${JSON.stringify(val)}`);
|
|
1442
|
+
}
|
|
1443
|
+
throw Error(`Invalid value ${JSON.stringify(val)} for type ${JSON.stringify(typ)}`);
|
|
1444
|
+
}
|
|
1445
|
+
function jsonToJSProps$4(typ) {
|
|
1446
|
+
if (typ.jsonToJS === void 0) {
|
|
1447
|
+
var map = {};
|
|
1448
|
+
typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
|
|
1449
|
+
typ.jsonToJS = map;
|
|
1450
|
+
}
|
|
1451
|
+
return typ.jsonToJS;
|
|
1452
|
+
}
|
|
1453
|
+
function jsToJSONProps$4(typ) {
|
|
1454
|
+
if (typ.jsToJSON === void 0) {
|
|
1455
|
+
var map = {};
|
|
1456
|
+
typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
|
|
1457
|
+
typ.jsToJSON = map;
|
|
1458
|
+
}
|
|
1459
|
+
return typ.jsToJSON;
|
|
1460
|
+
}
|
|
1461
|
+
function transform$4(val, typ, getProps, key = "") {
|
|
1462
|
+
function transformPrimitive(typ2, val2) {
|
|
1463
|
+
if (typeof typ2 === typeof val2)
|
|
1464
|
+
return val2;
|
|
1465
|
+
return invalidValue$4(typ2, val2, key);
|
|
1466
|
+
}
|
|
1467
|
+
function transformUnion(typs, val2) {
|
|
1468
|
+
const l2 = typs.length;
|
|
1469
|
+
for (let i = 0; i < l2; i++) {
|
|
1470
|
+
const typ2 = typs[i];
|
|
1471
|
+
try {
|
|
1472
|
+
return transform$4(val2, typ2, getProps);
|
|
1473
|
+
} catch (_) {
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
return invalidValue$4(typs, val2);
|
|
1477
|
+
}
|
|
1478
|
+
function transformEnum(cases, val2) {
|
|
1479
|
+
if (cases.indexOf(val2) !== -1)
|
|
1480
|
+
return val2;
|
|
1481
|
+
return invalidValue$4(cases, val2);
|
|
1482
|
+
}
|
|
1483
|
+
function transformArray(typ2, val2) {
|
|
1484
|
+
if (!Array.isArray(val2))
|
|
1485
|
+
return invalidValue$4("array", val2);
|
|
1486
|
+
return val2.map((el) => transform$4(el, typ2, getProps));
|
|
1487
|
+
}
|
|
1488
|
+
function transformDate(val2) {
|
|
1489
|
+
if (val2 === null) {
|
|
1490
|
+
return null;
|
|
1491
|
+
}
|
|
1492
|
+
const d = new Date(val2);
|
|
1493
|
+
if (isNaN(d.valueOf())) {
|
|
1494
|
+
return invalidValue$4("Date", val2);
|
|
1495
|
+
}
|
|
1496
|
+
return d;
|
|
1497
|
+
}
|
|
1498
|
+
function transformObject(props, additional, val2) {
|
|
1499
|
+
if (val2 === null || typeof val2 !== "object" || Array.isArray(val2)) {
|
|
1500
|
+
return invalidValue$4("object", val2);
|
|
1501
|
+
}
|
|
1502
|
+
const result = {};
|
|
1503
|
+
Object.getOwnPropertyNames(props).forEach((key2) => {
|
|
1504
|
+
const prop = props[key2];
|
|
1505
|
+
const v = Object.prototype.hasOwnProperty.call(val2, key2) ? val2[key2] : void 0;
|
|
1506
|
+
result[prop.key] = transform$4(v, prop.typ, getProps, prop.key);
|
|
1507
|
+
});
|
|
1508
|
+
Object.getOwnPropertyNames(val2).forEach((key2) => {
|
|
1509
|
+
if (!Object.prototype.hasOwnProperty.call(props, key2)) {
|
|
1510
|
+
result[key2] = transform$4(val2[key2], additional, getProps, key2);
|
|
1511
|
+
}
|
|
1512
|
+
});
|
|
1513
|
+
return result;
|
|
1514
|
+
}
|
|
1515
|
+
if (typ === "any")
|
|
1516
|
+
return val;
|
|
1517
|
+
if (typ === null) {
|
|
1518
|
+
if (val === null)
|
|
1519
|
+
return val;
|
|
1520
|
+
return invalidValue$4(typ, val);
|
|
1521
|
+
}
|
|
1522
|
+
while (typeof typ === "object" && typ.ref !== void 0) {
|
|
1523
|
+
typ = typeMap$4[typ.ref];
|
|
1524
|
+
}
|
|
1525
|
+
if (Array.isArray(typ))
|
|
1526
|
+
return transformEnum(typ, val);
|
|
1527
|
+
if (typeof typ === "object") {
|
|
1528
|
+
return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) : invalidValue$4(typ, val);
|
|
1529
|
+
}
|
|
1530
|
+
if (typ === Date && typeof val !== "number")
|
|
1531
|
+
return transformDate(val);
|
|
1532
|
+
return transformPrimitive(typ, val);
|
|
1533
|
+
}
|
|
1534
|
+
function cast$4(val, typ) {
|
|
1535
|
+
return transform$4(val, typ, jsonToJSProps$4);
|
|
1536
|
+
}
|
|
1537
|
+
function uncast$4(val, typ) {
|
|
1538
|
+
return transform$4(val, typ, jsToJSONProps$4);
|
|
1539
|
+
}
|
|
1540
|
+
function a$4(typ) {
|
|
1541
|
+
return { arrayItems: typ };
|
|
1542
|
+
}
|
|
1543
|
+
function u$4(...typs) {
|
|
1544
|
+
return { unionMembers: typs };
|
|
1545
|
+
}
|
|
1546
|
+
function o$4(props, additional) {
|
|
1547
|
+
return { props, additional };
|
|
1548
|
+
}
|
|
1549
|
+
function r$4(name) {
|
|
1550
|
+
return { ref: name };
|
|
1551
|
+
}
|
|
1552
|
+
const typeMap$4 = {
|
|
1553
|
+
Agendas: o$4([{ json: "reunions", js: "reunions", typ: a$4(r$4("Reunion")) }], false),
|
|
1554
|
+
Reunion: o$4([
|
|
1555
|
+
{ json: "schemaVersion", js: "schemaVersion", typ: u$4(void 0, "") },
|
|
1556
|
+
{
|
|
1557
|
+
json: "xsiType",
|
|
1558
|
+
js: "xsiType",
|
|
1559
|
+
typ: u$4(void 0, r$4("ReunionXsiType"))
|
|
1560
|
+
},
|
|
1561
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
1562
|
+
{ json: "timestampDebut", js: "timestampDebut", typ: Date },
|
|
1563
|
+
{ json: "timestampFin", js: "timestampFin", typ: u$4(void 0, Date) },
|
|
1564
|
+
{ json: "lieu", js: "lieu", typ: u$4(void 0, r$4("LieuReunion")) },
|
|
1565
|
+
{ json: "cycleDeVie", js: "cycleDeVie", typ: r$4("CycleDeVie") },
|
|
1566
|
+
{
|
|
1567
|
+
json: "demandeurs",
|
|
1568
|
+
js: "demandeurs",
|
|
1569
|
+
typ: u$4(void 0, r$4("Demandeurs"))
|
|
1570
|
+
},
|
|
1571
|
+
{ json: "organeReuniRef", js: "organeReuniRef", typ: u$4(void 0, "") },
|
|
1572
|
+
{
|
|
1573
|
+
json: "typeReunion",
|
|
1574
|
+
js: "typeReunion",
|
|
1575
|
+
typ: u$4(void 0, r$4("TypeReunion"))
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
json: "participants",
|
|
1579
|
+
js: "participants",
|
|
1580
|
+
typ: u$4(void 0, r$4("Participants"))
|
|
1581
|
+
},
|
|
1582
|
+
{ json: "sessionRef", js: "sessionRef", typ: u$4(void 0, "") },
|
|
1583
|
+
{
|
|
1584
|
+
json: "ouverturePresse",
|
|
1585
|
+
js: "ouverturePresse",
|
|
1586
|
+
typ: u$4(void 0, false)
|
|
1587
|
+
},
|
|
1588
|
+
{ json: "odj", js: "odj", typ: u$4(void 0, r$4("Odj")) },
|
|
1589
|
+
{ json: "compteRenduRef", js: "compteRenduRef", typ: u$4(void 0, "") },
|
|
1590
|
+
{
|
|
1591
|
+
json: "identifiants",
|
|
1592
|
+
js: "identifiants",
|
|
1593
|
+
typ: u$4(void 0, r$4("Identifiants"))
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
json: "formatReunion",
|
|
1597
|
+
js: "formatReunion",
|
|
1598
|
+
typ: u$4(void 0, r$4("FormatReunion"))
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
json: "infosReunionsInternationale",
|
|
1602
|
+
js: "infosReunionsInternationale",
|
|
1603
|
+
typ: u$4(void 0, r$4("InfosReunionsInternationale"))
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
json: "captationVideo",
|
|
1607
|
+
js: "captationVideo",
|
|
1608
|
+
typ: u$4(void 0, false)
|
|
1609
|
+
},
|
|
1610
|
+
{ json: "visioConference", js: "visioConference", typ: u$4(void 0, "") }
|
|
1611
|
+
], false),
|
|
1612
|
+
Odj: o$4([
|
|
1613
|
+
{
|
|
1614
|
+
json: "convocationOdj",
|
|
1615
|
+
js: "convocationOdj",
|
|
1616
|
+
typ: u$4(void 0, a$4(""))
|
|
1617
|
+
},
|
|
1618
|
+
{ json: "resumeOdj", js: "resumeOdj", typ: u$4(void 0, a$4("")) },
|
|
1619
|
+
{
|
|
1620
|
+
json: "pointsOdj",
|
|
1621
|
+
js: "pointsOdj",
|
|
1622
|
+
typ: u$4(void 0, a$4(r$4("PointOdj")))
|
|
1623
|
+
}
|
|
1624
|
+
], false),
|
|
1625
|
+
PointOdj: o$4([
|
|
1626
|
+
{ json: "xsiType", js: "xsiType", typ: r$4("PointOdjXsiType") },
|
|
1627
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
1628
|
+
{ json: "cycleDeVie", js: "cycleDeVie", typ: r$4("CycleDeVie") },
|
|
1629
|
+
{ json: "objet", js: "objet", typ: "" },
|
|
1630
|
+
{ json: "procedure", js: "procedure", typ: u$4(void 0, r$4("Procedure")) },
|
|
1631
|
+
{
|
|
1632
|
+
json: "dossiersLegislatifsRefs",
|
|
1633
|
+
js: "dossiersLegislatifsRefs",
|
|
1634
|
+
typ: u$4(void 0, a$4(""))
|
|
1635
|
+
},
|
|
1636
|
+
{ json: "typePointOdj", js: "typePointOdj", typ: r$4("TypePointOdj") },
|
|
1637
|
+
{ json: "comiteSecret", js: "comiteSecret", typ: false },
|
|
1638
|
+
{
|
|
1639
|
+
json: "natureTravauxOdj",
|
|
1640
|
+
js: "natureTravauxOdj",
|
|
1641
|
+
typ: u$4(void 0, r$4("NatureTravauxOdj"))
|
|
1642
|
+
},
|
|
1643
|
+
{ json: "dateConfPres", js: "dateConfPres", typ: u$4(void 0, Date) },
|
|
1644
|
+
{
|
|
1645
|
+
json: "dateLettreMinistre",
|
|
1646
|
+
js: "dateLettreMinistre",
|
|
1647
|
+
typ: u$4(void 0, Date)
|
|
1648
|
+
}
|
|
1649
|
+
], false),
|
|
1650
|
+
CycleDeVie: o$4([
|
|
1651
|
+
{ json: "etat", js: "etat", typ: r$4("EtatCycleDeVie") },
|
|
1652
|
+
{ json: "chrono", js: "chrono", typ: r$4("Chrono") }
|
|
1653
|
+
], false),
|
|
1654
|
+
Chrono: o$4([
|
|
1655
|
+
{ json: "creation", js: "creation", typ: Date },
|
|
1656
|
+
{ json: "cloture", js: "cloture", typ: u$4(void 0, Date) }
|
|
1657
|
+
], false),
|
|
1658
|
+
Demandeurs: o$4([
|
|
1659
|
+
{
|
|
1660
|
+
json: "acteurs",
|
|
1661
|
+
js: "acteurs",
|
|
1662
|
+
typ: u$4(void 0, a$4(r$4("DemandeurActeur")))
|
|
1663
|
+
},
|
|
1664
|
+
{ json: "organe", js: "organe", typ: u$4(void 0, r$4("DemandeurOrgane")) }
|
|
1665
|
+
], false),
|
|
1666
|
+
DemandeurActeur: o$4([
|
|
1667
|
+
{ json: "nom", js: "nom", typ: u$4(void 0, "") },
|
|
1668
|
+
{ json: "acteurRef", js: "acteurRef", typ: "" }
|
|
1669
|
+
], false),
|
|
1670
|
+
DemandeurOrgane: o$4([
|
|
1671
|
+
{ json: "nom", js: "nom", typ: "" },
|
|
1672
|
+
{ json: "organeRef", js: "organeRef", typ: "" }
|
|
1673
|
+
], false),
|
|
1674
|
+
Identifiants: o$4([
|
|
1675
|
+
{ json: "numSeanceJo", js: "numSeanceJo", typ: u$4(void 0, "") },
|
|
1676
|
+
{ json: "idJo", js: "idJo", typ: u$4(void 0, "") },
|
|
1677
|
+
{ json: "quantieme", js: "quantieme", typ: r$4("Quantieme") },
|
|
1678
|
+
{ json: "dateSeance", js: "dateSeance", typ: Date }
|
|
1679
|
+
], false),
|
|
1680
|
+
InfosReunionsInternationale: o$4([
|
|
1681
|
+
{
|
|
1682
|
+
json: "estReunionInternationale",
|
|
1683
|
+
js: "estReunionInternationale",
|
|
1684
|
+
typ: false
|
|
1685
|
+
},
|
|
1686
|
+
{ json: "listePays", js: "listePays", typ: u$4(void 0, a$4("")) },
|
|
1687
|
+
{
|
|
1688
|
+
json: "informationsComplementaires",
|
|
1689
|
+
js: "informationsComplementaires",
|
|
1690
|
+
typ: u$4(void 0, "")
|
|
1691
|
+
}
|
|
1692
|
+
], false),
|
|
1693
|
+
LieuReunion: o$4([
|
|
1694
|
+
{ json: "code", js: "code", typ: u$4(void 0, "") },
|
|
1695
|
+
{ json: "libelleCourt", js: "libelleCourt", typ: u$4(void 0, "") },
|
|
1696
|
+
{ json: "libelleLong", js: "libelleLong", typ: u$4(void 0, "") },
|
|
1697
|
+
{ json: "lieuRef", js: "lieuRef", typ: u$4(void 0, "") }
|
|
1698
|
+
], false),
|
|
1699
|
+
Participants: o$4([
|
|
1700
|
+
{
|
|
1701
|
+
json: "participantsInternes",
|
|
1702
|
+
js: "participantsInternes",
|
|
1703
|
+
typ: u$4(void 0, a$4(r$4("ParticipantInterne")))
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
json: "personnesAuditionnees",
|
|
1707
|
+
js: "personnesAuditionnees",
|
|
1708
|
+
typ: u$4(void 0, a$4(r$4("PersonneAuditionnee")))
|
|
1709
|
+
}
|
|
1710
|
+
], false),
|
|
1711
|
+
ParticipantInterne: o$4([
|
|
1712
|
+
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
1713
|
+
{ json: "presence", js: "presence", typ: r$4("Presence") }
|
|
1714
|
+
], false),
|
|
1715
|
+
PersonneAuditionnee: o$4([
|
|
1716
|
+
{ json: "xsiType", js: "xsiType", typ: r$4("PersonneAuditionneeXsiType") },
|
|
1717
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
1718
|
+
{ json: "ident", js: "ident", typ: r$4("IdentPersonneAuditionnee") },
|
|
1719
|
+
{ json: "dateNais", js: "dateNais", typ: u$4(void 0, Date) }
|
|
1720
|
+
], false),
|
|
1721
|
+
IdentPersonneAuditionnee: o$4([
|
|
1722
|
+
{ json: "civ", js: "civ", typ: r$4("Civ") },
|
|
1723
|
+
{ json: "prenom", js: "prenom", typ: "" },
|
|
1724
|
+
{ json: "nom", js: "nom", typ: "" },
|
|
1725
|
+
{ json: "alpha", js: "alpha", typ: u$4(void 0, "") },
|
|
1726
|
+
{ json: "trigramme", js: "trigramme", typ: u$4(void 0, "") }
|
|
1727
|
+
], false),
|
|
1728
|
+
ReunionXsiType: [
|
|
1729
|
+
"reunionCommission_type",
|
|
1730
|
+
"reunionInitParlementaire_type",
|
|
1731
|
+
"seance_type"
|
|
1732
|
+
],
|
|
1733
|
+
PointOdjXsiType: ["podjReunion_type", "podjSeanceConfPres_type"],
|
|
1734
|
+
EtatCycleDeVie: ["Annulé", "Confirmé", "Eventuel", "Supprimé"],
|
|
1735
|
+
NatureTravauxOdj: ["ODJPR", "ODJSN"],
|
|
1736
|
+
Procedure: [
|
|
1737
|
+
"discussion générale commune",
|
|
1738
|
+
"procédure d'examen simplifiée-Article 103",
|
|
1739
|
+
"procédure d'examen simplifiée-Article 106",
|
|
1740
|
+
"procédure d'examen simplifiée-Article 107",
|
|
1741
|
+
"procédure de législation en commission-Article 107-1"
|
|
1742
|
+
],
|
|
1743
|
+
TypePointOdj: [
|
|
1744
|
+
"Amendements (Art. 88)",
|
|
1745
|
+
"Amendements (Art. 91)",
|
|
1746
|
+
"Audition",
|
|
1747
|
+
"Audition ministre",
|
|
1748
|
+
"Audition ministre ouverte à la presse",
|
|
1749
|
+
"Audition ouverte à la presse",
|
|
1750
|
+
"Communication",
|
|
1751
|
+
"Constitution de mission d'information",
|
|
1752
|
+
"Discussion",
|
|
1753
|
+
"Débat d'initiative parlementaire",
|
|
1754
|
+
"Déclaration du Gouvernement suivie d'un débat",
|
|
1755
|
+
"Echanges de vues",
|
|
1756
|
+
"Examen",
|
|
1757
|
+
"Explications de vote des groupes et vote par scrutin public",
|
|
1758
|
+
"Explications de vote et vote par scrutin public",
|
|
1759
|
+
"Fixation de l'ordre du jour",
|
|
1760
|
+
"Nomination bureau",
|
|
1761
|
+
"Nomination candidats organisme extraparlementaire",
|
|
1762
|
+
"Nomination d'un membre d'une mission d'information",
|
|
1763
|
+
"Nomination rapporteur",
|
|
1764
|
+
"Nomination rapporteur d'application",
|
|
1765
|
+
"Nomination rapporteur d'information",
|
|
1766
|
+
"Nomination rapporteur pour avis",
|
|
1767
|
+
"Ouverture et clôture de session",
|
|
1768
|
+
"Questions au Gouvernement",
|
|
1769
|
+
"Questions orales sans débat",
|
|
1770
|
+
"Rapport",
|
|
1771
|
+
"Rapport d'information",
|
|
1772
|
+
"Rapport pour avis",
|
|
1773
|
+
"Séances réservées à un groupe de l'opposition ou minoritaire",
|
|
1774
|
+
"Suite de la discussion",
|
|
1775
|
+
"Table ronde",
|
|
1776
|
+
"Vote par scrutin public",
|
|
1777
|
+
"Vote solennel"
|
|
1778
|
+
],
|
|
1779
|
+
FormatReunion: [
|
|
1780
|
+
"AuditionExterne",
|
|
1781
|
+
"AuditionParPresidentCommission",
|
|
1782
|
+
"AuditionParRapporteur",
|
|
1783
|
+
"Ordinaire"
|
|
1784
|
+
],
|
|
1785
|
+
Quantieme: ["Deuxième", "Première", "Troisième", "Unique"],
|
|
1786
|
+
Presence: ["absent", "excusé", "présent"],
|
|
1787
|
+
Civ: ["M.", "Mme"],
|
|
1788
|
+
PersonneAuditionneeXsiType: ["IdActeur_type", "IdPersonneExterne_type"],
|
|
1789
|
+
TypeReunion: ["DEP", "GA", "GE", "GEVI", "GP", "HÉ Aurélien"]
|
|
1790
|
+
};
|
|
1791
|
+
var CodeActe;
|
|
1792
|
+
(function(CodeActe2) {
|
|
1793
|
+
CodeActe2["An1"] = "AN1";
|
|
1794
|
+
CodeActe2["An1Acin"] = "AN1-ACIN";
|
|
1795
|
+
CodeActe2["An1Avce"] = "AN1-AVCE";
|
|
1796
|
+
CodeActe2["An1Com"] = "AN1-COM";
|
|
1797
|
+
CodeActe2["An1ComAvis"] = "AN1-COM-AVIS";
|
|
1798
|
+
CodeActe2["An1ComAvisNomin"] = "AN1-COM-AVIS-NOMIN";
|
|
1799
|
+
CodeActe2["An1ComAvisRapport"] = "AN1-COM-AVIS-RAPPORT";
|
|
1800
|
+
CodeActe2["An1ComAvisReunion"] = "AN1-COM-AVIS-REUNION";
|
|
1801
|
+
CodeActe2["An1ComAvisSaisie"] = "AN1-COM-AVIS-SAISIE";
|
|
1802
|
+
CodeActe2["An1ComFond"] = "AN1-COM-FOND";
|
|
1803
|
+
CodeActe2["An1ComFondNomin"] = "AN1-COM-FOND-NOMIN";
|
|
1804
|
+
CodeActe2["An1ComFondRapport"] = "AN1-COM-FOND-RAPPORT";
|
|
1805
|
+
CodeActe2["An1ComFondReunion"] = "AN1-COM-FOND-REUNION";
|
|
1806
|
+
CodeActe2["An1ComFondSaisie"] = "AN1-COM-FOND-SAISIE";
|
|
1807
|
+
CodeActe2["An1Debats"] = "AN1-DEBATS";
|
|
1808
|
+
CodeActe2["An1DebatsDec"] = "AN1-DEBATS-DEC";
|
|
1809
|
+
CodeActe2["An1DebatsMotion"] = "AN1-DEBATS-MOTION";
|
|
1810
|
+
CodeActe2["An1DebatsMotionVote"] = "AN1-DEBATS-MOTION-VOTE";
|
|
1811
|
+
CodeActe2["An1DebatsSeance"] = "AN1-DEBATS-SEANCE";
|
|
1812
|
+
CodeActe2["An1Depot"] = "AN1-DEPOT";
|
|
1813
|
+
CodeActe2["An1Dgvt"] = "AN1-DGVT";
|
|
1814
|
+
CodeActe2["An1Dptlettrect"] = "AN1-DPTLETTRECT";
|
|
1815
|
+
CodeActe2["An1Eti"] = "AN1-ETI";
|
|
1816
|
+
CodeActe2["An1Motion"] = "AN1-MOTION";
|
|
1817
|
+
CodeActe2["An1MotionVote"] = "AN1-MOTION-VOTE";
|
|
1818
|
+
CodeActe2["An1Procacc"] = "AN1-PROCACC";
|
|
1819
|
+
CodeActe2["An1Recbureau"] = "AN1-RECBUREAU";
|
|
1820
|
+
CodeActe2["An1Rtrini"] = "AN1-RTRINI";
|
|
1821
|
+
CodeActe2["An2"] = "AN2";
|
|
1822
|
+
CodeActe2["An20"] = "AN20";
|
|
1823
|
+
CodeActe2["An20Comenq"] = "AN20-COMENQ";
|
|
1824
|
+
CodeActe2["An20ComenqCrea"] = "AN20-COMENQ-CREA";
|
|
1825
|
+
CodeActe2["An20ComenqNomin"] = "AN20-COMENQ-NOMIN";
|
|
1826
|
+
CodeActe2["An20ComenqRapport"] = "AN20-COMENQ-RAPPORT";
|
|
1827
|
+
CodeActe2["An20Misinf"] = "AN20-MISINF";
|
|
1828
|
+
CodeActe2["An20MisinfCrea"] = "AN20-MISINF-CREA";
|
|
1829
|
+
CodeActe2["An20MisinfNomin"] = "AN20-MISINF-NOMIN";
|
|
1830
|
+
CodeActe2["An20MisinfRapport"] = "AN20-MISINF-RAPPORT";
|
|
1831
|
+
CodeActe2["An20Rapport"] = "AN20-RAPPORT";
|
|
1832
|
+
CodeActe2["An21"] = "AN21";
|
|
1833
|
+
CodeActe2["An21Apan"] = "AN21-APAN";
|
|
1834
|
+
CodeActe2["An21Debats"] = "AN21-DEBATS";
|
|
1835
|
+
CodeActe2["An21DebatsMotionVote"] = "AN21-DEBATS-MOTION-VOTE";
|
|
1836
|
+
CodeActe2["An21DebatsSeance"] = "AN21-DEBATS-SEANCE";
|
|
1837
|
+
CodeActe2["An21Dgvt"] = "AN21-DGVT";
|
|
1838
|
+
CodeActe2["An21Motion"] = "AN21-MOTION";
|
|
1839
|
+
CodeActe2["An21MotionVote"] = "AN21-MOTION-VOTE";
|
|
1840
|
+
CodeActe2["An21Mpr"] = "AN21-MPR";
|
|
1841
|
+
CodeActe2["An2Com"] = "AN2-COM";
|
|
1842
|
+
CodeActe2["An2ComAvis"] = "AN2-COM-AVIS";
|
|
1843
|
+
CodeActe2["An2ComAvisRapport"] = "AN2-COM-AVIS-RAPPORT";
|
|
1844
|
+
CodeActe2["An2ComAvisReunion"] = "AN2-COM-AVIS-REUNION";
|
|
1845
|
+
CodeActe2["An2ComAvisSaisie"] = "AN2-COM-AVIS-SAISIE";
|
|
1846
|
+
CodeActe2["An2ComFond"] = "AN2-COM-FOND";
|
|
1847
|
+
CodeActe2["An2ComFondNomin"] = "AN2-COM-FOND-NOMIN";
|
|
1848
|
+
CodeActe2["An2ComFondRapport"] = "AN2-COM-FOND-RAPPORT";
|
|
1849
|
+
CodeActe2["An2ComFondReunion"] = "AN2-COM-FOND-REUNION";
|
|
1850
|
+
CodeActe2["An2ComFondSaisie"] = "AN2-COM-FOND-SAISIE";
|
|
1851
|
+
CodeActe2["An2Debats"] = "AN2-DEBATS";
|
|
1852
|
+
CodeActe2["An2DebatsDec"] = "AN2-DEBATS-DEC";
|
|
1853
|
+
CodeActe2["An2DebatsSeance"] = "AN2-DEBATS-SEANCE";
|
|
1854
|
+
CodeActe2["An2Depot"] = "AN2-DEPOT";
|
|
1855
|
+
CodeActe2["An3"] = "AN3";
|
|
1856
|
+
CodeActe2["An3Com"] = "AN3-COM";
|
|
1857
|
+
CodeActe2["An3ComFond"] = "AN3-COM-FOND";
|
|
1858
|
+
CodeActe2["An3ComFondNomin"] = "AN3-COM-FOND-NOMIN";
|
|
1859
|
+
CodeActe2["An3ComFondRapport"] = "AN3-COM-FOND-RAPPORT";
|
|
1860
|
+
CodeActe2["An3ComFondReunion"] = "AN3-COM-FOND-REUNION";
|
|
1861
|
+
CodeActe2["An3ComFondSaisie"] = "AN3-COM-FOND-SAISIE";
|
|
1862
|
+
CodeActe2["An3Debats"] = "AN3-DEBATS";
|
|
1863
|
+
CodeActe2["An3DebatsDec"] = "AN3-DEBATS-DEC";
|
|
1864
|
+
CodeActe2["An3DebatsSeance"] = "AN3-DEBATS-SEANCE";
|
|
1865
|
+
CodeActe2["An3Depot"] = "AN3-DEPOT";
|
|
1866
|
+
CodeActe2["AnAppli"] = "AN-APPLI";
|
|
1867
|
+
CodeActe2["AnAppliRapport"] = "AN-APPLI-RAPPORT";
|
|
1868
|
+
CodeActe2["Anldef"] = "ANLDEF";
|
|
1869
|
+
CodeActe2["AnldefCom"] = "ANLDEF-COM";
|
|
1870
|
+
CodeActe2["AnldefComFond"] = "ANLDEF-COM-FOND";
|
|
1871
|
+
CodeActe2["AnldefComFondRapport"] = "ANLDEF-COM-FOND-RAPPORT";
|
|
1872
|
+
CodeActe2["AnldefComFondReunion"] = "ANLDEF-COM-FOND-REUNION";
|
|
1873
|
+
CodeActe2["AnldefComFondSaisie"] = "ANLDEF-COM-FOND-SAISIE";
|
|
1874
|
+
CodeActe2["AnldefDebats"] = "ANLDEF-DEBATS";
|
|
1875
|
+
CodeActe2["AnldefDebatsDec"] = "ANLDEF-DEBATS-DEC";
|
|
1876
|
+
CodeActe2["AnldefDebatsMotionVote"] = "ANLDEF-DEBATS-MOTION-VOTE";
|
|
1877
|
+
CodeActe2["AnldefDebatsSeance"] = "ANLDEF-DEBATS-SEANCE";
|
|
1878
|
+
CodeActe2["AnldefDepot"] = "ANLDEF-DEPOT";
|
|
1879
|
+
CodeActe2["AnldefDgvt"] = "ANLDEF-DGVT";
|
|
1880
|
+
CodeActe2["AnldefMotion"] = "ANLDEF-MOTION";
|
|
1881
|
+
CodeActe2["AnldefMotionVote"] = "ANLDEF-MOTION-VOTE";
|
|
1882
|
+
CodeActe2["Anluni"] = "ANLUNI";
|
|
1883
|
+
CodeActe2["AnluniCom"] = "ANLUNI-COM";
|
|
1884
|
+
CodeActe2["AnluniComCae"] = "ANLUNI-COM-CAE";
|
|
1885
|
+
CodeActe2["AnluniComCaeDec"] = "ANLUNI-COM-CAE-DEC";
|
|
1886
|
+
CodeActe2["AnluniComCaeNomin"] = "ANLUNI-COM-CAE-NOMIN";
|
|
1887
|
+
CodeActe2["AnluniComCaeRapport"] = "ANLUNI-COM-CAE-RAPPORT";
|
|
1888
|
+
CodeActe2["AnluniComCaeReunion"] = "ANLUNI-COM-CAE-REUNION";
|
|
1889
|
+
CodeActe2["AnluniComCaeSaisie"] = "ANLUNI-COM-CAE-SAISIE";
|
|
1890
|
+
CodeActe2["AnluniComFond"] = "ANLUNI-COM-FOND";
|
|
1891
|
+
CodeActe2["AnluniComFondNomin"] = "ANLUNI-COM-FOND-NOMIN";
|
|
1892
|
+
CodeActe2["AnluniComFondRapport"] = "ANLUNI-COM-FOND-RAPPORT";
|
|
1893
|
+
CodeActe2["AnluniComFondReunion"] = "ANLUNI-COM-FOND-REUNION";
|
|
1894
|
+
CodeActe2["AnluniComFondSaisie"] = "ANLUNI-COM-FOND-SAISIE";
|
|
1895
|
+
CodeActe2["AnluniDebats"] = "ANLUNI-DEBATS";
|
|
1896
|
+
CodeActe2["AnluniDebatsDec"] = "ANLUNI-DEBATS-DEC";
|
|
1897
|
+
CodeActe2["AnluniDebatsSeance"] = "ANLUNI-DEBATS-SEANCE";
|
|
1898
|
+
CodeActe2["AnluniDepot"] = "ANLUNI-DEPOT";
|
|
1899
|
+
CodeActe2["AnluniRtrini"] = "ANLUNI-RTRINI";
|
|
1900
|
+
CodeActe2["Annlec"] = "ANNLEC";
|
|
1901
|
+
CodeActe2["AnnlecCom"] = "ANNLEC-COM";
|
|
1902
|
+
CodeActe2["AnnlecComAvis"] = "ANNLEC-COM-AVIS";
|
|
1903
|
+
CodeActe2["AnnlecComAvisNomin"] = "ANNLEC-COM-AVIS-NOMIN";
|
|
1904
|
+
CodeActe2["AnnlecComAvisRapport"] = "ANNLEC-COM-AVIS-RAPPORT";
|
|
1905
|
+
CodeActe2["AnnlecComAvisReunion"] = "ANNLEC-COM-AVIS-REUNION";
|
|
1906
|
+
CodeActe2["AnnlecComAvisSaisie"] = "ANNLEC-COM-AVIS-SAISIE";
|
|
1907
|
+
CodeActe2["AnnlecComFond"] = "ANNLEC-COM-FOND";
|
|
1908
|
+
CodeActe2["AnnlecComFondNomin"] = "ANNLEC-COM-FOND-NOMIN";
|
|
1909
|
+
CodeActe2["AnnlecComFondRapport"] = "ANNLEC-COM-FOND-RAPPORT";
|
|
1910
|
+
CodeActe2["AnnlecComFondReunion"] = "ANNLEC-COM-FOND-REUNION";
|
|
1911
|
+
CodeActe2["AnnlecComFondSaisie"] = "ANNLEC-COM-FOND-SAISIE";
|
|
1912
|
+
CodeActe2["AnnlecDebats"] = "ANNLEC-DEBATS";
|
|
1913
|
+
CodeActe2["AnnlecDebatsDec"] = "ANNLEC-DEBATS-DEC";
|
|
1914
|
+
CodeActe2["AnnlecDebatsMotionVote"] = "ANNLEC-DEBATS-MOTION-VOTE";
|
|
1915
|
+
CodeActe2["AnnlecDebatsSeance"] = "ANNLEC-DEBATS-SEANCE";
|
|
1916
|
+
CodeActe2["AnnlecDepot"] = "ANNLEC-DEPOT";
|
|
1917
|
+
CodeActe2["AnnlecDgvt"] = "ANNLEC-DGVT";
|
|
1918
|
+
CodeActe2["AnnlecMotion"] = "ANNLEC-MOTION";
|
|
1919
|
+
CodeActe2["AnnlecMotionVote"] = "ANNLEC-MOTION-VOTE";
|
|
1920
|
+
CodeActe2["Cc"] = "CC";
|
|
1921
|
+
CodeActe2["CcConclusion"] = "CC-CONCLUSION";
|
|
1922
|
+
CodeActe2["CcSaisieAn"] = "CC-SAISIE-AN";
|
|
1923
|
+
CodeActe2["CcSaisieDroit"] = "CC-SAISIE-DROIT";
|
|
1924
|
+
CodeActe2["CcSaisiePan"] = "CC-SAISIE-PAN";
|
|
1925
|
+
CodeActe2["CcSaisiePm"] = "CC-SAISIE-PM";
|
|
1926
|
+
CodeActe2["CcSaisiePr"] = "CC-SAISIE-PR";
|
|
1927
|
+
CodeActe2["CcSaisiePsn"] = "CC-SAISIE-PSN";
|
|
1928
|
+
CodeActe2["CcSaisieSn"] = "CC-SAISIE-SN";
|
|
1929
|
+
CodeActe2["Cg22"] = "CG22";
|
|
1930
|
+
CodeActe2["Cg22Conv"] = "CG22-CONV";
|
|
1931
|
+
CodeActe2["Cg22Debats"] = "CG22-DEBATS";
|
|
1932
|
+
CodeActe2["Cg22DebatsDec"] = "CG22-DEBATS-DEC";
|
|
1933
|
+
CodeActe2["Cg22DebatsSeance"] = "CG22-DEBATS-SEANCE";
|
|
1934
|
+
CodeActe2["Cmp"] = "CMP";
|
|
1935
|
+
CodeActe2["CmpCom"] = "CMP-COM";
|
|
1936
|
+
CodeActe2["CmpComNomin"] = "CMP-COM-NOMIN";
|
|
1937
|
+
CodeActe2["CmpComRapportAn"] = "CMP-COM-RAPPORT-AN";
|
|
1938
|
+
CodeActe2["CmpComRapportSn"] = "CMP-COM-RAPPORT-SN";
|
|
1939
|
+
CodeActe2["CmpDebats"] = "CMP-DEBATS";
|
|
1940
|
+
CodeActe2["CmpDebatsAn"] = "CMP-DEBATS-AN";
|
|
1941
|
+
CodeActe2["CmpDebatsAnDec"] = "CMP-DEBATS-AN-DEC";
|
|
1942
|
+
CodeActe2["CmpDebatsAnSeance"] = "CMP-DEBATS-AN-SEANCE";
|
|
1943
|
+
CodeActe2["CmpDebatsDec"] = "CMP-DEBATS-DEC";
|
|
1944
|
+
CodeActe2["CmpDebatsSn"] = "CMP-DEBATS-SN";
|
|
1945
|
+
CodeActe2["CmpDebatsSnDec"] = "CMP-DEBATS-SN-DEC";
|
|
1946
|
+
CodeActe2["CmpDebatsSnSeance"] = "CMP-DEBATS-SN-SEANCE";
|
|
1947
|
+
CodeActe2["CmpDec"] = "CMP-DEC";
|
|
1948
|
+
CodeActe2["CmpDepot"] = "CMP-DEPOT";
|
|
1949
|
+
CodeActe2["CmpDgvt"] = "CMP-DGVT";
|
|
1950
|
+
CodeActe2["CmpMotion"] = "CMP-MOTION";
|
|
1951
|
+
CodeActe2["CmpMotionVote"] = "CMP-MOTION-VOTE";
|
|
1952
|
+
CodeActe2["CmpSaisie"] = "CMP-SAISIE";
|
|
1953
|
+
CodeActe2["Eu"] = "EU";
|
|
1954
|
+
CodeActe2["EuDec"] = "EU-DEC";
|
|
1955
|
+
CodeActe2["Motion"] = "MOTION";
|
|
1956
|
+
CodeActe2["MotionVote"] = "MOTION-VOTE";
|
|
1957
|
+
CodeActe2["Prom"] = "PROM";
|
|
1958
|
+
CodeActe2["PromPub"] = "PROM-PUB";
|
|
1959
|
+
CodeActe2["Sn1"] = "SN1";
|
|
1960
|
+
CodeActe2["Sn1Avce"] = "SN1-AVCE";
|
|
1961
|
+
CodeActe2["Sn1Com"] = "SN1-COM";
|
|
1962
|
+
CodeActe2["Sn1ComAvis"] = "SN1-COM-AVIS";
|
|
1963
|
+
CodeActe2["Sn1ComAvisNomin"] = "SN1-COM-AVIS-NOMIN";
|
|
1964
|
+
CodeActe2["Sn1ComAvisRapport"] = "SN1-COM-AVIS-RAPPORT";
|
|
1965
|
+
CodeActe2["Sn1ComAvisSaisie"] = "SN1-COM-AVIS-SAISIE";
|
|
1966
|
+
CodeActe2["Sn1ComFond"] = "SN1-COM-FOND";
|
|
1967
|
+
CodeActe2["Sn1ComFondNomin"] = "SN1-COM-FOND-NOMIN";
|
|
1968
|
+
CodeActe2["Sn1ComFondRapport"] = "SN1-COM-FOND-RAPPORT";
|
|
1969
|
+
CodeActe2["Sn1ComFondSaisie"] = "SN1-COM-FOND-SAISIE";
|
|
1970
|
+
CodeActe2["Sn1Debats"] = "SN1-DEBATS";
|
|
1971
|
+
CodeActe2["Sn1DebatsDec"] = "SN1-DEBATS-DEC";
|
|
1972
|
+
CodeActe2["Sn1DebatsMotion"] = "SN1-DEBATS-MOTION";
|
|
1973
|
+
CodeActe2["Sn1DebatsMotionVote"] = "SN1-DEBATS-MOTION-VOTE";
|
|
1974
|
+
CodeActe2["Sn1DebatsSeance"] = "SN1-DEBATS-SEANCE";
|
|
1975
|
+
CodeActe2["Sn1Depot"] = "SN1-DEPOT";
|
|
1976
|
+
CodeActe2["Sn1Dptlettrect"] = "SN1-DPTLETTRECT";
|
|
1977
|
+
CodeActe2["Sn1Eti"] = "SN1-ETI";
|
|
1978
|
+
CodeActe2["Sn1Procacc"] = "SN1-PROCACC";
|
|
1979
|
+
CodeActe2["Sn1Rtrini"] = "SN1-RTRINI";
|
|
1980
|
+
CodeActe2["Sn2"] = "SN2";
|
|
1981
|
+
CodeActe2["Sn2Com"] = "SN2-COM";
|
|
1982
|
+
CodeActe2["Sn2ComAvis"] = "SN2-COM-AVIS";
|
|
1983
|
+
CodeActe2["Sn2ComAvisNomin"] = "SN2-COM-AVIS-NOMIN";
|
|
1984
|
+
CodeActe2["Sn2ComAvisRapport"] = "SN2-COM-AVIS-RAPPORT";
|
|
1985
|
+
CodeActe2["Sn2ComAvisSaisie"] = "SN2-COM-AVIS-SAISIE";
|
|
1986
|
+
CodeActe2["Sn2ComFond"] = "SN2-COM-FOND";
|
|
1987
|
+
CodeActe2["Sn2ComFondNomin"] = "SN2-COM-FOND-NOMIN";
|
|
1988
|
+
CodeActe2["Sn2ComFondRapport"] = "SN2-COM-FOND-RAPPORT";
|
|
1989
|
+
CodeActe2["Sn2ComFondSaisie"] = "SN2-COM-FOND-SAISIE";
|
|
1990
|
+
CodeActe2["Sn2Debats"] = "SN2-DEBATS";
|
|
1991
|
+
CodeActe2["Sn2DebatsDec"] = "SN2-DEBATS-DEC";
|
|
1992
|
+
CodeActe2["Sn2DebatsSeance"] = "SN2-DEBATS-SEANCE";
|
|
1993
|
+
CodeActe2["Sn2Depot"] = "SN2-DEPOT";
|
|
1994
|
+
CodeActe2["Sn3"] = "SN3";
|
|
1995
|
+
CodeActe2["Sn3Com"] = "SN3-COM";
|
|
1996
|
+
CodeActe2["Sn3ComFond"] = "SN3-COM-FOND";
|
|
1997
|
+
CodeActe2["Sn3ComFondRapport"] = "SN3-COM-FOND-RAPPORT";
|
|
1998
|
+
CodeActe2["Sn3ComFondSaisie"] = "SN3-COM-FOND-SAISIE";
|
|
1999
|
+
CodeActe2["Sn3Debats"] = "SN3-DEBATS";
|
|
2000
|
+
CodeActe2["Sn3DebatsDec"] = "SN3-DEBATS-DEC";
|
|
2001
|
+
CodeActe2["Sn3DebatsSeance"] = "SN3-DEBATS-SEANCE";
|
|
2002
|
+
CodeActe2["Sn3Depot"] = "SN3-DEPOT";
|
|
2003
|
+
CodeActe2["Snnlec"] = "SNNLEC";
|
|
2004
|
+
CodeActe2["SnnlecCom"] = "SNNLEC-COM";
|
|
2005
|
+
CodeActe2["SnnlecComFond"] = "SNNLEC-COM-FOND";
|
|
2006
|
+
CodeActe2["SnnlecComFondNomin"] = "SNNLEC-COM-FOND-NOMIN";
|
|
2007
|
+
CodeActe2["SnnlecComFondRapport"] = "SNNLEC-COM-FOND-RAPPORT";
|
|
2008
|
+
CodeActe2["SnnlecComFondSaisie"] = "SNNLEC-COM-FOND-SAISIE";
|
|
2009
|
+
CodeActe2["SnnlecDebats"] = "SNNLEC-DEBATS";
|
|
2010
|
+
CodeActe2["SnnlecDebatsDec"] = "SNNLEC-DEBATS-DEC";
|
|
2011
|
+
CodeActe2["SnnlecDebatsSeance"] = "SNNLEC-DEBATS-SEANCE";
|
|
2012
|
+
CodeActe2["SnnlecDepot"] = "SNNLEC-DEPOT";
|
|
2013
|
+
})(CodeActe || (CodeActe = {}));
|
|
2014
|
+
var DossierParlementaireXsiType;
|
|
2015
|
+
(function(DossierParlementaireXsiType2) {
|
|
2016
|
+
DossierParlementaireXsiType2["DossierCommissionEnqueteType"] = "DossierCommissionEnquete_Type";
|
|
2017
|
+
DossierParlementaireXsiType2["DossierIniativeExecutifType"] = "DossierIniativeExecutif_Type";
|
|
2018
|
+
DossierParlementaireXsiType2["DossierLegislatifType"] = "DossierLegislatif_Type";
|
|
2019
|
+
DossierParlementaireXsiType2["DossierMissionControleType"] = "DossierMissionControle_Type";
|
|
2020
|
+
DossierParlementaireXsiType2["DossierMissionInformationType"] = "DossierMissionInformation_Type";
|
|
2021
|
+
DossierParlementaireXsiType2["DossierResolutionAn"] = "DossierResolutionAN";
|
|
2022
|
+
})(DossierParlementaireXsiType || (DossierParlementaireXsiType = {}));
|
|
2023
|
+
var TypeBudget;
|
|
2024
|
+
(function(TypeBudget2) {
|
|
2025
|
+
TypeBudget2["BudgetAnnexe"] = "Budget annexe";
|
|
2026
|
+
TypeBudget2["BudgetGénéral"] = "Budget général";
|
|
2027
|
+
TypeBudget2["CompteDeConcoursFinancier"] = "Compte de concours financier";
|
|
2028
|
+
TypeBudget2["CompteSpécial"] = "Compte spécial";
|
|
2029
|
+
TypeBudget2["PremièrePartie"] = "Première partie";
|
|
2030
|
+
})(TypeBudget || (TypeBudget = {}));
|
|
2031
|
+
var TypeMission;
|
|
2032
|
+
(function(TypeMission2) {
|
|
2033
|
+
TypeMission2["MissionPrincipale"] = "mission principale";
|
|
2034
|
+
TypeMission2["MissionSecondaire"] = "mission secondaire";
|
|
2035
|
+
TypeMission2["PartieDeMission"] = "partie de mission";
|
|
2036
|
+
})(TypeMission || (TypeMission = {}));
|
|
2037
|
+
var Qualite;
|
|
2038
|
+
(function(Qualite2) {
|
|
2039
|
+
Qualite2["Auteur"] = "auteur";
|
|
2040
|
+
Qualite2["Cosignataire"] = "cosignataire";
|
|
2041
|
+
Qualite2["Rapporteur"] = "rapporteur";
|
|
2042
|
+
Qualite2["RapporteurGénéral"] = "rapporteur général";
|
|
2043
|
+
Qualite2["RapporteurPourAvis"] = "rapporteur pour avis";
|
|
2044
|
+
Qualite2["RapporteurSpécial"] = "rapporteur spécial";
|
|
2045
|
+
})(Qualite || (Qualite = {}));
|
|
2046
|
+
var TypeActeLegislatif;
|
|
2047
|
+
(function(TypeActeLegislatif2) {
|
|
2048
|
+
TypeActeLegislatif2["AdoptionEuropeType"] = "Adoption_Europe_Type";
|
|
2049
|
+
TypeActeLegislatif2["ConclusionEtapeCcType"] = "ConclusionEtapeCC_Type";
|
|
2050
|
+
TypeActeLegislatif2["ConvocationCongresType"] = "ConvocationCongres_Type";
|
|
2051
|
+
TypeActeLegislatif2["CreationOrganeTemporaireType"] = "CreationOrganeTemporaire_Type";
|
|
2052
|
+
TypeActeLegislatif2["DecisionMotionCensureType"] = "DecisionMotionCensure_Type";
|
|
2053
|
+
TypeActeLegislatif2["DecisionRecevabiliteBureauType"] = "DecisionRecevabiliteBureau_Type";
|
|
2054
|
+
TypeActeLegislatif2["DecisionType"] = "Decision_Type";
|
|
2055
|
+
TypeActeLegislatif2["DeclarationGouvernementType"] = "DeclarationGouvernement_Type";
|
|
2056
|
+
TypeActeLegislatif2["DepotAccordInternationalType"] = "DepotAccordInternational_Type";
|
|
2057
|
+
TypeActeLegislatif2["DepotAvisConseilEtatType"] = "DepotAvisConseilEtat_Type";
|
|
2058
|
+
TypeActeLegislatif2["DepotInitiativeNavetteType"] = "DepotInitiativeNavette_Type";
|
|
2059
|
+
TypeActeLegislatif2["DepotInitiativeType"] = "DepotInitiative_Type";
|
|
2060
|
+
TypeActeLegislatif2["DepotLettreRectificativeType"] = "DepotLettreRectificative_Type";
|
|
2061
|
+
TypeActeLegislatif2["DepotMotionCensureType"] = "DepotMotionCensure_Type";
|
|
2062
|
+
TypeActeLegislatif2["DepotMotionReferendaireType"] = "DepotMotionReferendaire_Type";
|
|
2063
|
+
TypeActeLegislatif2["DepotRapportType"] = "DepotRapport_Type";
|
|
2064
|
+
TypeActeLegislatif2["DiscussionCommissionType"] = "DiscussionCommission_Type";
|
|
2065
|
+
TypeActeLegislatif2["DiscussionSeancePubliqueType"] = "DiscussionSeancePublique_Type";
|
|
2066
|
+
TypeActeLegislatif2["EtapeType"] = "Etape_Type";
|
|
2067
|
+
TypeActeLegislatif2["EtudeImpactType"] = "EtudeImpact_Type";
|
|
2068
|
+
TypeActeLegislatif2["MotionProcedureType"] = "MotionProcedure_Type";
|
|
2069
|
+
TypeActeLegislatif2["NominRapporteursType"] = "NominRapporteurs_Type";
|
|
2070
|
+
TypeActeLegislatif2["ProcedureAccelereType"] = "ProcedureAccelere_Type";
|
|
2071
|
+
TypeActeLegislatif2["PromulgationType"] = "Promulgation_Type";
|
|
2072
|
+
TypeActeLegislatif2["RenvoiCmpType"] = "RenvoiCMP_Type";
|
|
2073
|
+
TypeActeLegislatif2["RenvoiPrealableType"] = "RenvoiPrealable_Type";
|
|
2074
|
+
TypeActeLegislatif2["RetraitInitiativeType"] = "RetraitInitiative_Type";
|
|
2075
|
+
TypeActeLegislatif2["SaisieComAvisType"] = "SaisieComAvis_Type";
|
|
2076
|
+
TypeActeLegislatif2["SaisieComFondType"] = "SaisieComFond_Type";
|
|
2077
|
+
TypeActeLegislatif2["SaisineConseilConstitType"] = "SaisineConseilConstit_Type";
|
|
2078
|
+
})(TypeActeLegislatif || (TypeActeLegislatif = {}));
|
|
2079
|
+
var TypeTexte;
|
|
2080
|
+
(function(TypeTexte2) {
|
|
2081
|
+
TypeTexte2["Bta"] = "BTA";
|
|
2082
|
+
TypeTexte2["Tap"] = "TAP";
|
|
2083
|
+
})(TypeTexte || (TypeTexte = {}));
|
|
2084
|
+
var Motif;
|
|
2085
|
+
(function(Motif2) {
|
|
2086
|
+
Motif2["EnApplicationDeLArticle612DeLaConstitution"] = "En application de l'article 61§2 de la Constitution";
|
|
2087
|
+
})(Motif || (Motif = {}));
|
|
2088
|
+
var TypeJo$1;
|
|
2089
|
+
(function(TypeJo2) {
|
|
2090
|
+
TypeJo2["JoLoiDecret"] = "JO_LOI_DECRET";
|
|
2091
|
+
})(TypeJo$1 || (TypeJo$1 = {}));
|
|
2092
|
+
var Cause;
|
|
2093
|
+
(function(Cause2) {
|
|
2094
|
+
Cause2["DossierAbsorbé"] = "Dossier absorbé";
|
|
2095
|
+
Cause2["ExamenCommun"] = "Examen commun";
|
|
2096
|
+
})(Cause || (Cause = {}));
|
|
2097
|
+
var TexteExterneAssocieTypeDoc;
|
|
2098
|
+
(function(TexteExterneAssocieTypeDoc2) {
|
|
2099
|
+
TexteExterneAssocieTypeDoc2["Decret"] = "Décret";
|
|
2100
|
+
})(TexteExterneAssocieTypeDoc || (TexteExterneAssocieTypeDoc = {}));
|
|
2101
|
+
var TypeDocument;
|
|
2102
|
+
(function(TypeDocument2) {
|
|
2103
|
+
TypeDocument2["AccordInternationalType"] = "accordInternational_Type";
|
|
2104
|
+
TypeDocument2["AvisConseilEtatType"] = "avisConseilEtat_Type";
|
|
2105
|
+
TypeDocument2["DocumentEtudeImpactType"] = "documentEtudeImpact_Type";
|
|
2106
|
+
TypeDocument2["RapportParlementaireType"] = "rapportParlementaire_Type";
|
|
2107
|
+
TypeDocument2["TexteLoiType"] = "texteLoi_Type";
|
|
2108
|
+
})(TypeDocument || (TypeDocument = {}));
|
|
2109
|
+
var StatutAdoption;
|
|
2110
|
+
(function(StatutAdoption2) {
|
|
2111
|
+
StatutAdoption2["Adoptcom"] = "ADOPTCOM";
|
|
2112
|
+
StatutAdoption2["Adoptseance"] = "ADOPTSEANCE";
|
|
2113
|
+
StatutAdoption2["Rejetseance"] = "REJETSEANCE";
|
|
2114
|
+
})(StatutAdoption || (StatutAdoption = {}));
|
|
2115
|
+
var TypeCorrection;
|
|
2116
|
+
(function(TypeCorrection2) {
|
|
2117
|
+
TypeCorrection2["Rectifié"] = "Rectifié";
|
|
2118
|
+
})(TypeCorrection || (TypeCorrection = {}));
|
|
2119
|
+
var DocumentDenominationStructurelle;
|
|
2120
|
+
(function(DocumentDenominationStructurelle2) {
|
|
2121
|
+
DocumentDenominationStructurelle2["Allocution"] = "Allocution";
|
|
2122
|
+
DocumentDenominationStructurelle2["Avis"] = "Avis";
|
|
2123
|
+
DocumentDenominationStructurelle2["Déclaration"] = "Déclaration";
|
|
2124
|
+
DocumentDenominationStructurelle2["Lettre"] = "Lettre";
|
|
2125
|
+
DocumentDenominationStructurelle2["Message"] = "Message";
|
|
2126
|
+
DocumentDenominationStructurelle2["Motion"] = "Motion";
|
|
2127
|
+
DocumentDenominationStructurelle2["ProjetDeLoi"] = "Projet de loi";
|
|
2128
|
+
DocumentDenominationStructurelle2["PropositionDeLoi"] = "Proposition de loi";
|
|
2129
|
+
DocumentDenominationStructurelle2["PropositionDeRésolution"] = "Proposition de résolution";
|
|
2130
|
+
DocumentDenominationStructurelle2["Rapport"] = "Rapport";
|
|
2131
|
+
DocumentDenominationStructurelle2["RapportDInformation"] = "Rapport d'information";
|
|
2132
|
+
DocumentDenominationStructurelle2["Résolution"] = "Résolution";
|
|
2133
|
+
})(DocumentDenominationStructurelle || (DocumentDenominationStructurelle = {}));
|
|
2134
|
+
var Provenance;
|
|
2135
|
+
(function(Provenance2) {
|
|
2136
|
+
Provenance2["Commission"] = "Commission";
|
|
2137
|
+
Provenance2["Séance"] = "Séance";
|
|
2138
|
+
Provenance2["TexteDéposé"] = "Texte Déposé";
|
|
2139
|
+
})(Provenance || (Provenance = {}));
|
|
2140
|
+
let Convert$3 = class Convert3 {
|
|
2141
|
+
static toDossiersLegislatifs(json) {
|
|
2142
|
+
return cast$3(JSON.parse(json), r$3("DossiersLegislatifs"));
|
|
2143
|
+
}
|
|
2144
|
+
static dossiersLegislatifsToJson(value) {
|
|
2145
|
+
return JSON.stringify(uncast$3(value, r$3("DossiersLegislatifs")), null, 2);
|
|
2146
|
+
}
|
|
2147
|
+
static toDocument(json) {
|
|
2148
|
+
return cast$3(JSON.parse(json), r$3("Document"));
|
|
2149
|
+
}
|
|
2150
|
+
static documentToJson(value) {
|
|
2151
|
+
return JSON.stringify(uncast$3(value, r$3("Document")), null, 2);
|
|
2152
|
+
}
|
|
2153
|
+
static toDossierParlementaire(json) {
|
|
2154
|
+
return cast$3(JSON.parse(json), r$3("DossierParlementaire"));
|
|
2155
|
+
}
|
|
2156
|
+
static dossierParlementaireToJson(value) {
|
|
2157
|
+
return JSON.stringify(uncast$3(value, r$3("DossierParlementaire")), null, 2);
|
|
2158
|
+
}
|
|
2159
|
+
};
|
|
2160
|
+
function invalidValue$3(typ, val, key = "") {
|
|
2161
|
+
if (key) {
|
|
2162
|
+
throw Error(`Invalid value for key "${key}". Expected type ${JSON.stringify(typ)} but got ${JSON.stringify(val)}`);
|
|
2163
|
+
}
|
|
2164
|
+
throw Error(`Invalid value ${JSON.stringify(val)} for type ${JSON.stringify(typ)}`);
|
|
2165
|
+
}
|
|
2166
|
+
function jsonToJSProps$3(typ) {
|
|
2167
|
+
if (typ.jsonToJS === void 0) {
|
|
2168
|
+
const map = {};
|
|
2169
|
+
typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
|
|
2170
|
+
typ.jsonToJS = map;
|
|
2171
|
+
}
|
|
2172
|
+
return typ.jsonToJS;
|
|
2173
|
+
}
|
|
2174
|
+
function jsToJSONProps$3(typ) {
|
|
2175
|
+
if (typ.jsToJSON === void 0) {
|
|
2176
|
+
const map = {};
|
|
2177
|
+
typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
|
|
2178
|
+
typ.jsToJSON = map;
|
|
2179
|
+
}
|
|
2180
|
+
return typ.jsToJSON;
|
|
2181
|
+
}
|
|
2182
|
+
function transform$3(val, typ, getProps, key = "") {
|
|
2183
|
+
function transformPrimitive(typ2, val2) {
|
|
2184
|
+
if (typeof typ2 === typeof val2)
|
|
2185
|
+
return val2;
|
|
2186
|
+
return invalidValue$3(typ2, val2, key);
|
|
2187
|
+
}
|
|
2188
|
+
function transformUnion(typs, val2) {
|
|
2189
|
+
const l2 = typs.length;
|
|
2190
|
+
for (let i = 0; i < l2; i++) {
|
|
2191
|
+
const typ2 = typs[i];
|
|
2192
|
+
try {
|
|
2193
|
+
return transform$3(val2, typ2, getProps);
|
|
2194
|
+
} catch (_) {
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
return invalidValue$3(typs, val2);
|
|
2198
|
+
}
|
|
2199
|
+
function transformEnum(cases, val2) {
|
|
2200
|
+
if (cases.indexOf(val2) !== -1)
|
|
2201
|
+
return val2;
|
|
2202
|
+
return invalidValue$3(cases, val2);
|
|
2203
|
+
}
|
|
2204
|
+
function transformArray(typ2, val2) {
|
|
2205
|
+
if (!Array.isArray(val2))
|
|
2206
|
+
return invalidValue$3("array", val2);
|
|
2207
|
+
return val2.map((el) => transform$3(el, typ2, getProps));
|
|
2208
|
+
}
|
|
2209
|
+
function transformDate(val2) {
|
|
2210
|
+
if (val2 === null) {
|
|
2211
|
+
return null;
|
|
2212
|
+
}
|
|
2213
|
+
const d = new Date(val2);
|
|
2214
|
+
if (isNaN(d.valueOf())) {
|
|
2215
|
+
return invalidValue$3("Date", val2);
|
|
2216
|
+
}
|
|
2217
|
+
return d;
|
|
2218
|
+
}
|
|
2219
|
+
function transformObject(props, additional, val2) {
|
|
2220
|
+
if (val2 === null || typeof val2 !== "object" || Array.isArray(val2)) {
|
|
2221
|
+
return invalidValue$3("object", val2);
|
|
2222
|
+
}
|
|
2223
|
+
const result = {};
|
|
2224
|
+
Object.getOwnPropertyNames(props).forEach((key2) => {
|
|
2225
|
+
const prop = props[key2];
|
|
2226
|
+
const v = Object.prototype.hasOwnProperty.call(val2, key2) ? val2[key2] : void 0;
|
|
2227
|
+
result[prop.key] = transform$3(v, prop.typ, getProps, prop.key);
|
|
2228
|
+
});
|
|
2229
|
+
Object.getOwnPropertyNames(val2).forEach((key2) => {
|
|
2230
|
+
if (!Object.prototype.hasOwnProperty.call(props, key2)) {
|
|
2231
|
+
result[key2] = transform$3(val2[key2], additional, getProps, key2);
|
|
2232
|
+
}
|
|
2233
|
+
});
|
|
2234
|
+
return result;
|
|
2235
|
+
}
|
|
2236
|
+
if (typ === "any")
|
|
2237
|
+
return val;
|
|
2238
|
+
if (typ === null) {
|
|
2239
|
+
if (val === null)
|
|
2240
|
+
return val;
|
|
2241
|
+
return invalidValue$3(typ, val);
|
|
2242
|
+
}
|
|
2243
|
+
while (typeof typ === "object" && typ.ref !== void 0) {
|
|
2244
|
+
typ = typeMap$3[typ.ref];
|
|
2245
|
+
}
|
|
2246
|
+
if (Array.isArray(typ))
|
|
2247
|
+
return transformEnum(typ, val);
|
|
2248
|
+
if (typeof typ === "object") {
|
|
2249
|
+
return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) : invalidValue$3(typ, val);
|
|
2250
|
+
}
|
|
2251
|
+
if (typ === Date && typeof val !== "number")
|
|
2252
|
+
return transformDate(val);
|
|
2253
|
+
return transformPrimitive(typ, val);
|
|
2254
|
+
}
|
|
2255
|
+
function cast$3(val, typ) {
|
|
2256
|
+
return transform$3(val, typ, jsonToJSProps$3);
|
|
2257
|
+
}
|
|
2258
|
+
function uncast$3(val, typ) {
|
|
2259
|
+
return transform$3(val, typ, jsToJSONProps$3);
|
|
2260
|
+
}
|
|
2261
|
+
function a$3(typ) {
|
|
2262
|
+
return { arrayItems: typ };
|
|
2263
|
+
}
|
|
2264
|
+
function u$3(...typs) {
|
|
2265
|
+
return { unionMembers: typs };
|
|
2266
|
+
}
|
|
2267
|
+
function o$3(props, additional) {
|
|
2268
|
+
return { props, additional };
|
|
2269
|
+
}
|
|
2270
|
+
function r$3(name) {
|
|
2271
|
+
return { ref: name };
|
|
2272
|
+
}
|
|
2273
|
+
const typeMap$3 = {
|
|
2274
|
+
DossiersLegislatifs: o$3([
|
|
2275
|
+
{
|
|
2276
|
+
json: "textesLegislatifs",
|
|
2277
|
+
js: "textesLegislatifs",
|
|
2278
|
+
typ: a$3(r$3("Document"))
|
|
2279
|
+
},
|
|
2280
|
+
{
|
|
2281
|
+
json: "dossiersParlementaires",
|
|
2282
|
+
js: "dossiersParlementaires",
|
|
2283
|
+
typ: a$3(r$3("DossierParlementaire"))
|
|
2284
|
+
}
|
|
2285
|
+
], false),
|
|
2286
|
+
DossierParlementaire: o$3([
|
|
2287
|
+
{ json: "schemaVersion", js: "schemaVersion", typ: u$3(void 0, "") },
|
|
2288
|
+
{
|
|
2289
|
+
json: "xsiType",
|
|
2290
|
+
js: "xsiType",
|
|
2291
|
+
typ: u$3(void 0, r$3("DossierParlementaireXsiType"))
|
|
2292
|
+
},
|
|
2293
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
2294
|
+
{ json: "legislature", js: "legislature", typ: "" },
|
|
2295
|
+
{ json: "titreDossier", js: "titreDossier", typ: r$3("TitreDossier") },
|
|
2296
|
+
{
|
|
2297
|
+
json: "procedureParlementaire",
|
|
2298
|
+
js: "procedureParlementaire",
|
|
2299
|
+
typ: r$3("ProcedureParlementaire")
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
json: "initiateur",
|
|
2303
|
+
js: "initiateur",
|
|
2304
|
+
typ: u$3(void 0, r$3("Initiateur"))
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
json: "actesLegislatifs",
|
|
2308
|
+
js: "actesLegislatifs",
|
|
2309
|
+
typ: u$3(void 0, a$3(r$3("ActeLegislatif")))
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
json: "fusionDossier",
|
|
2313
|
+
js: "fusionDossier",
|
|
2314
|
+
typ: u$3(void 0, r$3("FusionDossier"))
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
json: "indexation",
|
|
2318
|
+
js: "indexation",
|
|
2319
|
+
typ: u$3(void 0, r$3("Indexation"))
|
|
2320
|
+
},
|
|
2321
|
+
{ json: "plf", js: "plf", typ: u$3(void 0, a$3(r$3("EtudePlf"))) }
|
|
2322
|
+
], false),
|
|
2323
|
+
EtudePlf: o$3([
|
|
2324
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
2325
|
+
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
2326
|
+
{ json: "texteAssocie", js: "texteAssocie", typ: u$3(void 0, "") },
|
|
2327
|
+
{
|
|
2328
|
+
json: "rapporteurs",
|
|
2329
|
+
js: "rapporteurs",
|
|
2330
|
+
typ: u$3(void 0, a$3(r$3("Rapporteur")))
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
json: "missionMinefi",
|
|
2334
|
+
js: "missionMinefi",
|
|
2335
|
+
typ: u$3(void 0, r$3("MissionMinefi"))
|
|
2336
|
+
},
|
|
2337
|
+
{ json: "ordreDiqs", js: "ordreDiqs", typ: "" },
|
|
2338
|
+
{ json: "ordreCommission", js: "ordreCommission", typ: "" }
|
|
2339
|
+
], false),
|
|
2340
|
+
MissionMinefi: o$3([
|
|
2341
|
+
{ json: "typeMission", js: "typeMission", typ: r$3("TypeMission") },
|
|
2342
|
+
{ json: "codeMission", js: "codeMission", typ: u$3(void 0, "") },
|
|
2343
|
+
{ json: "libelleLong", js: "libelleLong", typ: "" },
|
|
2344
|
+
{ json: "libelleCourt", js: "libelleCourt", typ: "" },
|
|
2345
|
+
{ json: "typeBudget", js: "typeBudget", typ: r$3("TypeBudget") },
|
|
2346
|
+
{
|
|
2347
|
+
json: "missions",
|
|
2348
|
+
js: "missions",
|
|
2349
|
+
typ: u$3(void 0, a$3(r$3("MissionMinefi")))
|
|
2350
|
+
}
|
|
2351
|
+
], false),
|
|
2352
|
+
ActeLegislatif: o$3([
|
|
2353
|
+
{ json: "xsiType", js: "xsiType", typ: r$3("TypeActeLegislatif") },
|
|
2354
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
2355
|
+
{
|
|
2356
|
+
json: "codeActe",
|
|
2357
|
+
js: "codeActe",
|
|
2358
|
+
typ: r$3("CodeActe")
|
|
2359
|
+
},
|
|
2360
|
+
{ json: "libelleActe", js: "libelleActe", typ: r$3("LibelleActe") },
|
|
2361
|
+
{ json: "organeRef", js: "organeRef", typ: u$3(void 0, "") },
|
|
2362
|
+
{ json: "dateActe", js: "dateActe", typ: u$3(void 0, Date) },
|
|
2363
|
+
{
|
|
2364
|
+
json: "actesLegislatifs",
|
|
2365
|
+
js: "actesLegislatifs",
|
|
2366
|
+
typ: u$3(void 0, a$3(r$3("ActeLegislatif")))
|
|
2367
|
+
},
|
|
2368
|
+
{ json: "anneeDecision", js: "anneeDecision", typ: u$3(void 0, "") },
|
|
2369
|
+
{
|
|
2370
|
+
json: "auteurMotion",
|
|
2371
|
+
js: "auteurMotion",
|
|
2372
|
+
typ: u$3(void 0, "")
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
json: "auteursRefs",
|
|
2376
|
+
js: "auteursRefs",
|
|
2377
|
+
typ: u$3(void 0, a$3(""))
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
json: "casSaisine",
|
|
2381
|
+
js: "casSaisine",
|
|
2382
|
+
typ: u$3(void 0, r$3("TypeDeclaration"))
|
|
2383
|
+
},
|
|
2384
|
+
{ json: "codeLoi", js: "codeLoi", typ: u$3(void 0, "") },
|
|
2385
|
+
{
|
|
2386
|
+
json: "contributionInternaute",
|
|
2387
|
+
js: "contributionInternaute",
|
|
2388
|
+
typ: u$3(void 0, r$3("ContributionInternaute"))
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
json: "decision",
|
|
2392
|
+
js: "decision",
|
|
2393
|
+
typ: u$3(void 0, r$3("TypeDeclaration"))
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
json: "depotInitialLectureDefinitiveRef",
|
|
2397
|
+
js: "depotInitialLectureDefinitiveRef",
|
|
2398
|
+
typ: u$3(void 0, "")
|
|
2399
|
+
},
|
|
2400
|
+
{ json: "formuleDecision", js: "formuleDecision", typ: u$3(void 0, "") },
|
|
2401
|
+
{ json: "infoJo", js: "infoJo", typ: u$3(void 0, r$3("InfoJo")) },
|
|
2402
|
+
{ json: "infoJoce", js: "infoJoce", typ: u$3(void 0, r$3("InfoJoce")) },
|
|
2403
|
+
{
|
|
2404
|
+
json: "infoJoRect",
|
|
2405
|
+
js: "infoJoRect",
|
|
2406
|
+
typ: u$3(void 0, a$3(r$3("InfoJo")))
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
json: "initiateur",
|
|
2410
|
+
js: "initiateur",
|
|
2411
|
+
typ: u$3(void 0, r$3("Initiateur"))
|
|
2412
|
+
},
|
|
2413
|
+
{ json: "motif", js: "motif", typ: u$3(void 0, r$3("Motif")) },
|
|
2414
|
+
{ json: "numDecision", js: "numDecision", typ: u$3(void 0, "") },
|
|
2415
|
+
{ json: "odjRef", js: "odjRef", typ: u$3(void 0, "") },
|
|
2416
|
+
{ json: "provenanceRef", js: "provenanceRef", typ: u$3(void 0, "") },
|
|
2417
|
+
{
|
|
2418
|
+
json: "rapporteurs",
|
|
2419
|
+
js: "rapporteurs",
|
|
2420
|
+
typ: u$3(void 0, a$3(r$3("Rapporteur")))
|
|
2421
|
+
},
|
|
2422
|
+
{ json: "referenceNor", js: "referenceNor", typ: u$3(void 0, "") },
|
|
2423
|
+
{ json: "reunionRef", js: "reunionRef", typ: u$3(void 0, "") },
|
|
2424
|
+
{
|
|
2425
|
+
json: "statutAdoption",
|
|
2426
|
+
js: "statutAdoption",
|
|
2427
|
+
typ: u$3(void 0, r$3("TypeDeclaration"))
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
json: "statutConclusion",
|
|
2431
|
+
js: "statutConclusion",
|
|
2432
|
+
typ: u$3(void 0, r$3("TypeDeclaration"))
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
json: "texteAdopteRef",
|
|
2436
|
+
js: "texteAdopteRef",
|
|
2437
|
+
typ: u$3(void 0, "")
|
|
2438
|
+
},
|
|
2439
|
+
{ json: "texteAssocieRef", js: "texteAssocieRef", typ: u$3(void 0, "") },
|
|
2440
|
+
{
|
|
2441
|
+
json: "texteEuropeen",
|
|
2442
|
+
js: "texteEuropeen",
|
|
2443
|
+
typ: u$3(void 0, r$3("TexteEuropeen"))
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
json: "texteExterneAssocie",
|
|
2447
|
+
js: "texteExterneAssocie",
|
|
2448
|
+
typ: u$3(void 0, r$3("TexteExterneAssocie"))
|
|
2449
|
+
},
|
|
2450
|
+
{ json: "texteLoiRef", js: "texteLoiRef", typ: u$3(void 0, "") },
|
|
2451
|
+
{
|
|
2452
|
+
json: "textesAssocies",
|
|
2453
|
+
js: "textesAssocies",
|
|
2454
|
+
typ: u$3(void 0, a$3(r$3("TexteAssocie")))
|
|
2455
|
+
},
|
|
2456
|
+
{ json: "titreLoi", js: "titreLoi", typ: u$3(void 0, "") },
|
|
2457
|
+
{
|
|
2458
|
+
json: "typeDeclaration",
|
|
2459
|
+
js: "typeDeclaration",
|
|
2460
|
+
typ: u$3(void 0, r$3("TypeDeclaration"))
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
json: "typeMotion",
|
|
2464
|
+
js: "typeMotion",
|
|
2465
|
+
typ: u$3(void 0, r$3("TypeDeclaration"))
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
json: "typeMotionCensure",
|
|
2469
|
+
js: "typeMotionCensure",
|
|
2470
|
+
typ: u$3(void 0, r$3("TypeDeclaration"))
|
|
2471
|
+
},
|
|
2472
|
+
{ json: "urlConclusion", js: "urlConclusion", typ: u$3(void 0, "") },
|
|
2473
|
+
{
|
|
2474
|
+
json: "urlEcheancierLoi",
|
|
2475
|
+
js: "urlEcheancierLoi",
|
|
2476
|
+
typ: u$3(void 0, "")
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
json: "urlLegifrance",
|
|
2480
|
+
js: "urlLegifrance",
|
|
2481
|
+
typ: u$3(void 0, "")
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
json: "voteRefs",
|
|
2485
|
+
js: "voteRefs",
|
|
2486
|
+
typ: u$3(void 0, a$3(""))
|
|
2487
|
+
}
|
|
2488
|
+
], false),
|
|
2489
|
+
LibelleActe: o$3([
|
|
2490
|
+
{ json: "nomCanonique", js: "nomCanonique", typ: "" },
|
|
2491
|
+
{ json: "libelleCourt", js: "libelleCourt", typ: u$3(void 0, "") }
|
|
2492
|
+
], false),
|
|
2493
|
+
Rapporteur: o$3([
|
|
2494
|
+
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
2495
|
+
{ json: "typeRapporteur", js: "typeRapporteur", typ: r$3("Qualite") },
|
|
2496
|
+
{ json: "etudePlfRef", js: "etudePlfRef", typ: u$3(void 0, "") }
|
|
2497
|
+
], false),
|
|
2498
|
+
TypeDeclaration: o$3([
|
|
2499
|
+
{ json: "famCode", js: "famCode", typ: "" },
|
|
2500
|
+
{ json: "libelle", js: "libelle", typ: "" }
|
|
2501
|
+
], false),
|
|
2502
|
+
TexteAssocie: o$3([
|
|
2503
|
+
{ json: "typeTexte", js: "typeTexte", typ: r$3("TypeTexte") },
|
|
2504
|
+
{ json: "texteAssocieRef", js: "texteAssocieRef", typ: "" }
|
|
2505
|
+
], false),
|
|
2506
|
+
ContributionInternaute: o$3([
|
|
2507
|
+
{ json: "dateOuverture", js: "dateOuverture", typ: u$3(void 0, "") },
|
|
2508
|
+
{ json: "dateFermeture", js: "dateFermeture", typ: u$3(void 0, "") }
|
|
2509
|
+
], false),
|
|
2510
|
+
InfoJoce: o$3([
|
|
2511
|
+
{ json: "refJoce", js: "refJoce", typ: "" },
|
|
2512
|
+
{ json: "dateJoce", js: "dateJoce", typ: "" }
|
|
2513
|
+
], false),
|
|
2514
|
+
InitiateurActeur: o$3([
|
|
2515
|
+
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
2516
|
+
{ json: "mandatRef", js: "mandatRef", typ: u$3(void 0, "") }
|
|
2517
|
+
], false),
|
|
2518
|
+
TexteEuropeen: o$3([
|
|
2519
|
+
{ json: "typeTexteEuropeen", js: "typeTexteEuropeen", typ: "" },
|
|
2520
|
+
{ json: "titreTexteEuropeen", js: "titreTexteEuropeen", typ: "" }
|
|
2521
|
+
], false),
|
|
2522
|
+
InfoJo: o$3([
|
|
2523
|
+
{ json: "typeJo", js: "typeJo", typ: r$3("TypeJo") },
|
|
2524
|
+
{ json: "dateJo", js: "dateJo", typ: "" },
|
|
2525
|
+
{ json: "numJo", js: "numJo", typ: "" },
|
|
2526
|
+
{ json: "urlLegifrance", js: "urlLegifrance", typ: u$3(void 0, "") },
|
|
2527
|
+
{ json: "referenceNor", js: "referenceNor", typ: u$3(void 0, "") }
|
|
2528
|
+
], false),
|
|
2529
|
+
FusionDossier: o$3([
|
|
2530
|
+
{ json: "cause", js: "cause", typ: r$3("Cause") },
|
|
2531
|
+
{ json: "dossierAbsorbantRef", js: "dossierAbsorbantRef", typ: "" }
|
|
2532
|
+
], false),
|
|
2533
|
+
Indexation: o$3([{ json: "themes", js: "themes", typ: r$3("Themes") }], false),
|
|
2534
|
+
Themes: o$3([
|
|
2535
|
+
{ json: "@niveau", js: "@niveau", typ: "" },
|
|
2536
|
+
{ json: "theme", js: "theme", typ: r$3("Theme") }
|
|
2537
|
+
], false),
|
|
2538
|
+
Theme: o$3([{ json: "libelleTheme", js: "libelleTheme", typ: "" }], false),
|
|
2539
|
+
Initiateur: o$3([
|
|
2540
|
+
{
|
|
2541
|
+
json: "acteurs",
|
|
2542
|
+
js: "acteurs",
|
|
2543
|
+
typ: u$3(void 0, a$3(r$3("InitiateurActeur")))
|
|
2544
|
+
},
|
|
2545
|
+
{ json: "organeRef", js: "organeRef", typ: u$3(void 0, "") }
|
|
2546
|
+
], false),
|
|
2547
|
+
ProcedureParlementaire: o$3([
|
|
2548
|
+
{ json: "code", js: "code", typ: "" },
|
|
2549
|
+
{ json: "libelle", js: "libelle", typ: "" }
|
|
2550
|
+
], false),
|
|
2551
|
+
TitreDossier: o$3([
|
|
2552
|
+
{ json: "titre", js: "titre", typ: "" },
|
|
2553
|
+
{ json: "titreChemin", js: "titreChemin", typ: u$3(void 0, "") },
|
|
2554
|
+
{ json: "senatChemin", js: "senatChemin", typ: u$3(void 0, "") }
|
|
2555
|
+
], false),
|
|
2556
|
+
TexteExterneAssocie: o$3([
|
|
2557
|
+
{ json: "typeDoc", js: "typeDoc", typ: r$3("TexteExterneAssocieTypeDoc") },
|
|
2558
|
+
{ json: "texteRef", js: "texteRef", typ: "" },
|
|
2559
|
+
{ json: "titreDoc", js: "titreDoc", typ: "" },
|
|
2560
|
+
{ json: "urlDoc", js: "urlDoc", typ: "" }
|
|
2561
|
+
], false),
|
|
2562
|
+
Document: o$3([
|
|
2563
|
+
{ json: "schemaVersion", js: "schemaVersion", typ: u$3(void 0, "") },
|
|
2564
|
+
{ json: "xsiType", js: "xsiType", typ: r$3("TypeDocument") },
|
|
2565
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
2566
|
+
{ json: "legislature", js: "legislature", typ: u$3(void 0, "") },
|
|
2567
|
+
{ json: "cycleDeVie", js: "cycleDeVie", typ: r$3("CycleDeVieDocument") },
|
|
2568
|
+
{
|
|
2569
|
+
json: "denominationStructurelle",
|
|
2570
|
+
js: "denominationStructurelle",
|
|
2571
|
+
typ: r$3("DocumentDenominationStructurelle")
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
json: "provenance",
|
|
2575
|
+
js: "provenance",
|
|
2576
|
+
typ: u$3(void 0, r$3("Provenance"))
|
|
2577
|
+
},
|
|
2578
|
+
{ json: "titres", js: "titres", typ: r$3("Titres") },
|
|
2579
|
+
{
|
|
2580
|
+
json: "divisions",
|
|
2581
|
+
js: "divisions",
|
|
2582
|
+
typ: u$3(void 0, a$3(r$3("Division")))
|
|
2583
|
+
},
|
|
2584
|
+
{ json: "dossierRef", js: "dossierRef", typ: "" },
|
|
2585
|
+
{
|
|
2586
|
+
json: "classification",
|
|
2587
|
+
js: "classification",
|
|
2588
|
+
typ: r$3("Classification")
|
|
2589
|
+
},
|
|
2590
|
+
{ json: "auteurs", js: "auteurs", typ: a$3(r$3("Auteur")) },
|
|
2591
|
+
{
|
|
2592
|
+
json: "correction",
|
|
2593
|
+
js: "correction",
|
|
2594
|
+
typ: u$3(void 0, r$3("Correction"))
|
|
2595
|
+
},
|
|
2596
|
+
{ json: "notice", js: "notice", typ: r$3("Notice") },
|
|
2597
|
+
{
|
|
2598
|
+
json: "indexation",
|
|
2599
|
+
js: "indexation",
|
|
2600
|
+
typ: u$3(void 0, r$3("Indexation"))
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
json: "imprimerie",
|
|
2604
|
+
js: "imprimerie",
|
|
2605
|
+
typ: u$3(void 0, r$3("Imprimerie"))
|
|
2606
|
+
},
|
|
2607
|
+
{
|
|
2608
|
+
json: "coSignataires",
|
|
2609
|
+
js: "coSignataires",
|
|
2610
|
+
typ: u$3(void 0, a$3(r$3("CoSignataireElement")))
|
|
2611
|
+
},
|
|
2612
|
+
{
|
|
2613
|
+
json: "depotAmendements",
|
|
2614
|
+
js: "depotAmendements",
|
|
2615
|
+
typ: u$3(void 0, r$3("DepotAmendements"))
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
json: "organesReferents",
|
|
2619
|
+
js: "organesReferents",
|
|
2620
|
+
typ: u$3(void 0, a$3(""))
|
|
2621
|
+
},
|
|
2622
|
+
{ json: "rapportPublie", js: "rapportPublie", typ: u$3(void 0, false) },
|
|
2623
|
+
{
|
|
2624
|
+
json: "subdivisions",
|
|
2625
|
+
js: "subdivisions",
|
|
2626
|
+
typ: u$3(null, u$3(void 0, a$3(r$3("Subdivision"))))
|
|
2627
|
+
}
|
|
2628
|
+
], false),
|
|
2629
|
+
Subdivision: o$3([
|
|
2630
|
+
{ json: "id", js: "id", typ: "" },
|
|
2631
|
+
{ json: "type", js: "type", typ: u$3(void 0, "") },
|
|
2632
|
+
{ json: "niveau", js: "niveau", typ: 0 },
|
|
2633
|
+
{ json: "niveauRelatif", js: "niveauRelatif", typ: 0 },
|
|
2634
|
+
{
|
|
2635
|
+
json: "titres",
|
|
2636
|
+
js: "titres",
|
|
2637
|
+
typ: u$3(null, a$3(r$3("ContenuSubdivision")))
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
json: "alineas",
|
|
2641
|
+
js: "alineas",
|
|
2642
|
+
typ: u$3(null, a$3(r$3("ContenuSubdivision")))
|
|
2643
|
+
}
|
|
2644
|
+
], false),
|
|
2645
|
+
ContenuSubdivision: o$3([
|
|
2646
|
+
{ json: "texte", js: "texte", typ: u$3(void 0, "") },
|
|
2647
|
+
{ json: "html", js: "html", typ: u$3(void 0, "") }
|
|
2648
|
+
], false),
|
|
2649
|
+
Auteur: o$3([
|
|
2650
|
+
{ json: "acteur", js: "acteur", typ: u$3(void 0, r$3("AuteurActeur")) },
|
|
2651
|
+
{
|
|
2652
|
+
json: "organeRef",
|
|
2653
|
+
js: "organeRef",
|
|
2654
|
+
typ: u$3(void 0, "")
|
|
2655
|
+
}
|
|
2656
|
+
], false),
|
|
2657
|
+
AuteurActeur: o$3([
|
|
2658
|
+
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
2659
|
+
{ json: "qualite", js: "qualite", typ: r$3("Qualite") }
|
|
2660
|
+
], false),
|
|
2661
|
+
Classification: o$3([
|
|
2662
|
+
{ json: "famille", js: "famille", typ: u$3(void 0, r$3("Famille")) },
|
|
2663
|
+
{ json: "type", js: "type", typ: r$3("ProcedureParlementaire") },
|
|
2664
|
+
{ json: "sousType", js: "sousType", typ: u$3(void 0, r$3("SousType")) },
|
|
2665
|
+
{
|
|
2666
|
+
json: "statutAdoption",
|
|
2667
|
+
js: "statutAdoption",
|
|
2668
|
+
typ: u$3(void 0, r$3("StatutAdoption"))
|
|
2669
|
+
}
|
|
2670
|
+
], false),
|
|
2671
|
+
Famille: o$3([
|
|
2672
|
+
{ json: "depot", js: "depot", typ: r$3("ProcedureParlementaire") },
|
|
2673
|
+
{ json: "classe", js: "classe", typ: r$3("ProcedureParlementaire") },
|
|
2674
|
+
{
|
|
2675
|
+
json: "espece",
|
|
2676
|
+
js: "espece",
|
|
2677
|
+
typ: u$3(void 0, r$3("ProcedureParlementaire"))
|
|
2678
|
+
}
|
|
2679
|
+
], false),
|
|
2680
|
+
SousType: o$3([
|
|
2681
|
+
{ json: "code", js: "code", typ: "" },
|
|
2682
|
+
{ json: "libelle", js: "libelle", typ: u$3(void 0, "") },
|
|
2683
|
+
{ json: "libelleEdition", js: "libelleEdition", typ: u$3(void 0, "") }
|
|
2684
|
+
], false),
|
|
2685
|
+
CoSignataireElement: o$3([
|
|
2686
|
+
{
|
|
2687
|
+
json: "acteurRef",
|
|
2688
|
+
js: "acteurRef",
|
|
2689
|
+
typ: u$3(void 0, "")
|
|
2690
|
+
},
|
|
2691
|
+
{ json: "dateCosignature", js: "dateCosignature", typ: "" },
|
|
2692
|
+
{
|
|
2693
|
+
json: "dateRetraitCosignature",
|
|
2694
|
+
js: "dateRetraitCosignature",
|
|
2695
|
+
typ: u$3(void 0, "")
|
|
2696
|
+
},
|
|
2697
|
+
{ json: "edite", js: "edite", typ: false },
|
|
2698
|
+
{
|
|
2699
|
+
json: "organe",
|
|
2700
|
+
js: "organe",
|
|
2701
|
+
typ: u$3(void 0, r$3("CoSignataireOrgane"))
|
|
2702
|
+
}
|
|
2703
|
+
], false),
|
|
2704
|
+
CoSignataireOrgane: o$3([
|
|
2705
|
+
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
2706
|
+
{ json: "etApparentes", js: "etApparentes", typ: false }
|
|
2707
|
+
], false),
|
|
2708
|
+
Correction: o$3([
|
|
2709
|
+
{
|
|
2710
|
+
json: "typeCorrection",
|
|
2711
|
+
js: "typeCorrection",
|
|
2712
|
+
typ: r$3("TypeCorrection")
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
json: "niveauCorrection",
|
|
2716
|
+
js: "niveauCorrection",
|
|
2717
|
+
typ: u$3(void 0, "")
|
|
2718
|
+
}
|
|
2719
|
+
], false),
|
|
2720
|
+
CycleDeVieDocument: o$3([{ json: "chrono", js: "chrono", typ: r$3("ChronoDocument") }], false),
|
|
2721
|
+
ChronoDocument: o$3([
|
|
2722
|
+
{ json: "dateCreation", js: "dateCreation", typ: u$3(void 0, Date) },
|
|
2723
|
+
{ json: "dateDepot", js: "dateDepot", typ: u$3(void 0, Date) },
|
|
2724
|
+
{
|
|
2725
|
+
json: "datePublication",
|
|
2726
|
+
js: "datePublication",
|
|
2727
|
+
typ: u$3(void 0, Date)
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
json: "datePublicationWeb",
|
|
2731
|
+
js: "datePublicationWeb",
|
|
2732
|
+
typ: u$3(void 0, Date)
|
|
2733
|
+
}
|
|
2734
|
+
], false),
|
|
2735
|
+
DepotAmendements: o$3([
|
|
2736
|
+
{
|
|
2737
|
+
json: "amendementsSeance",
|
|
2738
|
+
js: "amendementsSeance",
|
|
2739
|
+
typ: r$3("AmendementsSeance")
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
json: "amendementsCommission",
|
|
2743
|
+
js: "amendementsCommission",
|
|
2744
|
+
typ: u$3(void 0, a$3(r$3("AmendementsCommission")))
|
|
2745
|
+
}
|
|
2746
|
+
], false),
|
|
2747
|
+
AmendementsCommission: o$3([
|
|
2748
|
+
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
2749
|
+
{ json: "amendable", js: "amendable", typ: false }
|
|
2750
|
+
], false),
|
|
2751
|
+
AmendementsSeance: o$3([{ json: "amendable", js: "amendable", typ: false }], false),
|
|
2752
|
+
Division: o$3([
|
|
2753
|
+
{ json: "xsiType", js: "xsiType", typ: r$3("TypeDocument") },
|
|
2754
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
2755
|
+
{ json: "legislature", js: "legislature", typ: u$3(void 0, "") },
|
|
2756
|
+
{ json: "cycleDeVie", js: "cycleDeVie", typ: r$3("CycleDeVieDocument") },
|
|
2757
|
+
{
|
|
2758
|
+
json: "denominationStructurelle",
|
|
2759
|
+
js: "denominationStructurelle",
|
|
2760
|
+
typ: ""
|
|
2761
|
+
},
|
|
2762
|
+
{ json: "titres", js: "titres", typ: r$3("Titres") },
|
|
2763
|
+
{
|
|
2764
|
+
json: "divisions",
|
|
2765
|
+
js: "divisions",
|
|
2766
|
+
typ: u$3(void 0, a$3(r$3("Division")))
|
|
2767
|
+
},
|
|
2768
|
+
{ json: "dossierRef", js: "dossierRef", typ: "" },
|
|
2769
|
+
{
|
|
2770
|
+
json: "classification",
|
|
2771
|
+
js: "classification",
|
|
2772
|
+
typ: r$3("Classification")
|
|
2773
|
+
},
|
|
2774
|
+
{ json: "auteurs", js: "auteurs", typ: a$3(r$3("Auteur")) },
|
|
2775
|
+
{
|
|
2776
|
+
json: "organesReferents",
|
|
2777
|
+
js: "organesReferents",
|
|
2778
|
+
typ: u$3(void 0, a$3(""))
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
json: "correction",
|
|
2782
|
+
js: "correction",
|
|
2783
|
+
typ: u$3(void 0, r$3("Correction"))
|
|
2784
|
+
},
|
|
2785
|
+
{ json: "notice", js: "notice", typ: r$3("Notice") },
|
|
2786
|
+
{
|
|
2787
|
+
json: "indexation",
|
|
2788
|
+
js: "indexation",
|
|
2789
|
+
typ: u$3(void 0, r$3("Indexation"))
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
json: "imprimerie",
|
|
2793
|
+
js: "imprimerie",
|
|
2794
|
+
typ: u$3(void 0, r$3("Imprimerie"))
|
|
2795
|
+
},
|
|
2796
|
+
{ json: "rapportPublie", js: "rapportPublie", typ: u$3(void 0, false) }
|
|
2797
|
+
], false),
|
|
2798
|
+
Imprimerie: o$3([
|
|
2799
|
+
{ json: "dian", js: "dian", typ: u$3(void 0, "") },
|
|
2800
|
+
{ json: "isbn", js: "isbn", typ: u$3(void 0, "") },
|
|
2801
|
+
{ json: "nbPage", js: "nbPage", typ: u$3(void 0, "") },
|
|
2802
|
+
{ json: "prix", js: "prix", typ: u$3(void 0, "") }
|
|
2803
|
+
], false),
|
|
2804
|
+
Notice: o$3([
|
|
2805
|
+
{ json: "numNotice", js: "numNotice", typ: u$3(void 0, "") },
|
|
2806
|
+
{ json: "formule", js: "formule", typ: u$3(void 0, "") },
|
|
2807
|
+
{ json: "adoptionConforme", js: "adoptionConforme", typ: false }
|
|
2808
|
+
], false),
|
|
2809
|
+
Titres: o$3([
|
|
2810
|
+
{ json: "titrePrincipal", js: "titrePrincipal", typ: "" },
|
|
2811
|
+
{ json: "titrePrincipalCourt", js: "titrePrincipalCourt", typ: "" }
|
|
2812
|
+
], false),
|
|
2813
|
+
DossierParlementaireXsiType: [
|
|
2814
|
+
"DossierCommissionEnquete_Type",
|
|
2815
|
+
"DossierIniativeExecutif_Type",
|
|
2816
|
+
"DossierLegislatif_Type",
|
|
2817
|
+
"DossierMissionControle_Type",
|
|
2818
|
+
"DossierMissionInformation_Type",
|
|
2819
|
+
"DossierResolutionAN"
|
|
2820
|
+
],
|
|
2821
|
+
TypeBudget: [
|
|
2822
|
+
"Budget annexe",
|
|
2823
|
+
"Budget général",
|
|
2824
|
+
"Compte de concours financier",
|
|
2825
|
+
"Compte spécial",
|
|
2826
|
+
"Première partie"
|
|
2827
|
+
],
|
|
2828
|
+
TypeMission: [
|
|
2829
|
+
"mission principale",
|
|
2830
|
+
"mission secondaire",
|
|
2831
|
+
"partie de mission"
|
|
2832
|
+
],
|
|
2833
|
+
Qualite: [
|
|
2834
|
+
"auteur",
|
|
2835
|
+
"cosignataire",
|
|
2836
|
+
"rapporteur",
|
|
2837
|
+
"rapporteur général",
|
|
2838
|
+
"rapporteur pour avis",
|
|
2839
|
+
"rapporteur spécial"
|
|
2840
|
+
],
|
|
2841
|
+
TypeActeLegislatif: [
|
|
2842
|
+
"Adoption_Europe_Type",
|
|
2843
|
+
"ConclusionEtapeCC_Type",
|
|
2844
|
+
"ConvocationCongres_Type",
|
|
2845
|
+
"CreationOrganeTemporaire_Type",
|
|
2846
|
+
"DecisionMotionCensure_Type",
|
|
2847
|
+
"DecisionRecevabiliteBureau_Type",
|
|
2848
|
+
"Decision_Type",
|
|
2849
|
+
"DeclarationGouvernement_Type",
|
|
2850
|
+
"DepotAccordInternational_Type",
|
|
2851
|
+
"DepotAvisConseilEtat_Type",
|
|
2852
|
+
"DepotInitiativeNavette_Type",
|
|
2853
|
+
"DepotInitiative_Type",
|
|
2854
|
+
"DepotLettreRectificative_Type",
|
|
2855
|
+
"DepotMotionCensure_Type",
|
|
2856
|
+
"DepotMotionReferendaire_Type",
|
|
2857
|
+
"DepotRapport_Type",
|
|
2858
|
+
"DiscussionCommission_Type",
|
|
2859
|
+
"DiscussionSeancePublique_Type",
|
|
2860
|
+
"Etape_Type",
|
|
2861
|
+
"EtudeImpact_Type",
|
|
2862
|
+
"MotionProcedure_Type",
|
|
2863
|
+
"NominRapporteurs_Type",
|
|
2864
|
+
"ProcedureAccelere_Type",
|
|
2865
|
+
"Promulgation_Type",
|
|
2866
|
+
"RenvoiCMP_Type",
|
|
2867
|
+
"RenvoiPrealable_Type",
|
|
2868
|
+
"RetraitInitiative_Type",
|
|
2869
|
+
"SaisieComAvis_Type",
|
|
2870
|
+
"SaisieComFond_Type",
|
|
2871
|
+
"SaisineConseilConstit_Type"
|
|
2872
|
+
],
|
|
2873
|
+
CodeActe: Object.values(CodeActe),
|
|
2874
|
+
TypeTexte: ["BTA", "TAP"],
|
|
2875
|
+
Motif: ["En application de l'article 61§2 de la Constitution"],
|
|
2876
|
+
TypeJo: ["JO_LOI_DECRET"],
|
|
2877
|
+
Cause: ["Dossier absorbé", "Examen commun"],
|
|
2878
|
+
TexteExterneAssocieTypeDoc: ["Décret"],
|
|
2879
|
+
TypeDocument: [
|
|
2880
|
+
"accordInternational_Type",
|
|
2881
|
+
"avisConseilEtat_Type",
|
|
2882
|
+
"documentEtudeImpact_Type",
|
|
2883
|
+
"rapportParlementaire_Type",
|
|
2884
|
+
"texteLoi_Type"
|
|
2885
|
+
],
|
|
2886
|
+
StatutAdoption: ["ADOPTCOM", "ADOPTSEANCE", "REJETSEANCE"],
|
|
2887
|
+
TypeCorrection: ["Rectifié"],
|
|
2888
|
+
DocumentDenominationStructurelle: [
|
|
2889
|
+
"Allocution",
|
|
2890
|
+
"Avis",
|
|
2891
|
+
"Déclaration",
|
|
2892
|
+
"Lettre",
|
|
2893
|
+
"Message",
|
|
2894
|
+
"Motion",
|
|
2895
|
+
"Projet de loi",
|
|
2896
|
+
"Proposition de loi",
|
|
2897
|
+
"Proposition de résolution",
|
|
2898
|
+
"Rapport",
|
|
2899
|
+
"Rapport d'information",
|
|
2900
|
+
"Résolution"
|
|
2901
|
+
],
|
|
2902
|
+
Provenance: ["Commission", "Séance", "Texte Déposé"]
|
|
2903
|
+
};
|
|
2904
|
+
var ModePublicationDesVotes;
|
|
2905
|
+
(function(ModePublicationDesVotes2) {
|
|
2906
|
+
ModePublicationDesVotes2["DecompteDissidentsPositionGroupe"] = "DecompteDissidentsPositionGroupe";
|
|
2907
|
+
ModePublicationDesVotes2["DecompteNominatif"] = "DecompteNominatif";
|
|
2908
|
+
})(ModePublicationDesVotes || (ModePublicationDesVotes = {}));
|
|
2909
|
+
var Code;
|
|
2910
|
+
(function(Code2) {
|
|
2911
|
+
Code2["Adopté"] = "adopté";
|
|
2912
|
+
Code2["Rejeté"] = "rejeté";
|
|
2913
|
+
})(Code || (Code = {}));
|
|
2914
|
+
var Libelle;
|
|
2915
|
+
(function(Libelle2) {
|
|
2916
|
+
Libelle2["LAssembléeNationaleAAdopté"] = "l'Assemblée nationale a adopté";
|
|
2917
|
+
Libelle2["LAssembléeNationaleNAPasAdopté"] = "L'Assemblée nationale n'a pas adopté";
|
|
2918
|
+
Libelle2["LeCongrèsDuParlementAAdopté"] = "Le Congrès du Parlement a adopté";
|
|
2919
|
+
Libelle2["LeCongrèsDuParlementNAPasAdopté"] = "Le Congrès du Parlement n'a pas adopté";
|
|
2920
|
+
})(Libelle || (Libelle = {}));
|
|
2921
|
+
var CodeTypeVote;
|
|
2922
|
+
(function(CodeTypeVote2) {
|
|
2923
|
+
CodeTypeVote2["Moc"] = "MOC";
|
|
2924
|
+
CodeTypeVote2["Sat"] = "SAT";
|
|
2925
|
+
CodeTypeVote2["Spo"] = "SPO";
|
|
2926
|
+
CodeTypeVote2["Sps"] = "SPS";
|
|
2927
|
+
CodeTypeVote2["Ssg"] = "SSG";
|
|
2928
|
+
})(CodeTypeVote || (CodeTypeVote = {}));
|
|
2929
|
+
var LibelleTypeVote;
|
|
2930
|
+
(function(LibelleTypeVote2) {
|
|
2931
|
+
LibelleTypeVote2["MotionDeCensure"] = "motion de censure";
|
|
2932
|
+
LibelleTypeVote2["ScrutinPublicOrdinaire"] = "scrutin public ordinaire";
|
|
2933
|
+
LibelleTypeVote2["ScrutinPublicSolennel"] = "scrutin public solennel";
|
|
2934
|
+
LibelleTypeVote2["ScrutinÀLaTribune"] = "scrutin à la tribune";
|
|
2935
|
+
LibelleTypeVote2["ScrutinSolennelCongrès"] = "Scrutin solennel congrès";
|
|
2936
|
+
})(LibelleTypeVote || (LibelleTypeVote = {}));
|
|
2937
|
+
var TypeMajorite;
|
|
2938
|
+
(function(TypeMajorite2) {
|
|
2939
|
+
TypeMajorite2["MajoritéAbsolueDesSuffragesExprimés"] = "Majorité absolue des suffrages exprimés";
|
|
2940
|
+
TypeMajorite2["majoritéAbsolueDesSuffragesExprimés"] = "majorité absolue des suffrages exprimés";
|
|
2941
|
+
TypeMajorite2["majoritéDesMembresComposantLAssembléeNationale"] = "majorité des membres composant l'Assemblée nationale";
|
|
2942
|
+
TypeMajorite2["majoritéDesMembresComposantsComposantLAssemblée"] = "majorité des membres composants composant l'Assemblée";
|
|
2943
|
+
TypeMajorite2["majoritéDesMembresComposantsComposantLAssembléeNationale"] = "majorité des membres composants composant l'Assemblée nationale";
|
|
2944
|
+
TypeMajorite2["MajoritéRequisePourUnCongrès"] = "Majorité requise pour un Congrès";
|
|
2945
|
+
TypeMajorite2["MajoritéRequisePourUneMotionDeCensure"] = "Majorité requise pour une motion de censure";
|
|
2946
|
+
})(TypeMajorite || (TypeMajorite = {}));
|
|
2947
|
+
var CausePositionVote;
|
|
2948
|
+
(function(CausePositionVote2) {
|
|
2949
|
+
CausePositionVote2["Mg"] = "MG";
|
|
2950
|
+
CausePositionVote2["Pan"] = "PAN";
|
|
2951
|
+
CausePositionVote2["Pse"] = "PSE";
|
|
2952
|
+
})(CausePositionVote || (CausePositionVote = {}));
|
|
2953
|
+
var PositionMajoritaire;
|
|
2954
|
+
(function(PositionMajoritaire2) {
|
|
2955
|
+
PositionMajoritaire2["Abstention"] = "abstention";
|
|
2956
|
+
PositionMajoritaire2["Contre"] = "contre";
|
|
2957
|
+
PositionMajoritaire2["Pour"] = "pour";
|
|
2958
|
+
})(PositionMajoritaire || (PositionMajoritaire = {}));
|
|
2959
|
+
var LieuVote;
|
|
2960
|
+
(function(LieuVote2) {
|
|
2961
|
+
LieuVote2["Congrès"] = "Congrès";
|
|
2962
|
+
LieuVote2["Hémicycle"] = "Hémicycle";
|
|
2963
|
+
LieuVote2["Salons"] = "Salons";
|
|
2964
|
+
})(LieuVote || (LieuVote = {}));
|
|
2965
|
+
let Convert$2 = class Convert4 {
|
|
2966
|
+
static toScrutins(json) {
|
|
2967
|
+
return cast$2(JSON.parse(json), r$2("Scrutins"));
|
|
2968
|
+
}
|
|
2969
|
+
static scrutinsToJson(value) {
|
|
2970
|
+
return JSON.stringify(uncast$2(value, r$2("Scrutins")), null, 2);
|
|
2971
|
+
}
|
|
2972
|
+
static toScrutin(json) {
|
|
2973
|
+
return cast$2(JSON.parse(json), r$2("Scrutin"));
|
|
2974
|
+
}
|
|
2975
|
+
static scrutinToJson(value) {
|
|
2976
|
+
return JSON.stringify(uncast$2(value, r$2("Scrutin")), null, 2);
|
|
2977
|
+
}
|
|
2978
|
+
};
|
|
2979
|
+
function invalidValue$2(typ, val, key = "") {
|
|
2980
|
+
if (key) {
|
|
2981
|
+
throw Error(`Invalid value for key "${key}". Expected type ${JSON.stringify(typ)} but got ${JSON.stringify(val)}`);
|
|
2982
|
+
}
|
|
2983
|
+
throw Error(`Invalid value ${JSON.stringify(val)} for type ${JSON.stringify(typ)}`);
|
|
2984
|
+
}
|
|
2985
|
+
function jsonToJSProps$2(typ) {
|
|
2986
|
+
if (typ.jsonToJS === void 0) {
|
|
2987
|
+
const map = {};
|
|
2988
|
+
typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
|
|
2989
|
+
typ.jsonToJS = map;
|
|
2990
|
+
}
|
|
2991
|
+
return typ.jsonToJS;
|
|
2992
|
+
}
|
|
2993
|
+
function jsToJSONProps$2(typ) {
|
|
2994
|
+
if (typ.jsToJSON === void 0) {
|
|
2995
|
+
const map = {};
|
|
2996
|
+
typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
|
|
2997
|
+
typ.jsToJSON = map;
|
|
2998
|
+
}
|
|
2999
|
+
return typ.jsToJSON;
|
|
3000
|
+
}
|
|
3001
|
+
function transform$2(val, typ, getProps, key = "") {
|
|
3002
|
+
function transformPrimitive(typ2, val2) {
|
|
3003
|
+
if (typeof typ2 === typeof val2)
|
|
3004
|
+
return val2;
|
|
3005
|
+
return invalidValue$2(typ2, val2, key);
|
|
3006
|
+
}
|
|
3007
|
+
function transformUnion(typs, val2) {
|
|
3008
|
+
const l2 = typs.length;
|
|
3009
|
+
for (let i = 0; i < l2; i++) {
|
|
3010
|
+
const typ2 = typs[i];
|
|
3011
|
+
try {
|
|
3012
|
+
return transform$2(val2, typ2, getProps);
|
|
3013
|
+
} catch (_) {
|
|
3014
|
+
}
|
|
3015
|
+
}
|
|
3016
|
+
return invalidValue$2(typs, val2);
|
|
3017
|
+
}
|
|
3018
|
+
function transformEnum(cases, val2) {
|
|
3019
|
+
if (cases.indexOf(val2) !== -1)
|
|
3020
|
+
return val2;
|
|
3021
|
+
return invalidValue$2(cases, val2);
|
|
3022
|
+
}
|
|
3023
|
+
function transformArray(typ2, val2) {
|
|
3024
|
+
if (!Array.isArray(val2))
|
|
3025
|
+
return invalidValue$2("array", val2);
|
|
3026
|
+
return val2.map((el) => transform$2(el, typ2, getProps));
|
|
3027
|
+
}
|
|
3028
|
+
function transformDate(val2) {
|
|
3029
|
+
if (val2 === null) {
|
|
3030
|
+
return null;
|
|
3031
|
+
}
|
|
3032
|
+
const d = new Date(val2);
|
|
3033
|
+
if (isNaN(d.valueOf())) {
|
|
3034
|
+
return invalidValue$2("Date", val2);
|
|
3035
|
+
}
|
|
3036
|
+
return d;
|
|
3037
|
+
}
|
|
3038
|
+
function transformObject(props, additional, val2) {
|
|
3039
|
+
if (val2 === null || typeof val2 !== "object" || Array.isArray(val2)) {
|
|
3040
|
+
return invalidValue$2("object", val2);
|
|
3041
|
+
}
|
|
3042
|
+
const result = {};
|
|
3043
|
+
Object.getOwnPropertyNames(props).forEach((key2) => {
|
|
3044
|
+
const prop = props[key2];
|
|
3045
|
+
const v = Object.prototype.hasOwnProperty.call(val2, key2) ? val2[key2] : void 0;
|
|
3046
|
+
result[prop.key] = transform$2(v, prop.typ, getProps, prop.key);
|
|
3047
|
+
});
|
|
3048
|
+
Object.getOwnPropertyNames(val2).forEach((key2) => {
|
|
3049
|
+
if (!Object.prototype.hasOwnProperty.call(props, key2)) {
|
|
3050
|
+
result[key2] = transform$2(val2[key2], additional, getProps, key2);
|
|
3051
|
+
}
|
|
3052
|
+
});
|
|
3053
|
+
return result;
|
|
3054
|
+
}
|
|
3055
|
+
if (typ === "any")
|
|
3056
|
+
return val;
|
|
3057
|
+
if (typ === null) {
|
|
3058
|
+
if (val === null)
|
|
3059
|
+
return val;
|
|
3060
|
+
return invalidValue$2(typ, val);
|
|
3061
|
+
}
|
|
3062
|
+
while (typeof typ === "object" && typ.ref !== void 0) {
|
|
3063
|
+
typ = typeMap$2[typ.ref];
|
|
3064
|
+
}
|
|
3065
|
+
if (Array.isArray(typ))
|
|
3066
|
+
return transformEnum(typ, val);
|
|
3067
|
+
if (typeof typ === "object") {
|
|
3068
|
+
return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) : invalidValue$2(typ, val);
|
|
3069
|
+
}
|
|
3070
|
+
if (typ === Date && typeof val !== "number")
|
|
3071
|
+
return transformDate(val);
|
|
3072
|
+
return transformPrimitive(typ, val);
|
|
3073
|
+
}
|
|
3074
|
+
function cast$2(val, typ) {
|
|
3075
|
+
return transform$2(val, typ, jsonToJSProps$2);
|
|
3076
|
+
}
|
|
3077
|
+
function uncast$2(val, typ) {
|
|
3078
|
+
return transform$2(val, typ, jsToJSONProps$2);
|
|
3079
|
+
}
|
|
3080
|
+
function a$2(typ) {
|
|
3081
|
+
return { arrayItems: typ };
|
|
3082
|
+
}
|
|
3083
|
+
function u$2(...typs) {
|
|
3084
|
+
return { unionMembers: typs };
|
|
3085
|
+
}
|
|
3086
|
+
function o$2(props, additional) {
|
|
3087
|
+
return { props, additional };
|
|
3088
|
+
}
|
|
3089
|
+
function r$2(name) {
|
|
3090
|
+
return { ref: name };
|
|
3091
|
+
}
|
|
3092
|
+
const typeMap$2 = {
|
|
3093
|
+
Scrutins: o$2([{ json: "scrutins", js: "scrutins", typ: a$2(r$2("Scrutin")) }], false),
|
|
3094
|
+
Scrutin: o$2([
|
|
3095
|
+
{ json: "schemaVersion", js: "schemaVersion", typ: u$2(void 0, "") },
|
|
3096
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
3097
|
+
{ json: "numero", js: "numero", typ: "" },
|
|
3098
|
+
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
3099
|
+
{ json: "legislature", js: "legislature", typ: "" },
|
|
3100
|
+
{ json: "sessionRef", js: "sessionRef", typ: "" },
|
|
3101
|
+
{ json: "seanceRef", js: "seanceRef", typ: "" },
|
|
3102
|
+
{ json: "dateScrutin", js: "dateScrutin", typ: Date },
|
|
3103
|
+
{ json: "quantiemeJourSeance", js: "quantiemeJourSeance", typ: "" },
|
|
3104
|
+
{ json: "typeVote", js: "typeVote", typ: r$2("TypeVote") },
|
|
3105
|
+
{ json: "sort", js: "sort", typ: r$2("SortScrutin") },
|
|
3106
|
+
{ json: "titre", js: "titre", typ: "" },
|
|
3107
|
+
{ json: "demandeur", js: "demandeur", typ: r$2("Demandeur") },
|
|
3108
|
+
{ json: "objet", js: "objet", typ: r$2("Objet") },
|
|
3109
|
+
{
|
|
3110
|
+
json: "modePublicationDesVotes",
|
|
3111
|
+
js: "modePublicationDesVotes",
|
|
3112
|
+
typ: r$2("ModePublicationDesVotes")
|
|
3113
|
+
},
|
|
3114
|
+
{ json: "syntheseVote", js: "syntheseVote", typ: r$2("SyntheseVote") },
|
|
3115
|
+
{
|
|
3116
|
+
json: "ventilationVotes",
|
|
3117
|
+
js: "ventilationVotes",
|
|
3118
|
+
typ: r$2("VentilationVotes")
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
json: "miseAuPoint",
|
|
3122
|
+
js: "miseAuPoint",
|
|
3123
|
+
typ: u$2(void 0, r$2("MiseAuPoint"))
|
|
3124
|
+
},
|
|
3125
|
+
{ json: "lieuVote", js: "lieuVote", typ: u$2(void 0, r$2("LieuVote")) }
|
|
3126
|
+
], false),
|
|
3127
|
+
Demandeur: o$2([{ json: "texte", js: "texte", typ: u$2(void 0, "") }], false),
|
|
3128
|
+
MiseAuPoint: o$2([
|
|
3129
|
+
{
|
|
3130
|
+
json: "nonVotants",
|
|
3131
|
+
js: "nonVotants",
|
|
3132
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3133
|
+
},
|
|
3134
|
+
{
|
|
3135
|
+
json: "pour",
|
|
3136
|
+
js: "pour",
|
|
3137
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3138
|
+
},
|
|
3139
|
+
{
|
|
3140
|
+
json: "contre",
|
|
3141
|
+
js: "contre",
|
|
3142
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
json: "abstentions",
|
|
3146
|
+
js: "abstentions",
|
|
3147
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
json: "nonVotantsVolontaires",
|
|
3151
|
+
js: "nonVotantsVolontaires",
|
|
3152
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
json: "dysfonctionnement",
|
|
3156
|
+
js: "dysfonctionnement",
|
|
3157
|
+
typ: u$2(void 0, r$2("Dysfonctionnement"))
|
|
3158
|
+
}
|
|
3159
|
+
], false),
|
|
3160
|
+
Dysfonctionnement: o$2([
|
|
3161
|
+
{
|
|
3162
|
+
json: "nonVotants",
|
|
3163
|
+
js: "nonVotants",
|
|
3164
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3165
|
+
},
|
|
3166
|
+
{
|
|
3167
|
+
json: "pour",
|
|
3168
|
+
js: "pour",
|
|
3169
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
json: "contre",
|
|
3173
|
+
js: "contre",
|
|
3174
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
json: "abstentions",
|
|
3178
|
+
js: "abstentions",
|
|
3179
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
json: "nonVotantsVolontaires",
|
|
3183
|
+
js: "nonVotantsVolontaires",
|
|
3184
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3185
|
+
}
|
|
3186
|
+
], false),
|
|
3187
|
+
Objet: o$2([{ json: "libelle", js: "libelle", typ: "" }], false),
|
|
3188
|
+
SortScrutin: o$2([
|
|
3189
|
+
{ json: "code", js: "code", typ: r$2("Code") },
|
|
3190
|
+
{ json: "libelle", js: "libelle", typ: r$2("Libelle") }
|
|
3191
|
+
], false),
|
|
3192
|
+
SyntheseVote: o$2([
|
|
3193
|
+
{ json: "nombreVotants", js: "nombreVotants", typ: "" },
|
|
3194
|
+
{ json: "suffragesExprimes", js: "suffragesExprimes", typ: "" },
|
|
3195
|
+
{ json: "nbrSuffragesRequis", js: "nbrSuffragesRequis", typ: "" },
|
|
3196
|
+
{ json: "annonce", js: "annonce", typ: r$2("Libelle") },
|
|
3197
|
+
{ json: "decompte", js: "decompte", typ: r$2("DecompteVoix") }
|
|
3198
|
+
], false),
|
|
3199
|
+
TypeVote: o$2([
|
|
3200
|
+
{ json: "codeTypeVote", js: "codeTypeVote", typ: r$2("CodeTypeVote") },
|
|
3201
|
+
{
|
|
3202
|
+
json: "libelleTypeVote",
|
|
3203
|
+
js: "libelleTypeVote",
|
|
3204
|
+
typ: r$2("LibelleTypeVote")
|
|
3205
|
+
},
|
|
3206
|
+
{ json: "typeMajorite", js: "typeMajorite", typ: r$2("TypeMajorite") }
|
|
3207
|
+
], false),
|
|
3208
|
+
VentilationVotes: o$2([
|
|
3209
|
+
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
3210
|
+
{ json: "groupes", js: "groupes", typ: a$2(r$2("VentilationVotesGroupe")) }
|
|
3211
|
+
], false),
|
|
3212
|
+
VentilationVotesGroupe: o$2([
|
|
3213
|
+
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
3214
|
+
{ json: "nombreMembresGroupe", js: "nombreMembresGroupe", typ: "" },
|
|
3215
|
+
{ json: "vote", js: "vote", typ: r$2("Vote") }
|
|
3216
|
+
], false),
|
|
3217
|
+
Vote: o$2([
|
|
3218
|
+
{
|
|
3219
|
+
json: "positionMajoritaire",
|
|
3220
|
+
js: "positionMajoritaire",
|
|
3221
|
+
typ: r$2("PositionMajoritaire")
|
|
3222
|
+
},
|
|
3223
|
+
{ json: "decompteVoix", js: "decompteVoix", typ: r$2("DecompteVoix") },
|
|
3224
|
+
{
|
|
3225
|
+
json: "decompteNominatif",
|
|
3226
|
+
js: "decompteNominatif",
|
|
3227
|
+
typ: r$2("DecompteNominatif")
|
|
3228
|
+
}
|
|
3229
|
+
], false),
|
|
3230
|
+
DecompteNominatif: o$2([
|
|
3231
|
+
{
|
|
3232
|
+
json: "nonVotants",
|
|
3233
|
+
js: "nonVotants",
|
|
3234
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
json: "pour",
|
|
3238
|
+
js: "pour",
|
|
3239
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
json: "contre",
|
|
3243
|
+
js: "contre",
|
|
3244
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
json: "abstentions",
|
|
3248
|
+
js: "abstentions",
|
|
3249
|
+
typ: u$2(void 0, a$2(r$2("Votant")))
|
|
3250
|
+
}
|
|
3251
|
+
], false),
|
|
3252
|
+
Votant: o$2([
|
|
3253
|
+
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
3254
|
+
{ json: "mandatRef", js: "mandatRef", typ: "" },
|
|
3255
|
+
{ json: "parDelegation", js: "parDelegation", typ: u$2(void 0, false) },
|
|
3256
|
+
{ json: "numPlace", js: "numPlace", typ: u$2(void 0, 0) },
|
|
3257
|
+
{
|
|
3258
|
+
json: "causePositionVote",
|
|
3259
|
+
js: "causePositionVote",
|
|
3260
|
+
typ: u$2(void 0, r$2("CausePositionVote"))
|
|
3261
|
+
}
|
|
3262
|
+
], false),
|
|
3263
|
+
DecompteVoix: o$2([
|
|
3264
|
+
{ json: "pour", js: "pour", typ: "" },
|
|
3265
|
+
{ json: "contre", js: "contre", typ: "" },
|
|
3266
|
+
{ json: "nonVotants", js: "nonVotants", typ: u$2(void 0, "") },
|
|
3267
|
+
{ json: "abstentions", js: "abstentions", typ: u$2(void 0, "") },
|
|
3268
|
+
{
|
|
3269
|
+
json: "nonVotantsVolontaires",
|
|
3270
|
+
js: "nonVotantsVolontaires",
|
|
3271
|
+
typ: u$2(void 0, "")
|
|
3272
|
+
}
|
|
3273
|
+
], false),
|
|
3274
|
+
ModePublicationDesVotes: [
|
|
3275
|
+
"DecompteDissidentsPositionGroupe",
|
|
3276
|
+
"DecompteNominatif"
|
|
3277
|
+
],
|
|
3278
|
+
Code: ["adopté", "rejeté"],
|
|
3279
|
+
Libelle: [
|
|
3280
|
+
"l'Assemblée nationale a adopté",
|
|
3281
|
+
"L'Assemblée nationale n'a pas adopté",
|
|
3282
|
+
"Le Congrès du Parlement a adopté",
|
|
3283
|
+
"Le Congrès du Parlement n'a pas adopté"
|
|
3284
|
+
],
|
|
3285
|
+
CodeTypeVote: ["MOC", "SAT", "SPO", "SPS", "SSG"],
|
|
3286
|
+
LibelleTypeVote: [
|
|
3287
|
+
"motion de censure",
|
|
3288
|
+
"scrutin public ordinaire",
|
|
3289
|
+
"scrutin public solennel",
|
|
3290
|
+
"scrutin à la tribune",
|
|
3291
|
+
"Scrutin solennel congrès"
|
|
3292
|
+
],
|
|
3293
|
+
TypeMajorite: [
|
|
3294
|
+
"Majorité absolue des suffrages exprimés",
|
|
3295
|
+
"majorité absolue des suffrages exprimés",
|
|
3296
|
+
"majorité des membres composant l'Assemblée nationale",
|
|
3297
|
+
"majorité des membres composants composant l'Assemblée",
|
|
3298
|
+
"majorité des membres composants composant l'Assemblée nationale",
|
|
3299
|
+
"Majorité requise pour un Congrès",
|
|
3300
|
+
"Majorité requise pour une motion de censure"
|
|
3301
|
+
],
|
|
3302
|
+
CausePositionVote: ["MG", "PAN", "PSE"],
|
|
3303
|
+
PositionMajoritaire: ["abstention", "contre", "pour"],
|
|
3304
|
+
LieuVote: ["Congrès", "Hémicycle", "Salons"]
|
|
3305
|
+
};
|
|
3306
|
+
var QuestionXsiType;
|
|
3307
|
+
(function(QuestionXsiType2) {
|
|
3308
|
+
QuestionXsiType2["QuestionEcrite"] = "QuestionEcrite_Type";
|
|
3309
|
+
QuestionXsiType2["QuestionGouvernement"] = "QuestionGouvernement_Type";
|
|
3310
|
+
QuestionXsiType2["QuestionOrale"] = "QuestionOrale_Type";
|
|
3311
|
+
})(QuestionXsiType || (QuestionXsiType = {}));
|
|
3312
|
+
var TypeJo;
|
|
3313
|
+
(function(TypeJo2) {
|
|
3314
|
+
TypeJo2["JoQuestion"] = "JO_QUESTION";
|
|
3315
|
+
TypeJo2["JoLoiDecret"] = "JO_LOI_DECRET";
|
|
3316
|
+
TypeJo2["JoDebate"] = "JO_DEBAT";
|
|
3317
|
+
})(TypeJo || (TypeJo = {}));
|
|
3318
|
+
var Type;
|
|
3319
|
+
(function(Type2) {
|
|
3320
|
+
Type2["Qe"] = "QE";
|
|
3321
|
+
Type2["Qg"] = "QG";
|
|
3322
|
+
Type2["Qosd"] = "QOSD";
|
|
3323
|
+
})(Type || (Type = {}));
|
|
3324
|
+
let Convert$1 = class Convert5 {
|
|
3325
|
+
static toQuestions(json) {
|
|
3326
|
+
return cast$1(JSON.parse(json), r$1("Questions"));
|
|
3327
|
+
}
|
|
3328
|
+
static questionsToJson(value) {
|
|
3329
|
+
return JSON.stringify(uncast$1(value, r$1("Questions")), null, 2);
|
|
3330
|
+
}
|
|
3331
|
+
static toQuestion(json) {
|
|
3332
|
+
return cast$1(JSON.parse(json), r$1("Question"));
|
|
3333
|
+
}
|
|
3334
|
+
static questionToJson(value) {
|
|
3335
|
+
return JSON.stringify(uncast$1(value, r$1("Question")), null, 2);
|
|
3336
|
+
}
|
|
3337
|
+
};
|
|
3338
|
+
function invalidValue$1(typ, val, key = "") {
|
|
3339
|
+
if (key) {
|
|
3340
|
+
throw Error(`Invalid value for key "${key}". Expected type ${JSON.stringify(typ)} but got ${JSON.stringify(val)}`);
|
|
3341
|
+
}
|
|
3342
|
+
throw Error(`Invalid value ${JSON.stringify(val)} for type ${JSON.stringify(typ)}`);
|
|
3343
|
+
}
|
|
3344
|
+
function jsonToJSProps$1(typ) {
|
|
3345
|
+
if (typ.jsonToJS === void 0) {
|
|
3346
|
+
const map = {};
|
|
3347
|
+
typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
|
|
3348
|
+
typ.jsonToJS = map;
|
|
3349
|
+
}
|
|
3350
|
+
return typ.jsonToJS;
|
|
3351
|
+
}
|
|
3352
|
+
function jsToJSONProps$1(typ) {
|
|
3353
|
+
if (typ.jsToJSON === void 0) {
|
|
3354
|
+
const map = {};
|
|
3355
|
+
typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
|
|
3356
|
+
typ.jsToJSON = map;
|
|
3357
|
+
}
|
|
3358
|
+
return typ.jsToJSON;
|
|
3359
|
+
}
|
|
3360
|
+
function transform$1(val, typ, getProps, key = "") {
|
|
3361
|
+
function transformPrimitive(typ2, val2) {
|
|
3362
|
+
if (typeof typ2 === typeof val2)
|
|
3363
|
+
return val2;
|
|
3364
|
+
return invalidValue$1(typ2, val2, key);
|
|
3365
|
+
}
|
|
3366
|
+
function transformUnion(typs, val2) {
|
|
3367
|
+
const l2 = typs.length;
|
|
3368
|
+
for (let i = 0; i < l2; i++) {
|
|
3369
|
+
const typ2 = typs[i];
|
|
3370
|
+
try {
|
|
3371
|
+
return transform$1(val2, typ2, getProps);
|
|
3372
|
+
} catch (_) {
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
return invalidValue$1(typs, val2);
|
|
3376
|
+
}
|
|
3377
|
+
function transformEnum(cases, val2) {
|
|
3378
|
+
if (cases.indexOf(val2) !== -1)
|
|
3379
|
+
return val2;
|
|
3380
|
+
return invalidValue$1(cases, val2);
|
|
3381
|
+
}
|
|
3382
|
+
function transformArray(typ2, val2) {
|
|
3383
|
+
if (!Array.isArray(val2))
|
|
3384
|
+
return invalidValue$1("array", val2);
|
|
3385
|
+
return val2.map((el) => transform$1(el, typ2, getProps));
|
|
3386
|
+
}
|
|
3387
|
+
function transformDate(val2) {
|
|
3388
|
+
if (val2 === null) {
|
|
3389
|
+
return null;
|
|
3390
|
+
}
|
|
3391
|
+
const d = new Date(val2);
|
|
3392
|
+
if (isNaN(d.valueOf())) {
|
|
3393
|
+
return invalidValue$1("Date", val2);
|
|
3394
|
+
}
|
|
3395
|
+
return d;
|
|
3396
|
+
}
|
|
3397
|
+
function transformObject(props, additional, val2) {
|
|
3398
|
+
if (val2 === null || typeof val2 !== "object" || Array.isArray(val2)) {
|
|
3399
|
+
return invalidValue$1("object", val2);
|
|
3400
|
+
}
|
|
3401
|
+
const result = {};
|
|
3402
|
+
Object.getOwnPropertyNames(props).forEach((key2) => {
|
|
3403
|
+
const prop = props[key2];
|
|
3404
|
+
const v = Object.prototype.hasOwnProperty.call(val2, key2) ? val2[key2] : void 0;
|
|
3405
|
+
result[prop.key] = transform$1(v, prop.typ, getProps, prop.key);
|
|
3406
|
+
});
|
|
3407
|
+
Object.getOwnPropertyNames(val2).forEach((key2) => {
|
|
3408
|
+
if (!Object.prototype.hasOwnProperty.call(props, key2)) {
|
|
3409
|
+
result[key2] = transform$1(val2[key2], additional, getProps, key2);
|
|
3410
|
+
}
|
|
3411
|
+
});
|
|
3412
|
+
return result;
|
|
3413
|
+
}
|
|
3414
|
+
if (typ === "any")
|
|
3415
|
+
return val;
|
|
3416
|
+
if (typ === null) {
|
|
3417
|
+
if (val === null)
|
|
3418
|
+
return val;
|
|
3419
|
+
return invalidValue$1(typ, val);
|
|
3420
|
+
}
|
|
3421
|
+
if (typ === false)
|
|
3422
|
+
return invalidValue$1(typ, val);
|
|
3423
|
+
while (typeof typ === "object" && typ.ref !== void 0) {
|
|
3424
|
+
typ = typeMap$1[typ.ref];
|
|
3425
|
+
}
|
|
3426
|
+
if (Array.isArray(typ))
|
|
3427
|
+
return transformEnum(typ, val);
|
|
3428
|
+
if (typeof typ === "object") {
|
|
3429
|
+
return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) : invalidValue$1(typ, val);
|
|
3430
|
+
}
|
|
3431
|
+
if (typ === Date && typeof val !== "number")
|
|
3432
|
+
return transformDate(val);
|
|
3433
|
+
return transformPrimitive(typ, val);
|
|
3434
|
+
}
|
|
3435
|
+
function cast$1(val, typ) {
|
|
3436
|
+
return transform$1(val, typ, jsonToJSProps$1);
|
|
3437
|
+
}
|
|
3438
|
+
function uncast$1(val, typ) {
|
|
3439
|
+
return transform$1(val, typ, jsToJSONProps$1);
|
|
3440
|
+
}
|
|
3441
|
+
function a$1(typ) {
|
|
3442
|
+
return { arrayItems: typ };
|
|
3443
|
+
}
|
|
3444
|
+
function u$1(...typs) {
|
|
3445
|
+
return { unionMembers: typs };
|
|
3446
|
+
}
|
|
3447
|
+
function o$1(props, additional) {
|
|
3448
|
+
return { props, additional };
|
|
3449
|
+
}
|
|
3450
|
+
function r$1(name) {
|
|
3451
|
+
return { ref: name };
|
|
3452
|
+
}
|
|
3453
|
+
const typeMap$1 = {
|
|
3454
|
+
Questions: o$1([{ json: "questions", js: "questions", typ: a$1(r$1("Question")) }], false),
|
|
3455
|
+
Question: o$1([
|
|
3456
|
+
{ json: "schemaVersion", js: "schemaVersion", typ: u$1(void 0, "") },
|
|
3457
|
+
{ json: "@xsi:type", js: "@xsi:type", typ: r$1("QuestionXsiType") },
|
|
3458
|
+
{ json: "uid", js: "uid", typ: "" },
|
|
3459
|
+
{ json: "identifiant", js: "identifiant", typ: r$1("Identifiant") },
|
|
3460
|
+
{ json: "type", js: "type", typ: r$1("Type") },
|
|
3461
|
+
{ json: "indexationAN", js: "indexationAN", typ: r$1("IndexationAn") },
|
|
3462
|
+
{ json: "auteur", js: "auteur", typ: r$1("Auteur") },
|
|
3463
|
+
{ json: "minInt", js: "minInt", typ: r$1("Groupe") },
|
|
3464
|
+
{ json: "minAttribs", js: "minAttribs", typ: r$1("MinAttribs") },
|
|
3465
|
+
{
|
|
3466
|
+
json: "textesQuestion",
|
|
3467
|
+
js: "textesQuestion",
|
|
3468
|
+
typ: u$1(r$1("TextesQuestion"), null, void 0)
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
json: "textesReponse",
|
|
3472
|
+
js: "textesReponse",
|
|
3473
|
+
typ: u$1(r$1("TextesReponse"), null, void 0)
|
|
3474
|
+
},
|
|
3475
|
+
{ json: "cloture", js: "cloture", typ: u$1(r$1("Cloture"), null, void 0) },
|
|
3476
|
+
{
|
|
3477
|
+
json: "signalement",
|
|
3478
|
+
js: "signalement",
|
|
3479
|
+
typ: u$1(r$1("Signalement"), null, void 0)
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
json: "renouvellements",
|
|
3483
|
+
js: "renouvellements",
|
|
3484
|
+
typ: u$1(r$1("Renouvellements"), null, void 0)
|
|
3485
|
+
}
|
|
3486
|
+
], false),
|
|
3487
|
+
Auteur: o$1([
|
|
3488
|
+
{ json: "identite", js: "identite", typ: r$1("Identite") },
|
|
3489
|
+
{ json: "groupe", js: "groupe", typ: r$1("Groupe") }
|
|
3490
|
+
], false),
|
|
3491
|
+
Groupe: o$1([
|
|
3492
|
+
{ json: "organeRef", js: "organeRef", typ: "" },
|
|
3493
|
+
{ json: "abrege", js: "abrege", typ: "" },
|
|
3494
|
+
{ json: "developpe", js: "developpe", typ: "" }
|
|
3495
|
+
], false),
|
|
3496
|
+
Identite: o$1([
|
|
3497
|
+
{ json: "acteurRef", js: "acteurRef", typ: "" },
|
|
3498
|
+
{ json: "mandatRef", js: "mandatRef", typ: "" }
|
|
3499
|
+
], false),
|
|
3500
|
+
Cloture: o$1([
|
|
3501
|
+
{ json: "codeCloture", js: "codeCloture", typ: "" },
|
|
3502
|
+
{
|
|
3503
|
+
json: "libelleCloture",
|
|
3504
|
+
js: "libelleCloture",
|
|
3505
|
+
typ: ""
|
|
3506
|
+
},
|
|
3507
|
+
{ json: "dateCloture", js: "dateCloture", typ: Date },
|
|
3508
|
+
{ json: "infoJO", js: "infoJO", typ: u$1(r$1("InfoJo"), null) }
|
|
3509
|
+
], false),
|
|
3510
|
+
Identifiant: o$1([
|
|
3511
|
+
{ json: "numero", js: "numero", typ: "" },
|
|
3512
|
+
{ json: "regime", js: "regime", typ: "" },
|
|
3513
|
+
{ json: "legislature", js: "legislature", typ: "" }
|
|
3514
|
+
], false),
|
|
3515
|
+
IndexationAn: o$1([
|
|
3516
|
+
{ json: "rubrique", js: "rubrique", typ: u$1("", null) },
|
|
3517
|
+
{ json: "teteAnalyse", js: "teteAnalyse", typ: null },
|
|
3518
|
+
{ json: "analyses", js: "analyses", typ: r$1("Analyse") }
|
|
3519
|
+
], false),
|
|
3520
|
+
Analyse: o$1([{ json: "analyse", js: "analyse", typ: u$1("", null) }], false),
|
|
3521
|
+
MinAttribs: o$1([
|
|
3522
|
+
{
|
|
3523
|
+
json: "minAttrib",
|
|
3524
|
+
js: "minAttrib",
|
|
3525
|
+
typ: u$1(a$1(r$1("MinAttribElement")), r$1("MinAttribElement"))
|
|
3526
|
+
}
|
|
3527
|
+
], false),
|
|
3528
|
+
MinAttribElement: o$1([
|
|
3529
|
+
{ json: "infoJO", js: "infoJO", typ: r$1("InfoJo") },
|
|
3530
|
+
{ json: "denomination", js: "denomination", typ: r$1("Groupe") }
|
|
3531
|
+
], false),
|
|
3532
|
+
InfoJo: o$1([
|
|
3533
|
+
{ json: "typeJO", js: "typeJO", typ: u$1(r$1("TypeJo"), null) },
|
|
3534
|
+
{ json: "dateJO", js: "dateJO", typ: "" },
|
|
3535
|
+
{ json: "pageJO", js: "pageJO", typ: u$1("", null) },
|
|
3536
|
+
{ json: "numJO", js: "numJO", typ: u$1("", null) },
|
|
3537
|
+
{ json: "urlLegifrance", js: "urlLegifrance", typ: u$1("", null) },
|
|
3538
|
+
{ json: "referenceNOR", js: "referenceNOR", typ: u$1("", null) }
|
|
3539
|
+
], false),
|
|
3540
|
+
TextesQuestion: o$1([
|
|
3541
|
+
{
|
|
3542
|
+
json: "texteQuestion",
|
|
3543
|
+
js: "texteQuestion",
|
|
3544
|
+
typ: u$1(a$1(r$1("Texte")), r$1("Texte"))
|
|
3545
|
+
}
|
|
3546
|
+
], false),
|
|
3547
|
+
Texte: o$1([
|
|
3548
|
+
{ json: "infoJO", js: "infoJO", typ: r$1("InfoJo") },
|
|
3549
|
+
{ json: "texte", js: "texte", typ: u$1("", null) },
|
|
3550
|
+
{ json: "erratum", js: "erratum", typ: u$1(void 0, "") }
|
|
3551
|
+
], false),
|
|
3552
|
+
TextesReponse: o$1([
|
|
3553
|
+
{
|
|
3554
|
+
json: "texteReponse",
|
|
3555
|
+
js: "texteReponse",
|
|
3556
|
+
typ: u$1(a$1(r$1("Texte")), r$1("Texte"))
|
|
3557
|
+
}
|
|
3558
|
+
], false),
|
|
3559
|
+
Signalement: o$1([
|
|
3560
|
+
{ json: "infoJO", js: "infoJO", typ: r$1("InfoJo") },
|
|
3561
|
+
{ json: "dateDepotSignal", js: "dateDepotSignal", typ: "" }
|
|
3562
|
+
], false),
|
|
3563
|
+
Renouvellements: o$1([
|
|
3564
|
+
{
|
|
3565
|
+
json: "renouvellement",
|
|
3566
|
+
js: "renouvellement",
|
|
3567
|
+
typ: u$1(a$1(r$1("Renouvellement")), r$1("Renouvellement"))
|
|
3568
|
+
}
|
|
3569
|
+
], false),
|
|
3570
|
+
Renouvellement: o$1([{ json: "infoJO", js: "infoJO", typ: r$1("InfoJo") }], false),
|
|
3571
|
+
QuestionXsiType: [
|
|
3572
|
+
"QuestionEcrite_Type",
|
|
3573
|
+
"QuestionGouvernement_Type",
|
|
3574
|
+
"QuestionOrale_Type"
|
|
3575
|
+
],
|
|
3576
|
+
TypeJo: ["JO_QUESTION", "JO_LOI_DECRET", "JO_DEBAT"],
|
|
3577
|
+
Type: ["QE", "QG", "QOSD"]
|
|
3578
|
+
};
|
|
3579
|
+
var Decision;
|
|
3580
|
+
(function(Decision2) {
|
|
3581
|
+
Decision2["AdoptionAmendementMainLevéeAdt"] = "ADOPTION amendement (main levée) adt";
|
|
3582
|
+
Decision2["AdoptionDUnArticleVoteÀMainLevée"] = "ADOPTION d’un article (vote à main levée)";
|
|
3583
|
+
Decision2["AdoptionDUnSousAmendementMainLevéeSsAdt"] = "ADOPTION d’un sous-amendement (main levée) ss-adt";
|
|
3584
|
+
Decision2["AdoptionDePlusieursAmendementsMainLevéeAdts"] = "ADOPTION de plusieurs amendements (main levée) adts";
|
|
3585
|
+
Decision2["AdoptionDePlusieursSousAmendementsMainLevéeSsAdts"] = "ADOPTION de plusieurs sous-amendements (main levée) ss-adts";
|
|
3586
|
+
Decision2["Empty"] = "";
|
|
3587
|
+
Decision2["RejetDUnAmendementMainLevéeAdt"] = "REJET d’un amendement (main levée) adt";
|
|
3588
|
+
Decision2["RejetDUnArticleVoteÀMainLevée"] = "REJET d’un article (vote à main levée)";
|
|
3589
|
+
Decision2["RejetDUnSousAmendementMainLevéeSsAdt"] = "REJET d’un sous-amendement (main levée) ss-adt";
|
|
3590
|
+
Decision2["RejetDePlusieursAmendementsMainLevéeAdts"] = "REJET de plusieurs amendements (main levée) adts";
|
|
3591
|
+
Decision2["RejetDePlusieursSousAmendementsMainLevéeSsAdts"] = "REJET de plusieurs sous-amendements (main levée) ss-adts";
|
|
3592
|
+
Decision2["RejetMotionDeRejetPréalableMainLevée"] = "REJET motion de rejet préalable (main levée)";
|
|
3593
|
+
})(Decision || (Decision = {}));
|
|
3594
|
+
class Convert6 {
|
|
3595
|
+
static toComptesRendus(json) {
|
|
3596
|
+
return cast(JSON.parse(json), r("ComptesRendus"));
|
|
3597
|
+
}
|
|
3598
|
+
static comptesRendusToJson(value) {
|
|
3599
|
+
return JSON.stringify(uncast(value, r("ComptesRendus")), null, 2);
|
|
3600
|
+
}
|
|
3601
|
+
static toCompteRendu(json) {
|
|
3602
|
+
return cast(JSON.parse(json), r("CompteRendu"));
|
|
3603
|
+
}
|
|
3604
|
+
static compteRenduToJson(value) {
|
|
3605
|
+
return JSON.stringify(uncast(value, r("CompteRendu")), null, 2);
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
function invalidValue(typ, val, key, parent = "") {
|
|
3609
|
+
const prettyTyp = prettyTypeName(typ);
|
|
3610
|
+
const parentText = parent ? ` on ${parent}` : "";
|
|
3611
|
+
const keyText = key ? ` for key "${key}"` : "";
|
|
3612
|
+
throw Error(`Invalid value${keyText}${parentText}. Expected ${prettyTyp} but got ${JSON.stringify(val)}`);
|
|
3613
|
+
}
|
|
3614
|
+
function prettyTypeName(typ) {
|
|
3615
|
+
if (Array.isArray(typ)) {
|
|
3616
|
+
if (typ.length === 2 && typ[0] === void 0) {
|
|
3617
|
+
return `an optional ${prettyTypeName(typ[1])}`;
|
|
3618
|
+
} else {
|
|
3619
|
+
return `one of [${typ.map((a2) => {
|
|
3620
|
+
return prettyTypeName(a2);
|
|
3621
|
+
}).join(", ")}]`;
|
|
3622
|
+
}
|
|
3623
|
+
} else if (typeof typ === "object" && typ.literal !== void 0) {
|
|
3624
|
+
return typ.literal;
|
|
3625
|
+
} else {
|
|
3626
|
+
return typeof typ;
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
function jsonToJSProps(typ) {
|
|
3630
|
+
if (typ.jsonToJS === void 0) {
|
|
3631
|
+
const map = {};
|
|
3632
|
+
typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
|
|
3633
|
+
typ.jsonToJS = map;
|
|
3634
|
+
}
|
|
3635
|
+
return typ.jsonToJS;
|
|
3636
|
+
}
|
|
3637
|
+
function jsToJSONProps(typ) {
|
|
3638
|
+
if (typ.jsToJSON === void 0) {
|
|
3639
|
+
const map = {};
|
|
3640
|
+
typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
|
|
3641
|
+
typ.jsToJSON = map;
|
|
3642
|
+
}
|
|
3643
|
+
return typ.jsToJSON;
|
|
3644
|
+
}
|
|
3645
|
+
function transform(val, typ, getProps, key = "", parent = "") {
|
|
3646
|
+
function transformPrimitive(typ2, val2) {
|
|
3647
|
+
if (typeof typ2 === typeof val2)
|
|
3648
|
+
return val2;
|
|
3649
|
+
return invalidValue(typ2, val2, key, parent);
|
|
3650
|
+
}
|
|
3651
|
+
function transformUnion(typs, val2) {
|
|
3652
|
+
const l2 = typs.length;
|
|
3653
|
+
for (let i = 0; i < l2; i++) {
|
|
3654
|
+
const typ2 = typs[i];
|
|
3655
|
+
try {
|
|
3656
|
+
return transform(val2, typ2, getProps);
|
|
3657
|
+
} catch (_) {
|
|
3658
|
+
}
|
|
3659
|
+
}
|
|
3660
|
+
return invalidValue(typs, val2, key, parent);
|
|
3661
|
+
}
|
|
3662
|
+
function transformEnum(cases, val2) {
|
|
3663
|
+
if (cases.indexOf(val2) !== -1)
|
|
3664
|
+
return val2;
|
|
3665
|
+
return invalidValue(cases.map((a2) => {
|
|
3666
|
+
return l(a2);
|
|
3667
|
+
}), val2, key, parent);
|
|
3668
|
+
}
|
|
3669
|
+
function transformArray(typ2, val2) {
|
|
3670
|
+
if (!Array.isArray(val2))
|
|
3671
|
+
return invalidValue(l("array"), val2, key, parent);
|
|
3672
|
+
return val2.map((el) => transform(el, typ2, getProps));
|
|
3673
|
+
}
|
|
3674
|
+
function transformDate(val2) {
|
|
3675
|
+
if (val2 === null) {
|
|
3676
|
+
return null;
|
|
3677
|
+
}
|
|
3678
|
+
const d = new Date(val2);
|
|
3679
|
+
if (isNaN(d.valueOf())) {
|
|
3680
|
+
return invalidValue(l("Date"), val2, key, parent);
|
|
3681
|
+
}
|
|
3682
|
+
return d;
|
|
3683
|
+
}
|
|
3684
|
+
function transformObject(props, additional, val2) {
|
|
3685
|
+
if (val2 === null || typeof val2 !== "object" || Array.isArray(val2)) {
|
|
3686
|
+
return invalidValue(l(ref || "object"), val2, key, parent);
|
|
3687
|
+
}
|
|
3688
|
+
const result = {};
|
|
3689
|
+
Object.getOwnPropertyNames(props).forEach((key2) => {
|
|
3690
|
+
const prop = props[key2];
|
|
3691
|
+
const v = Object.prototype.hasOwnProperty.call(val2, key2) ? val2[key2] : void 0;
|
|
3692
|
+
result[prop.key] = transform(v, prop.typ, getProps, key2, ref);
|
|
3693
|
+
});
|
|
3694
|
+
Object.getOwnPropertyNames(val2).forEach((key2) => {
|
|
3695
|
+
if (!Object.prototype.hasOwnProperty.call(props, key2)) {
|
|
3696
|
+
result[key2] = transform(val2[key2], additional, getProps, key2, ref);
|
|
3697
|
+
}
|
|
3698
|
+
});
|
|
3699
|
+
return result;
|
|
3700
|
+
}
|
|
3701
|
+
if (typ === "any")
|
|
3702
|
+
return val;
|
|
3703
|
+
if (typ === null) {
|
|
3704
|
+
if (val === null)
|
|
3705
|
+
return val;
|
|
3706
|
+
return invalidValue(typ, val, key, parent);
|
|
3707
|
+
}
|
|
3708
|
+
if (typ === false)
|
|
3709
|
+
return invalidValue(typ, val, key, parent);
|
|
3710
|
+
let ref = void 0;
|
|
3711
|
+
while (typeof typ === "object" && typ.ref !== void 0) {
|
|
3712
|
+
ref = typ.ref;
|
|
3713
|
+
typ = typeMap[typ.ref];
|
|
3714
|
+
}
|
|
3715
|
+
if (Array.isArray(typ))
|
|
3716
|
+
return transformEnum(typ, val);
|
|
3717
|
+
if (typeof typ === "object") {
|
|
3718
|
+
return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) : invalidValue(typ, val, key, parent);
|
|
3719
|
+
}
|
|
3720
|
+
if (typ === Date && typeof val !== "number")
|
|
3721
|
+
return transformDate(val);
|
|
3722
|
+
return transformPrimitive(typ, val);
|
|
3723
|
+
}
|
|
3724
|
+
function cast(val, typ) {
|
|
3725
|
+
return transform(val, typ, jsonToJSProps);
|
|
3726
|
+
}
|
|
3727
|
+
function uncast(val, typ) {
|
|
3728
|
+
return transform(val, typ, jsToJSONProps);
|
|
3729
|
+
}
|
|
3730
|
+
function l(typ) {
|
|
3731
|
+
return { literal: typ };
|
|
3732
|
+
}
|
|
3733
|
+
function a(typ) {
|
|
3734
|
+
return { arrayItems: typ };
|
|
3735
|
+
}
|
|
3736
|
+
function u(...typs) {
|
|
3737
|
+
return { unionMembers: typs };
|
|
3738
|
+
}
|
|
3739
|
+
function o(props, additional) {
|
|
3740
|
+
return { props, additional };
|
|
3741
|
+
}
|
|
3742
|
+
function r(name) {
|
|
3743
|
+
return { ref: name };
|
|
3744
|
+
}
|
|
3745
|
+
const typeMap = {
|
|
3746
|
+
ComptesRendus: o([{ json: "comptesRendus", js: "comptesRendus", typ: a(r("CompteRendu")) }], false),
|
|
3747
|
+
CompteRendu: o([
|
|
3748
|
+
{ json: "schemaVersion", js: "schemaVersion", typ: u(void 0, "") },
|
|
3749
|
+
{ json: "uid", js: "uid", typ: u(void 0, "") },
|
|
3750
|
+
{ json: "seanceRef", js: "seanceRef", typ: "" },
|
|
3751
|
+
{ json: "sessionRef", js: "sessionRef", typ: "" },
|
|
3752
|
+
{ json: "metadonnees", js: "metadonnees", typ: r("Metadonnees") },
|
|
3753
|
+
{ json: "contenu", js: "contenu", typ: r("Contenu") }
|
|
3754
|
+
], false),
|
|
3755
|
+
Contenu: o([
|
|
3756
|
+
{ json: "quantiemes", js: "quantiemes", typ: r("Quantiemes") },
|
|
3757
|
+
{
|
|
3758
|
+
json: "ouvertureSeance",
|
|
3759
|
+
js: "ouvertureSeance",
|
|
3760
|
+
typ: u(void 0, u(a(r("Point")), r("Point")))
|
|
3761
|
+
},
|
|
3762
|
+
{ json: "point", js: "point", typ: u(a(r("Point")), r("Point")) },
|
|
3763
|
+
{ json: "finSeance", js: "finSeance", typ: u(void 0, r("FinSeance")) },
|
|
3764
|
+
{
|
|
3765
|
+
json: "paragraphe",
|
|
3766
|
+
js: "paragraphe",
|
|
3767
|
+
typ: u(void 0, a(r("Point")))
|
|
3768
|
+
}
|
|
3769
|
+
], false),
|
|
3770
|
+
FinSeance: o([{ json: "point", js: "point", typ: r("Point") }], false),
|
|
3771
|
+
Orateurs: o([
|
|
3772
|
+
{
|
|
3773
|
+
json: "orateur",
|
|
3774
|
+
js: "orateur",
|
|
3775
|
+
typ: u(a(r("OrateurElement")), r("OrateurElement"))
|
|
3776
|
+
}
|
|
3777
|
+
], false),
|
|
3778
|
+
OrateurElement: o([
|
|
3779
|
+
{ json: "nom", js: "nom", typ: u(void 0, "") },
|
|
3780
|
+
{ json: "id", js: "id", typ: u(void 0, "") },
|
|
3781
|
+
{ json: "qualite", js: "qualite", typ: u(void 0, "") }
|
|
3782
|
+
], false),
|
|
3783
|
+
Texte: o([
|
|
3784
|
+
{ json: "_", js: "_", typ: u(void 0, "") },
|
|
3785
|
+
{ json: "id_syceron", js: "id_syceron", typ: u(void 0, "") },
|
|
3786
|
+
{ json: "stime", js: "stime", typ: u(void 0, "") },
|
|
3787
|
+
{ json: "sup", js: "sup", typ: u(void 0, "") },
|
|
3788
|
+
{
|
|
3789
|
+
json: "lienAdt",
|
|
3790
|
+
js: "lienAdt",
|
|
3791
|
+
typ: u(void 0, u(a(r("Texte")), r("Texte")))
|
|
3792
|
+
}
|
|
3793
|
+
], false),
|
|
3794
|
+
Point: o([
|
|
3795
|
+
{ json: "nivpoint", js: "nivpoint", typ: u(void 0, "") },
|
|
3796
|
+
{ json: "valeur_ptsodj", js: "valeur_ptsodj", typ: u(void 0, "") },
|
|
3797
|
+
{ json: "ordinal_prise", js: "ordinal_prise", typ: u(void 0, "") },
|
|
3798
|
+
{ json: "id_preparation", js: "id_preparation", typ: u(void 0, "") },
|
|
3799
|
+
{
|
|
3800
|
+
json: "ordre_absolu_seance",
|
|
3801
|
+
js: "ordre_absolu_seance",
|
|
3802
|
+
typ: u(void 0, "")
|
|
3803
|
+
},
|
|
3804
|
+
{ json: "code_grammaire", js: "code_grammaire", typ: u(void 0, "") },
|
|
3805
|
+
{ json: "code_style", js: "code_style", typ: u(void 0, "") },
|
|
3806
|
+
{ json: "code_parole", js: "code_parole", typ: u(void 0, "") },
|
|
3807
|
+
{ json: "sommaire", js: "sommaire", typ: u(void 0, "") },
|
|
3808
|
+
{ json: "id_syceron", js: "id_syceron", typ: u(void 0, "") },
|
|
3809
|
+
{ json: "valeur", js: "valeur", typ: u(void 0, "") },
|
|
3810
|
+
{
|
|
3811
|
+
json: "orateurs",
|
|
3812
|
+
js: "orateurs",
|
|
3813
|
+
typ: u(r("Orateurs"), u("", void 0))
|
|
3814
|
+
},
|
|
3815
|
+
{ json: "texte", js: "texte", typ: u(r("Texte"), u("", void 0)) },
|
|
3816
|
+
{
|
|
3817
|
+
json: "paragraphe",
|
|
3818
|
+
js: "paragraphe",
|
|
3819
|
+
typ: u(void 0, u(a(r("Point")), r("Point")))
|
|
3820
|
+
},
|
|
3821
|
+
{
|
|
3822
|
+
json: "interExtraction",
|
|
3823
|
+
js: "interExtraction",
|
|
3824
|
+
typ: u(void 0, u(a(r("Point")), r("Point")))
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
json: "point",
|
|
3828
|
+
js: "point",
|
|
3829
|
+
typ: u(void 0, u(a(r("Point")), r("Point")))
|
|
3830
|
+
},
|
|
3831
|
+
{ json: "structure", js: "structure", typ: u(void 0, "") },
|
|
3832
|
+
{ json: "id_acteur", js: "id_acteur", typ: u(void 0, "") },
|
|
3833
|
+
{ json: "id_mandat", js: "id_mandat", typ: u(void 0, "") },
|
|
3834
|
+
{
|
|
3835
|
+
json: "id_nomination_oe",
|
|
3836
|
+
js: "id_nomination_oe",
|
|
3837
|
+
typ: u(void 0, "")
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
json: "id_nomination_op",
|
|
3841
|
+
js: "id_nomination_op",
|
|
3842
|
+
typ: u(void 0, "")
|
|
3843
|
+
},
|
|
3844
|
+
{ json: "orateur", js: "orateur", typ: u(void 0, "") },
|
|
3845
|
+
{ json: "bibard", js: "bibard", typ: u(void 0, "") },
|
|
3846
|
+
{ json: "art", js: "art", typ: u(void 0, "") },
|
|
3847
|
+
{ json: "adt", js: "adt", typ: u(void 0, "") },
|
|
3848
|
+
{ json: "ssadt", js: "ssadt", typ: u(void 0, "") },
|
|
3849
|
+
{ json: "roledebat", js: "roledebat", typ: u(void 0, "") },
|
|
3850
|
+
{ json: "type_debat", js: "type_debat", typ: u(void 0, "") },
|
|
3851
|
+
{
|
|
3852
|
+
json: "changementPresidence",
|
|
3853
|
+
js: "changementPresidence",
|
|
3854
|
+
typ: u(void 0, u(a(r("Point")), r("Point")))
|
|
3855
|
+
},
|
|
3856
|
+
{ json: "decision", js: "decision", typ: u(void 0, r("Decision")) },
|
|
3857
|
+
{
|
|
3858
|
+
json: "ouvertureSeance",
|
|
3859
|
+
js: "ouvertureSeance",
|
|
3860
|
+
typ: u(void 0, r("Point"))
|
|
3861
|
+
},
|
|
3862
|
+
{ json: "nom_orateur", js: "nom_orateur", typ: u(void 0, "") },
|
|
3863
|
+
{ json: "qualite", js: "qualite", typ: u(void 0, "") }
|
|
3864
|
+
], false),
|
|
3865
|
+
Quantiemes: o([
|
|
3866
|
+
{ json: "journee", js: "journee", typ: "" },
|
|
3867
|
+
{ json: "session", js: "session", typ: "" }
|
|
3868
|
+
], false),
|
|
3869
|
+
Metadonnees: o([
|
|
3870
|
+
{ json: "dateSeance", js: "dateSeance", typ: "" },
|
|
3871
|
+
{ json: "dateSeanceJour", js: "dateSeanceJour", typ: "" },
|
|
3872
|
+
{ json: "numSeanceJour", js: "numSeanceJour", typ: "" },
|
|
3873
|
+
{ json: "numSeance", js: "numSeance", typ: "" },
|
|
3874
|
+
{ json: "typeAssemblee", js: "typeAssemblee", typ: "" },
|
|
3875
|
+
{ json: "legislature", js: "legislature", typ: "" },
|
|
3876
|
+
{ json: "session", js: "session", typ: "" },
|
|
3877
|
+
{ json: "nomFichierJo", js: "nomFichierJo", typ: "" },
|
|
3878
|
+
{ json: "validite", js: "validite", typ: "" },
|
|
3879
|
+
{ json: "etat", js: "etat", typ: "" },
|
|
3880
|
+
{ json: "diffusion", js: "diffusion", typ: "" },
|
|
3881
|
+
{ json: "version", js: "version", typ: "" },
|
|
3882
|
+
{ json: "environnement", js: "environnement", typ: "" },
|
|
3883
|
+
{ json: "heureGeneration", js: "heureGeneration", typ: Date },
|
|
3884
|
+
{ json: "sommaire", js: "sommaire", typ: r("Sommaire") }
|
|
3885
|
+
], false),
|
|
3886
|
+
Sommaire: o([
|
|
3887
|
+
{ json: "presidentSeance", js: "presidentSeance", typ: r("Texte") },
|
|
3888
|
+
{
|
|
3889
|
+
json: "sommaire1",
|
|
3890
|
+
js: "sommaire1",
|
|
3891
|
+
typ: u(a(r("SommaireElement")), r("SommaireElement"))
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
json: "sommaire3",
|
|
3895
|
+
js: "sommaire3",
|
|
3896
|
+
typ: u(void 0, u(a(r("SommaireElement")), r("SommaireElement")))
|
|
3897
|
+
},
|
|
3898
|
+
{
|
|
3899
|
+
json: "sommaire2",
|
|
3900
|
+
js: "sommaire2",
|
|
3901
|
+
typ: u(void 0, u(a(r("SommaireElement")), r("SommaireElement")))
|
|
3902
|
+
},
|
|
3903
|
+
{
|
|
3904
|
+
json: "para",
|
|
3905
|
+
js: "para",
|
|
3906
|
+
typ: u(void 0, u(a(r("Texte")), r("Texte")))
|
|
3907
|
+
}
|
|
3908
|
+
], false),
|
|
3909
|
+
SommaireElement: o([
|
|
3910
|
+
{ json: "valeur_pts_odj", js: "valeur_pts_odj", typ: u(void 0, "") },
|
|
3911
|
+
{
|
|
3912
|
+
json: "titreStruct",
|
|
3913
|
+
js: "titreStruct",
|
|
3914
|
+
typ: u(void 0, r("TitreStruct"))
|
|
3915
|
+
},
|
|
3916
|
+
{
|
|
3917
|
+
json: "para",
|
|
3918
|
+
js: "para",
|
|
3919
|
+
typ: u(void 0, u(a(u(r("Texte"), "")), r("Texte")))
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
json: "sommaire2",
|
|
3923
|
+
js: "sommaire2",
|
|
3924
|
+
typ: u(void 0, u(a(r("SommaireElement")), r("SommaireElement")))
|
|
3925
|
+
},
|
|
3926
|
+
{
|
|
3927
|
+
json: "sommaire3",
|
|
3928
|
+
js: "sommaire3",
|
|
3929
|
+
typ: u(void 0, u(a(r("SommaireElement")), r("SommaireElement")))
|
|
3930
|
+
},
|
|
3931
|
+
{
|
|
3932
|
+
json: "presidentSeance",
|
|
3933
|
+
js: "presidentSeance",
|
|
3934
|
+
typ: u(void 0, u(a(r("Texte")), r("Texte")))
|
|
3935
|
+
},
|
|
3936
|
+
{ json: "type_debat", js: "type_debat", typ: u(void 0, "") }
|
|
3937
|
+
], false),
|
|
3938
|
+
TitreStruct: o([
|
|
3939
|
+
{ json: "id_syceron", js: "id_syceron", typ: "" },
|
|
3940
|
+
{ json: "intitule", js: "intitule", typ: u(void 0, "") },
|
|
3941
|
+
{ json: "sousIntitule", js: "sousIntitule", typ: u(void 0, "") },
|
|
3942
|
+
{ json: "type_debat", js: "type_debat", typ: u(void 0, "") }
|
|
3943
|
+
], false),
|
|
3944
|
+
Decision: [
|
|
3945
|
+
"ADOPTION amendement (main levée) adt",
|
|
3946
|
+
"ADOPTION d’un article (vote à main levée)",
|
|
3947
|
+
"ADOPTION d’un sous-amendement (main levée) ss-adt",
|
|
3948
|
+
"ADOPTION de plusieurs amendements (main levée) adts",
|
|
3949
|
+
"ADOPTION de plusieurs sous-amendements (main levée) ss-adts",
|
|
3950
|
+
"",
|
|
3951
|
+
"REJET d’un amendement (main levée) adt",
|
|
3952
|
+
"REJET d’un article (vote à main levée)",
|
|
3953
|
+
"REJET d’un sous-amendement (main levée) ss-adt",
|
|
3954
|
+
"REJET de plusieurs amendements (main levée) adts",
|
|
3955
|
+
"REJET de plusieurs sous-amendements (main levée) ss-adts",
|
|
3956
|
+
"REJET motion de rejet préalable (main levée)"
|
|
3957
|
+
]
|
|
3958
|
+
};
|
|
3959
|
+
export {
|
|
3960
|
+
CodeTypeOrgane as C,
|
|
3961
|
+
EtatCycleDeVie as E,
|
|
3962
|
+
Legislature as L,
|
|
3963
|
+
TypeMandat as T,
|
|
3964
|
+
CodeActe as a,
|
|
3965
|
+
TypeOrgane as b,
|
|
3966
|
+
TypeReunion as c,
|
|
3967
|
+
TypeActeLegislatif as d,
|
|
3968
|
+
TypeDocument as e,
|
|
3969
|
+
datasets as f,
|
|
3970
|
+
EnabledDatasets as g,
|
|
3971
|
+
Convert$5 as h,
|
|
3972
|
+
Convert$4 as i,
|
|
3973
|
+
Convert$3 as j,
|
|
3974
|
+
Convert$2 as k,
|
|
3975
|
+
Convert$1 as l,
|
|
3976
|
+
Convert6 as m
|
|
3977
|
+
};
|
|
3978
|
+
//# sourceMappingURL=debats-BwZYgzXe.js.map
|