@tricoteuses/senat 1.1.2 → 1.3.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/README.md +53 -15
- package/lib/config.d.ts +1 -0
- package/lib/config.js +14 -45
- package/lib/databases.d.ts +9 -0
- package/lib/databases.js +90 -117
- package/lib/datasets.js +78 -83
- package/lib/index.d.ts +8 -7
- package/lib/index.js +42 -523
- package/lib/legislatures.json +38 -0
- package/lib/loaders.d.ts +64 -0
- package/lib/loaders.js +177 -0
- package/lib/model/ameli.d.ts +105 -4
- package/lib/model/ameli.js +88 -166
- package/lib/model/debats.d.ts +0 -4
- package/lib/model/debats.js +0 -122
- package/lib/model/dosleg.d.ts +227 -29
- package/lib/model/dosleg.js +205 -839
- package/lib/model/index.d.ts +4 -5
- package/lib/model/index.js +12 -47
- package/lib/model/questions.d.ts +88 -2
- package/lib/model/questions.js +75 -51
- package/lib/model/sens.d.ts +524 -2
- package/lib/model/sens.js +449 -56
- package/lib/model/texte.d.ts +7 -0
- package/lib/model/texte.js +251 -0
- package/lib/model/util.d.ts +7 -1
- package/lib/model/util.js +26 -59
- package/lib/raw_types/ameli.d.ts +912 -538
- package/lib/raw_types/ameli.js +3 -42
- package/lib/raw_types/debats.d.ts +204 -124
- package/lib/raw_types/debats.js +3 -21
- package/lib/raw_types/dosleg.d.ts +3533 -2024
- package/lib/raw_types/dosleg.js +3 -95
- package/lib/raw_types/questions.d.ts +404 -220
- package/lib/raw_types/questions.js +3 -21
- package/lib/raw_types/sens.d.ts +4391 -2706
- package/lib/raw_types/sens.js +3 -111
- package/lib/raw_types_schemats/ameli.d.ts +541 -0
- package/lib/raw_types_schemats/ameli.js +3 -0
- package/lib/raw_types_schemats/debats.d.ts +127 -0
- package/lib/raw_types_schemats/debats.js +3 -0
- package/lib/raw_types_schemats/dosleg.d.ts +2029 -0
- package/lib/raw_types_schemats/dosleg.js +3 -0
- package/lib/raw_types_schemats/questions.d.ts +233 -0
- package/lib/raw_types_schemats/questions.js +3 -0
- package/lib/raw_types_schemats/sens.d.ts +2709 -0
- package/lib/raw_types_schemats/sens.js +3 -0
- package/lib/scripts/convert_data.js +184 -275
- package/lib/scripts/datautil.d.ts +5 -0
- package/lib/scripts/datautil.js +21 -0
- package/lib/scripts/parse_textes.js +49 -0
- package/lib/scripts/retrieve_documents.js +255 -0
- package/lib/scripts/retrieve_open_data.js +211 -360
- package/lib/scripts/retrieve_senateurs_photos.js +144 -257
- package/lib/scripts/shared/cli_helpers.d.ts +44 -0
- package/lib/scripts/shared/cli_helpers.js +35 -0
- package/lib/scripts/shared/util.d.ts +3 -0
- package/lib/scripts/shared/util.js +36 -0
- package/lib/strings.js +20 -45
- package/lib/types/ameli.d.ts +2 -2
- package/lib/types/ameli.js +14 -25
- package/lib/types/debats.d.ts +2 -2
- package/lib/types/debats.js +3 -21
- package/lib/types/dosleg.d.ts +3 -3
- package/lib/types/dosleg.js +152 -119
- package/lib/types/questions.d.ts +2 -2
- package/lib/types/questions.js +1 -13
- package/lib/types/sens.d.ts +2 -4
- package/lib/types/sens.js +1 -16
- package/lib/types/sessions.d.ts +42 -0
- package/lib/types/sessions.js +46 -0
- package/lib/types/texte.d.ts +65 -0
- package/lib/types/texte.js +19 -0
- package/lib/validators/config.js +47 -111
- package/lib/validators/senat.js +1 -5
- package/package.json +35 -32
- package/lib/aggregates.d.ts +0 -54
- package/lib/aggregates.js +0 -1122
- package/lib/aggregates.mjs +0 -802
- package/lib/aggregates.ts +0 -947
- package/lib/config.mjs +0 -16
- package/lib/config.ts +0 -26
- package/lib/databases.mjs +0 -26
- package/lib/databases.ts +0 -32
- package/lib/datasets.mjs +0 -78
- package/lib/datasets.ts +0 -118
- package/lib/fields.d.ts +0 -10
- package/lib/fields.js +0 -68
- package/lib/fields.mjs +0 -22
- package/lib/fields.ts +0 -29
- package/lib/index.mjs +0 -7
- package/lib/index.ts +0 -63
- package/lib/inserters.d.ts +0 -102
- package/lib/inserters.js +0 -518
- package/lib/inserters.mjs +0 -376
- package/lib/inserters.ts +0 -545
- package/lib/model/ameli.mjs +0 -57
- package/lib/model/ameli.ts +0 -86
- package/lib/model/debats.mjs +0 -43
- package/lib/model/debats.ts +0 -68
- package/lib/model/dosleg.mjs +0 -337
- package/lib/model/dosleg.ts +0 -558
- package/lib/model/index.mjs +0 -5
- package/lib/model/index.ts +0 -11
- package/lib/model/questions.mjs +0 -8
- package/lib/model/questions.ts +0 -14
- package/lib/model/sens.mjs +0 -9
- package/lib/model/sens.ts +0 -18
- package/lib/model/util.mjs +0 -10
- package/lib/model/util.ts +0 -16
- package/lib/raw_types/ameli.mjs +0 -2
- package/lib/raw_types/ameli.ts +0 -601
- package/lib/raw_types/debats.mjs +0 -2
- package/lib/raw_types/debats.ts +0 -145
- package/lib/raw_types/dosleg.mjs +0 -2
- package/lib/raw_types/dosleg.ts +0 -2193
- package/lib/raw_types/questions.mjs +0 -2
- package/lib/raw_types/questions.ts +0 -249
- package/lib/raw_types/sens.mjs +0 -2
- package/lib/raw_types/sens.ts +0 -2907
- package/lib/scripts/convert_data.mjs +0 -146
- package/lib/scripts/convert_data.ts +0 -182
- package/lib/scripts/fix_db.js +0 -144
- package/lib/scripts/fix_db.mjs +0 -64
- package/lib/scripts/fix_db.ts +0 -75
- package/lib/scripts/images/transparent_150x192.jpg +0 -0
- package/lib/scripts/images/transparent_155x225.jpg +0 -0
- package/lib/scripts/retrieve_open_data.mjs +0 -218
- package/lib/scripts/retrieve_open_data.ts +0 -258
- package/lib/scripts/retrieve_senateurs_photos.mjs +0 -164
- package/lib/scripts/retrieve_senateurs_photos.ts +0 -200
- package/lib/scripts/retrieve_textes.js +0 -179
- package/lib/scripts/retrieve_textes.mjs +0 -77
- package/lib/scripts/retrieve_textes.ts +0 -95
- package/lib/strings.mjs +0 -18
- package/lib/strings.ts +0 -26
- package/lib/types/ameli.mjs +0 -13
- package/lib/types/ameli.ts +0 -21
- package/lib/types/debats.mjs +0 -2
- package/lib/types/debats.ts +0 -6
- package/lib/types/dosleg.mjs +0 -151
- package/lib/types/dosleg.ts +0 -284
- package/lib/types/questions.mjs +0 -1
- package/lib/types/questions.ts +0 -3
- package/lib/types/sens.mjs +0 -23
- package/lib/types/sens.ts +0 -36
- package/lib/typings/windows-1252.d.js +0 -2
- package/lib/typings/windows-1252.d.mjs +0 -2
- package/lib/typings/windows-1252.d.ts +0 -11
- package/lib/validators/config.mjs +0 -54
- package/lib/validators/config.ts +0 -79
- package/lib/validators/senat.mjs +0 -24
- package/lib/validators/senat.ts +0 -26
- /package/lib/scripts/{fix_db.d.ts → parse_textes.d.ts} +0 -0
- /package/lib/scripts/{retrieve_textes.d.ts → retrieve_documents.d.ts} +0 -0
package/lib/model/sens.d.ts
CHANGED
|
@@ -1,2 +1,524 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { InferResult } from "kysely";
|
|
2
|
+
declare const findAllQuery: import("kysely").SelectQueryBuilder<{
|
|
3
|
+
qua: import("../raw_types/sens").Qua;
|
|
4
|
+
bur: import("../raw_types/sens").Bur;
|
|
5
|
+
com: import("kysely").Nullable<import("../raw_types/sens").Com>;
|
|
6
|
+
delega: import("../raw_types/sens").Delega;
|
|
7
|
+
designorg: import("../raw_types/sens").Designorg;
|
|
8
|
+
dpt: import("../raw_types/sens").Dpt;
|
|
9
|
+
dptele: import("../raw_types/sens").Dptele;
|
|
10
|
+
elusen: import("../raw_types/sens").Elusen;
|
|
11
|
+
etadebman: import("../raw_types/sens").Etadebman;
|
|
12
|
+
etafinman: import("../raw_types/sens").Etafinman;
|
|
13
|
+
etasen: import("kysely").Nullable<import("../raw_types/sens").Etasen>;
|
|
14
|
+
foncom: import("../raw_types/sens").Foncom;
|
|
15
|
+
fondelega: import("../raw_types/sens").Fondelega;
|
|
16
|
+
fongrppol: import("../raw_types/sens").Fongrppol;
|
|
17
|
+
fonmemcom: import("../raw_types/sens").Fonmemcom;
|
|
18
|
+
fonmemdelega: import("../raw_types/sens").Fonmemdelega;
|
|
19
|
+
fonmemgrppol: import("../raw_types/sens").Fonmemgrppol;
|
|
20
|
+
grppol: import("kysely").Nullable<import("../raw_types/sens").Grppol>;
|
|
21
|
+
libcom: import("../raw_types/sens").Libcom;
|
|
22
|
+
libdelega: import("../raw_types/sens").Libdelega;
|
|
23
|
+
libgrppol: import("../raw_types/sens").Libgrppol;
|
|
24
|
+
memcom: import("../raw_types/sens").Memcom;
|
|
25
|
+
memdelega: import("../raw_types/sens").Memdelega;
|
|
26
|
+
memgrppol: import("../raw_types/sens").Memgrppol;
|
|
27
|
+
org: import("../raw_types/sens").Org;
|
|
28
|
+
sen: import("../raw_types/sens").Sen;
|
|
29
|
+
senbur: import("../raw_types/sens").Senbur;
|
|
30
|
+
sennom: import("../raw_types/sens").Sennom;
|
|
31
|
+
typapppol: import("../raw_types/sens").Typapppol;
|
|
32
|
+
typorg: import("../raw_types/sens").Typorg;
|
|
33
|
+
typurl: import("../raw_types/sens").Typurl;
|
|
34
|
+
activite: import("../raw_types/sens").Activite;
|
|
35
|
+
activite_delegation: import("../raw_types/sens").ActiviteDelegation;
|
|
36
|
+
activite_loi: import("../raw_types/sens").ActiviteLoi;
|
|
37
|
+
activite_participant: import("../raw_types/sens").ActiviteParticipant;
|
|
38
|
+
activite_senateur: import("../raw_types/sens").ActiviteSenateur;
|
|
39
|
+
activites_liees: import("../raw_types/sens").ActivitesLiees;
|
|
40
|
+
actpro: import("../raw_types/sens").Actpro;
|
|
41
|
+
adresse: import("../raw_types/sens").Adresse;
|
|
42
|
+
asster: import("../raw_types/sens").Asster;
|
|
43
|
+
categorie_activite: import("../raw_types/sens").CategorieActivite;
|
|
44
|
+
csp: import("../raw_types/sens").Csp;
|
|
45
|
+
design: import("../raw_types/sens").Design;
|
|
46
|
+
designoep: import("../raw_types/sens").Designoep;
|
|
47
|
+
dpttypman: import("../raw_types/sens").Dpttypman;
|
|
48
|
+
ele: import("../raw_types/sens").Ele;
|
|
49
|
+
elucan: import("../raw_types/sens").Elucan;
|
|
50
|
+
eludep: import("../raw_types/sens").Eludep;
|
|
51
|
+
eludiv: import("../raw_types/sens").Eludiv;
|
|
52
|
+
elueur: import("../raw_types/sens").Elueur;
|
|
53
|
+
elureg: import("../raw_types/sens").Elureg;
|
|
54
|
+
eluter: import("../raw_types/sens").Eluter;
|
|
55
|
+
elutit: import("../raw_types/sens").Elutit;
|
|
56
|
+
eluvil: import("../raw_types/sens").Eluvil;
|
|
57
|
+
fonact_participant: import("../raw_types/sens").FonactParticipant;
|
|
58
|
+
fongrpsen: import("../raw_types/sens").Fongrpsen;
|
|
59
|
+
fonmemgrpsen: import("../raw_types/sens").Fonmemgrpsen;
|
|
60
|
+
fonmemorg: import("../raw_types/sens").Fonmemorg;
|
|
61
|
+
fonorg: import("../raw_types/sens").Fonorg;
|
|
62
|
+
grpsenami: import("../raw_types/sens").Grpsenami;
|
|
63
|
+
libgrpsen: import("../raw_types/sens").Libgrpsen;
|
|
64
|
+
liborg: import("../raw_types/sens").Liborg;
|
|
65
|
+
mel: import("../raw_types/sens").Mel;
|
|
66
|
+
memextpar: import("../raw_types/sens").Memextpar;
|
|
67
|
+
memgrpsen: import("../raw_types/sens").Memgrpsen;
|
|
68
|
+
memorg: import("../raw_types/sens").Memorg;
|
|
69
|
+
minind: import("../raw_types/sens").Minind;
|
|
70
|
+
mismin: import("../raw_types/sens").Mismin;
|
|
71
|
+
missen: import("../raw_types/sens").Missen;
|
|
72
|
+
moddes: import("../raw_types/sens").Moddes;
|
|
73
|
+
nation: import("../raw_types/sens").Nation;
|
|
74
|
+
nationgrpsen: import("../raw_types/sens").Nationgrpsen;
|
|
75
|
+
orgext: import("../raw_types/sens").Orgext;
|
|
76
|
+
orgthe: import("../raw_types/sens").Orgthe;
|
|
77
|
+
pcs: import("kysely").Nullable<import("../raw_types/sens").Pcs>;
|
|
78
|
+
pcs24: import("kysely").Nullable<import("../raw_types/sens").Pcs24>;
|
|
79
|
+
pcs42: import("kysely").Nullable<import("../raw_types/sens").Pcs42>;
|
|
80
|
+
pcs8: import("kysely").Nullable<import("../raw_types/sens").Pcs8>;
|
|
81
|
+
pcscatpro: import("../raw_types/sens").Pcscatpro;
|
|
82
|
+
poicon: import("../raw_types/sens").Poicon;
|
|
83
|
+
reg: import("../raw_types/sens").Reg;
|
|
84
|
+
senurl: import("../raw_types/sens").Senurl;
|
|
85
|
+
stajur: import("../raw_types/sens").Stajur;
|
|
86
|
+
telephone: import("../raw_types/sens").Telephone;
|
|
87
|
+
temval: import("../raw_types/sens").Temval;
|
|
88
|
+
territ: import("../raw_types/sens").Territ;
|
|
89
|
+
titele: import("../raw_types/sens").Titele;
|
|
90
|
+
typadr: import("../raw_types/sens").Typadr;
|
|
91
|
+
typbister: import("../raw_types/sens").Typbister;
|
|
92
|
+
type_activite: import("../raw_types/sens").TypeActivite;
|
|
93
|
+
type_activite_participant: import("../raw_types/sens").TypeActiviteParticipant;
|
|
94
|
+
type_activite_senateur: import("../raw_types/sens").TypeActiviteSenateur;
|
|
95
|
+
type_categorie: import("../raw_types/sens").TypeCategorie;
|
|
96
|
+
typele: import("../raw_types/sens").Typele;
|
|
97
|
+
typgrpsen: import("../raw_types/sens").Typgrpsen;
|
|
98
|
+
typman: import("../raw_types/sens").Typman;
|
|
99
|
+
typvoi: import("../raw_types/sens").Typvoi;
|
|
100
|
+
zongeo: import("../raw_types/sens").Zongeo;
|
|
101
|
+
}, "com" | "etasen" | "grppol" | "sen" | "pcs" | "pcs24" | "pcs42" | "pcs8", {
|
|
102
|
+
matricule: string;
|
|
103
|
+
qualite: string;
|
|
104
|
+
nom_usuel: string;
|
|
105
|
+
prenom_usuel: string;
|
|
106
|
+
etat: string;
|
|
107
|
+
date_naissance: string;
|
|
108
|
+
date_deces: string;
|
|
109
|
+
code_groupe_politique: string | null;
|
|
110
|
+
groupe_politique: string | null;
|
|
111
|
+
code_commission_permanente: string | null;
|
|
112
|
+
commission_permanente: string | null;
|
|
113
|
+
code_circonscription: string | null;
|
|
114
|
+
circonscription: string | null;
|
|
115
|
+
fonction_bureau_senat: string | null;
|
|
116
|
+
courrier_electronique: string | null;
|
|
117
|
+
PCS_INSEE: string | null;
|
|
118
|
+
PCS_INSEE_42: string | null;
|
|
119
|
+
PCS_INSEE_24: string | null;
|
|
120
|
+
PCS_INSEE_8: string | null;
|
|
121
|
+
description_profession: string | null;
|
|
122
|
+
siege: string | null;
|
|
123
|
+
url_hatvp: string | null;
|
|
124
|
+
} & {
|
|
125
|
+
urls: {
|
|
126
|
+
code_url: string;
|
|
127
|
+
url: string;
|
|
128
|
+
}[];
|
|
129
|
+
mandats_senateur: {
|
|
130
|
+
date_debut: string;
|
|
131
|
+
date_fin: string;
|
|
132
|
+
code_circonscription: string;
|
|
133
|
+
etat_debut: string | null;
|
|
134
|
+
etat_fin: string | null;
|
|
135
|
+
}[];
|
|
136
|
+
commissions: {
|
|
137
|
+
date_debut: string;
|
|
138
|
+
date_fin: string;
|
|
139
|
+
type_code_organisme: string | null;
|
|
140
|
+
code_organisme: string;
|
|
141
|
+
type_organisme: string | null;
|
|
142
|
+
libelle: string | null;
|
|
143
|
+
fonctions: {
|
|
144
|
+
date_debut: string;
|
|
145
|
+
date_fin: string;
|
|
146
|
+
libelle: string | null;
|
|
147
|
+
}[];
|
|
148
|
+
}[];
|
|
149
|
+
delegations: {
|
|
150
|
+
date_debut: string;
|
|
151
|
+
date_fin: string;
|
|
152
|
+
type_organisme: string | null;
|
|
153
|
+
type_code_organisme: string | null;
|
|
154
|
+
code_organisme: string;
|
|
155
|
+
libelle: string | null;
|
|
156
|
+
fonctions: {
|
|
157
|
+
date_debut: string;
|
|
158
|
+
date_fin: string;
|
|
159
|
+
libelle: string | null;
|
|
160
|
+
}[];
|
|
161
|
+
}[];
|
|
162
|
+
groupes: {
|
|
163
|
+
date_debut: string;
|
|
164
|
+
date_fin: string;
|
|
165
|
+
code: string;
|
|
166
|
+
libelle: string | null;
|
|
167
|
+
fonction: string | null;
|
|
168
|
+
fonctions: {
|
|
169
|
+
date_debut: string;
|
|
170
|
+
date_fin: string;
|
|
171
|
+
libelle: string | null;
|
|
172
|
+
}[];
|
|
173
|
+
}[];
|
|
174
|
+
fonctions_bureau: {
|
|
175
|
+
date_debut: string;
|
|
176
|
+
date_fin: string;
|
|
177
|
+
libelle: string | null;
|
|
178
|
+
}[];
|
|
179
|
+
}>;
|
|
180
|
+
declare const findAllCirconscriptionsQuery: import("kysely").SelectQueryBuilder<{
|
|
181
|
+
qua: import("../raw_types/sens").Qua;
|
|
182
|
+
bur: import("../raw_types/sens").Bur;
|
|
183
|
+
com: import("../raw_types/sens").Com;
|
|
184
|
+
delega: import("../raw_types/sens").Delega;
|
|
185
|
+
designorg: import("../raw_types/sens").Designorg;
|
|
186
|
+
dpt: import("../raw_types/sens").Dpt;
|
|
187
|
+
dptele: import("../raw_types/sens").Dptele;
|
|
188
|
+
elusen: import("../raw_types/sens").Elusen;
|
|
189
|
+
etadebman: import("../raw_types/sens").Etadebman;
|
|
190
|
+
etafinman: import("../raw_types/sens").Etafinman;
|
|
191
|
+
etasen: import("../raw_types/sens").Etasen;
|
|
192
|
+
foncom: import("../raw_types/sens").Foncom;
|
|
193
|
+
fondelega: import("../raw_types/sens").Fondelega;
|
|
194
|
+
fongrppol: import("../raw_types/sens").Fongrppol;
|
|
195
|
+
fonmemcom: import("../raw_types/sens").Fonmemcom;
|
|
196
|
+
fonmemdelega: import("../raw_types/sens").Fonmemdelega;
|
|
197
|
+
fonmemgrppol: import("../raw_types/sens").Fonmemgrppol;
|
|
198
|
+
grppol: import("../raw_types/sens").Grppol;
|
|
199
|
+
libcom: import("../raw_types/sens").Libcom;
|
|
200
|
+
libdelega: import("../raw_types/sens").Libdelega;
|
|
201
|
+
libgrppol: import("../raw_types/sens").Libgrppol;
|
|
202
|
+
memcom: import("../raw_types/sens").Memcom;
|
|
203
|
+
memdelega: import("../raw_types/sens").Memdelega;
|
|
204
|
+
memgrppol: import("../raw_types/sens").Memgrppol;
|
|
205
|
+
org: import("../raw_types/sens").Org;
|
|
206
|
+
sen: import("../raw_types/sens").Sen;
|
|
207
|
+
senbur: import("../raw_types/sens").Senbur;
|
|
208
|
+
sennom: import("../raw_types/sens").Sennom;
|
|
209
|
+
typapppol: import("../raw_types/sens").Typapppol;
|
|
210
|
+
typorg: import("../raw_types/sens").Typorg;
|
|
211
|
+
typurl: import("../raw_types/sens").Typurl;
|
|
212
|
+
activite: import("../raw_types/sens").Activite;
|
|
213
|
+
activite_delegation: import("../raw_types/sens").ActiviteDelegation;
|
|
214
|
+
activite_loi: import("../raw_types/sens").ActiviteLoi;
|
|
215
|
+
activite_participant: import("../raw_types/sens").ActiviteParticipant;
|
|
216
|
+
activite_senateur: import("../raw_types/sens").ActiviteSenateur;
|
|
217
|
+
activites_liees: import("../raw_types/sens").ActivitesLiees;
|
|
218
|
+
actpro: import("../raw_types/sens").Actpro;
|
|
219
|
+
adresse: import("../raw_types/sens").Adresse;
|
|
220
|
+
asster: import("../raw_types/sens").Asster;
|
|
221
|
+
categorie_activite: import("../raw_types/sens").CategorieActivite;
|
|
222
|
+
csp: import("../raw_types/sens").Csp;
|
|
223
|
+
design: import("../raw_types/sens").Design;
|
|
224
|
+
designoep: import("../raw_types/sens").Designoep;
|
|
225
|
+
dpttypman: import("../raw_types/sens").Dpttypman;
|
|
226
|
+
ele: import("../raw_types/sens").Ele;
|
|
227
|
+
elucan: import("../raw_types/sens").Elucan;
|
|
228
|
+
eludep: import("../raw_types/sens").Eludep;
|
|
229
|
+
eludiv: import("../raw_types/sens").Eludiv;
|
|
230
|
+
elueur: import("../raw_types/sens").Elueur;
|
|
231
|
+
elureg: import("../raw_types/sens").Elureg;
|
|
232
|
+
eluter: import("../raw_types/sens").Eluter;
|
|
233
|
+
elutit: import("../raw_types/sens").Elutit;
|
|
234
|
+
eluvil: import("../raw_types/sens").Eluvil;
|
|
235
|
+
fonact_participant: import("../raw_types/sens").FonactParticipant;
|
|
236
|
+
fongrpsen: import("../raw_types/sens").Fongrpsen;
|
|
237
|
+
fonmemgrpsen: import("../raw_types/sens").Fonmemgrpsen;
|
|
238
|
+
fonmemorg: import("../raw_types/sens").Fonmemorg;
|
|
239
|
+
fonorg: import("../raw_types/sens").Fonorg;
|
|
240
|
+
grpsenami: import("../raw_types/sens").Grpsenami;
|
|
241
|
+
libgrpsen: import("../raw_types/sens").Libgrpsen;
|
|
242
|
+
liborg: import("../raw_types/sens").Liborg;
|
|
243
|
+
mel: import("../raw_types/sens").Mel;
|
|
244
|
+
memextpar: import("../raw_types/sens").Memextpar;
|
|
245
|
+
memgrpsen: import("../raw_types/sens").Memgrpsen;
|
|
246
|
+
memorg: import("../raw_types/sens").Memorg;
|
|
247
|
+
minind: import("../raw_types/sens").Minind;
|
|
248
|
+
mismin: import("../raw_types/sens").Mismin;
|
|
249
|
+
missen: import("../raw_types/sens").Missen;
|
|
250
|
+
moddes: import("../raw_types/sens").Moddes;
|
|
251
|
+
nation: import("../raw_types/sens").Nation;
|
|
252
|
+
nationgrpsen: import("../raw_types/sens").Nationgrpsen;
|
|
253
|
+
orgext: import("../raw_types/sens").Orgext;
|
|
254
|
+
orgthe: import("../raw_types/sens").Orgthe;
|
|
255
|
+
pcs: import("../raw_types/sens").Pcs;
|
|
256
|
+
pcs24: import("../raw_types/sens").Pcs24;
|
|
257
|
+
pcs42: import("../raw_types/sens").Pcs42;
|
|
258
|
+
pcs8: import("../raw_types/sens").Pcs8;
|
|
259
|
+
pcscatpro: import("../raw_types/sens").Pcscatpro;
|
|
260
|
+
poicon: import("../raw_types/sens").Poicon;
|
|
261
|
+
reg: import("kysely").Nullable<import("../raw_types/sens").Reg>;
|
|
262
|
+
senurl: import("../raw_types/sens").Senurl;
|
|
263
|
+
stajur: import("../raw_types/sens").Stajur;
|
|
264
|
+
telephone: import("../raw_types/sens").Telephone;
|
|
265
|
+
temval: import("../raw_types/sens").Temval;
|
|
266
|
+
territ: import("../raw_types/sens").Territ;
|
|
267
|
+
titele: import("../raw_types/sens").Titele;
|
|
268
|
+
typadr: import("../raw_types/sens").Typadr;
|
|
269
|
+
typbister: import("../raw_types/sens").Typbister;
|
|
270
|
+
type_activite: import("../raw_types/sens").TypeActivite;
|
|
271
|
+
type_activite_participant: import("../raw_types/sens").TypeActiviteParticipant;
|
|
272
|
+
type_activite_senateur: import("../raw_types/sens").TypeActiviteSenateur;
|
|
273
|
+
type_categorie: import("../raw_types/sens").TypeCategorie;
|
|
274
|
+
typele: import("../raw_types/sens").Typele;
|
|
275
|
+
typgrpsen: import("../raw_types/sens").Typgrpsen;
|
|
276
|
+
typman: import("../raw_types/sens").Typman;
|
|
277
|
+
typvoi: import("../raw_types/sens").Typvoi;
|
|
278
|
+
zongeo: import("../raw_types/sens").Zongeo;
|
|
279
|
+
}, "dpt" | "reg", {
|
|
280
|
+
code: string;
|
|
281
|
+
libelle_departement: string;
|
|
282
|
+
libelle_region: string | null;
|
|
283
|
+
date_debut: string;
|
|
284
|
+
date_fin: string;
|
|
285
|
+
identifiant: string;
|
|
286
|
+
article: string | null;
|
|
287
|
+
etat: string | null;
|
|
288
|
+
nombre_senateurs: string | null;
|
|
289
|
+
url: string | null;
|
|
290
|
+
}>;
|
|
291
|
+
declare const findAllOrganismesQuery: import("kysely").SelectQueryBuilder<{
|
|
292
|
+
qua: import("../raw_types/sens").Qua;
|
|
293
|
+
bur: import("../raw_types/sens").Bur;
|
|
294
|
+
com: import("../raw_types/sens").Com;
|
|
295
|
+
delega: import("../raw_types/sens").Delega;
|
|
296
|
+
designorg: import("../raw_types/sens").Designorg;
|
|
297
|
+
dpt: import("../raw_types/sens").Dpt;
|
|
298
|
+
dptele: import("../raw_types/sens").Dptele;
|
|
299
|
+
elusen: import("../raw_types/sens").Elusen;
|
|
300
|
+
etadebman: import("../raw_types/sens").Etadebman;
|
|
301
|
+
etafinman: import("../raw_types/sens").Etafinman;
|
|
302
|
+
etasen: import("../raw_types/sens").Etasen;
|
|
303
|
+
foncom: import("../raw_types/sens").Foncom;
|
|
304
|
+
fondelega: import("../raw_types/sens").Fondelega;
|
|
305
|
+
fongrppol: import("../raw_types/sens").Fongrppol;
|
|
306
|
+
fonmemcom: import("../raw_types/sens").Fonmemcom;
|
|
307
|
+
fonmemdelega: import("../raw_types/sens").Fonmemdelega;
|
|
308
|
+
fonmemgrppol: import("../raw_types/sens").Fonmemgrppol;
|
|
309
|
+
grppol: import("../raw_types/sens").Grppol;
|
|
310
|
+
libcom: import("../raw_types/sens").Libcom;
|
|
311
|
+
libdelega: import("../raw_types/sens").Libdelega;
|
|
312
|
+
libgrppol: import("../raw_types/sens").Libgrppol;
|
|
313
|
+
memcom: import("../raw_types/sens").Memcom;
|
|
314
|
+
memdelega: import("../raw_types/sens").Memdelega;
|
|
315
|
+
memgrppol: import("../raw_types/sens").Memgrppol;
|
|
316
|
+
org: import("../raw_types/sens").Org;
|
|
317
|
+
sen: import("../raw_types/sens").Sen;
|
|
318
|
+
senbur: import("../raw_types/sens").Senbur;
|
|
319
|
+
sennom: import("../raw_types/sens").Sennom;
|
|
320
|
+
typapppol: import("../raw_types/sens").Typapppol;
|
|
321
|
+
typorg: import("kysely").Nullable<import("../raw_types/sens").Typorg>;
|
|
322
|
+
typurl: import("../raw_types/sens").Typurl;
|
|
323
|
+
activite: import("../raw_types/sens").Activite;
|
|
324
|
+
activite_delegation: import("../raw_types/sens").ActiviteDelegation;
|
|
325
|
+
activite_loi: import("../raw_types/sens").ActiviteLoi;
|
|
326
|
+
activite_participant: import("../raw_types/sens").ActiviteParticipant;
|
|
327
|
+
activite_senateur: import("../raw_types/sens").ActiviteSenateur;
|
|
328
|
+
activites_liees: import("../raw_types/sens").ActivitesLiees;
|
|
329
|
+
actpro: import("../raw_types/sens").Actpro;
|
|
330
|
+
adresse: import("../raw_types/sens").Adresse;
|
|
331
|
+
asster: import("../raw_types/sens").Asster;
|
|
332
|
+
categorie_activite: import("../raw_types/sens").CategorieActivite;
|
|
333
|
+
csp: import("../raw_types/sens").Csp;
|
|
334
|
+
design: import("../raw_types/sens").Design;
|
|
335
|
+
designoep: import("../raw_types/sens").Designoep;
|
|
336
|
+
dpttypman: import("../raw_types/sens").Dpttypman;
|
|
337
|
+
ele: import("../raw_types/sens").Ele;
|
|
338
|
+
elucan: import("../raw_types/sens").Elucan;
|
|
339
|
+
eludep: import("../raw_types/sens").Eludep;
|
|
340
|
+
eludiv: import("../raw_types/sens").Eludiv;
|
|
341
|
+
elueur: import("../raw_types/sens").Elueur;
|
|
342
|
+
elureg: import("../raw_types/sens").Elureg;
|
|
343
|
+
eluter: import("../raw_types/sens").Eluter;
|
|
344
|
+
elutit: import("../raw_types/sens").Elutit;
|
|
345
|
+
eluvil: import("../raw_types/sens").Eluvil;
|
|
346
|
+
fonact_participant: import("../raw_types/sens").FonactParticipant;
|
|
347
|
+
fongrpsen: import("../raw_types/sens").Fongrpsen;
|
|
348
|
+
fonmemgrpsen: import("../raw_types/sens").Fonmemgrpsen;
|
|
349
|
+
fonmemorg: import("../raw_types/sens").Fonmemorg;
|
|
350
|
+
fonorg: import("../raw_types/sens").Fonorg;
|
|
351
|
+
grpsenami: import("../raw_types/sens").Grpsenami;
|
|
352
|
+
libgrpsen: import("../raw_types/sens").Libgrpsen;
|
|
353
|
+
liborg: import("../raw_types/sens").Liborg;
|
|
354
|
+
mel: import("../raw_types/sens").Mel;
|
|
355
|
+
memextpar: import("../raw_types/sens").Memextpar;
|
|
356
|
+
memgrpsen: import("../raw_types/sens").Memgrpsen;
|
|
357
|
+
memorg: import("../raw_types/sens").Memorg;
|
|
358
|
+
minind: import("../raw_types/sens").Minind;
|
|
359
|
+
mismin: import("../raw_types/sens").Mismin;
|
|
360
|
+
missen: import("../raw_types/sens").Missen;
|
|
361
|
+
moddes: import("../raw_types/sens").Moddes;
|
|
362
|
+
nation: import("../raw_types/sens").Nation;
|
|
363
|
+
nationgrpsen: import("../raw_types/sens").Nationgrpsen;
|
|
364
|
+
orgext: import("../raw_types/sens").Orgext;
|
|
365
|
+
orgthe: import("../raw_types/sens").Orgthe;
|
|
366
|
+
pcs: import("../raw_types/sens").Pcs;
|
|
367
|
+
pcs24: import("../raw_types/sens").Pcs24;
|
|
368
|
+
pcs42: import("../raw_types/sens").Pcs42;
|
|
369
|
+
pcs8: import("../raw_types/sens").Pcs8;
|
|
370
|
+
pcscatpro: import("../raw_types/sens").Pcscatpro;
|
|
371
|
+
poicon: import("../raw_types/sens").Poicon;
|
|
372
|
+
reg: import("../raw_types/sens").Reg;
|
|
373
|
+
senurl: import("../raw_types/sens").Senurl;
|
|
374
|
+
stajur: import("../raw_types/sens").Stajur;
|
|
375
|
+
telephone: import("../raw_types/sens").Telephone;
|
|
376
|
+
temval: import("../raw_types/sens").Temval;
|
|
377
|
+
territ: import("../raw_types/sens").Territ;
|
|
378
|
+
titele: import("../raw_types/sens").Titele;
|
|
379
|
+
typadr: import("../raw_types/sens").Typadr;
|
|
380
|
+
typbister: import("../raw_types/sens").Typbister;
|
|
381
|
+
type_activite: import("../raw_types/sens").TypeActivite;
|
|
382
|
+
type_activite_participant: import("../raw_types/sens").TypeActiviteParticipant;
|
|
383
|
+
type_activite_senateur: import("../raw_types/sens").TypeActiviteSenateur;
|
|
384
|
+
type_categorie: import("../raw_types/sens").TypeCategorie;
|
|
385
|
+
typele: import("../raw_types/sens").Typele;
|
|
386
|
+
typgrpsen: import("../raw_types/sens").Typgrpsen;
|
|
387
|
+
typman: import("../raw_types/sens").Typman;
|
|
388
|
+
typvoi: import("../raw_types/sens").Typvoi;
|
|
389
|
+
zongeo: import("../raw_types/sens").Zongeo;
|
|
390
|
+
all_organismes: {
|
|
391
|
+
orgcod: string;
|
|
392
|
+
typorgcod: string;
|
|
393
|
+
orgdatfin: Date | null;
|
|
394
|
+
evelib: string | null;
|
|
395
|
+
evelic: string | null;
|
|
396
|
+
evelil: string | null;
|
|
397
|
+
temvalcod: string | null;
|
|
398
|
+
orgdatcre: Date | null;
|
|
399
|
+
orgurlsim: string | null;
|
|
400
|
+
};
|
|
401
|
+
}, "typorg" | "all_organismes", {
|
|
402
|
+
url: string;
|
|
403
|
+
date_debut: string;
|
|
404
|
+
date_fin: string;
|
|
405
|
+
code: string;
|
|
406
|
+
libelle_court: string | null;
|
|
407
|
+
libelle: string | null;
|
|
408
|
+
libelle_long: string;
|
|
409
|
+
type_code: string;
|
|
410
|
+
type_libelle: string;
|
|
411
|
+
etat: string | null;
|
|
412
|
+
}>;
|
|
413
|
+
export type SenateurResult = InferResult<typeof findAllQuery>[0];
|
|
414
|
+
export type CirconscriptionResult = InferResult<typeof findAllCirconscriptionsQuery>[0];
|
|
415
|
+
export type OrganismeResult = InferResult<typeof findAllOrganismesQuery>[0];
|
|
416
|
+
export declare function findAll(): AsyncIterableIterator<{
|
|
417
|
+
matricule: string;
|
|
418
|
+
qualite: string;
|
|
419
|
+
nom_usuel: string;
|
|
420
|
+
prenom_usuel: string;
|
|
421
|
+
etat: string;
|
|
422
|
+
date_naissance: string;
|
|
423
|
+
date_deces: string;
|
|
424
|
+
code_groupe_politique: string | null;
|
|
425
|
+
groupe_politique: string | null;
|
|
426
|
+
code_commission_permanente: string | null;
|
|
427
|
+
commission_permanente: string | null;
|
|
428
|
+
code_circonscription: string | null;
|
|
429
|
+
circonscription: string | null;
|
|
430
|
+
fonction_bureau_senat: string | null;
|
|
431
|
+
courrier_electronique: string | null;
|
|
432
|
+
PCS_INSEE: string | null;
|
|
433
|
+
PCS_INSEE_42: string | null;
|
|
434
|
+
PCS_INSEE_24: string | null;
|
|
435
|
+
PCS_INSEE_8: string | null;
|
|
436
|
+
description_profession: string | null;
|
|
437
|
+
siege: string | null;
|
|
438
|
+
url_hatvp: string | null;
|
|
439
|
+
} & {
|
|
440
|
+
urls: {
|
|
441
|
+
code_url: string;
|
|
442
|
+
url: string;
|
|
443
|
+
}[];
|
|
444
|
+
mandats_senateur: {
|
|
445
|
+
date_debut: string;
|
|
446
|
+
date_fin: string;
|
|
447
|
+
code_circonscription: string;
|
|
448
|
+
etat_debut: string | null;
|
|
449
|
+
etat_fin: string | null;
|
|
450
|
+
}[];
|
|
451
|
+
commissions: {
|
|
452
|
+
date_debut: string;
|
|
453
|
+
date_fin: string;
|
|
454
|
+
type_code_organisme: string | null;
|
|
455
|
+
code_organisme: string;
|
|
456
|
+
type_organisme: string | null;
|
|
457
|
+
libelle: string | null;
|
|
458
|
+
fonctions: {
|
|
459
|
+
date_debut: string;
|
|
460
|
+
date_fin: string;
|
|
461
|
+
libelle: string | null;
|
|
462
|
+
}[];
|
|
463
|
+
}[];
|
|
464
|
+
delegations: {
|
|
465
|
+
date_debut: string;
|
|
466
|
+
date_fin: string;
|
|
467
|
+
type_organisme: string | null;
|
|
468
|
+
type_code_organisme: string | null;
|
|
469
|
+
code_organisme: string;
|
|
470
|
+
libelle: string | null;
|
|
471
|
+
fonctions: {
|
|
472
|
+
date_debut: string;
|
|
473
|
+
date_fin: string;
|
|
474
|
+
libelle: string | null;
|
|
475
|
+
}[];
|
|
476
|
+
}[];
|
|
477
|
+
groupes: {
|
|
478
|
+
date_debut: string;
|
|
479
|
+
date_fin: string;
|
|
480
|
+
code: string;
|
|
481
|
+
libelle: string | null;
|
|
482
|
+
fonction: string | null;
|
|
483
|
+
fonctions: {
|
|
484
|
+
date_debut: string;
|
|
485
|
+
date_fin: string;
|
|
486
|
+
libelle: string | null;
|
|
487
|
+
}[];
|
|
488
|
+
}[];
|
|
489
|
+
fonctions_bureau: {
|
|
490
|
+
date_debut: string;
|
|
491
|
+
date_fin: string;
|
|
492
|
+
libelle: string | null;
|
|
493
|
+
}[];
|
|
494
|
+
}>;
|
|
495
|
+
export declare function findAllCirconscriptions(): AsyncIterableIterator<{
|
|
496
|
+
code: string;
|
|
497
|
+
libelle_departement: string;
|
|
498
|
+
libelle_region: string | null;
|
|
499
|
+
date_debut: string;
|
|
500
|
+
date_fin: string;
|
|
501
|
+
identifiant: string;
|
|
502
|
+
article: string | null;
|
|
503
|
+
etat: string | null;
|
|
504
|
+
nombre_senateurs: string | null;
|
|
505
|
+
url: string | null;
|
|
506
|
+
}>;
|
|
507
|
+
export declare function findAllOrganismes(): AsyncIterableIterator<{
|
|
508
|
+
url: string;
|
|
509
|
+
date_debut: string;
|
|
510
|
+
date_fin: string;
|
|
511
|
+
code: string;
|
|
512
|
+
libelle_court: string | null;
|
|
513
|
+
libelle: string | null;
|
|
514
|
+
libelle_long: string;
|
|
515
|
+
type_code: string;
|
|
516
|
+
type_libelle: string;
|
|
517
|
+
etat: string | null;
|
|
518
|
+
}>;
|
|
519
|
+
export declare function findActif(): AsyncIterableIterator<{
|
|
520
|
+
senmat: string;
|
|
521
|
+
sennomuse: string;
|
|
522
|
+
senprenomuse: string;
|
|
523
|
+
}>;
|
|
524
|
+
export {};
|