@tricoteuses/senat 1.1.2 → 1.3.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.
Files changed (259) hide show
  1. package/README.md +53 -15
  2. package/lib/aggregates.d.ts +4 -6
  3. package/lib/aggregates.mjs +908 -780
  4. package/lib/aggregates.ts +8 -122
  5. package/lib/data/legislatures.json +38 -0
  6. package/lib/databases.d.ts +9 -0
  7. package/lib/databases.js +41 -11
  8. package/lib/databases.mjs +32 -1
  9. package/lib/databases.ts +40 -1
  10. package/lib/fields.mjs +64 -18
  11. package/lib/index.d.ts +5 -7
  12. package/lib/index.js +8 -112
  13. package/lib/index.mjs +4 -7
  14. package/lib/index.ts +9 -30
  15. package/lib/inserters.d.ts +0 -4
  16. package/lib/inserters.mjs +461 -337
  17. package/lib/inserters.ts +0 -24
  18. package/lib/legislatures.json +38 -0
  19. package/lib/loaders.d.ts +64 -0
  20. package/lib/loaders.js +682 -0
  21. package/lib/loaders.mjs +158 -0
  22. package/lib/loaders.ts +271 -0
  23. package/lib/model/ameli.d.ts +105 -4
  24. package/lib/model/ameli.js +20 -160
  25. package/lib/model/ameli.mjs +84 -57
  26. package/lib/model/ameli.ts +94 -80
  27. package/lib/model/debats.d.ts +0 -4
  28. package/lib/model/debats.js +1 -122
  29. package/lib/model/debats.mjs +1 -43
  30. package/lib/model/debats.ts +0 -68
  31. package/lib/model/dosleg.d.ts +227 -29
  32. package/lib/model/dosleg.js +92 -832
  33. package/lib/model/dosleg.mjs +196 -337
  34. package/lib/model/dosleg.ts +213 -531
  35. package/lib/model/index.d.ts +4 -5
  36. package/lib/model/index.js +14 -15
  37. package/lib/model/index.mjs +4 -5
  38. package/lib/model/index.ts +8 -5
  39. package/lib/model/questions.d.ts +88 -2
  40. package/lib/model/questions.js +40 -45
  41. package/lib/model/questions.mjs +71 -8
  42. package/lib/model/questions.ts +90 -11
  43. package/lib/model/sens.d.ts +524 -2
  44. package/lib/model/sens.js +172 -49
  45. package/lib/model/sens.mjs +415 -9
  46. package/lib/model/sens.ts +514 -16
  47. package/lib/model/texte.d.ts +7 -0
  48. package/lib/model/texte.js +321 -0
  49. package/lib/model/texte.mjs +208 -0
  50. package/lib/model/texte.ts +229 -0
  51. package/lib/model/util.d.ts +7 -1
  52. package/lib/model/util.js +37 -53
  53. package/lib/model/util.mjs +19 -10
  54. package/lib/model/util.ts +30 -14
  55. package/lib/raw_types/ameli.d.ts +912 -538
  56. package/lib/raw_types/ameli.js +1 -39
  57. package/lib/raw_types/ameli.mjs +4 -1
  58. package/lib/raw_types/ameli.ts +947 -597
  59. package/lib/raw_types/debats.d.ts +204 -124
  60. package/lib/raw_types/debats.js +1 -18
  61. package/lib/raw_types/debats.mjs +4 -1
  62. package/lib/raw_types/debats.ts +218 -141
  63. package/lib/raw_types/dosleg.d.ts +3533 -2024
  64. package/lib/raw_types/dosleg.js +1 -92
  65. package/lib/raw_types/dosleg.mjs +4 -1
  66. package/lib/raw_types/dosleg.ts +3621 -2189
  67. package/lib/raw_types/questions.d.ts +404 -220
  68. package/lib/raw_types/questions.js +1 -18
  69. package/lib/raw_types/questions.mjs +4 -1
  70. package/lib/raw_types/questions.ts +404 -226
  71. package/lib/raw_types/sens.d.ts +4391 -2706
  72. package/lib/raw_types/sens.js +1 -108
  73. package/lib/raw_types/sens.mjs +4 -1
  74. package/lib/raw_types/sens.ts +4495 -2903
  75. package/lib/raw_types_kysely/ameli.d.ts +6 -0
  76. package/lib/raw_types_kysely/ameli.mjs +7 -0
  77. package/lib/raw_types_kysely/ameli.ts +6 -0
  78. package/lib/raw_types_kysely/debats.d.ts +6 -0
  79. package/lib/raw_types_kysely/debats.mjs +7 -0
  80. package/lib/raw_types_kysely/debats.ts +6 -0
  81. package/lib/raw_types_kysely/dosleg.d.ts +6 -0
  82. package/lib/raw_types_kysely/dosleg.mjs +7 -0
  83. package/lib/raw_types_kysely/dosleg.ts +6 -0
  84. package/lib/raw_types_kysely/questions.d.ts +6 -0
  85. package/lib/raw_types_kysely/questions.mjs +7 -0
  86. package/lib/raw_types_kysely/questions.ts +6 -0
  87. package/lib/raw_types_kysely/sens.d.ts +6 -0
  88. package/lib/raw_types_kysely/sens.mjs +7 -0
  89. package/lib/raw_types_kysely/sens.ts +6 -0
  90. package/lib/raw_types_kysely/texte.d.ts +45 -0
  91. package/lib/raw_types_kysely/texte.mjs +7 -0
  92. package/lib/raw_types_kysely/texte.ts +53 -0
  93. package/lib/raw_types_schemats/ameli.d.ts +541 -0
  94. package/lib/raw_types_schemats/ameli.js +45 -0
  95. package/lib/raw_types_schemats/ameli.mjs +2 -0
  96. package/lib/raw_types_schemats/ameli.ts +601 -0
  97. package/lib/raw_types_schemats/debats.d.ts +127 -0
  98. package/lib/raw_types_schemats/debats.js +24 -0
  99. package/lib/raw_types_schemats/debats.mjs +2 -0
  100. package/lib/raw_types_schemats/debats.ts +145 -0
  101. package/lib/raw_types_schemats/dosleg.d.ts +2029 -0
  102. package/lib/raw_types_schemats/dosleg.js +98 -0
  103. package/lib/raw_types_schemats/dosleg.mjs +2 -0
  104. package/lib/raw_types_schemats/dosleg.ts +2195 -0
  105. package/lib/raw_types_schemats/questions.d.ts +233 -0
  106. package/lib/raw_types_schemats/questions.js +24 -0
  107. package/lib/raw_types_schemats/questions.mjs +2 -0
  108. package/lib/raw_types_schemats/questions.ts +251 -0
  109. package/lib/raw_types_schemats/sens.d.ts +2709 -0
  110. package/lib/raw_types_schemats/sens.js +114 -0
  111. package/lib/raw_types_schemats/sens.mjs +2 -0
  112. package/lib/raw_types_schemats/sens.ts +2907 -0
  113. package/lib/scripts/convert_data.js +574 -215
  114. package/lib/scripts/convert_data.mjs +134 -99
  115. package/lib/scripts/convert_data.ts +173 -112
  116. package/lib/scripts/datautil.d.ts +5 -0
  117. package/lib/scripts/datautil.js +64 -0
  118. package/lib/scripts/datautil.mjs +16 -0
  119. package/lib/scripts/datautil.ts +19 -0
  120. package/lib/scripts/parse_textes.js +132 -0
  121. package/lib/scripts/parse_textes.mjs +46 -0
  122. package/lib/scripts/parse_textes.ts +65 -0
  123. package/lib/scripts/retrieve_documents.d.ts +1 -0
  124. package/lib/scripts/retrieve_documents.js +521 -0
  125. package/lib/scripts/retrieve_documents.mjs +249 -0
  126. package/lib/scripts/retrieve_documents.ts +298 -0
  127. package/lib/scripts/retrieve_open_data.js +77 -69
  128. package/lib/scripts/retrieve_open_data.mjs +48 -49
  129. package/lib/scripts/retrieve_open_data.ts +74 -58
  130. package/lib/scripts/retrieve_senateurs_photos.js +45 -63
  131. package/lib/scripts/retrieve_senateurs_photos.mjs +4 -21
  132. package/lib/scripts/retrieve_senateurs_photos.ts +6 -29
  133. package/lib/scripts/retrieve_textes.mjs +325 -74
  134. package/lib/scripts/retrieve_textes.ts +111 -63
  135. package/lib/scripts/shared/cli_helpers.d.ts +44 -0
  136. package/lib/scripts/shared/cli_helpers.js +35 -0
  137. package/lib/scripts/shared/cli_helpers.ts +36 -0
  138. package/lib/scripts/shared/util.d.ts +3 -0
  139. package/lib/scripts/shared/util.js +102 -0
  140. package/lib/scripts/shared/util.ts +33 -0
  141. package/lib/src/aggregates.d.ts +52 -0
  142. package/lib/src/aggregates.mjs +726 -0
  143. package/lib/src/config.d.ts +2 -0
  144. package/lib/src/config.mjs +16 -0
  145. package/lib/src/databases.d.ts +18 -0
  146. package/lib/src/databases.mjs +55 -0
  147. package/lib/src/datasets.d.ts +28 -0
  148. package/lib/src/datasets.mjs +78 -0
  149. package/lib/src/fields.d.ts +10 -0
  150. package/lib/src/fields.mjs +22 -0
  151. package/lib/src/index.d.ts +8 -0
  152. package/lib/src/index.mjs +7 -0
  153. package/lib/src/inserters.d.ts +98 -0
  154. package/lib/src/inserters.mjs +360 -0
  155. package/lib/src/loaders.d.ts +36 -0
  156. package/lib/src/loaders.mjs +107 -0
  157. package/lib/src/model/ameli.d.ts +4 -0
  158. package/lib/src/model/ameli.js +57 -0
  159. package/lib/src/model/debats.d.ts +4 -0
  160. package/lib/src/model/debats.js +43 -0
  161. package/lib/src/model/dosleg.d.ts +197 -0
  162. package/lib/src/model/dosleg.js +169 -0
  163. package/lib/src/model/index.d.ts +4 -0
  164. package/lib/src/model/index.js +4 -0
  165. package/lib/src/model/questions.d.ts +89 -0
  166. package/lib/src/model/questions.js +76 -0
  167. package/lib/src/model/sens.d.ts +390 -0
  168. package/lib/src/model/sens.js +339 -0
  169. package/lib/src/model/texte.d.ts +7 -0
  170. package/lib/src/model/texte.js +183 -0
  171. package/lib/src/raw_types_kysely/ameli.d.ts +915 -0
  172. package/lib/src/raw_types_kysely/ameli.js +5 -0
  173. package/lib/src/raw_types_kysely/debats.d.ts +207 -0
  174. package/lib/src/raw_types_kysely/debats.js +5 -0
  175. package/lib/src/raw_types_kysely/dosleg.d.ts +3532 -0
  176. package/lib/src/raw_types_kysely/dosleg.js +5 -0
  177. package/lib/src/raw_types_kysely/questions.d.ts +414 -0
  178. package/lib/src/raw_types_kysely/questions.js +5 -0
  179. package/lib/src/raw_types_kysely/sens.d.ts +4394 -0
  180. package/lib/src/raw_types_kysely/sens.js +5 -0
  181. package/lib/src/raw_types_schemats/ameli.d.ts +541 -0
  182. package/lib/src/raw_types_schemats/ameli.js +2 -0
  183. package/lib/src/raw_types_schemats/debats.d.ts +127 -0
  184. package/lib/src/raw_types_schemats/debats.js +2 -0
  185. package/lib/src/raw_types_schemats/dosleg.d.ts +2027 -0
  186. package/lib/src/raw_types_schemats/dosleg.js +2 -0
  187. package/lib/src/raw_types_schemats/questions.d.ts +231 -0
  188. package/lib/src/raw_types_schemats/questions.js +2 -0
  189. package/lib/src/raw_types_schemats/sens.d.ts +2709 -0
  190. package/lib/src/raw_types_schemats/sens.js +2 -0
  191. package/lib/src/scripts/convert_data.d.ts +1 -0
  192. package/lib/src/scripts/convert_data.js +95 -0
  193. package/lib/src/scripts/datautil.d.ts +5 -0
  194. package/lib/src/scripts/datautil.js +16 -0
  195. package/lib/src/scripts/parse_textes.d.ts +1 -0
  196. package/lib/src/scripts/parse_textes.js +47 -0
  197. package/lib/src/scripts/retrieve_documents.d.ts +1 -0
  198. package/lib/src/scripts/retrieve_documents.js +258 -0
  199. package/lib/src/scripts/retrieve_open_data.d.ts +1 -0
  200. package/lib/src/scripts/retrieve_open_data.js +214 -0
  201. package/lib/src/scripts/retrieve_senateurs_photos.d.ts +1 -0
  202. package/lib/src/scripts/retrieve_senateurs_photos.js +147 -0
  203. package/lib/src/scripts/shared/cli_helpers.d.ts +44 -0
  204. package/lib/src/scripts/shared/cli_helpers.js +32 -0
  205. package/lib/src/scripts/shared/util.d.ts +3 -0
  206. package/lib/src/scripts/shared/util.js +28 -0
  207. package/lib/src/strings.d.ts +1 -0
  208. package/lib/src/strings.mjs +18 -0
  209. package/lib/src/types/ameli.d.ts +10 -0
  210. package/lib/src/types/ameli.js +13 -0
  211. package/lib/src/types/debats.d.ts +4 -0
  212. package/lib/src/types/debats.js +2 -0
  213. package/lib/src/types/dosleg.d.ts +98 -0
  214. package/lib/src/types/dosleg.js +151 -0
  215. package/lib/src/types/questions.d.ts +2 -0
  216. package/lib/src/types/questions.js +1 -0
  217. package/lib/src/types/sens.d.ts +10 -0
  218. package/lib/src/types/sens.js +1 -0
  219. package/lib/src/types/sessions.d.ts +42 -0
  220. package/lib/src/types/sessions.js +43 -0
  221. package/lib/src/types/texte.d.ts +61 -0
  222. package/lib/src/types/texte.js +16 -0
  223. package/lib/src/validators/config.d.ts +1 -0
  224. package/lib/src/validators/config.js +54 -0
  225. package/lib/src/validators/senat.d.ts +0 -0
  226. package/lib/src/validators/senat.js +24 -0
  227. package/lib/types/ameli.d.ts +1 -1
  228. package/lib/types/ameli.js +2 -2
  229. package/lib/types/ameli.ts +1 -1
  230. package/lib/types/debats.d.ts +1 -1
  231. package/lib/types/debats.js +2 -2
  232. package/lib/types/debats.ts +1 -1
  233. package/lib/types/dosleg.d.ts +2 -2
  234. package/lib/types/dosleg.js +2 -2
  235. package/lib/types/dosleg.ts +2 -2
  236. package/lib/types/questions.d.ts +1 -1
  237. package/lib/types/questions.js +2 -2
  238. package/lib/types/questions.ts +1 -1
  239. package/lib/types/sens.d.ts +1 -3
  240. package/lib/types/sens.js +2 -5
  241. package/lib/types/sens.mjs +1 -23
  242. package/lib/types/sens.ts +1 -25
  243. package/lib/types/sessions.d.ts +42 -0
  244. package/lib/types/sessions.js +51 -0
  245. package/lib/types/sessions.mjs +43 -0
  246. package/lib/types/sessions.ts +42 -0
  247. package/lib/types/texte.d.ts +65 -0
  248. package/lib/types/texte.js +24 -0
  249. package/lib/types/texte.mjs +16 -0
  250. package/lib/types/texte.ts +76 -0
  251. package/package.json +35 -10
  252. package/lib/aggregates.js +0 -1122
  253. package/lib/fields.js +0 -68
  254. package/lib/inserters.js +0 -518
  255. package/lib/scripts/fix_db.js +0 -144
  256. package/lib/scripts/fix_db.mjs +0 -64
  257. package/lib/scripts/fix_db.ts +0 -75
  258. package/lib/scripts/retrieve_textes.js +0 -179
  259. /package/lib/scripts/{fix_db.d.ts → parse_textes.d.ts} +0 -0
