@tricoteuses/senat 2.22.0 → 2.22.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.
Files changed (129) hide show
  1. package/package.json +2 -2
  2. package/lib/config.d.ts +0 -3
  3. package/lib/config.js +0 -16
  4. package/lib/databases.d.ts +0 -2
  5. package/lib/databases.js +0 -26
  6. package/lib/datasets.d.ts +0 -34
  7. package/lib/datasets.js +0 -233
  8. package/lib/git.d.ts +0 -26
  9. package/lib/git.js +0 -167
  10. package/lib/index.d.ts +0 -13
  11. package/lib/index.js +0 -1
  12. package/lib/loaders.d.ts +0 -58
  13. package/lib/loaders.js +0 -286
  14. package/lib/model/agenda.d.ts +0 -6
  15. package/lib/model/agenda.js +0 -148
  16. package/lib/model/ameli.d.ts +0 -51
  17. package/lib/model/ameli.js +0 -149
  18. package/lib/model/commission.d.ts +0 -18
  19. package/lib/model/commission.js +0 -269
  20. package/lib/model/debats.d.ts +0 -67
  21. package/lib/model/debats.js +0 -95
  22. package/lib/model/documents.d.ts +0 -12
  23. package/lib/model/documents.js +0 -151
  24. package/lib/model/dosleg.d.ts +0 -7
  25. package/lib/model/dosleg.js +0 -326
  26. package/lib/model/index.d.ts +0 -7
  27. package/lib/model/index.js +0 -7
  28. package/lib/model/questions.d.ts +0 -45
  29. package/lib/model/questions.js +0 -89
  30. package/lib/model/scrutins.d.ts +0 -13
  31. package/lib/model/scrutins.js +0 -114
  32. package/lib/model/seance.d.ts +0 -3
  33. package/lib/model/seance.js +0 -267
  34. package/lib/model/sens.d.ts +0 -146
  35. package/lib/model/sens.js +0 -454
  36. package/lib/model/texte.d.ts +0 -7
  37. package/lib/model/texte.js +0 -228
  38. package/lib/model/util.d.ts +0 -9
  39. package/lib/model/util.js +0 -38
  40. package/lib/parsers/texte.d.ts +0 -7
  41. package/lib/parsers/texte.js +0 -228
  42. package/lib/raw_types/ameli.d.ts +0 -914
  43. package/lib/raw_types/ameli.js +0 -5
  44. package/lib/raw_types/debats.d.ts +0 -207
  45. package/lib/raw_types/debats.js +0 -5
  46. package/lib/raw_types/dosleg.d.ts +0 -1619
  47. package/lib/raw_types/dosleg.js +0 -5
  48. package/lib/raw_types/questions.d.ts +0 -419
  49. package/lib/raw_types/questions.js +0 -5
  50. package/lib/raw_types/senat.d.ts +0 -11368
  51. package/lib/raw_types/senat.js +0 -5
  52. package/lib/raw_types/sens.d.ts +0 -8248
  53. package/lib/raw_types/sens.js +0 -5
  54. package/lib/raw_types_schemats/ameli.d.ts +0 -539
  55. package/lib/raw_types_schemats/ameli.js +0 -2
  56. package/lib/raw_types_schemats/debats.d.ts +0 -127
  57. package/lib/raw_types_schemats/debats.js +0 -2
  58. package/lib/raw_types_schemats/dosleg.d.ts +0 -977
  59. package/lib/raw_types_schemats/dosleg.js +0 -2
  60. package/lib/raw_types_schemats/questions.d.ts +0 -235
  61. package/lib/raw_types_schemats/questions.js +0 -2
  62. package/lib/raw_types_schemats/sens.d.ts +0 -6915
  63. package/lib/raw_types_schemats/sens.js +0 -2
  64. package/lib/scripts/convert_data.d.ts +0 -1
  65. package/lib/scripts/convert_data.js +0 -354
  66. package/lib/scripts/data-download.d.ts +0 -1
  67. package/lib/scripts/data-download.js +0 -12
  68. package/lib/scripts/datautil.d.ts +0 -8
  69. package/lib/scripts/datautil.js +0 -34
  70. package/lib/scripts/parse_textes.d.ts +0 -1
  71. package/lib/scripts/parse_textes.js +0 -44
  72. package/lib/scripts/retrieve_agenda.d.ts +0 -1
  73. package/lib/scripts/retrieve_agenda.js +0 -132
  74. package/lib/scripts/retrieve_cr_commission.d.ts +0 -1
  75. package/lib/scripts/retrieve_cr_commission.js +0 -364
  76. package/lib/scripts/retrieve_cr_seance.d.ts +0 -6
  77. package/lib/scripts/retrieve_cr_seance.js +0 -347
  78. package/lib/scripts/retrieve_documents.d.ts +0 -3
  79. package/lib/scripts/retrieve_documents.js +0 -219
  80. package/lib/scripts/retrieve_open_data.d.ts +0 -1
  81. package/lib/scripts/retrieve_open_data.js +0 -315
  82. package/lib/scripts/retrieve_senateurs_photos.d.ts +0 -1
  83. package/lib/scripts/retrieve_senateurs_photos.js +0 -147
  84. package/lib/scripts/retrieve_videos.d.ts +0 -1
  85. package/lib/scripts/retrieve_videos.js +0 -461
  86. package/lib/scripts/shared/cli_helpers.d.ts +0 -95
  87. package/lib/scripts/shared/cli_helpers.js +0 -91
  88. package/lib/scripts/shared/util.d.ts +0 -4
  89. package/lib/scripts/shared/util.js +0 -35
  90. package/lib/scripts/test_iter_load.d.ts +0 -1
  91. package/lib/scripts/test_iter_load.js +0 -12
  92. package/lib/strings.d.ts +0 -1
  93. package/lib/strings.js +0 -18
  94. package/lib/types/agenda.d.ts +0 -44
  95. package/lib/types/agenda.js +0 -1
  96. package/lib/types/ameli.d.ts +0 -5
  97. package/lib/types/ameli.js +0 -1
  98. package/lib/types/compte_rendu.d.ts +0 -83
  99. package/lib/types/compte_rendu.js +0 -1
  100. package/lib/types/debats.d.ts +0 -2
  101. package/lib/types/debats.js +0 -1
  102. package/lib/types/dosleg.d.ts +0 -70
  103. package/lib/types/dosleg.js +0 -1
  104. package/lib/types/questions.d.ts +0 -2
  105. package/lib/types/questions.js +0 -1
  106. package/lib/types/sens.d.ts +0 -10
  107. package/lib/types/sens.js +0 -1
  108. package/lib/types/sessions.d.ts +0 -5
  109. package/lib/types/sessions.js +0 -84
  110. package/lib/types/texte.d.ts +0 -74
  111. package/lib/types/texte.js +0 -16
  112. package/lib/utils/cr_spliting.d.ts +0 -28
  113. package/lib/utils/cr_spliting.js +0 -265
  114. package/lib/utils/date.d.ts +0 -10
  115. package/lib/utils/date.js +0 -100
  116. package/lib/utils/nvs-timecode.d.ts +0 -7
  117. package/lib/utils/nvs-timecode.js +0 -79
  118. package/lib/utils/reunion_grouping.d.ts +0 -11
  119. package/lib/utils/reunion_grouping.js +0 -337
  120. package/lib/utils/reunion_odj_building.d.ts +0 -5
  121. package/lib/utils/reunion_odj_building.js +0 -154
  122. package/lib/utils/reunion_parsing.d.ts +0 -23
  123. package/lib/utils/reunion_parsing.js +0 -209
  124. package/lib/utils/scoring.d.ts +0 -14
  125. package/lib/utils/scoring.js +0 -147
  126. package/lib/utils/string_cleaning.d.ts +0 -7
  127. package/lib/utils/string_cleaning.js +0 -57
  128. package/lib/validators/config.d.ts +0 -1
  129. package/lib/validators/config.js +0 -54
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was generated by kysely-codegen.
3
- * Please do not edit it manually.
4
- */
5
- export {};
@@ -1,419 +0,0 @@
1
- /**
2
- * This file was generated by kysely-codegen.
3
- * Please do not edit it manually.
4
- */
5
- import type { ColumnType } from "kysely";
6
- export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
7
- export type Timestamp = ColumnType<Date, Date | string, Date | string>;
8
- export interface Etatquestion {
9
- /**
10
- * Code état
11
- */
12
- etaquecod: string;
13
- /**
14
- * Libellé de l'état
15
- */
16
- etaquelib: string | null;
17
- /**
18
- * Critère de tri
19
- */
20
- etaquenumtri: Int8 | null;
21
- }
22
- export interface Legquestion {
23
- /**
24
- * Date de début de la législature
25
- */
26
- legdatdeb: Timestamp | null;
27
- /**
28
- * Date de fin de la législature
29
- */
30
- legdatfin: Timestamp | null;
31
- /**
32
- * Numéro de législature
33
- */
34
- legislature: Int8;
35
- /**
36
- * Libellé de la législature
37
- */
38
- leglib: string | null;
39
- /**
40
- * Numéro de république
41
- */
42
- republique: Int8 | null;
43
- }
44
- export interface Naturequestion {
45
- /**
46
- * Code nature
47
- */
48
- natquecod: string;
49
- /**
50
- * Libellé de la nature
51
- */
52
- natquelib: string | null;
53
- natquelibcousin: string | null;
54
- /**
55
- * Critère de tri
56
- */
57
- natquenumtri: Int8 | null;
58
- }
59
- export interface Sortquestion {
60
- /**
61
- * Code sort
62
- */
63
- sorquecod: string;
64
- /**
65
- * Libellé du sort
66
- */
67
- sorquelib: string | null;
68
- /**
69
- * Critère de tri
70
- */
71
- sorquenumtri: Int8 | null;
72
- }
73
- export interface TamMinisteres {
74
- /**
75
- * Date de début du ministère
76
- */
77
- datedebut: Timestamp | null;
78
- /**
79
- * Date de fin du ministère
80
- */
81
- datefin: Timestamp | null;
82
- /**
83
- * Intitulé JO du ministère
84
- */
85
- intitulejo: string | null;
86
- /**
87
- * Libellé du ministère
88
- */
89
- libelle: string | null;
90
- /**
91
- * Libellé long du ministère
92
- */
93
- libellelong: string | null;
94
- /**
95
- * Identifiant du ministère
96
- */
97
- minid: Int8;
98
- /**
99
- * Identifiant du ministère de remplacement
100
- */
101
- minidremp: Int8 | null;
102
- /**
103
- * Nom du ministre
104
- */
105
- nomministre: string | null;
106
- /**
107
- * Ordre protocolaire
108
- */
109
- ordreprotocolaire: Int8 | null;
110
- /**
111
- * Titre du ministre
112
- */
113
- titreministre: string | null;
114
- }
115
- export interface TamQuestions {
116
- /**
117
- * Libellé de la circonscription
118
- */
119
- circonscription: string | null;
120
- /**
121
- * Numéro de circonscription
122
- */
123
- cirnum: Int8 | null;
124
- /**
125
- * Civilité du sénateur
126
- */
127
- codequalite: string | null;
128
- /**
129
- * Commentaire public
130
- */
131
- compub: string | null;
132
- /**
133
- * Date de clôture
134
- */
135
- datecloture: Timestamp | null;
136
- /**
137
- * Date publication JO de l'erratum question
138
- */
139
- dateerr: Timestamp | null;
140
- /**
141
- * Date de publication au JO
142
- */
143
- datejodepot: Timestamp | null;
144
- /**
145
- * Date de publication JO de la réponse
146
- */
147
- datejorep1: Timestamp | null;
148
- /**
149
- * Date de parution du JO faisant état de la transmission de la question
150
- */
151
- datejotran: Timestamp | null;
152
- /**
153
- * Date du rappel
154
- */
155
- daterappel: Timestamp | null;
156
- dateseance: Timestamp | null;
157
- /**
158
- * Date de signalement de la question
159
- */
160
- datesignal: Timestamp | null;
161
- /**
162
- * Date technique (obsolète)
163
- */
164
- datesynctam: Timestamp | null;
165
- /**
166
- * Date de la transformation de la question
167
- */
168
- dattrans: Timestamp | null;
169
- /**
170
- * Date de la question d'origine (avant transmission)
171
- */
172
- dattransori: Timestamp | null;
173
- /**
174
- * Délai de clôture
175
- */
176
- delaijours: Int8 | null;
177
- /**
178
- * Libellé du ministère ayant repondu à la question
179
- */
180
- delaijoursrep1: Int8 | null;
181
- /**
182
- * Code état
183
- */
184
- etaquecod: Int8 | null;
185
- /**
186
- * Groupe politique du sénateur
187
- */
188
- groupe: string | null;
189
- /**
190
- * Identifiant de base
191
- */
192
- id: Int8;
193
- /**
194
- * Numéro de législature
195
- */
196
- legislature: Int8 | null;
197
- /**
198
- * Matricule du sénateur à l'origine de la question
199
- */
200
- matricule: string;
201
- /**
202
- * Identifiant du ministère auprès duquel la question a été déposée
203
- */
204
- mindepotid: Int8 | null;
205
- /**
206
- * Libellé du ministère auprès duquel la question a été déposée
207
- */
208
- mindepotlib: string | null;
209
- /**
210
- * Identifiant du ministère ayant repondu à la question
211
- */
212
- minrepid1: Int8 | null;
213
- /**
214
- * Libellé du ministère ayant repondu à la question
215
- */
216
- minreplib1: string | null;
217
- /**
218
- * Identifiant du ministère auprès duquel la question a été transmise
219
- */
220
- mintranid: Int8 | null;
221
- /**
222
- * Libellé du ministère auprès duquel la question a été transmise
223
- */
224
- mintranlib: string | null;
225
- /**
226
- * Code nature
227
- */
228
- natquecod: string | null;
229
- /**
230
- * Ordre de tri des natures des questions
231
- */
232
- natqueord: Int8 | null;
233
- /**
234
- * Nom du sénateur
235
- */
236
- nom: string | null;
237
- /**
238
- * Nom technique
239
- */
240
- nomtechnique: string | null;
241
- /**
242
- * Numéro public
243
- */
244
- numero: string | null;
245
- /**
246
- * Page de publication JO de l'erratum question
247
- */
248
- pageerr: Int8 | null;
249
- /**
250
- * Page de publication JO de la question
251
- */
252
- pagejodepot: Int8 | null;
253
- /**
254
- * Prénom du sénateur
255
- */
256
- prenom: string | null;
257
- /**
258
- * Ordre d¿affichage personnalisé des questions (modifiable par drag et drop)
259
- */
260
- rang: Int8 | null;
261
- /**
262
- * Type Appartenance
263
- */
264
- ratgrp: string | null;
265
- /**
266
- * Référence unique
267
- */
268
- reference: string | null;
269
- /**
270
- * Référence unique de la question à l'origine de cette question de rappel
271
- */
272
- refquerappelee: string | null;
273
- /**
274
- * Renvoi de rubrique 1
275
- */
276
- renvoi1: string | null;
277
- /**
278
- * Renvoi de rubrique 2
279
- */
280
- renvoi2: string | null;
281
- /**
282
- * Renvoi de rubrique 3
283
- */
284
- renvoi3: string | null;
285
- /**
286
- * Numéro de la république
287
- */
288
- repub: Int8 | null;
289
- /**
290
- * Rubrique
291
- */
292
- rubrique: string | null;
293
- /**
294
- * Code sort
295
- */
296
- sorquecod: Int8 | null;
297
- /**
298
- * Thème QCT
299
- */
300
- thecrible: string | null;
301
- /**
302
- * Thème(s)
303
- */
304
- themes: string | null;
305
- /**
306
- * Titre
307
- */
308
- titre: string | null;
309
- /**
310
- * Vaut N s'il s'agit d'une réaffectation ou O s'il s'agit d'une réattribution
311
- */
312
- tranisreattr: string | null;
313
- /**
314
- * Texte de l'erratum question
315
- */
316
- txterrque: string | null;
317
- /**
318
- * Texte de la question
319
- */
320
- txtque: string | null;
321
- /**
322
- * Identifiant unique
323
- */
324
- uuid: string | null;
325
- /**
326
- * Identifiant unique de la question à l'origine de cette question de rappel
327
- */
328
- uuidquerappelee: string | null;
329
- /**
330
- * Identifiant unique de la question crée après transmission
331
- */
332
- uuidtrans: string | null;
333
- /**
334
- * Identifiant unique de la question d'origine (avant transmission)
335
- */
336
- uuidtransori: string | null;
337
- /**
338
- * Version
339
- */
340
- version: Int8 | null;
341
- }
342
- export interface TamReponses {
343
- /**
344
- * Date publication JO de la réponse
345
- */
346
- datejorep: Timestamp | null;
347
- /**
348
- * Délai en jours de la réponse
349
- */
350
- delaijoursrep: Int8 | null;
351
- /**
352
- * Date publication JO de l'erratum réponse
353
- */
354
- errdate: Timestamp | null;
355
- /**
356
- * Page de publication JO de l'erratum réponse
357
- */
358
- errpage: Int8 | null;
359
- /**
360
- * Identifiant de base de la question
361
- */
362
- idque: Int8;
363
- /**
364
- * Identifiant de base de la réponse dans le cas de réponses communes
365
- */
366
- idrepunique: string | null;
367
- /**
368
- * Identifiant du ministère ayant repondu à la question
369
- */
370
- minrepid: Int8 | null;
371
- /**
372
- * Libellé du ministère ayant repondu à la question
373
- */
374
- minreplib: string | null;
375
- /**
376
- * Page de publication JO de la réponse
377
- */
378
- pagejorep: Int8 | null;
379
- /**
380
- * Texte de l'erratum réponse
381
- */
382
- txterrrep: string | null;
383
- /**
384
- * Texte de la réponse
385
- */
386
- txtrep: string | null;
387
- /**
388
- * URL du compte rendu où figure la réponse sur senat.fr
389
- */
390
- urlrep: string | null;
391
- }
392
- export interface The {
393
- /**
394
- * Libellé d'édition thème
395
- */
396
- theali: string | null;
397
- /**
398
- * Code thème
399
- */
400
- thecle: number;
401
- /**
402
- * Libellé du thème
403
- */
404
- thelib: string;
405
- /**
406
- * Critère de tri
407
- */
408
- thenouidt: Int8 | null;
409
- }
410
- export interface DB {
411
- etatquestion: Etatquestion;
412
- legquestion: Legquestion;
413
- naturequestion: Naturequestion;
414
- sortquestion: Sortquestion;
415
- tam_ministeres: TamMinisteres;
416
- tam_questions: TamQuestions;
417
- tam_reponses: TamReponses;
418
- the: The;
419
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was generated by kysely-codegen.
3
- * Please do not edit it manually.
4
- */
5
- export {};