@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
@@ -0,0 +1,233 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT!
3
+ *
4
+ * This file was automatically generated by schemats v.1.2.1
5
+ * $ schemats generate -c postgres://username:password@localhost:5432/questions -t etatquestion -t legquestion -t naturequestion -t sortquestion -t tam_ministeres -t tam_questions -t tam_reponses -t the -s questions
6
+ *
7
+ */
8
+ export declare namespace etatquestionFields {
9
+ type etaquecod = string;
10
+ type etaquelib = string | null;
11
+ type etaquenumtri = number | null;
12
+ }
13
+ export interface etatquestion {
14
+ etaquecod: etatquestionFields.etaquecod;
15
+ etaquelib: etatquestionFields.etaquelib;
16
+ etaquenumtri: etatquestionFields.etaquenumtri;
17
+ }
18
+ export declare namespace legquestionFields {
19
+ type legdatdeb = Date | null;
20
+ type legdatfin = Date | null;
21
+ type legislature = number;
22
+ type leglib = string | null;
23
+ type republique = number | null;
24
+ }
25
+ export interface legquestion {
26
+ legdatdeb: legquestionFields.legdatdeb;
27
+ legdatfin: legquestionFields.legdatfin;
28
+ legislature: legquestionFields.legislature;
29
+ leglib: legquestionFields.leglib;
30
+ republique: legquestionFields.republique;
31
+ }
32
+ export declare namespace naturequestionFields {
33
+ type natquecod = string;
34
+ type natquelib = string | null;
35
+ type natquelibcousin = string | null;
36
+ type natquenumtri = number | null;
37
+ }
38
+ export interface naturequestion {
39
+ natquecod: naturequestionFields.natquecod;
40
+ natquelib: naturequestionFields.natquelib;
41
+ natquelibcousin: naturequestionFields.natquelibcousin;
42
+ natquenumtri: naturequestionFields.natquenumtri;
43
+ }
44
+ export declare namespace sortquestionFields {
45
+ type sorquecod = string;
46
+ type sorquelib = string | null;
47
+ type sorquenumtri = number | null;
48
+ }
49
+ export interface sortquestion {
50
+ sorquecod: sortquestionFields.sorquecod;
51
+ sorquelib: sortquestionFields.sorquelib;
52
+ sorquenumtri: sortquestionFields.sorquenumtri;
53
+ }
54
+ export declare namespace tam_ministeresFields {
55
+ type datedebut = Date | null;
56
+ type datefin = Date | null;
57
+ type intitulejo = string | null;
58
+ type libelle = string | null;
59
+ type libellelong = string | null;
60
+ type minid = number;
61
+ type minidremp = number | null;
62
+ type nomministre = string | null;
63
+ type ordreprotocolaire = number | null;
64
+ type titreministre = string | null;
65
+ }
66
+ export interface tam_ministeres {
67
+ datedebut: tam_ministeresFields.datedebut;
68
+ datefin: tam_ministeresFields.datefin;
69
+ intitulejo: tam_ministeresFields.intitulejo;
70
+ libelle: tam_ministeresFields.libelle;
71
+ libellelong: tam_ministeresFields.libellelong;
72
+ minid: tam_ministeresFields.minid;
73
+ minidremp: tam_ministeresFields.minidremp;
74
+ nomministre: tam_ministeresFields.nomministre;
75
+ ordreprotocolaire: tam_ministeresFields.ordreprotocolaire;
76
+ titreministre: tam_ministeresFields.titreministre;
77
+ }
78
+ export declare namespace tam_questionsFields {
79
+ type circonscription = string | null;
80
+ type cirnum = number | null;
81
+ type codequalite = string | null;
82
+ type compub = string | null;
83
+ type datecloture = Date | null;
84
+ type dateerr = Date | null;
85
+ type datejodepot = Date | null;
86
+ type datejorep1 = Date | null;
87
+ type datejotran = Date | null;
88
+ type daterappel = Date | null;
89
+ type dateseance = Date | null;
90
+ type datesignal = Date | null;
91
+ type datesynctam = Date | null;
92
+ type dattrans = Date | null;
93
+ type dattransori = Date | null;
94
+ type delaijours = number | null;
95
+ type delaijoursrep1 = number | null;
96
+ type etaquecod = number | null;
97
+ type groupe = string | null;
98
+ type id = number;
99
+ type legislature = number | null;
100
+ type matricule = string;
101
+ type mindepotid = number | null;
102
+ type mindepotlib = string | null;
103
+ type minrepid1 = number | null;
104
+ type minreplib1 = string | null;
105
+ type mintranid = number | null;
106
+ type mintranlib = string | null;
107
+ type natquecod = string | null;
108
+ type natqueord = number | null;
109
+ type nom = string | null;
110
+ type nomtechnique = string | null;
111
+ type numero = string | null;
112
+ type pageerr = number | null;
113
+ type pagejodepot = number | null;
114
+ type prenom = string | null;
115
+ type ratgrp = string | null;
116
+ type reference = string | null;
117
+ type refquerappelee = string | null;
118
+ type renvoi1 = string | null;
119
+ type renvoi2 = string | null;
120
+ type renvoi3 = string | null;
121
+ type repub = number | null;
122
+ type rubrique = string | null;
123
+ type sorquecod = number | null;
124
+ type thecrible = string | null;
125
+ type themes = string | null;
126
+ type titre = string | null;
127
+ type tranisreattr = string | null;
128
+ type txterrque = string | null;
129
+ type txtque = string | null;
130
+ type uuid = string | null;
131
+ type uuidquerappelee = string | null;
132
+ type uuidtrans = string | null;
133
+ type uuidtransori = string | null;
134
+ type version = number | null;
135
+ }
136
+ export interface tam_questions {
137
+ circonscription: tam_questionsFields.circonscription;
138
+ cirnum: tam_questionsFields.cirnum;
139
+ codequalite: tam_questionsFields.codequalite;
140
+ compub: tam_questionsFields.compub;
141
+ datecloture: tam_questionsFields.datecloture;
142
+ dateerr: tam_questionsFields.dateerr;
143
+ datejodepot: tam_questionsFields.datejodepot;
144
+ datejorep1: tam_questionsFields.datejorep1;
145
+ datejotran: tam_questionsFields.datejotran;
146
+ daterappel: tam_questionsFields.daterappel;
147
+ dateseance: tam_questionsFields.dateseance;
148
+ datesignal: tam_questionsFields.datesignal;
149
+ datesynctam: tam_questionsFields.datesynctam;
150
+ dattrans: tam_questionsFields.dattrans;
151
+ dattransori: tam_questionsFields.dattransori;
152
+ delaijours: tam_questionsFields.delaijours;
153
+ delaijoursrep1: tam_questionsFields.delaijoursrep1;
154
+ etaquecod: tam_questionsFields.etaquecod;
155
+ groupe: tam_questionsFields.groupe;
156
+ id: tam_questionsFields.id;
157
+ legislature: tam_questionsFields.legislature;
158
+ matricule: tam_questionsFields.matricule;
159
+ mindepotid: tam_questionsFields.mindepotid;
160
+ mindepotlib: tam_questionsFields.mindepotlib;
161
+ minrepid1: tam_questionsFields.minrepid1;
162
+ minreplib1: tam_questionsFields.minreplib1;
163
+ mintranid: tam_questionsFields.mintranid;
164
+ mintranlib: tam_questionsFields.mintranlib;
165
+ natquecod: tam_questionsFields.natquecod;
166
+ natqueord: tam_questionsFields.natqueord;
167
+ nom: tam_questionsFields.nom;
168
+ nomtechnique: tam_questionsFields.nomtechnique;
169
+ numero: tam_questionsFields.numero;
170
+ pageerr: tam_questionsFields.pageerr;
171
+ pagejodepot: tam_questionsFields.pagejodepot;
172
+ prenom: tam_questionsFields.prenom;
173
+ ratgrp: tam_questionsFields.ratgrp;
174
+ reference: tam_questionsFields.reference;
175
+ refquerappelee: tam_questionsFields.refquerappelee;
176
+ renvoi1: tam_questionsFields.renvoi1;
177
+ renvoi2: tam_questionsFields.renvoi2;
178
+ renvoi3: tam_questionsFields.renvoi3;
179
+ repub: tam_questionsFields.repub;
180
+ rubrique: tam_questionsFields.rubrique;
181
+ sorquecod: tam_questionsFields.sorquecod;
182
+ thecrible: tam_questionsFields.thecrible;
183
+ themes: tam_questionsFields.themes;
184
+ titre: tam_questionsFields.titre;
185
+ tranisreattr: tam_questionsFields.tranisreattr;
186
+ txterrque: tam_questionsFields.txterrque;
187
+ txtque: tam_questionsFields.txtque;
188
+ uuid: tam_questionsFields.uuid;
189
+ uuidquerappelee: tam_questionsFields.uuidquerappelee;
190
+ uuidtrans: tam_questionsFields.uuidtrans;
191
+ uuidtransori: tam_questionsFields.uuidtransori;
192
+ version: tam_questionsFields.version;
193
+ }
194
+ export declare namespace tam_reponsesFields {
195
+ type datejorep = Date | null;
196
+ type delaijoursrep = number | null;
197
+ type errdate = Date | null;
198
+ type errpage = number | null;
199
+ type idque = number;
200
+ type idrepunique = string | null;
201
+ type minrepid = number | null;
202
+ type minreplib = string | null;
203
+ type pagejorep = number | null;
204
+ type txterrrep = string | null;
205
+ type txtrep = string | null;
206
+ type urlrep = string | null;
207
+ }
208
+ export interface tam_reponses {
209
+ datejorep: tam_reponsesFields.datejorep;
210
+ delaijoursrep: tam_reponsesFields.delaijoursrep;
211
+ errdate: tam_reponsesFields.errdate;
212
+ errpage: tam_reponsesFields.errpage;
213
+ idque: tam_reponsesFields.idque;
214
+ idrepunique: tam_reponsesFields.idrepunique;
215
+ minrepid: tam_reponsesFields.minrepid;
216
+ minreplib: tam_reponsesFields.minreplib;
217
+ pagejorep: tam_reponsesFields.pagejorep;
218
+ txterrrep: tam_reponsesFields.txterrrep;
219
+ txtrep: tam_reponsesFields.txtrep;
220
+ urlrep: tam_reponsesFields.urlrep;
221
+ }
222
+ export declare namespace theFields {
223
+ type theali = string | null;
224
+ type thecle = number;
225
+ type thelib = string;
226
+ type thenouidt = number | null;
227
+ }
228
+ export interface the {
229
+ theali: theFields.theali;
230
+ thecle: theFields.thecle;
231
+ thelib: theFields.thelib;
232
+ thenouidt: theFields.thenouidt;
233
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.theFields = exports.tam_reponsesFields = exports.tam_questionsFields = exports.tam_ministeresFields = exports.sortquestionFields = exports.naturequestionFields = exports.legquestionFields = exports.etatquestionFields = void 0;
8
+ /* tslint:disable */
9
+ /**
10
+ * AUTO-GENERATED FILE - DO NOT EDIT!
11
+ *
12
+ * This file was automatically generated by schemats v.1.2.1
13
+ * $ schemats generate -c postgres://username:password@localhost:5432/questions -t etatquestion -t legquestion -t naturequestion -t sortquestion -t tam_ministeres -t tam_questions -t tam_reponses -t the -s questions
14
+ *
15
+ */
16
+ var etatquestionFields;
17
+ var legquestionFields;
18
+ var naturequestionFields;
19
+ var sortquestionFields;
20
+ var tam_ministeresFields;
21
+ var tam_questionsFields;
22
+ var tam_reponsesFields;
23
+ var theFields;
24
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJldGF0cXVlc3Rpb25GaWVsZHMiLCJsZWdxdWVzdGlvbkZpZWxkcyIsIm5hdHVyZXF1ZXN0aW9uRmllbGRzIiwic29ydHF1ZXN0aW9uRmllbGRzIiwidGFtX21pbmlzdGVyZXNGaWVsZHMiLCJ0YW1fcXVlc3Rpb25zRmllbGRzIiwidGFtX3JlcG9uc2VzRmllbGRzIiwidGhlRmllbGRzIl0sInNvdXJjZXMiOlsiLi4vLi4vc3JjL3Jhd190eXBlc19zY2hlbWF0cy9xdWVzdGlvbnMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyogdHNsaW50OmRpc2FibGUgKi9cblxuLyoqXG4gKiBBVVRPLUdFTkVSQVRFRCBGSUxFIC0gRE8gTk9UIEVESVQhXG4gKlxuICogVGhpcyBmaWxlIHdhcyBhdXRvbWF0aWNhbGx5IGdlbmVyYXRlZCBieSBzY2hlbWF0cyB2LjEuMi4xXG4gKiAkIHNjaGVtYXRzIGdlbmVyYXRlIC1jIHBvc3RncmVzOi8vdXNlcm5hbWU6cGFzc3dvcmRAbG9jYWxob3N0OjU0MzIvcXVlc3Rpb25zIC10IGV0YXRxdWVzdGlvbiAtdCBsZWdxdWVzdGlvbiAtdCBuYXR1cmVxdWVzdGlvbiAtdCBzb3J0cXVlc3Rpb24gLXQgdGFtX21pbmlzdGVyZXMgLXQgdG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4gIHRoZW5vdWlkdDogdGhlRmllbGRzLnRoZW5vdWlkdFxufVxuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQU5BLElBUWlCQSxrQkFBa0I7QUFBQSxJQVlsQkMsaUJBQWlCO0FBQUEsSUFnQmpCQyxvQkFBb0I7QUFBQSxJQWNwQkMsa0JBQWtCO0FBQUEsSUFZbEJDLG9CQUFvQjtBQUFBLElBMEJwQkMsbUJBQW1CO0FBQUEsSUFzSG5CQyxrQkFBa0I7QUFBQSxJQThCbEJDLFNBQVMiLCJpZ25vcmVMaXN0IjpbXX0=
@@ -0,0 +1,2 @@
1
+ /* tslint:disable */
2
+ export {};
@@ -0,0 +1,251 @@
1
+ /* tslint:disable */
2
+
3
+ /**
4
+ * AUTO-GENERATED FILE - DO NOT EDIT!
5
+ *
6
+ * This file was automatically generated by schemats v.1.2.1
7
+ * $ schemats generate -c postgres://username:password@localhost:5432/questions -t etatquestion -t legquestion -t naturequestion -t sortquestion -t tam_ministeres -t tam_questions -t tam_reponses -t the -s questions
8
+ *
9
+ */
10
+
11
+ export namespace etatquestionFields {
12
+ export type etaquecod = string
13
+ export type etaquelib = string | null
14
+ export type etaquenumtri = number | null
15
+ }
16
+
17
+ export interface etatquestion {
18
+ etaquecod: etatquestionFields.etaquecod
19
+ etaquelib: etatquestionFields.etaquelib
20
+ etaquenumtri: etatquestionFields.etaquenumtri
21
+ }
22
+
23
+ export namespace legquestionFields {
24
+ export type legdatdeb = Date | null
25
+ export type legdatfin = Date | null
26
+ export type legislature = number
27
+ export type leglib = string | null
28
+ export type republique = number | null
29
+ }
30
+
31
+ export interface legquestion {
32
+ legdatdeb: legquestionFields.legdatdeb
33
+ legdatfin: legquestionFields.legdatfin
34
+ legislature: legquestionFields.legislature
35
+ leglib: legquestionFields.leglib
36
+ republique: legquestionFields.republique
37
+ }
38
+
39
+ export namespace naturequestionFields {
40
+ export type natquecod = string
41
+ export type natquelib = string | null
42
+ export type natquelibcousin = string | null
43
+ export type natquenumtri = number | null
44
+ }
45
+
46
+ export interface naturequestion {
47
+ natquecod: naturequestionFields.natquecod
48
+ natquelib: naturequestionFields.natquelib
49
+ natquelibcousin: naturequestionFields.natquelibcousin
50
+ natquenumtri: naturequestionFields.natquenumtri
51
+ }
52
+
53
+ export namespace sortquestionFields {
54
+ export type sorquecod = string
55
+ export type sorquelib = string | null
56
+ export type sorquenumtri = number | null
57
+ }
58
+
59
+ export interface sortquestion {
60
+ sorquecod: sortquestionFields.sorquecod
61
+ sorquelib: sortquestionFields.sorquelib
62
+ sorquenumtri: sortquestionFields.sorquenumtri
63
+ }
64
+
65
+ export namespace tam_ministeresFields {
66
+ export type datedebut = Date | null
67
+ export type datefin = Date | null
68
+ export type intitulejo = string | null
69
+ export type libelle = string | null
70
+ export type libellelong = string | null
71
+ export type minid = number
72
+ export type minidremp = number | null
73
+ export type nomministre = string | null
74
+ export type ordreprotocolaire = number | null
75
+ export type titreministre = string | null
76
+ }
77
+
78
+ export interface tam_ministeres {
79
+ datedebut: tam_ministeresFields.datedebut
80
+ datefin: tam_ministeresFields.datefin
81
+ intitulejo: tam_ministeresFields.intitulejo
82
+ libelle: tam_ministeresFields.libelle
83
+ libellelong: tam_ministeresFields.libellelong
84
+ minid: tam_ministeresFields.minid
85
+ minidremp: tam_ministeresFields.minidremp
86
+ nomministre: tam_ministeresFields.nomministre
87
+ ordreprotocolaire: tam_ministeresFields.ordreprotocolaire
88
+ titreministre: tam_ministeresFields.titreministre
89
+ }
90
+
91
+ export namespace tam_questionsFields {
92
+ export type circonscription = string | null
93
+ export type cirnum = number | null
94
+ export type codequalite = string | null
95
+ export type compub = string | null
96
+ export type datecloture = Date | null
97
+ export type dateerr = Date | null
98
+ export type datejodepot = Date | null
99
+ export type datejorep1 = Date | null
100
+ export type datejotran = Date | null
101
+ export type daterappel = Date | null
102
+ export type dateseance = Date | null
103
+ export type datesignal = Date | null
104
+ export type datesynctam = Date | null
105
+ export type dattrans = Date | null
106
+ export type dattransori = Date | null
107
+ export type delaijours = number | null
108
+ export type delaijoursrep1 = number | null
109
+ export type etaquecod = number | null
110
+ export type groupe = string | null
111
+ export type id = number
112
+ export type legislature = number | null
113
+ export type matricule = string
114
+ export type mindepotid = number | null
115
+ export type mindepotlib = string | null
116
+ export type minrepid1 = number | null
117
+ export type minreplib1 = string | null
118
+ export type mintranid = number | null
119
+ export type mintranlib = string | null
120
+ export type natquecod = string | null
121
+ export type natqueord = number | null
122
+ export type nom = string | null
123
+ export type nomtechnique = string | null
124
+ export type numero = string | null
125
+ export type pageerr = number | null
126
+ export type pagejodepot = number | null
127
+ export type prenom = string | null
128
+ export type ratgrp = string | null
129
+ export type reference = string | null
130
+ export type refquerappelee = string | null
131
+ export type renvoi1 = string | null
132
+ export type renvoi2 = string | null
133
+ export type renvoi3 = string | null
134
+ export type repub = number | null
135
+ export type rubrique = string | null
136
+ export type sorquecod = number | null
137
+ export type thecrible = string | null
138
+ export type themes = string | null
139
+ export type titre = string | null
140
+ export type tranisreattr = string | null
141
+ export type txterrque = string | null
142
+ export type txtque = string | null
143
+ export type uuid = string | null
144
+ export type uuidquerappelee = string | null
145
+ export type uuidtrans = string | null
146
+ export type uuidtransori = string | null
147
+ export type version = number | null
148
+ }
149
+
150
+ export interface tam_questions {
151
+ circonscription: tam_questionsFields.circonscription
152
+ cirnum: tam_questionsFields.cirnum
153
+ codequalite: tam_questionsFields.codequalite
154
+ compub: tam_questionsFields.compub
155
+ datecloture: tam_questionsFields.datecloture
156
+ dateerr: tam_questionsFields.dateerr
157
+ datejodepot: tam_questionsFields.datejodepot
158
+ datejorep1: tam_questionsFields.datejorep1
159
+ datejotran: tam_questionsFields.datejotran
160
+ daterappel: tam_questionsFields.daterappel
161
+ dateseance: tam_questionsFields.dateseance
162
+ datesignal: tam_questionsFields.datesignal
163
+ datesynctam: tam_questionsFields.datesynctam
164
+ dattrans: tam_questionsFields.dattrans
165
+ dattransori: tam_questionsFields.dattransori
166
+ delaijours: tam_questionsFields.delaijours
167
+ delaijoursrep1: tam_questionsFields.delaijoursrep1
168
+ etaquecod: tam_questionsFields.etaquecod
169
+ groupe: tam_questionsFields.groupe
170
+ id: tam_questionsFields.id
171
+ legislature: tam_questionsFields.legislature
172
+ matricule: tam_questionsFields.matricule
173
+ mindepotid: tam_questionsFields.mindepotid
174
+ mindepotlib: tam_questionsFields.mindepotlib
175
+ minrepid1: tam_questionsFields.minrepid1
176
+ minreplib1: tam_questionsFields.minreplib1
177
+ mintranid: tam_questionsFields.mintranid
178
+ mintranlib: tam_questionsFields.mintranlib
179
+ natquecod: tam_questionsFields.natquecod
180
+ natqueord: tam_questionsFields.natqueord
181
+ nom: tam_questionsFields.nom
182
+ nomtechnique: tam_questionsFields.nomtechnique
183
+ numero: tam_questionsFields.numero
184
+ pageerr: tam_questionsFields.pageerr
185
+ pagejodepot: tam_questionsFields.pagejodepot
186
+ prenom: tam_questionsFields.prenom
187
+ ratgrp: tam_questionsFields.ratgrp
188
+ reference: tam_questionsFields.reference
189
+ refquerappelee: tam_questionsFields.refquerappelee
190
+ renvoi1: tam_questionsFields.renvoi1
191
+ renvoi2: tam_questionsFields.renvoi2
192
+ renvoi3: tam_questionsFields.renvoi3
193
+ repub: tam_questionsFields.repub
194
+ rubrique: tam_questionsFields.rubrique
195
+ sorquecod: tam_questionsFields.sorquecod
196
+ thecrible: tam_questionsFields.thecrible
197
+ themes: tam_questionsFields.themes
198
+ titre: tam_questionsFields.titre
199
+ tranisreattr: tam_questionsFields.tranisreattr
200
+ txterrque: tam_questionsFields.txterrque
201
+ txtque: tam_questionsFields.txtque
202
+ uuid: tam_questionsFields.uuid
203
+ uuidquerappelee: tam_questionsFields.uuidquerappelee
204
+ uuidtrans: tam_questionsFields.uuidtrans
205
+ uuidtransori: tam_questionsFields.uuidtransori
206
+ version: tam_questionsFields.version
207
+ }
208
+
209
+ export namespace tam_reponsesFields {
210
+ export type datejorep = Date | null
211
+ export type delaijoursrep = number | null
212
+ export type errdate = Date | null
213
+ export type errpage = number | null
214
+ export type idque = number
215
+ export type idrepunique = string | null
216
+ export type minrepid = number | null
217
+ export type minreplib = string | null
218
+ export type pagejorep = number | null
219
+ export type txterrrep = string | null
220
+ export type txtrep = string | null
221
+ export type urlrep = string | null
222
+ }
223
+
224
+ export interface tam_reponses {
225
+ datejorep: tam_reponsesFields.datejorep
226
+ delaijoursrep: tam_reponsesFields.delaijoursrep
227
+ errdate: tam_reponsesFields.errdate
228
+ errpage: tam_reponsesFields.errpage
229
+ idque: tam_reponsesFields.idque
230
+ idrepunique: tam_reponsesFields.idrepunique
231
+ minrepid: tam_reponsesFields.minrepid
232
+ minreplib: tam_reponsesFields.minreplib
233
+ pagejorep: tam_reponsesFields.pagejorep
234
+ txterrrep: tam_reponsesFields.txterrrep
235
+ txtrep: tam_reponsesFields.txtrep
236
+ urlrep: tam_reponsesFields.urlrep
237
+ }
238
+
239
+ export namespace theFields {
240
+ export type theali = string | null
241
+ export type thecle = number
242
+ export type thelib = string
243
+ export type thenouidt = number | null
244
+ }
245
+
246
+ export interface the {
247
+ theali: theFields.theali
248
+ thecle: theFields.thecle
249
+ thelib: theFields.thelib
250
+ thenouidt: theFields.thenouidt
251
+ }