@@ -1,601 +1,951 @@
1
- /* tslint:disable */
2
-
3
1
  /**
4
- * AUTO-GENERATED FILE - DO NOT EDIT!
5
- *
6
- * This file was automatically generated by schemats v.0.3.2
7
- * $ schemats generate -c postgres://username:password@localhost:5432/ameli -t amd -t amdsen -t avicom -t avigvt -t cab -t com_ameli -t ent -t etatxt -t fbu -t grppol_ameli -t gvt -t intora -t irr -t lec_ameli -t mot -t nat -t orarol -t sai -t saisen -t sea -t sen_ameli -t ses -t sor -t sub -t txt_ameli -t typrect -t typses -t typsub -t w_nivrec -s public
8
- *
2
+ * This file was generated by kysely-codegen.
3
+ * Please do not edit it manually.
9
4
  */
10
5
 
11
- export namespace amdFields {
12
- export type accgou = string | null
13
- export type alinea = number | null
14
- export type amdperid = number | null
15
- export type autext = string
16
- export type avcid = string | null
17
- export type avgid = string | null
18
- export type colleg = string
19
- export type datdep = Date | null
20
- export type dis = string | null
21
- export type discomid = number | null
22
- export type etaid = number
23
- export type id = number
24
- export type ideid = number | null
25
- export type irrid = number | null
26
- export type irrlo1113valid = string | null
27
- export type irrsaisiepar = number | null
28
- export type islu = string | null
29
- export type libgrp = string | null
30
- export type mot = string | null
31
- export type motid = number | null
32
- export type motposexa = string
33
- export type nomentid = number
34
- export type num = string | null
35
- export type numabs = number | null
36
- export type obj = string | null
37
- export type obs = string | null
38
- export type ocmid = number | null
39
- export type opmid = number | null
40
- export type ord = number | null
41
- export type rev = number
42
- export type sorid = string | null
43
- export type subid = number | null
44
- export type subidder = number | null
45
- export type subpos = number | null
46
- export type txtid = number
47
- export type typ = string
48
- export type typrectid = number | null
49
- }
50
-
51
- export interface amd {
52
- accgou: amdFields.accgou
53
- alinea: amdFields.alinea
54
- amdperid: amdFields.amdperid
55
- autext: amdFields.autext
56
- avcid: amdFields.avcid
57
- avgid: amdFields.avgid
58
- colleg: amdFields.colleg
59
- datdep: amdFields.datdep
60
- dis: amdFields.dis
61
- discomid: amdFields.discomid
62
- etaid: amdFields.etaid
63
- id: amdFields.id
64
- ideid: amdFields.ideid
65
- irrid: amdFields.irrid
66
- irrlo1113valid: amdFields.irrlo1113valid
67
- irrsaisiepar: amdFields.irrsaisiepar
68
- islu: amdFields.islu
69
- libgrp: amdFields.libgrp
70
- mot: amdFields.mot
71
- motid: amdFields.motid
72
- motposexa: amdFields.motposexa
73
- nomentid: amdFields.nomentid
74
- num: amdFields.num
75
- numabs: amdFields.numabs
76
- obj: amdFields.obj
77
- obs: amdFields.obs
78
- ocmid: amdFields.ocmid
79
- opmid: amdFields.opmid
80
- ord: amdFields.ord
81
- rev: amdFields.rev
82
- sorid: amdFields.sorid
83
- subid: amdFields.subid
84
- subidder: amdFields.subidder
85
- subpos: amdFields.subpos
86
- txtid: amdFields.txtid
87
- typ: amdFields.typ
88
- typrectid: amdFields.typrectid
89
- }
90
-
91
- export namespace amdsenFields {
92
- export type amdid = number
93
- export type grpid = number | null
94
- export type hom = string | null
95
- export type nomuse = string | null
96
- export type prenomuse = string | null
97
- export type qua = string | null
98
- export type rng = number | null
99
- export type senid = number
100
- }
101
-
102
- export interface amdsen {
103
- amdid: amdsenFields.amdid
104
- grpid: amdsenFields.grpid
105
- hom: amdsenFields.hom
106
- nomuse: amdsenFields.nomuse
107
- prenomuse: amdsenFields.prenomuse
108
- qua: amdsenFields.qua
109
- rng: amdsenFields.rng
110
- senid: amdsenFields.senid
111
- }
112
-
113
- export namespace avicomFields {
114
- export type cod = string
115
- export type id = string
116
- export type lib = string
117
- }
118
-
119
- export interface avicom {
120
- cod: avicomFields.cod
121
- id: avicomFields.id
122
- lib: avicomFields.lib
123
- }
124
-
125
- export namespace avigvtFields {
126
- export type cod = string
127
- export type id = string
128
- export type lib = string
129
- }
130
-
131
- export interface avigvt {
132
- cod: avigvtFields.cod
133
- id: avigvtFields.id
134
- lib: avigvtFields.lib
135
- }
136
-
137
- export namespace cabFields {
138
- export type codint = string
139
- export type entid = number
140
- export type lil = string | null
141
- }
142
-
143
- export interface cab {
144
- codint: cabFields.codint
145
- entid: cabFields.entid
146
- lil: cabFields.lil
147
- }
148
-
149
- export namespace com_ameliFields {
150
- export type cod = string
151
- export type codint = string
152
- export type entid = number
153
- export type lib = string
154
- export type lil = string
155
- export type spc = string
156
- export type tri = number | null
157
- }
158
-
159
- export interface com_ameli {
160
- cod: com_ameliFields.cod
161
- codint: com_ameliFields.codint
162
- entid: com_ameliFields.entid
163
- lib: com_ameliFields.lib
164
- lil: com_ameliFields.lil
165
- spc: com_ameliFields.spc
166
- tri: com_ameliFields.tri
167
- }
168
-
169
- export namespace entFields {
170
- export type act = string | null
171
- export type id = number
172
- export type typ = string
173
- }
174
-
175
- export interface ent {
176
- act: entFields.act
177
- id: entFields.id
178
- typ: entFields.typ
179
- }
180
-
181
- export namespace etatxtFields {
182
- export type id = number
183
- export type lib = string
184
- export type lic = string
185
- export type txttyp = string
186
- }
187
-
188
- export interface etatxt {
189
- id: etatxtFields.id
190
- lib: etatxtFields.lib
191
- lic: etatxtFields.lic
192
- txttyp: etatxtFields.txttyp
193
- }
194
-
195
- export namespace fbuFields {
196
- export type id = number
197
- export type lib = string
198
- export type lic = string
199
- export type sesid = number
200
- }
201
-
202
- export interface fbu {
203
- id: fbuFields.id
204
- lib: fbuFields.lib
205
- lic: fbuFields.lic
206
- sesid: fbuFields.sesid
207
- }
208
-
209
- export namespace grppol_ameliFields {
210
- export type cod = string
211
- export type codint = string
212
- export type entid = number
213
- export type libcou = string
214
- export type lilcou = string
215
- export type tri = number | null
216
- }
217
-
218
- export interface grppol_ameli {
219
- cod: grppol_ameliFields.cod
220
- codint: grppol_ameliFields.codint
221
- entid: grppol_ameliFields.entid
222
- libcou: grppol_ameliFields.libcou
223
- lilcou: grppol_ameliFields.lilcou
224
- tri: grppol_ameliFields.tri
225
- }
226
-
227
- export namespace gvtFields {
228
- export type entid = number
229
- export type nom = string
230
- export type pre = string
231
- export type qua = string
232
- export type tit = string
233
- }
234
-
235
- export interface gvt {
236
- entid: gvtFields.entid
237
- nom: gvtFields.nom
238
- pre: gvtFields.pre
239
- qua: gvtFields.qua
240
- tit: gvtFields.tit
241
- }
242
-
243
- export namespace intoraFields {
244
- export type entid = number
245
- export type entid2 = number | null
246
- export type id = number
247
- export type mom = string
248
- export type ord = number
249
- export type rolcod = string
250
- export type seaid = number | null
251
- export type subid = number | null
252
- export type temps = number
253
- export type txtid = number
254
- }
255
-
256
- export interface intora {
257
- entid: intoraFields.entid
258
- entid2: intoraFields.entid2
259
- id: intoraFields.id
260
- mom: intoraFields.mom
261
- ord: intoraFields.ord
262
- rolcod: intoraFields.rolcod
263
- seaid: intoraFields.seaid
264
- subid: intoraFields.subid
265
- temps: intoraFields.temps
266
- txtid: intoraFields.txtid
267
- }
268
-
269
- export namespace irrFields {
270
- export type art = string | null
271
- export type cod = string
272
- export type id = number
273
- export type lib = string
274
- export type libirr = string | null
275
- export type lilmin = string | null
276
- export type par = string | null
277
- }
278
-
279
- export interface irr {
280
- art: irrFields.art
281
- cod: irrFields.cod
282
- id: irrFields.id
283
- lib: irrFields.lib
284
- libirr: irrFields.libirr
285
- lilmin: irrFields.lilmin
286
- par: irrFields.par
287
- }
288
-
289
- export namespace lec_ameliFields {
290
- export type id = number
291
- export type lecpreid = number | null
292
- export type lib = string
293
- }
294
-
295
- export interface lec_ameli {
296
- id: lec_ameliFields.id
297
- lecpreid: lec_ameliFields.lecpreid
298
- lib: lec_ameliFields.lib
299
- }
300
-
301
- export namespace motFields {
302
- export type cod = string | null
303
- export type id = number
304
- export type int = string | null
305
- export type lib = string
306
- export type libnbe = string | null
307
- export type ord = number
308
- }
309
-
310
- export interface mot {
311
- cod: motFields.cod
312
- id: motFields.id
313
- int: motFields.int
314
- lib: motFields.lib
315
- libnbe: motFields.libnbe
316
- ord: motFields.ord
317
- }
318
-
319
- export namespace natFields {
320
- export type id = number
321
- export type lib = string
322
- export type libcourt = string | null
323
- }
324
-
325
- export interface nat {
326
- id: natFields.id
327
- lib: natFields.lib
328
- libcourt: natFields.libcourt
329
- }
330
-
331
- export namespace orarolFields {
332
- export type cod = string
333
- export type entreq = string
334
- export type lib = string | null
335
- }
336
-
337
- export interface orarol {
338
- cod: orarolFields.cod
339
- entreq: orarolFields.entreq
340
- lib: orarolFields.lib
341
- }
342
-
343
- export namespace saiFields {
344
- export type comid = number
345
- export type id = number
346
- export type isdelegfond = string
347
- export type numrap = number | null
348
- export type saityp = string
349
- export type sesid = number
350
- export type txtid = number
351
- }
352
-
353
- export interface sai {
354
- comid: saiFields.comid
355
- id: saiFields.id
356
- isdelegfond: saiFields.isdelegfond
357
- numrap: saiFields.numrap
358
- saityp: saiFields.saityp
359
- sesid: saiFields.sesid
360
- txtid: saiFields.txtid
361
- }
362
-
363
- export namespace saisenFields {
364
- export type id = number
365
- export type ord = number
366
- export type senid = number
367
- }
368
-
369
- export interface saisen {
370
- id: saisenFields.id
371
- ord: saisenFields.ord
372
- senid: saisenFields.senid
373
- }
374
-
375
- export namespace seaFields {
376
- export type dat = Date | null
377
- export type id = number
378
- export type num = number | null
379
- export type sesid = number
380
- }
381
-
382
- export interface sea {
383
- dat: seaFields.dat
384
- id: seaFields.id
385
- num: seaFields.num
386
- sesid: seaFields.sesid
387
- }
388
-
389
- export namespace sen_ameliFields {
390
- export type app = string | null
391
- export type comid = number | null
392
- export type comspcid = number | null
393
- export type entid = number
394
- export type grpid = number
395
- export type hom = string | null
396
- export type mat = string
397
- export type nomtec = string | null
398
- export type nomuse = string
399
- export type nomusemin = string
400
- export type prenomuse = string
401
- export type qua = string
402
- export type ratt = string | null
403
- export type senfem = string | null
404
- }
405
-
406
- export interface sen_ameli {
407
- app: sen_ameliFields.app
408
- comid: sen_ameliFields.comid
409
- comspcid: sen_ameliFields.comspcid
410
- entid: sen_ameliFields.entid
411
- grpid: sen_ameliFields.grpid
412
- hom: sen_ameliFields.hom
413
- mat: sen_ameliFields.mat
414
- nomtec: sen_ameliFields.nomtec
415
- nomuse: sen_ameliFields.nomuse
416
- nomusemin: sen_ameliFields.nomusemin
417
- prenomuse: sen_ameliFields.prenomuse
418
- qua: sen_ameliFields.qua
419
- ratt: sen_ameliFields.ratt
420
- senfem: sen_ameliFields.senfem
421
- }
422
-
423
- export namespace sesFields {
424
- export type ann = number
425
- export type id = number
426
- export type lil = string
427
- export type typid = number
428
- }
429
-
430
- export interface ses {
431
- ann: sesFields.ann
432
- id: sesFields.id
433
- lil: sesFields.lil
434
- typid: sesFields.typid
435
- }
436
-
437
- export namespace sorFields {
438
- export type cod = string
439
- export type id = string
440
- export type lib = string
441
- export type typ = string
442
- }
443
-
444
- export interface sor {
445
- cod: sorFields.cod
446
- id: sorFields.id
447
- lib: sorFields.lib
448
- typ: sorFields.typ
449
- }
450
-
451
- export namespace subFields {
452
- export type comdelid = number | null
453
- export type dupl = string
454
- export type id = number
455
- export type islec = string
456
- export type lib = string | null
457
- export type lic = string | null
458
- export type merid = number | null
459
- export type pos = number | null
460
- export type posder = number | null
461
- export type prires = number | null
462
- export type sig = string | null
463
- export type sorid = string | null
464
- export type style = string
465
- export type subamd = string
466
- export type txtid = number
467
- export type txtidder = number | null
468
- export type typid = number | null
469
- }
470
-
471
- export interface sub {
472
- comdelid: subFields.comdelid
473
- dupl: subFields.dupl
474
- id: subFields.id
475
- islec: subFields.islec
476
- lib: subFields.lib
477
- lic: subFields.lic
478
- merid: subFields.merid
479
- pos: subFields.pos
480
- posder: subFields.posder
481
- prires: subFields.prires
482
- sig: subFields.sig
483
- sorid: subFields.sorid
484
- style: subFields.style
485
- subamd: subFields.subamd
486
- txtid: subFields.txtid
487
- txtidder: subFields.txtidder
488
- typid: subFields.typid
489
- }
490
-
491
- export namespace txt_ameliFields {
492
- export type datado = Date | null
493
- export type datdep = Date
494
- export type dis = string
495
- export type doslegsignet = string | null
496
- export type fbuid = number | null
497
- export type fusder = string
498
- export type fusderid = number | null
499
- export type fusderord = number
500
- export type fusdertyp = string | null
501
- export type id = number
502
- export type inl = string | null
503
- export type int = string
504
- export type lecid = number
505
- export type libcplnat = string | null
506
- export type libdelim = string | null
507
- export type loifin = string
508
- export type loifinpar = number | null
509
- export type natid = number
510
- export type num = string
511
- export type numabs = number | null
512
- export type numado = number | null
513
- export type ordsnddelib = string | null
514
- export type proacc = string
515
- export type pubdellim = Date | null
516
- export type secdel = string
517
- export type sesdepid = number
518
- export type sesinsid = number | null
519
- export type txtamd = string
520
- export type txtetaid = number
521
- export type txtexa = string | null
522
- export type txttyp = string
523
- export type urg = string
524
- }
525
-
526
- export interface txt_ameli {
527
- datado: txt_ameliFields.datado
528
- datdep: txt_ameliFields.datdep
529
- dis: txt_ameliFields.dis
530
- doslegsignet: txt_ameliFields.doslegsignet
531
- fbuid: txt_ameliFields.fbuid
532
- fusder: txt_ameliFields.fusder
533
- fusderid: txt_ameliFields.fusderid
534
- fusderord: txt_ameliFields.fusderord
535
- fusdertyp: txt_ameliFields.fusdertyp
536
- id: txt_ameliFields.id
537
- inl: txt_ameliFields.inl
538
- int: txt_ameliFields.int
539
- lecid: txt_ameliFields.lecid
540
- libcplnat: txt_ameliFields.libcplnat
541
- libdelim: txt_ameliFields.libdelim
542
- loifin: txt_ameliFields.loifin
543
- loifinpar: txt_ameliFields.loifinpar
544
- natid: txt_ameliFields.natid
545
- num: txt_ameliFields.num
546
- numabs: txt_ameliFields.numabs
547
- numado: txt_ameliFields.numado
548
- ordsnddelib: txt_ameliFields.ordsnddelib
549
- proacc: txt_ameliFields.proacc
550
- pubdellim: txt_ameliFields.pubdellim
551
- secdel: txt_ameliFields.secdel
552
- sesdepid: txt_ameliFields.sesdepid
553
- sesinsid: txt_ameliFields.sesinsid
554
- txtamd: txt_ameliFields.txtamd
555
- txtetaid: txt_ameliFields.txtetaid
556
- txtexa: txt_ameliFields.txtexa
557
- txttyp: txt_ameliFields.txttyp
558
- urg: txt_ameliFields.urg
559
- }
560
-
561
- export namespace typrectFields {
562
- export type id = number
563
- export type lib = string
564
- export type ord = number
565
- }
566
-
567
- export interface typrect {
568
- id: typrectFields.id
569
- lib: typrectFields.lib
570
- ord: typrectFields.ord
571
- }
572
-
573
- export namespace typsesFields {
574
- export type id = number
575
- export type lib = string | null
576
- }
577
-
578
- export interface typses {
579
- id: typsesFields.id
580
- lib: typsesFields.lib
581
- }
582
-
583
- export namespace typsubFields {
584
- export type id = number
585
- export type lib = string
586
- }
587
-
588
- export interface typsub {
589
- id: typsubFields.id
590
- lib: typsubFields.lib
591
- }
592
-
593
- export namespace w_nivrecFields {
594
- export type lib = string | null
595
- export type num = number
596
- }
597
-
598
- export interface w_nivrec {
599
- lib: w_nivrecFields.lib
600
- num: w_nivrecFields.num
6
+ import type { ColumnType } from "kysely";
7
+
8
+ export type Generated<T> = T extends ColumnType<infer S, infer I, infer U>
9
+ ? ColumnType<S, I | undefined, U>
10
+ : ColumnType<T, T | undefined, T>;
11
+
12
+ export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
13
+
14
+ export type Timestamp = ColumnType<Date, Date | string, Date | string>;
15
+
16
+ export interface Amd {
17
+ /**
18
+ * Amendement depose avec l'accord du gouvernement
19
+ */
20
+ accgou: Generated<string | null>;
21
+ /**
22
+ * Numero du premier alinea modifie par l'amendement
23
+ */
24
+ alinea: number | null;
25
+ /**
26
+ * Identifiant de l'amendement pere pour les sous-amendements
27
+ */
28
+ amdperid: number | null;
29
+ /**
30
+ * Indication de la mention -Et plusieurs de ses collegues-
31
+ */
32
+ autext: Generated<string>;
33
+ /**
34
+ * Identifiant de l'avis de la commission
35
+ */
36
+ avcid: string | null;
37
+ /**
38
+ * Identifiant de l'avis du gouvernement
39
+ */
40
+ avgid: string | null;
41
+ /**
42
+ * Indication de la mendion -Et plusieurs de ses collegues- (uniquement pour les amendements de commission)
43
+ */
44
+ colleg: Generated<string>;
45
+ /**
46
+ * Date de depot de l'amendement
47
+ */
48
+ datdep: Timestamp | null;
49
+ /**
50
+ * Dispositif de l'amendement
51
+ */
52
+ dis: string | null;
53
+ /**
54
+ * Identifiant d'amendements en discussion commune
55
+ */
56
+ discomid: number | null;
57
+ /**
58
+ * Identifiant de l'etat de l'amendement
59
+ */
60
+ etaid: number;
61
+ /**
62
+ * Identifiant
63
+ */
64
+ id: number;
65
+ /**
66
+ * Identifiant d'amendements identiques
67
+ */
68
+ ideid: number | null;
69
+ /**
70
+ * Identifiant du type d'irrecevabilite
71
+ */
72
+ irrid: number | null;
73
+ /**
74
+ * 'I' si Irrecevable LO-111-3 par la commission des affaires sociales, 'R' si recevable, null si non instruit
75
+ */
76
+ irrlo1113valid: Generated<string | null>;
77
+ /**
78
+ * Identité de l'entité qui a saisi l'irrecevabilité
79
+ */
80
+ irrsaisiepar: number | null;
81
+ islu: Generated<string | null>;
82
+ /**
83
+ * Libelle complementaire (type d'appartenance au groupe)
84
+ */
85
+ libgrp: string | null;
86
+ /**
87
+ * Observations ou commentaires sur l'amendement (2/2)
88
+ */
89
+ mot: string | null;
90
+ /**
91
+ * Identifiant de la motion
92
+ */
93
+ motid: number | null;
94
+ /**
95
+ * Endroit ou de la motion qui sera examinee. M pour le derouleur de la motion. G pour la discussion generale
96
+ */
97
+ motposexa: Generated<string>;
98
+ /**
99
+ * Identifiant de l'entite au nom de laquelle est depose l'amendement
100
+ */
101
+ nomentid: number;
102
+ /**
103
+ * Numero de l'amendement (avec prefixe)
104
+ */
105
+ num: string | null;
106
+ /**
107
+ * Numero absolu de l'amendement diffuse (en chiffre)
108
+ */
109
+ numabs: Int8 | null;
110
+ /**
111
+ * Objet de l'amendement
112
+ */
113
+ obj: string | null;
114
+ /**
115
+ * Observations ou commentaires sur l'amendement (1/2)
116
+ */
117
+ obs: string | null;
118
+ /**
119
+ * Identifiant de l'orateur contre (motion)
120
+ */
121
+ ocmid: number | null;
122
+ /**
123
+ * Identifiant de l'orateur pour (motion)
124
+ */
125
+ opmid: number | null;
126
+ /**
127
+ * Position au sein de l'article
128
+ */
129
+ ord: Int8 | null;
130
+ /**
131
+ * Niveau de rectification
132
+ */
133
+ rev: Generated<Int8>;
134
+ /**
135
+ * Identifiant du sort de l'amendement
136
+ */
137
+ sorid: string | null;
138
+ /**
139
+ * Identifiant de la subdivision amendee
140
+ */
141
+ subid: number | null;
142
+ /**
143
+ * Identification de la subdivision de discussion
144
+ */
145
+ subidder: number | null;
146
+ /**
147
+ * Identification des amendements portant sur article additionnel (si different de 0)
148
+ */
149
+ subpos: Generated<Int8 | null>;
150
+ /**
151
+ * Identifiant du texte amende
152
+ */
153
+ txtid: number;
154
+ /**
155
+ * Type d'amendement
156
+ */
157
+ typ: Generated<string>;
158
+ /**
159
+ * Identifiant du type de rectification
160
+ */
161
+ typrectid: Generated<number | null>;
162
+ }
163
+
164
+ export interface Amdsen {
165
+ /**
166
+ * Identifiant
167
+ */
168
+ amdid: number;
169
+ grpid: number | null;
170
+ /**
171
+ * Indication de senateurs homonymes
172
+ */
173
+ hom: Generated<string | null>;
174
+ /**
175
+ * Nom usuel
176
+ */
177
+ nomuse: string | null;
178
+ /**
179
+ * Prenom usuel
180
+ */
181
+ prenomuse: string | null;
182
+ /**
183
+ * Qualite
184
+ */
185
+ qua: string | null;
186
+ /**
187
+ * Rang dans l'ordre des signataires
188
+ */
189
+ rng: Generated<Int8 | null>;
190
+ /**
191
+ * Identifiant du signataire
192
+ */
193
+ senid: number;
194
+ }
195
+
196
+ export interface Avicom {
197
+ /**
198
+ * Code
199
+ */
200
+ cod: string;
201
+ /**
202
+ * Identifiant
203
+ */
204
+ id: string;
205
+ /**
206
+ * Libelle
207
+ */
208
+ lib: string;
209
+ }
210
+
211
+ export interface Avigvt {
212
+ /**
213
+ * Code
214
+ */
215
+ cod: string;
216
+ /**
217
+ * Identifiant
218
+ */
219
+ id: string;
220
+ /**
221
+ * Libelle
222
+ */
223
+ lib: string;
224
+ }
225
+
226
+ export interface Cab {
227
+ /**
228
+ * Code
229
+ */
230
+ codint: string;
231
+ /**
232
+ * Identifiant
233
+ */
234
+ entid: number;
235
+ /**
236
+ * Libelle
237
+ */
238
+ lil: string | null;
239
+ }
240
+
241
+ export interface ComAmeli {
242
+ /**
243
+ * Code
244
+ */
245
+ cod: string;
246
+ /**
247
+ * Code interne
248
+ */
249
+ codint: string;
250
+ /**
251
+ * Identifiant
252
+ */
253
+ entid: number;
254
+ /**
255
+ * Libelle
256
+ */
257
+ lib: string;
258
+ /**
259
+ * Libelle long
260
+ */
261
+ lil: string;
262
+ /**
263
+ * Indication si commission speciale
264
+ */
265
+ spc: Generated<string>;
266
+ /**
267
+ * Ordre de presentation dans les listes
268
+ */
269
+ tri: Int8 | null;
270
+ }
271
+
272
+ export interface Ent {
273
+ /**
274
+ * Actif ou non
275
+ */
276
+ act: Generated<string | null>;
277
+ /**
278
+ * Identifiant
279
+ */
280
+ id: number;
281
+ /**
282
+ * Type
283
+ */
284
+ typ: string;
285
+ }
286
+
287
+ export interface Etatxt {
288
+ /**
289
+ * Identifiant
290
+ */
291
+ id: Int8;
292
+ /**
293
+ * Libelle
294
+ */
295
+ lib: string;
296
+ /**
297
+ * Libelle court
298
+ */
299
+ lic: string;
300
+ txttyp: Generated<string>;
301
+ }
302
+
303
+ export interface Fbu {
304
+ /**
305
+ * Identifiant
306
+ */
307
+ id: number;
308
+ /**
309
+ * Libelle
310
+ */
311
+ lib: string;
312
+ /**
313
+ * Libelle court
314
+ */
315
+ lic: string;
316
+ /**
317
+ * Session de depot
318
+ */
319
+ sesid: number;
320
+ }
321
+
322
+ export interface GrppolAmeli {
323
+ /**
324
+ * Code
325
+ */
326
+ cod: string;
327
+ /**
328
+ * Code interne
329
+ */
330
+ codint: string;
331
+ /**
332
+ * Identifiant
333
+ */
334
+ entid: number;
335
+ /**
336
+ * Libelle courant
337
+ */
338
+ libcou: string;
339
+ /**
340
+ * Libelle long courant
341
+ */
342
+ lilcou: string;
343
+ /**
344
+ * Ordre de presentation dans les listes
345
+ */
346
+ tri: Int8 | null;
347
+ }
348
+
349
+ export interface Gvt {
350
+ /**
351
+ * Identifiant
352
+ */
353
+ entid: number;
354
+ /**
355
+ * Nom
356
+ */
357
+ nom: string;
358
+ /**
359
+ * Prenom
360
+ */
361
+ pre: string;
362
+ /**
363
+ * Qualite
364
+ */
365
+ qua: string;
366
+ /**
367
+ * Titre
368
+ */
369
+ tit: string;
370
+ }
371
+
372
+ export interface Intora {
373
+ /**
374
+ * Identifiant de l'orateur
375
+ */
376
+ entid: number;
377
+ /**
378
+ * Identifiant de l'orateur (au nom de)
379
+ */
380
+ entid2: number | null;
381
+ /**
382
+ * Identifiant
383
+ */
384
+ id: number;
385
+ /**
386
+ * Moment de l'intervention
387
+ */
388
+ mom: string;
389
+ /**
390
+ * Numero d'ordre
391
+ */
392
+ ord: Int8;
393
+ /**
394
+ * Code du role de l'orateur
395
+ */
396
+ rolcod: Generated<string>;
397
+ /**
398
+ * Identifiant de la seance
399
+ */
400
+ seaid: number | null;
401
+ /**
402
+ * Identifiant de la subdivision sur laquelle porte la prise de parole
403
+ */
404
+ subid: number | null;
405
+ /**
406
+ * Duree de l'intevrention
407
+ */
408
+ temps: Generated<number>;
409
+ /**
410
+ * Identifiant du texte
411
+ */
412
+ txtid: number;
413
+ }
414
+
415
+ export interface Irr {
416
+ /**
417
+ * Article
418
+ */
419
+ art: string | null;
420
+ /**
421
+ * Code
422
+ */
423
+ cod: string;
424
+ /**
425
+ * Identifiant
426
+ */
427
+ id: number;
428
+ /**
429
+ * Libelle
430
+ */
431
+ lib: string;
432
+ /**
433
+ * Libelle
434
+ */
435
+ libirr: string | null;
436
+ /**
437
+ * Libelle long
438
+ */
439
+ lilmin: string | null;
440
+ par: string | null;
441
+ }
442
+
443
+ export interface LecAmeli {
444
+ /**
445
+ * Identifiant
446
+ */
447
+ id: number;
448
+ /**
449
+ * Lecture precedente
450
+ */
451
+ lecpreid: number | null;
452
+ /**
453
+ * Libelle
454
+ */
455
+ lib: string;
456
+ }
457
+
458
+ export interface Mot {
459
+ /**
460
+ * Code
461
+ */
462
+ cod: string | null;
463
+ /**
464
+ * Identifiant
465
+ */
466
+ id: number;
467
+ /**
468
+ * Intitule
469
+ */
470
+ int: string | null;
471
+ /**
472
+ * Libelle
473
+ */
474
+ lib: string;
475
+ /**
476
+ * Libelle pour le nota bene
477
+ */
478
+ libnbe: string | null;
479
+ /**
480
+ * Ordre de presentation
481
+ */
482
+ ord: Int8;
483
+ }
484
+
485
+ export interface Nat {
486
+ /**
487
+ * Identifiant
488
+ */
489
+ id: number;
490
+ /**
491
+ * Libelle
492
+ */
493
+ lib: string;
494
+ libcourt: string | null;
495
+ }
496
+
497
+ export interface Orarol {
498
+ /**
499
+ * Code
500
+ */
501
+ cod: string;
502
+ /**
503
+ * Indique si le role doit etre complete par le libelle de l'entite d'appartenance de l'orateur
504
+ */
505
+ entreq: Generated<string>;
506
+ /**
507
+ * Libelle
508
+ */
509
+ lib: string | null;
510
+ }
511
+
512
+ export interface Sai {
513
+ /**
514
+ * Identifiant de la commission
515
+ */
516
+ comid: number;
517
+ /**
518
+ * Identifiant
519
+ */
520
+ id: number;
521
+ /**
522
+ * Indique si la commission saisie pour avis est déléguée au fond
523
+ */
524
+ isdelegfond: Generated<string>;
525
+ /**
526
+ * Numero de rapport (ou d'avis)
527
+ */
528
+ numrap: Int8 | null;
529
+ /**
530
+ * Type de saisine
531
+ */
532
+ saityp: string;
533
+ /**
534
+ * Identifiant de la session
535
+ */
536
+ sesid: number;
537
+ /**
538
+ * Identifiant du texte
539
+ */
540
+ txtid: number;
541
+ }
542
+
543
+ export interface Saisen {
544
+ /**
545
+ * Identifiant
546
+ */
547
+ id: number;
548
+ /**
549
+ * Ordre
550
+ */
551
+ ord: Generated<Int8>;
552
+ /**
553
+ * Identifiant du senateur
554
+ */
555
+ senid: number;
556
+ }
557
+
558
+ export interface Sea {
559
+ /**
560
+ * Date de la seance
561
+ */
562
+ dat: Timestamp | null;
563
+ /**
564
+ * Identifiant
565
+ */
566
+ id: number;
567
+ /**
568
+ * Numero de la seance
569
+ */
570
+ num: Int8 | null;
571
+ /**
572
+ * Identifiant de la session
573
+ */
574
+ sesid: number;
575
+ }
576
+
577
+ export interface SenAmeli {
578
+ /**
579
+ * Indication de senateurs apparentes
580
+ */
581
+ app: Generated<string | null>;
582
+ /**
583
+ * Identifiant de la commission
584
+ */
585
+ comid: number | null;
586
+ /**
587
+ * Identifiant de la commission speciale
588
+ */
589
+ comspcid: number | null;
590
+ /**
591
+ * Identifiant
592
+ */
593
+ entid: number;
594
+ /**
595
+ * Identifiant du groupe
596
+ */
597
+ grpid: number;
598
+ /**
599
+ * Indication de senateurs homonymes
600
+ */
601
+ hom: Generated<string | null>;
602
+ /**
603
+ * Matricule
604
+ */
605
+ mat: string;
606
+ /**
607
+ * Nom technique
608
+ */
609
+ nomtec: string | null;
610
+ /**
611
+ * Nom usuel
612
+ */
613
+ nomuse: string;
614
+ /**
615
+ * Nom usuel en minuscule
616
+ */
617
+ nomusemin: string;
618
+ /**
619
+ * Prenom usuel
620
+ */
621
+ prenomuse: string;
622
+ /**
623
+ * Qualite
624
+ */
625
+ qua: string;
626
+ /**
627
+ * Indication de senateurs rattache a un groupe
628
+ */
629
+ ratt: Generated<string | null>;
630
+ /**
631
+ * Indication de feminisation des titres
632
+ */
633
+ senfem: Generated<string | null>;
634
+ }
635
+
636
+ export interface Ses {
637
+ /**
638
+ * Annee de session
639
+ */
640
+ ann: Int8;
641
+ /**
642
+ * Identifiant
643
+ */
644
+ id: number;
645
+ /**
646
+ * Libelle long
647
+ */
648
+ lil: string;
649
+ /**
650
+ * Type de session
651
+ */
652
+ typid: number;
653
+ }
654
+
655
+ export interface Sor {
656
+ /**
657
+ * Code
658
+ */
659
+ cod: string;
660
+ /**
661
+ * Identifiant
662
+ */
663
+ id: string;
664
+ /**
665
+ * Libelle
666
+ */
667
+ lib: string;
668
+ /**
669
+ * Type
670
+ */
671
+ typ: Generated<string>;
672
+ }
673
+
674
+ export interface Sub {
675
+ /**
676
+ * Id de la commission pour avis avec délégation au fond
677
+ */
678
+ comdelid: number | null;
679
+ /**
680
+ * Indicateur de subdivision dupliquee
681
+ */
682
+ dupl: Generated<string>;
683
+ /**
684
+ * Identifiant
685
+ */
686
+ id: number;
687
+ /**
688
+ * Indique si la subdivision est soumise au LEC
689
+ */
690
+ islec: Generated<string>;
691
+ /**
692
+ * Libelle long
693
+ */
694
+ lib: string | null;
695
+ /**
696
+ * Libelle court
697
+ */
698
+ lic: string | null;
699
+ /**
700
+ * Identifiant de la subdivision mere
701
+ */
702
+ merid: number | null;
703
+ /**
704
+ * Position dans le texte
705
+ */
706
+ pos: Int8 | null;
707
+ /**
708
+ * Position dans la discussion
709
+ */
710
+ posder: Int8 | null;
711
+ /**
712
+ * Indicateur de subdivision mise en reserve ou discutee en priorite
713
+ */
714
+ prires: Int8 | null;
715
+ /**
716
+ * Nom du signet
717
+ */
718
+ sig: string | null;
719
+ sorid: string | null;
720
+ /**
721
+ * Style daffichage dans le dérouleur
722
+ */
723
+ style: Generated<string>;
724
+ /**
725
+ * Indicateur de subdivision amendable
726
+ */
727
+ subamd: Generated<string>;
728
+ /**
729
+ * Identifiant du texte
730
+ */
731
+ txtid: number;
732
+ /**
733
+ * ID du dérouleur texte
734
+ */
735
+ txtidder: number | null;
736
+ /**
737
+ * Type
738
+ */
739
+ typid: number | null;
740
+ }
741
+
742
+ export interface TxtAmeli {
743
+ /**
744
+ * Date d'adoption du texte
745
+ */
746
+ datado: Timestamp | null;
747
+ /**
748
+ * Date de depot
749
+ */
750
+ datdep: Timestamp;
751
+ /**
752
+ * Indicateur de texte disponible
753
+ */
754
+ dis: Generated<string>;
755
+ /**
756
+ * Signet du dossier legislatif
757
+ */
758
+ doslegsignet: string | null;
759
+ /**
760
+ * Identifiant de la mission (si texte de la loi de finance)
761
+ */
762
+ fbuid: number | null;
763
+ /**
764
+ * O sil sagit dun dérouleur fusionné, N sinon
765
+ */
766
+ fusder: Generated<string>;
767
+ /**
768
+ * ID du dérouleur fusionné
769
+ */
770
+ fusderid: number | null;
771
+ /**
772
+ * Ordre de discussion des textes dans un dérouleur fusionné
773
+ */
774
+ fusderord: Generated<number>;
775
+ /**
776
+ * Type de fusion dérouleur DG ou DA
777
+ */
778
+ fusdertyp: Generated<string | null>;
779
+ /**
780
+ * Identifiant
781
+ */
782
+ id: number;
783
+ /**
784
+ * Intitule long du texte
785
+ */
786
+ inl: string | null;
787
+ /**
788
+ * Intitule du texte
789
+ */
790
+ int: string;
791
+ /**
792
+ * Identifiant de lecture
793
+ */
794
+ lecid: number;
795
+ /**
796
+ * Libelle complementaire de la nature du texte
797
+ */
798
+ libcplnat: string | null;
799
+ /**
800
+ * Libelle du delai limite
801
+ */
802
+ libdelim: string | null;
803
+ /**
804
+ * Texte du projet de loi de finance
805
+ */
806
+ loifin: Generated<string>;
807
+ /**
808
+ * Indicateur de la partie du projet de loi de finance
809
+ */
810
+ loifinpar: Generated<Int8 | null>;
811
+ /**
812
+ * Identifiant de la nature du texte
813
+ */
814
+ natid: number;
815
+ /**
816
+ * Numero du texte
817
+ */
818
+ num: string;
819
+ /**
820
+ * Numero du texte (en chiffre)
821
+ */
822
+ numabs: number | null;
823
+ /**
824
+ * Numero d'adoption du texte
825
+ */
826
+ numado: Int8 | null;
827
+ /**
828
+ * Ordre de la seconde deliberation
829
+ */
830
+ ordsnddelib: string | null;
831
+ /**
832
+ * Procedure acceleree (depuis la reforme constitutionnelle de 2008)
833
+ */
834
+ proacc: Generated<string>;
835
+ /**
836
+ * Publication du delai limite
837
+ */
838
+ pubdellim: Timestamp | null;
839
+ /**
840
+ * Indicateur de texte en seconde deliberation
841
+ */
842
+ secdel: Generated<string>;
843
+ /**
844
+ * Identifiant de la session de depot
845
+ */
846
+ sesdepid: number;
847
+ /**
848
+ * Identifiant de la session d'inscription
849
+ */
850
+ sesinsid: number | null;
851
+ /**
852
+ * Indicateur de texte amendable
853
+ */
854
+ txtamd: Generated<string>;
855
+ /**
856
+ * Identifiant de l'etat du texte
857
+ */
858
+ txtetaid: Generated<Int8>;
859
+ /**
860
+ * Indicateur de texte examine
861
+ */
862
+ txtexa: Generated<string | null>;
863
+ /**
864
+ * Type du texte
865
+ */
866
+ txttyp: Generated<string>;
867
+ /**
868
+ * Urgence (avant la revision constitutionnelle de 2008)
869
+ */
870
+ urg: Generated<string>;
871
+ }
872
+
873
+ export interface Typrect {
874
+ /**
875
+ * Identifiant
876
+ */
877
+ id: number;
878
+ /**
879
+ * Libelle
880
+ */
881
+ lib: string;
882
+ /**
883
+ * Ordre
884
+ */
885
+ ord: Int8;
886
+ }
887
+
888
+ export interface Typses {
889
+ /**
890
+ * Identifiant
891
+ */
892
+ id: number;
893
+ /**
894
+ * Libelle
895
+ */
896
+ lib: string | null;
897
+ }
898
+
899
+ export interface Typsub {
900
+ /**
901
+ * Identifiant
902
+ */
903
+ id: number;
904
+ /**
905
+ * Libelle
906
+ */
907
+ lib: string;
908
+ }
909
+
910
+ export interface WNivrec {
911
+ /**
912
+ * Libelle
913
+ */
914
+ lib: string | null;
915
+ /**
916
+ * Numero
917
+ */
918
+ num: Int8;
919
+ }
920
+
921
+ export interface DB {
922
+ amd: Amd;
923
+ amdsen: Amdsen;
924
+ avicom: Avicom;
925
+ avigvt: Avigvt;
926
+ cab: Cab;
927
+ com_ameli: ComAmeli;
928
+ ent: Ent;
929
+ etatxt: Etatxt;
930
+ fbu: Fbu;
931
+ grppol_ameli: GrppolAmeli;
932
+ gvt: Gvt;
933
+ intora: Intora;
934
+ irr: Irr;
935
+ lec_ameli: LecAmeli;
936
+ mot: Mot;
937
+ nat: Nat;
938
+ orarol: Orarol;
939
+ sai: Sai;
940
+ saisen: Saisen;
941
+ sea: Sea;
942
+ sen_ameli: SenAmeli;
943
+ ses: Ses;
944
+ sor: Sor;
945
+ sub: Sub;
946
+ txt_ameli: TxtAmeli;
947
+ typrect: Typrect;
948
+ typses: Typses;
949
+ typsub: Typsub;
950
+ w_nivrec: WNivrec;
601
951
  }