@tricoteuses/assemblee 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/dossiers_legislatifs.d.ts +1 -1
- package/lib/index.d.ts +3 -2
- package/lib/index.js +2 -2
- package/lib/{loaders-DX6btNsl.js → loaders-BlZuX1oO.js} +1330 -1366
- package/lib/loaders.js +1 -1
- package/lib/raw_types/acteurs_et_organes.d.ts +4 -40
- package/lib/raw_types/dossiers_legislatifs.d.ts +1 -1
- package/lib/schemas/acteurs_et_organes.json +2 -1
- package/lib/schemas/agendas.json +2 -1
- package/lib/schemas/amendements.json +2 -1
- package/lib/schemas/dossiers_legislatifs.json +2 -1
- package/lib/shared_types/acteurs_et_organes.d.ts +149 -0
- package/lib/types/acteurs_et_organes.d.ts +1 -42
- package/lib/types/dossiers_legislatifs.d.ts +1 -1
- package/package.json +1 -1
- /package/lib/shared_types/{codes_actes.d.ts → dossiers_legislatifs.d.ts} +0 -0
package/lib/loaders.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "node:assert";
|
|
2
2
|
import "fs-extra";
|
|
3
3
|
import "node:path";
|
|
4
|
-
import { af as r, Y as i, _ as d, a4 as l, $ as n, a0 as b, Z as A, a3 as p, a1 as u, a2 as D, a5 as F, a6 as L, a7 as h, a8 as c, a9 as U, ae as P, p as R, aa as g, ad as S, ab as f, ac as C, ag as Q } from "./loaders-
|
|
4
|
+
import { af as r, Y as i, _ as d, a4 as l, $ as n, a0 as b, Z as A, a3 as p, a1 as u, a2 as D, a5 as F, a6 as L, a7 as h, a8 as c, a9 as U, ae as P, p as R, aa as g, ad as S, ab as f, ac as C, ag as Q } from "./loaders-BlZuX1oO.js";
|
|
5
5
|
import "./amendements-40Z7OJLT.js";
|
|
6
6
|
export {
|
|
7
7
|
r as EnabledDatasets,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CodeTypeOrgane } from '../shared_types/acteurs_et_organes';
|
|
1
2
|
export interface Acteur {
|
|
2
3
|
acteur: ActeurActeur;
|
|
3
4
|
}
|
|
@@ -169,7 +170,7 @@ export interface Mandat {
|
|
|
169
170
|
uid: string;
|
|
170
171
|
acteurRef: string;
|
|
171
172
|
legislature: null | string;
|
|
172
|
-
typeOrgane:
|
|
173
|
+
typeOrgane: CodeTypeOrgane;
|
|
173
174
|
dateDebut: Date;
|
|
174
175
|
datePublication: Date | null;
|
|
175
176
|
dateFin: Date | null;
|
|
@@ -271,43 +272,6 @@ export interface Suppleant {
|
|
|
271
272
|
dateFin: Date | null;
|
|
272
273
|
suppleantRef: string;
|
|
273
274
|
}
|
|
274
|
-
export declare enum CodeType {
|
|
275
|
-
Api = "API",
|
|
276
|
-
Assemblee = "ASSEMBLEE",
|
|
277
|
-
Bureau = "BUREAU",
|
|
278
|
-
Circonscription = "CIRCONSCRIPTION",
|
|
279
|
-
Cjr = "CJR",
|
|
280
|
-
Cmp = "CMP",
|
|
281
|
-
Cnpe = "CNPE",
|
|
282
|
-
Cnps = "CNPS",
|
|
283
|
-
Comnl = "COMNL",
|
|
284
|
-
Comper = "COMPER",
|
|
285
|
-
Comsenat = "COMSENAT",
|
|
286
|
-
Comspsenat = "COMSPSENAT",
|
|
287
|
-
Confpt = "CONFPT",
|
|
288
|
-
Constitu = "CONSTITU",
|
|
289
|
-
Deleg = "DELEG",
|
|
290
|
-
Delegbureau = "DELEGBUREAU",
|
|
291
|
-
Delegsenat = "DELEGSENAT",
|
|
292
|
-
Ga = "GA",
|
|
293
|
-
Ge = "GE",
|
|
294
|
-
Gevi = "GEVI",
|
|
295
|
-
Gouvernement = "GOUVERNEMENT",
|
|
296
|
-
Gp = "GP",
|
|
297
|
-
Groupesenat = "GROUPESENAT",
|
|
298
|
-
Hcj = "HCJ",
|
|
299
|
-
Ministere = "MINISTERE",
|
|
300
|
-
Miseval = "MISEVAL",
|
|
301
|
-
Misinfo = "MISINFO",
|
|
302
|
-
Misinfocom = "MISINFOCOM",
|
|
303
|
-
Misinfopre = "MISINFOPRE",
|
|
304
|
-
Offpar = "OFFPAR",
|
|
305
|
-
Orgaint = "ORGAINT",
|
|
306
|
-
Orgextparl = "ORGEXTPARL",
|
|
307
|
-
Parpol = "PARPOL",
|
|
308
|
-
Presrep = "PRESREP",
|
|
309
|
-
Senat = "SENAT"
|
|
310
|
-
}
|
|
311
275
|
export interface Profession {
|
|
312
276
|
libelleCourant: Nil | null | string;
|
|
313
277
|
socProcINSEE: SocProcInsee;
|
|
@@ -372,7 +336,7 @@ export interface OrganeOrgane {
|
|
|
372
336
|
"@xmlns:xsi": string;
|
|
373
337
|
"@xsi:type"?: OrganeXsiType;
|
|
374
338
|
uid: string;
|
|
375
|
-
codeType:
|
|
339
|
+
codeType: CodeTypeOrgane;
|
|
376
340
|
libelle: string;
|
|
377
341
|
libelleEdition: null | string;
|
|
378
342
|
libelleAbrege: string;
|
|
@@ -474,7 +438,7 @@ export interface ExportOrganes {
|
|
|
474
438
|
export interface OrganeElement {
|
|
475
439
|
"@xsi:type": OrganeXsiType;
|
|
476
440
|
uid: string;
|
|
477
|
-
codeType:
|
|
441
|
+
codeType: CodeTypeOrgane;
|
|
478
442
|
libelle: string;
|
|
479
443
|
libelleEdition: null | string;
|
|
480
444
|
libelleAbrege: string;
|
|
@@ -172,6 +172,7 @@
|
|
|
172
172
|
"HCJ",
|
|
173
173
|
"MINISTERE",
|
|
174
174
|
"MISEVAL",
|
|
175
|
+
"MISGRTR",
|
|
175
176
|
"MISINFO",
|
|
176
177
|
"MISINFOCOM",
|
|
177
178
|
"MISINFOPRE",
|
|
@@ -454,7 +455,7 @@
|
|
|
454
455
|
"socProcInsee"
|
|
455
456
|
],
|
|
456
457
|
"additionalProperties": false,
|
|
457
|
-
"description": "Profession
|
|
458
|
+
"description": "Profession"
|
|
458
459
|
},
|
|
459
460
|
"SocProcInsee": {
|
|
460
461
|
"type": "object",
|
package/lib/schemas/agendas.json
CHANGED
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
"socProcInsee"
|
|
374
374
|
],
|
|
375
375
|
"additionalProperties": false,
|
|
376
|
-
"description": "Profession
|
|
376
|
+
"description": "Profession"
|
|
377
377
|
},
|
|
378
378
|
"SocProcInsee": {
|
|
379
379
|
"type": "object",
|
|
@@ -659,6 +659,7 @@
|
|
|
659
659
|
"HCJ",
|
|
660
660
|
"MINISTERE",
|
|
661
661
|
"MISEVAL",
|
|
662
|
+
"MISGRTR",
|
|
662
663
|
"MISINFO",
|
|
663
664
|
"MISINFOCOM",
|
|
664
665
|
"MISINFOPRE",
|
|
@@ -387,6 +387,7 @@
|
|
|
387
387
|
"HCJ",
|
|
388
388
|
"MINISTERE",
|
|
389
389
|
"MISEVAL",
|
|
390
|
+
"MISGRTR",
|
|
390
391
|
"MISINFO",
|
|
391
392
|
"MISINFOCOM",
|
|
392
393
|
"MISINFOPRE",
|
|
@@ -669,7 +670,7 @@
|
|
|
669
670
|
"socProcInsee"
|
|
670
671
|
],
|
|
671
672
|
"additionalProperties": false,
|
|
672
|
-
"description": "Profession
|
|
673
|
+
"description": "Profession"
|
|
673
674
|
},
|
|
674
675
|
"SocProcInsee": {
|
|
675
676
|
"type": "object",
|
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
"socProcInsee"
|
|
614
614
|
],
|
|
615
615
|
"additionalProperties": false,
|
|
616
|
-
"description": "Profession
|
|
616
|
+
"description": "Profession"
|
|
617
617
|
},
|
|
618
618
|
"SocProcInsee": {
|
|
619
619
|
"type": "object",
|
|
@@ -899,6 +899,7 @@
|
|
|
899
899
|
"HCJ",
|
|
900
900
|
"MINISTERE",
|
|
901
901
|
"MISEVAL",
|
|
902
|
+
"MISGRTR",
|
|
902
903
|
"MISINFO",
|
|
903
904
|
"MISINFOCOM",
|
|
904
905
|
"MISINFOPRE",
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Code du type d'organe
|
|
3
|
+
*/
|
|
4
|
+
export declare enum CodeTypeOrgane {
|
|
5
|
+
/**
|
|
6
|
+
* Assemblée parlementaire internationale
|
|
7
|
+
*/
|
|
8
|
+
Api = "API",
|
|
9
|
+
/**
|
|
10
|
+
* Assemblée nationale
|
|
11
|
+
*/
|
|
12
|
+
Assemblee = "ASSEMBLEE",
|
|
13
|
+
/**
|
|
14
|
+
* Bureau de l'Assemblée nationale
|
|
15
|
+
*/
|
|
16
|
+
Bureau = "BUREAU",
|
|
17
|
+
/**
|
|
18
|
+
* Circonscription
|
|
19
|
+
*/
|
|
20
|
+
Circonscription = "CIRCONSCRIPTION",
|
|
21
|
+
/**
|
|
22
|
+
* Cour de justice de la République
|
|
23
|
+
*/
|
|
24
|
+
Cjr = "CJR",
|
|
25
|
+
/**
|
|
26
|
+
* Commission mixte paritaire,
|
|
27
|
+
*/
|
|
28
|
+
Cmp = "CMP",
|
|
29
|
+
/**
|
|
30
|
+
* Commission d'enquête; what does this acronym mean?
|
|
31
|
+
*/
|
|
32
|
+
Cnpe = "CNPE",
|
|
33
|
+
/**
|
|
34
|
+
* Commission spéciale; what does this acronym mean?
|
|
35
|
+
*/
|
|
36
|
+
Cnps = "CNPS",
|
|
37
|
+
/**
|
|
38
|
+
* Commission spéciale autre; what does this acronym mean?
|
|
39
|
+
*/
|
|
40
|
+
Comnl = "COMNL",
|
|
41
|
+
/**
|
|
42
|
+
* Commission permanente
|
|
43
|
+
*/
|
|
44
|
+
Comper = "COMPER",
|
|
45
|
+
/**
|
|
46
|
+
* Commission sénatoriale
|
|
47
|
+
*/
|
|
48
|
+
Comsenat = "COMSENAT",
|
|
49
|
+
/**
|
|
50
|
+
* Commission spéciale sénatoriale
|
|
51
|
+
*/
|
|
52
|
+
Comspsenat = "COMSPSENAT",
|
|
53
|
+
/**
|
|
54
|
+
* Conférence des présidents
|
|
55
|
+
*/
|
|
56
|
+
Confpt = "CONFPT",
|
|
57
|
+
/**
|
|
58
|
+
* Conseil constitutionnel
|
|
59
|
+
*/
|
|
60
|
+
Constitu = "CONSTITU",
|
|
61
|
+
/**
|
|
62
|
+
* Délégation
|
|
63
|
+
*/
|
|
64
|
+
Deleg = "DELEG",
|
|
65
|
+
/**
|
|
66
|
+
* Délégation du Bureau
|
|
67
|
+
*/
|
|
68
|
+
Delegbureau = "DELEGBUREAU",
|
|
69
|
+
/**
|
|
70
|
+
* Délégation sénatoriale
|
|
71
|
+
*/
|
|
72
|
+
Delegsenat = "DELEGSENAT",
|
|
73
|
+
/**
|
|
74
|
+
* Groupe d'amitié
|
|
75
|
+
*/
|
|
76
|
+
Ga = "GA",
|
|
77
|
+
/**
|
|
78
|
+
* Groupe d'études
|
|
79
|
+
*/
|
|
80
|
+
Ge = "GE",
|
|
81
|
+
/**
|
|
82
|
+
* Groupe d'études à vocation internationale
|
|
83
|
+
*/
|
|
84
|
+
Gevi = "GEVI",
|
|
85
|
+
/**
|
|
86
|
+
* Gouvernement
|
|
87
|
+
*/
|
|
88
|
+
Gouvernement = "GOUVERNEMENT",
|
|
89
|
+
/**
|
|
90
|
+
* Groupe politique
|
|
91
|
+
*/
|
|
92
|
+
Gp = "GP",
|
|
93
|
+
/**
|
|
94
|
+
* Groupe sénatorial
|
|
95
|
+
*/
|
|
96
|
+
Groupesenat = "GROUPESENAT",
|
|
97
|
+
/**
|
|
98
|
+
* Haute Cour de Justice
|
|
99
|
+
*/
|
|
100
|
+
Hcj = "HCJ",
|
|
101
|
+
/**
|
|
102
|
+
* Ministère
|
|
103
|
+
*/
|
|
104
|
+
Ministere = "MINISTERE",
|
|
105
|
+
/**
|
|
106
|
+
* Mission d'évaluation
|
|
107
|
+
*/
|
|
108
|
+
Miseval = "MISEVAL",
|
|
109
|
+
/**
|
|
110
|
+
* Groupe de travail
|
|
111
|
+
*/
|
|
112
|
+
Misgrtr = "MISGRTR",
|
|
113
|
+
/**
|
|
114
|
+
* Mission d'information
|
|
115
|
+
*/
|
|
116
|
+
Misinfo = "MISINFO",
|
|
117
|
+
/**
|
|
118
|
+
* Mission d'information commune
|
|
119
|
+
*/
|
|
120
|
+
Misinfocom = "MISINFOCOM",
|
|
121
|
+
/**
|
|
122
|
+
* Missions d’information de la conférence des Présidents
|
|
123
|
+
*/
|
|
124
|
+
Misinfopre = "MISINFOPRE",
|
|
125
|
+
/**
|
|
126
|
+
* Office parlementaire ou délégation mixte
|
|
127
|
+
*/
|
|
128
|
+
Offpar = "OFFPAR",
|
|
129
|
+
/**
|
|
130
|
+
* Organisme international
|
|
131
|
+
*/
|
|
132
|
+
Orgaint = "ORGAINT",
|
|
133
|
+
/**
|
|
134
|
+
* Organisme extra-parlementaire
|
|
135
|
+
*/
|
|
136
|
+
Orgextparl = "ORGEXTPARL",
|
|
137
|
+
/**
|
|
138
|
+
* Parti politique
|
|
139
|
+
*/
|
|
140
|
+
Parpol = "PARPOL",
|
|
141
|
+
/**
|
|
142
|
+
* Présidence de la République
|
|
143
|
+
*/
|
|
144
|
+
Presrep = "PRESREP",
|
|
145
|
+
/**
|
|
146
|
+
* Sénat
|
|
147
|
+
*/
|
|
148
|
+
Senat = "SENAT"
|
|
149
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CodeTypeOrgane } from '../shared_types/acteurs_et_organes';
|
|
1
2
|
export interface ActeursEtOrganes {
|
|
2
3
|
organes: Organe[];
|
|
3
4
|
acteurs: Acteur[];
|
|
@@ -365,50 +366,8 @@ export interface Suppleant {
|
|
|
365
366
|
*/
|
|
366
367
|
suppleantRef: string;
|
|
367
368
|
}
|
|
368
|
-
/**
|
|
369
|
-
* Code du type d'organe
|
|
370
|
-
*/
|
|
371
|
-
export declare enum CodeTypeOrgane {
|
|
372
|
-
Api = "API",// Assemblée parlementaire internationale
|
|
373
|
-
Assemblee = "ASSEMBLEE",// Assemblée nationale
|
|
374
|
-
Bureau = "BUREAU",// Bureau de l'Assemblée nationale
|
|
375
|
-
Circonscription = "CIRCONSCRIPTION",
|
|
376
|
-
Cjr = "CJR",// Cour de justice de la République
|
|
377
|
-
Cmp = "CMP",// Commission mixte paritaire,
|
|
378
|
-
Cnpe = "CNPE",// Commission d'enquête; what does this acronym mean?
|
|
379
|
-
Cnps = "CNPS",// Commission spéciale; what does this acronym mean?
|
|
380
|
-
Comnl = "COMNL",// Commission spéciale autre; what does this acronym mean?
|
|
381
|
-
Comper = "COMPER",// Commission permanente
|
|
382
|
-
Comsenat = "COMSENAT",// Commission sénatoriale
|
|
383
|
-
Comspsenat = "COMSPSENAT",// Commission spéciale sénatoriale
|
|
384
|
-
Confpt = "CONFPT",// Conférence des présidents
|
|
385
|
-
Constitu = "CONSTITU",// Conseil constitutionnel
|
|
386
|
-
Deleg = "DELEG",// Délégation
|
|
387
|
-
Delegbureau = "DELEGBUREAU",// Délégation du Bureau
|
|
388
|
-
Delegsenat = "DELEGSENAT",// Délégation sénatoriale
|
|
389
|
-
Ga = "GA",// Groupe d'amitié
|
|
390
|
-
Ge = "GE",// Groupe d'études
|
|
391
|
-
Gevi = "GEVI",// Groupe d'études à vocation internationale
|
|
392
|
-
Gouvernement = "GOUVERNEMENT",// Gouvernement
|
|
393
|
-
Gp = "GP",// Groupe politique
|
|
394
|
-
Groupesenat = "GROUPESENAT",// Groupe sénatorial
|
|
395
|
-
Hcj = "HCJ",// Haute Cour de Justice
|
|
396
|
-
Ministere = "MINISTERE",// Ministère
|
|
397
|
-
Miseval = "MISEVAL",// Mission d'évaluation
|
|
398
|
-
Misinfo = "MISINFO",// Mission d'information
|
|
399
|
-
Misinfocom = "MISINFOCOM",// Mission d'information commune
|
|
400
|
-
Misinfopre = "MISINFOPRE",// Missions d’information de la conférence des Présidents
|
|
401
|
-
Offpar = "OFFPAR",// Office parlementaire ou délégation mixte
|
|
402
|
-
Orgaint = "ORGAINT",// Organisme international
|
|
403
|
-
Orgextparl = "ORGEXTPARL",// Organisme extra-parlementaire
|
|
404
|
-
Parpol = "PARPOL",// Parti politique
|
|
405
|
-
Presrep = "PRESREP",// Présidence de la République
|
|
406
|
-
Senat = "SENAT"
|
|
407
|
-
}
|
|
408
369
|
/**
|
|
409
370
|
* Profession
|
|
410
|
-
*
|
|
411
|
-
* Profession.
|
|
412
371
|
*/
|
|
413
372
|
export interface Profession {
|
|
414
373
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Acteur, Mandat, Organe } from './acteurs_et_organes';
|
|
2
2
|
import { PointOdj, Reunion } from './agendas';
|
|
3
3
|
import { Scrutin } from './scrutins';
|
|
4
|
-
import { CodeActe } from '../shared_types/
|
|
4
|
+
import { CodeActe } from '../shared_types/dossiers_legislatifs';
|
|
5
5
|
export interface DossiersLegislatifs {
|
|
6
6
|
textesLegislatifs: Document[];
|
|
7
7
|
dossiersParlementaires: DossierParlementaire[];
|
package/package.json
CHANGED
|
File without changes
|