@tricoteuses/assemblee 1.10.5 → 2.0.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 (400) hide show
  1. package/README.md +8 -1
  2. package/lib/amendements-CN7bRFdP.js +259 -0
  3. package/lib/amendements-CN7bRFdP.js.map +1 -0
  4. package/lib/amendements-Cg1lyCBp.js +735 -0
  5. package/lib/amendements-Cg1lyCBp.js.map +1 -0
  6. package/lib/api.d.ts +1 -0
  7. package/lib/api.d.ts.map +1 -0
  8. package/lib/cleaners/actes_legislatifs.d.ts +1 -0
  9. package/lib/cleaners/actes_legislatifs.d.ts.map +1 -0
  10. package/lib/cleaners/acteurs.d.ts +1 -0
  11. package/lib/cleaners/acteurs.d.ts.map +1 -0
  12. package/lib/cleaners/amendements.d.ts +1 -0
  13. package/lib/cleaners/amendements.d.ts.map +1 -0
  14. package/lib/cleaners/debats.d.ts +1 -0
  15. package/lib/cleaners/debats.d.ts.map +1 -0
  16. package/lib/cleaners/documents.d.ts +1 -0
  17. package/lib/cleaners/documents.d.ts.map +1 -0
  18. package/lib/cleaners/dossiers_legislatifs.d.ts +1 -0
  19. package/lib/cleaners/dossiers_legislatifs.d.ts.map +1 -0
  20. package/lib/cleaners/index.d.ts +10 -9
  21. package/lib/cleaners/index.d.ts.map +1 -0
  22. package/lib/cleaners/organes.d.ts +1 -0
  23. package/lib/cleaners/organes.d.ts.map +1 -0
  24. package/lib/cleaners/questions.d.ts +1 -0
  25. package/lib/cleaners/questions.d.ts.map +1 -0
  26. package/lib/cleaners/reunions.d.ts +1 -0
  27. package/lib/cleaners/reunions.d.ts.map +1 -0
  28. package/lib/cleaners/scrutins.d.ts +1 -0
  29. package/lib/cleaners/scrutins.d.ts.map +1 -0
  30. package/lib/cleaners/xml.d.ts +1 -0
  31. package/lib/cleaners/xml.d.ts.map +1 -0
  32. package/lib/cleaners.js +1138 -0
  33. package/lib/cleaners.js.map +1 -0
  34. package/lib/datasets.d.ts +4 -3
  35. package/lib/datasets.d.ts.map +1 -0
  36. package/lib/dates.d.ts +1 -0
  37. package/lib/dates.d.ts.map +1 -0
  38. package/lib/debats-BwZYgzXe.js +3978 -0
  39. package/lib/debats-BwZYgzXe.js.map +1 -0
  40. package/lib/dossiers_legislatifs.d.ts +3 -2
  41. package/lib/dossiers_legislatifs.d.ts.map +1 -0
  42. package/lib/file_systems.d.ts +1 -0
  43. package/lib/file_systems.d.ts.map +1 -0
  44. package/lib/git.d.ts +1 -0
  45. package/lib/git.d.ts.map +1 -0
  46. package/lib/index.d.ts +18 -22
  47. package/lib/index.d.ts.map +1 -0
  48. package/lib/index.js +1916 -285
  49. package/lib/index.js.map +1 -0
  50. package/lib/inserters.d.ts +6 -5
  51. package/lib/inserters.d.ts.map +1 -0
  52. package/lib/loaders.d.ts +13 -12
  53. package/lib/loaders.d.ts.map +1 -0
  54. package/lib/loaders.js +812 -1516
  55. package/lib/loaders.js.map +1 -0
  56. package/lib/logger.d.ts +1 -0
  57. package/lib/logger.d.ts.map +1 -0
  58. package/lib/organes.d.ts +2 -1
  59. package/lib/organes.d.ts.map +1 -0
  60. package/lib/parse-CzW8NHW5.js +2850 -0
  61. package/lib/parse-CzW8NHW5.js.map +1 -0
  62. package/lib/parsers/index.d.ts +3 -3
  63. package/lib/parsers/index.d.ts.map +1 -0
  64. package/lib/parsers/plf.d.ts +2 -0
  65. package/lib/parsers/plf.d.ts.map +1 -0
  66. package/lib/parsers/recherche_amendements.d.ts +3 -2
  67. package/lib/parsers/recherche_amendements.d.ts.map +1 -0
  68. package/lib/parsers/textes_lois.d.ts +2 -23
  69. package/lib/parsers/textes_lois.d.ts.map +1 -0
  70. package/lib/parsers.js +393 -0
  71. package/lib/parsers.js.map +1 -0
  72. package/lib/raw_types/acteurs_et_organes.d.ts +1 -0
  73. package/lib/raw_types/acteurs_et_organes.d.ts.map +1 -0
  74. package/lib/raw_types/agendas.d.ts +1 -0
  75. package/lib/raw_types/agendas.d.ts.map +1 -0
  76. package/lib/raw_types/amendements.d.ts +1 -0
  77. package/lib/raw_types/amendements.d.ts.map +1 -0
  78. package/lib/raw_types/debats.d.ts +3 -2
  79. package/lib/raw_types/debats.d.ts.map +1 -0
  80. package/lib/raw_types/dossiers_legislatifs.d.ts +2 -1
  81. package/lib/raw_types/dossiers_legislatifs.d.ts.map +1 -0
  82. package/lib/raw_types/questions.d.ts +1 -0
  83. package/lib/raw_types/questions.d.ts.map +1 -0
  84. package/lib/raw_types/scrutins.d.ts +1 -0
  85. package/lib/raw_types/scrutins.d.ts.map +1 -0
  86. package/lib/schemas/acteurs_et_organes.d.json +982 -0
  87. package/lib/schemas/acteurs_et_organes.json +1166 -0
  88. package/lib/schemas/agendas.d.json +1561 -0
  89. package/lib/schemas/agendas.json +1745 -0
  90. package/lib/schemas/amendements.d.json +1901 -0
  91. package/lib/schemas/amendements.json +2085 -0
  92. package/lib/schemas/debats.d.json +623 -0
  93. package/lib/schemas/debats.json +842 -0
  94. package/lib/schemas/dossiers_legislatifs.d.json +3690 -0
  95. package/lib/schemas/dossiers_legislatifs.json +3874 -0
  96. package/lib/schemas/legislatures.d.json +17 -0
  97. package/lib/schemas/legislatures.json +17 -0
  98. package/lib/schemas/questions.d.json +520 -0
  99. package/lib/schemas/questions.json +704 -0
  100. package/lib/schemas/scrutins.d.json +517 -0
  101. package/lib/schemas/scrutins.json +701 -0
  102. package/lib/scripts/add_links_to_documents.d.ts +2 -0
  103. package/lib/scripts/add_links_to_documents.d.ts.map +1 -0
  104. package/lib/scripts/clean_reorganized_data.d.ts +1 -0
  105. package/lib/scripts/clean_reorganized_data.d.ts.map +1 -0
  106. package/lib/scripts/copy-schemas.d.ts +2 -0
  107. package/lib/scripts/copy-schemas.d.ts.map +1 -0
  108. package/lib/scripts/diff_amendements.d.ts +1 -0
  109. package/lib/scripts/diff_amendements.d.ts.map +1 -0
  110. package/lib/scripts/document_dossiers_legislatifs.d.ts +1 -0
  111. package/lib/scripts/document_dossiers_legislatifs.d.ts.map +1 -0
  112. package/lib/scripts/generate-json-schemas.d.ts +2 -0
  113. package/lib/scripts/generate-json-schemas.d.ts.map +1 -0
  114. package/lib/scripts/get_today_reunions.d.ts +1 -0
  115. package/lib/scripts/get_today_reunions.d.ts.map +1 -0
  116. package/lib/scripts/merge_scrutins.d.ts +1 -0
  117. package/lib/scripts/merge_scrutins.d.ts.map +1 -0
  118. package/lib/scripts/process_open_dataset.d.ts +1 -0
  119. package/lib/scripts/process_open_dataset.d.ts.map +1 -0
  120. package/lib/scripts/raw_types_from_amendements.d.ts +1 -0
  121. package/lib/scripts/raw_types_from_amendements.d.ts.map +1 -0
  122. package/lib/scripts/reorganize_data.d.ts +1 -0
  123. package/lib/scripts/reorganize_data.d.ts.map +1 -0
  124. package/lib/scripts/retrieve_deputes_photos.d.ts +2 -1
  125. package/lib/scripts/retrieve_deputes_photos.d.ts.map +1 -0
  126. package/lib/scripts/retrieve_documents.d.ts +1 -0
  127. package/lib/scripts/retrieve_documents.d.ts.map +1 -0
  128. package/lib/scripts/retrieve_open_data.d.ts +1 -0
  129. package/lib/scripts/retrieve_open_data.d.ts.map +1 -0
  130. package/lib/scripts/retrieve_pending_amendments.d.ts +1 -0
  131. package/lib/scripts/retrieve_pending_amendments.d.ts.map +1 -0
  132. package/lib/scripts/retrieve_senateurs_photos.d.ts +1 -0
  133. package/lib/scripts/retrieve_senateurs_photos.d.ts.map +1 -0
  134. package/lib/scripts/shared/cli_helpers.d.ts +1 -0
  135. package/lib/scripts/shared/cli_helpers.d.ts.map +1 -0
  136. package/lib/scripts/test_iter_load.d.ts +1 -0
  137. package/lib/scripts/test_iter_load.d.ts.map +1 -0
  138. package/lib/scripts/test_load.d.ts +1 -0
  139. package/lib/scripts/test_load.d.ts.map +1 -0
  140. package/lib/scripts/test_load_big_files.d.ts +1 -0
  141. package/lib/scripts/test_load_big_files.d.ts.map +1 -0
  142. package/lib/scripts/validate_json.d.ts +1 -0
  143. package/lib/scripts/validate_json.d.ts.map +1 -0
  144. package/lib/shared_types/codes_actes.d.ts +1 -0
  145. package/lib/shared_types/codes_actes.d.ts.map +1 -0
  146. package/lib/strings.d.ts +1 -0
  147. package/lib/strings.d.ts.map +1 -0
  148. package/lib/types/acteurs_et_organes.d.ts +341 -0
  149. package/lib/types/acteurs_et_organes.d.ts.map +1 -0
  150. package/lib/types/agendas.d.ts +237 -10
  151. package/lib/types/agendas.d.ts.map +1 -0
  152. package/lib/types/amendements.d.ts +277 -1
  153. package/lib/types/amendements.d.ts.map +1 -0
  154. package/lib/types/debats.d.ts +53 -2
  155. package/lib/types/debats.d.ts.map +1 -0
  156. package/lib/types/dossiers_legislatifs.d.ts +404 -9
  157. package/lib/types/dossiers_legislatifs.d.ts.map +1 -0
  158. package/lib/types/legislatures.d.ts +1 -0
  159. package/lib/types/legislatures.d.ts.map +1 -0
  160. package/lib/types/questions.d.ts +100 -2
  161. package/lib/types/questions.d.ts.map +1 -0
  162. package/lib/types/scrutins.d.ts +102 -0
  163. package/lib/types/scrutins.d.ts.map +1 -0
  164. package/lib/urls.d.ts +3 -2
  165. package/lib/urls.d.ts.map +1 -0
  166. package/package.json +31 -95
  167. package/lib/api.js +0 -52
  168. package/lib/api.mjs +0 -45
  169. package/lib/bugs/acteur-00010/plugin.test.d.ts +0 -1
  170. package/lib/bugs/acteur-00010/plugin.test.js +0 -90
  171. package/lib/bugs/acteur-00010/plugin.test.mjs +0 -33
  172. package/lib/bugs/acteur-00010.d.ts +0 -7
  173. package/lib/bugs/acteur-00010.js +0 -116
  174. package/lib/bugs/acteur-00010.mjs +0 -26
  175. package/lib/bugs/agenda-00002/plugin.test.d.ts +0 -1
  176. package/lib/bugs/agenda-00002/plugin.test.js +0 -124
  177. package/lib/bugs/agenda-00002/plugin.test.mjs +0 -50
  178. package/lib/bugs/agenda-00002.d.ts +0 -15
  179. package/lib/bugs/agenda-00002.js +0 -406
  180. package/lib/bugs/agenda-00002.mjs +0 -172
  181. package/lib/bugs/agenda-00008/plugin.test.d.ts +0 -1
  182. package/lib/bugs/agenda-00008/plugin.test.js +0 -92
  183. package/lib/bugs/agenda-00008/plugin.test.mjs +0 -31
  184. package/lib/bugs/agenda-00008.d.ts +0 -7
  185. package/lib/bugs/agenda-00008.js +0 -123
  186. package/lib/bugs/agenda-00008.mjs +0 -26
  187. package/lib/bugs/agenda-00011/plugin.test.d.ts +0 -1
  188. package/lib/bugs/agenda-00011/plugin.test.js +0 -263
  189. package/lib/bugs/agenda-00011/plugin.test.mjs +0 -152
  190. package/lib/bugs/agenda-00011.d.ts +0 -16
  191. package/lib/bugs/agenda-00011.js +0 -333
  192. package/lib/bugs/agenda-00011.mjs +0 -125
  193. package/lib/bugs.d.ts +0 -21
  194. package/lib/bugs.js +0 -452
  195. package/lib/bugs.mjs +0 -70
  196. package/lib/cleaners/actes_legislatifs.js +0 -315
  197. package/lib/cleaners/actes_legislatifs.mjs +0 -253
  198. package/lib/cleaners/acteurs.js +0 -265
  199. package/lib/cleaners/acteurs.mjs +0 -180
  200. package/lib/cleaners/amendements.js +0 -294
  201. package/lib/cleaners/amendements.mjs +0 -227
  202. package/lib/cleaners/debats.js +0 -12
  203. package/lib/cleaners/debats.mjs +0 -5
  204. package/lib/cleaners/documents.js +0 -205
  205. package/lib/cleaners/documents.mjs +0 -133
  206. package/lib/cleaners/dossiers_legislatifs.js +0 -131
  207. package/lib/cleaners/dossiers_legislatifs.mjs +0 -70
  208. package/lib/cleaners/index.js +0 -70
  209. package/lib/cleaners/index.mjs +0 -10
  210. package/lib/cleaners/organes.js +0 -65
  211. package/lib/cleaners/organes.mjs +0 -48
  212. package/lib/cleaners/questions.js +0 -12
  213. package/lib/cleaners/questions.mjs +0 -5
  214. package/lib/cleaners/reunions.js +0 -312
  215. package/lib/cleaners/reunions.mjs +0 -255
  216. package/lib/cleaners/scrutins.js +0 -340
  217. package/lib/cleaners/scrutins.mjs +0 -221
  218. package/lib/cleaners/xml.js +0 -74
  219. package/lib/cleaners/xml.mjs +0 -59
  220. package/lib/datasets.js +0 -837
  221. package/lib/datasets.mjs +0 -755
  222. package/lib/dates.js +0 -124
  223. package/lib/dates.mjs +0 -100
  224. package/lib/dossiers_legislatifs.js +0 -346
  225. package/lib/dossiers_legislatifs.mjs +0 -208
  226. package/lib/file_systems.js +0 -162
  227. package/lib/file_systems.mjs +0 -62
  228. package/lib/git.js +0 -223
  229. package/lib/git.mjs +0 -151
  230. package/lib/index.mjs +0 -17
  231. package/lib/inserters.js +0 -521
  232. package/lib/inserters.mjs +0 -337
  233. package/lib/loaders.mjs +0 -886
  234. package/lib/logger.js +0 -35
  235. package/lib/logger.mjs +0 -26
  236. package/lib/organes.js +0 -22
  237. package/lib/organes.mjs +0 -15
  238. package/lib/parsers/documents.d.ts +0 -62
  239. package/lib/parsers/documents.js +0 -453
  240. package/lib/parsers/documents.mjs +0 -370
  241. package/lib/parsers/index.js +0 -40
  242. package/lib/parsers/index.mjs +0 -4
  243. package/lib/parsers/recherche_amendements.js +0 -403
  244. package/lib/parsers/recherche_amendements.mjs +0 -167
  245. package/lib/parsers/textes_lois.js +0 -307
  246. package/lib/parsers/textes_lois.mjs +0 -264
  247. package/lib/raw_types/acteurs_et_organes.js +0 -1215
  248. package/lib/raw_types/acteurs_et_organes.mjs +0 -1148
  249. package/lib/raw_types/agendas.js +0 -777
  250. package/lib/raw_types/agendas.mjs +0 -724
  251. package/lib/raw_types/amendements.js +0 -1052
  252. package/lib/raw_types/amendements.mjs +0 -993
  253. package/lib/raw_types/debats.js +0 -630
  254. package/lib/raw_types/debats.mjs +0 -573
  255. package/lib/raw_types/dossiers_legislatifs.js +0 -1529
  256. package/lib/raw_types/dossiers_legislatifs.mjs +0 -1471
  257. package/lib/raw_types/questions.js +0 -469
  258. package/lib/raw_types/questions.mjs +0 -416
  259. package/lib/raw_types/scrutins.js +0 -651
  260. package/lib/raw_types/scrutins.mjs +0 -598
  261. package/lib/schemas/acteur/Acteur.json +0 -56
  262. package/lib/schemas/acteur/AdresseElectronique.json +0 -52
  263. package/lib/schemas/acteur/AdressePostale.json +0 -75
  264. package/lib/schemas/acteur/Civ.json +0 -14
  265. package/lib/schemas/acteur/Collaborateur.json +0 -29
  266. package/lib/schemas/acteur/EtatCivil.json +0 -51
  267. package/lib/schemas/acteur/Ident.json +0 -40
  268. package/lib/schemas/acteur/Lieu.json +0 -66
  269. package/lib/schemas/acteur/Mandat.json +0 -192
  270. package/lib/schemas/acteur/Profession.json +0 -46
  271. package/lib/schemas/agenda/Agenda.json +0 -318
  272. package/lib/schemas/agenda/CycleDeVie.json +0 -45
  273. package/lib/schemas/agenda/PointOdj.json +0 -82
  274. package/lib/schemas/amendement/Amendement.json +0 -246
  275. package/lib/schemas/amendement/Diff.json +0 -25
  276. package/lib/schemas/amendement/DispositifAmdtCredit.json +0 -85
  277. package/lib/schemas/amendement/Identifiant.json +0 -62
  278. package/lib/schemas/amendement/PointeurFragmentTexte.json +0 -127
  279. package/lib/schemas/amendement/Representation.json +0 -67
  280. package/lib/schemas/amendement/Total.json +0 -26
  281. package/lib/schemas/converted_from_type/acteurs_et_organes.json +0 -666
  282. package/lib/schemas/converted_from_type/agendas.json +0 -1100
  283. package/lib/schemas/converted_from_type/amendements.json +0 -3191
  284. package/lib/schemas/converted_from_type/debats.json +0 -682
  285. package/lib/schemas/converted_from_type/deputes.json +0 -26
  286. package/lib/schemas/converted_from_type/dossiers_legislatifs.json +0 -2918
  287. package/lib/schemas/converted_from_type/legislatures.json +0 -16
  288. package/lib/schemas/converted_from_type/questions.json +0 -328
  289. package/lib/schemas/converted_from_type/scrutins.json +0 -393
  290. package/lib/schemas/debat/Contenu.json +0 -75
  291. package/lib/schemas/debat/Debat.json +0 -40
  292. package/lib/schemas/debat/Metadonnees.json +0 -75
  293. package/lib/schemas/debat/Orateur.json +0 -60
  294. package/lib/schemas/debat/Point.json +0 -169
  295. package/lib/schemas/debat/Sommaire.json +0 -71
  296. package/lib/schemas/debat/SommaireElement.json +0 -108
  297. package/lib/schemas/debat/Texte.json +0 -34
  298. package/lib/schemas/document/CodeLibelle.json +0 -25
  299. package/lib/schemas/document/Document.json +0 -385
  300. package/lib/schemas/document/Indexation.json +0 -38
  301. package/lib/schemas/dossier/ActeLegislatif.json +0 -211
  302. package/lib/schemas/dossier/ActeLegislatifBase.json +0 -62
  303. package/lib/schemas/dossier/Agenda.json +0 -23
  304. package/lib/schemas/dossier/ConseilConstitutionnel.json +0 -35
  305. package/lib/schemas/dossier/Decision.json +0 -25
  306. package/lib/schemas/dossier/Dossier.json +0 -124
  307. package/lib/schemas/dossier/EtudeImpact.json +0 -29
  308. package/lib/schemas/dossier/EtudePlf.json +0 -105
  309. package/lib/schemas/dossier/Europe.json +0 -42
  310. package/lib/schemas/dossier/FamCodeLibelle.json +0 -25
  311. package/lib/schemas/dossier/InfoJO.json +0 -23
  312. package/lib/schemas/dossier/Initiateur.json +0 -36
  313. package/lib/schemas/dossier/Motion.json +0 -27
  314. package/lib/schemas/dossier/Promulgation.json +0 -62
  315. package/lib/schemas/dossier/Rapporteur.json +0 -36
  316. package/lib/schemas/dossier/Texte.json +0 -47
  317. package/lib/schemas/organe/CodeTypeOrgane.json +0 -43
  318. package/lib/schemas/organe/Organe.json +0 -136
  319. package/lib/schemas/organe/ViMoDe.json +0 -28
  320. package/lib/schemas/question/Auteur.json +0 -58
  321. package/lib/schemas/question/Cloture.json +0 -28
  322. package/lib/schemas/question/InfoJO.json +0 -40
  323. package/lib/schemas/question/MinAttribElement.json +0 -30
  324. package/lib/schemas/question/Question.json +0 -172
  325. package/lib/schemas/question/Renouvellement.json +0 -17
  326. package/lib/schemas/question/Signalement.json +0 -21
  327. package/lib/schemas/question/Texte.json +0 -24
  328. package/lib/schemas/scrutin/DecompteVoix.json +0 -35
  329. package/lib/schemas/scrutin/Dysfonctionnement.json +0 -50
  330. package/lib/schemas/scrutin/MiseAuPoint.json +0 -53
  331. package/lib/schemas/scrutin/OrganeVotant.json +0 -88
  332. package/lib/schemas/scrutin/Scrutin.json +0 -187
  333. package/lib/schemas/scrutin/Votant.json +0 -37
  334. package/lib/scripts/bugs_helper.d.ts +0 -13
  335. package/lib/scripts/bugs_helper.js +0 -595
  336. package/lib/scripts/bugs_helper.mjs +0 -251
  337. package/lib/scripts/clean_reorganized_data.js +0 -613
  338. package/lib/scripts/clean_reorganized_data.mjs +0 -276
  339. package/lib/scripts/diff_amendements.js +0 -249
  340. package/lib/scripts/diff_amendements.mjs +0 -202
  341. package/lib/scripts/document_dossiers_legislatifs.js +0 -655
  342. package/lib/scripts/document_dossiers_legislatifs.mjs +0 -414
  343. package/lib/scripts/get_today_reunions.js +0 -37
  344. package/lib/scripts/get_today_reunions.mjs +0 -31
  345. package/lib/scripts/merge_scrutins.js +0 -97
  346. package/lib/scripts/merge_scrutins.mjs +0 -47
  347. package/lib/scripts/parse_textes_lois.d.ts +0 -1
  348. package/lib/scripts/parse_textes_lois.js +0 -171
  349. package/lib/scripts/parse_textes_lois.mjs +0 -140
  350. package/lib/scripts/process_open_dataset.js +0 -301
  351. package/lib/scripts/process_open_dataset.mjs +0 -134
  352. package/lib/scripts/raw_types_from_amendements.js +0 -135
  353. package/lib/scripts/raw_types_from_amendements.mjs +0 -134
  354. package/lib/scripts/reorganize_data.js +0 -805
  355. package/lib/scripts/reorganize_data.mjs +0 -517
  356. package/lib/scripts/retrieve_deputes_photos.js +0 -310
  357. package/lib/scripts/retrieve_deputes_photos.mjs +0 -158
  358. package/lib/scripts/retrieve_documents.js +0 -547
  359. package/lib/scripts/retrieve_documents.mjs +0 -242
  360. package/lib/scripts/retrieve_open_data.js +0 -107
  361. package/lib/scripts/retrieve_open_data.mjs +0 -26
  362. package/lib/scripts/retrieve_pending_amendments.js +0 -206
  363. package/lib/scripts/retrieve_pending_amendments.mjs +0 -57
  364. package/lib/scripts/retrieve_senateurs_photos.js +0 -234
  365. package/lib/scripts/retrieve_senateurs_photos.mjs +0 -116
  366. package/lib/scripts/retrieve_textes_lois.d.ts +0 -1
  367. package/lib/scripts/retrieve_textes_lois.js +0 -240
  368. package/lib/scripts/retrieve_textes_lois.mjs +0 -85
  369. package/lib/scripts/shared/cli_helpers.js +0 -89
  370. package/lib/scripts/shared/cli_helpers.mjs +0 -81
  371. package/lib/scripts/test_iter_load.js +0 -155
  372. package/lib/scripts/test_iter_load.mjs +0 -72
  373. package/lib/scripts/test_load.js +0 -26
  374. package/lib/scripts/test_load.mjs +0 -16
  375. package/lib/scripts/test_load_big_files.js +0 -26
  376. package/lib/scripts/test_load_big_files.mjs +0 -16
  377. package/lib/scripts/validate_json.js +0 -353
  378. package/lib/scripts/validate_json.mjs +0 -184
  379. package/lib/shared_types/codes_actes.js +0 -231
  380. package/lib/shared_types/codes_actes.mjs +0 -224
  381. package/lib/strings.js +0 -16
  382. package/lib/strings.mjs +0 -7
  383. package/lib/types/acteurs_et_organes.js +0 -965
  384. package/lib/types/acteurs_et_organes.mjs +0 -906
  385. package/lib/types/agendas.js +0 -628
  386. package/lib/types/agendas.mjs +0 -575
  387. package/lib/types/amendements.js +0 -899
  388. package/lib/types/amendements.mjs +0 -842
  389. package/lib/types/debats.js +0 -619
  390. package/lib/types/debats.mjs +0 -562
  391. package/lib/types/dossiers_legislatifs.js +0 -1188
  392. package/lib/types/dossiers_legislatifs.mjs +0 -1130
  393. package/lib/types/legislatures.js +0 -17
  394. package/lib/types/legislatures.mjs +0 -10
  395. package/lib/types/questions.js +0 -454
  396. package/lib/types/questions.mjs +0 -401
  397. package/lib/types/scrutins.js +0 -556
  398. package/lib/types/scrutins.mjs +0 -503
  399. package/lib/urls.js +0 -325
  400. package/lib/urls.mjs +0 -258
@@ -0,0 +1,735 @@
1
+ var AccordGouvernementDepotHorsDelai;
2
+ (function(AccordGouvernementDepotHorsDelai2) {
3
+ AccordGouvernementDepotHorsDelai2["Accord"] = "Accord";
4
+ AccordGouvernementDepotHorsDelai2["SansObjet"] = "Sans objet";
5
+ })(AccordGouvernementDepotHorsDelai || (AccordGouvernementDepotHorsDelai = {}));
6
+ var Action;
7
+ (function(Action2) {
8
+ Action2["Création"] = "création";
9
+ Action2["Modification"] = "modification";
10
+ Action2["Suppression"] = "suppression";
11
+ })(Action || (Action = {}));
12
+ var EtatAmendementCode;
13
+ (function(EtatAmendementCode2) {
14
+ EtatAmendementCode2["AC"] = "AC";
15
+ EtatAmendementCode2["At"] = "AT";
16
+ EtatAmendementCode2["Di"] = "DI";
17
+ EtatAmendementCode2["Effacé"] = "effacé";
18
+ EtatAmendementCode2["Er"] = "ER";
19
+ EtatAmendementCode2["Et"] = "ET";
20
+ EtatAmendementCode2["IR"] = "IR";
21
+ EtatAmendementCode2["Irr127"] = "IRR127";
22
+ EtatAmendementCode2["Irr20"] = "IRR20";
23
+ EtatAmendementCode2["Irr37"] = "IRR37";
24
+ EtatAmendementCode2["Irr38"] = "IRR38";
25
+ EtatAmendementCode2["Irr41"] = "IRR41";
26
+ EtatAmendementCode2["Irr42"] = "IRR42";
27
+ EtatAmendementCode2["Irr45"] = "IRR45";
28
+ EtatAmendementCode2["Irr48"] = "IRR48";
29
+ EtatAmendementCode2["Irr53"] = "IRR53";
30
+ EtatAmendementCode2["Irrai"] = "IRRAI";
31
+ EtatAmendementCode2["Irraif"] = "IRRAIF";
32
+ EtatAmendementCode2["Irrd"] = "IRRD";
33
+ EtatAmendementCode2["Irrhc"] = "IRRHC";
34
+ EtatAmendementCode2["Irrhd"] = "IRRHD";
35
+ EtatAmendementCode2["Irrsa"] = "IRRSA";
36
+ EtatAmendementCode2["R"] = "R";
37
+ EtatAmendementCode2["Rt"] = "RT";
38
+ EtatAmendementCode2["T"] = "T";
39
+ })(EtatAmendementCode || (EtatAmendementCode = {}));
40
+ var EtatAmendementLibelle;
41
+ (function(EtatAmendementLibelle2) {
42
+ EtatAmendementLibelle2["ADiscuter"] = "A discuter";
43
+ EtatAmendementLibelle2["ADéposer"] = "A déposer";
44
+ EtatAmendementLibelle2["Discuté"] = "Discuté";
45
+ EtatAmendementLibelle2["Effacé"] = "effacé";
46
+ EtatAmendementLibelle2["EnRecevabilité"] = "En recevabilité";
47
+ EtatAmendementLibelle2["EnTraitement"] = "En traitement";
48
+ EtatAmendementLibelle2["Irrecevable"] = "Irrecevable";
49
+ EtatAmendementLibelle2["Irrecevable40"] = "Irrecevable 40";
50
+ EtatAmendementLibelle2["Retiré"] = "Retiré";
51
+ })(EtatAmendementLibelle || (EtatAmendementLibelle = {}));
52
+ var SortAmendement;
53
+ (function(SortAmendement2) {
54
+ SortAmendement2["Adopté"] = "Adopté";
55
+ SortAmendement2["AutreIrrecevabilité"] = "Autre irrecevabilité";
56
+ SortAmendement2["AutreIrrecevabilité40"] = "Autre irrecevabilité 40";
57
+ SortAmendement2["AutresIrrLOLF"] = "Autres irr LOLF";
58
+ SortAmendement2["AutresIrrLOLFSS"] = "Autres irr LOLFSS";
59
+ SortAmendement2["Cavalier45"] = "Cavalier (45)";
60
+ SortAmendement2["CavalierBudgétaire"] = "Cavalier budgétaire";
61
+ SortAmendement2["CavalierSocial"] = "Cavalier social";
62
+ SortAmendement2["ChampDeLHabilitation38"] = "Champ de l'habilitation (38)";
63
+ SortAmendement2["Charge"] = "Charge";
64
+ SortAmendement2["Cmp45"] = "CMP (45)";
65
+ SortAmendement2["Crédits"] = "Crédits";
66
+ SortAmendement2["DispositionRéglementaire37"] = "Disposition réglementaire (37)";
67
+ SortAmendement2["DomaineDeLaLoi41"] = "Domaine de la loi (41)";
68
+ SortAmendement2["DomaineLoiOrganique127"] = "Domaine loi organique (127)";
69
+ SortAmendement2["Doublon"] = "Doublon";
70
+ SortAmendement2["Entonnoir45"] = "Entonnoir (45)";
71
+ SortAmendement2["Gage"] = "Gage";
72
+ SortAmendement2["HorsChamp"] = "Hors champ";
73
+ SortAmendement2["HorsDélais"] = "Hors-délais";
74
+ SortAmendement2["Injonction20"] = "Injonction (20)";
75
+ SortAmendement2["IrrEnPremièrePartie"] = "Irr en première partie";
76
+ SortAmendement2["IrrEnSecondePartie"] = "Irr en seconde partie";
77
+ SortAmendement2["Lolf"] = "LOLF";
78
+ SortAmendement2["Lolfss"] = "LOLFSS";
79
+ SortAmendement2["NonSoutenu"] = "Non soutenu";
80
+ SortAmendement2["OrdreDuJour48"] = "Ordre du jour (48)";
81
+ SortAmendement2["R"] = "R";
82
+ SortAmendement2["RatificationTraité53"] = "Ratification traité (53)";
83
+ SortAmendement2["Rejeté"] = "Rejeté";
84
+ SortAmendement2["Retiré"] = "Retiré";
85
+ SortAmendement2["RetiréAprèsPublication"] = "Retiré après publication";
86
+ SortAmendement2["RetiréAvantPublication"] = "Retiré avant publication";
87
+ SortAmendement2["SatisfaitOuInopérant42"] = "Satisfait ou inopérant (42)";
88
+ SortAmendement2["SousAmendement98"] = "Sous-amendement (98)";
89
+ SortAmendement2["Tombé"] = "Tombé";
90
+ })(SortAmendement || (SortAmendement = {}));
91
+ var TypePosition;
92
+ (function(TypePosition2) {
93
+ TypePosition2["Dernier"] = "Dernier";
94
+ TypePosition2["Milieu"] = "Milieu";
95
+ TypePosition2["Premier"] = "Premier";
96
+ })(TypePosition || (TypePosition = {}));
97
+ var AvantAApres;
98
+ (function(AvantAApres2) {
99
+ AvantAApres2["A"] = "A";
100
+ AvantAApres2["Apres"] = "Apres";
101
+ AvantAApres2["Avant"] = "Avant";
102
+ })(AvantAApres || (AvantAApres = {}));
103
+ var DivisionType;
104
+ (function(DivisionType2) {
105
+ DivisionType2["Annexe"] = "ANNEXE";
106
+ DivisionType2["Article"] = "ARTICLE";
107
+ DivisionType2["Chapitre"] = "CHAPITRE";
108
+ DivisionType2["Titre"] = "TITRE";
109
+ })(DivisionType || (DivisionType = {}));
110
+ var CodeEtat;
111
+ (function(CodeEtat2) {
112
+ CodeEtat2["B"] = "B";
113
+ CodeEtat2["C"] = "C";
114
+ CodeEtat2["D"] = "D";
115
+ })(CodeEtat || (CodeEtat = {}));
116
+ var Nom;
117
+ (function(Nom2) {
118
+ Nom2["Pdf"] = "PDF";
119
+ })(Nom || (Nom = {}));
120
+ var TypeMimeType;
121
+ (function(TypeMimeType2) {
122
+ TypeMimeType2["Application"] = "application";
123
+ })(TypeMimeType || (TypeMimeType = {}));
124
+ var TypeAuteur;
125
+ (function(TypeAuteur2) {
126
+ TypeAuteur2["Député"] = "Député";
127
+ TypeAuteur2["Gouvernement"] = "Gouvernement";
128
+ TypeAuteur2["Rapporteur"] = "Rapporteur";
129
+ })(TypeAuteur || (TypeAuteur = {}));
130
+ class Convert {
131
+ static toAmendement(json) {
132
+ return cast(JSON.parse(json), r("Amendement"));
133
+ }
134
+ static amendementToJson(value) {
135
+ return JSON.stringify(uncast(value, r("Amendement")), null, 2);
136
+ }
137
+ static toAmendements(json) {
138
+ return cast(JSON.parse(json), r("Amendements"));
139
+ }
140
+ static amendementsToJson(value) {
141
+ return JSON.stringify(uncast(value, r("Amendements")), null, 2);
142
+ }
143
+ static toTexteLegislatif(json) {
144
+ return cast(JSON.parse(json), r("TexteLegislatif"));
145
+ }
146
+ static texteLegislatifToJson(value) {
147
+ return JSON.stringify(uncast(value, r("TexteLegislatif")), null, 2);
148
+ }
149
+ }
150
+ function invalidValue(typ, val, key = "") {
151
+ if (key) {
152
+ throw Error(`Invalid value for key "${key}". Expected type ${JSON.stringify(typ)} but got ${JSON.stringify(val)}`);
153
+ }
154
+ throw Error(`Invalid value ${JSON.stringify(val)} for type ${JSON.stringify(typ)}`);
155
+ }
156
+ function jsonToJSProps(typ) {
157
+ if (typ.jsonToJS === void 0) {
158
+ const map = {};
159
+ typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
160
+ typ.jsonToJS = map;
161
+ }
162
+ return typ.jsonToJS;
163
+ }
164
+ function jsToJSONProps(typ) {
165
+ if (typ.jsToJSON === void 0) {
166
+ const map = {};
167
+ typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
168
+ typ.jsToJSON = map;
169
+ }
170
+ return typ.jsToJSON;
171
+ }
172
+ function transform(val, typ, getProps, key = "") {
173
+ function transformPrimitive(typ2, val2) {
174
+ if (typeof typ2 === typeof val2)
175
+ return val2;
176
+ return invalidValue(typ2, val2, key);
177
+ }
178
+ function transformUnion(typs, val2) {
179
+ const l = typs.length;
180
+ for (let i = 0; i < l; i++) {
181
+ const typ2 = typs[i];
182
+ try {
183
+ return transform(val2, typ2, getProps);
184
+ } catch (_) {
185
+ }
186
+ }
187
+ return invalidValue(typs, val2);
188
+ }
189
+ function transformEnum(cases, val2) {
190
+ if (cases.indexOf(val2) !== -1)
191
+ return val2;
192
+ return invalidValue(cases, val2);
193
+ }
194
+ function transformArray(typ2, val2) {
195
+ if (!Array.isArray(val2))
196
+ return invalidValue("array", val2);
197
+ return val2.map((el) => transform(el, typ2, getProps));
198
+ }
199
+ function transformDate(val2) {
200
+ if (val2 === null) {
201
+ return null;
202
+ }
203
+ const d = new Date(val2);
204
+ if (isNaN(d.valueOf())) {
205
+ return invalidValue("Date", val2);
206
+ }
207
+ return d;
208
+ }
209
+ function transformObject(props, additional, val2) {
210
+ if (val2 === null || typeof val2 !== "object" || Array.isArray(val2)) {
211
+ return invalidValue("object", val2);
212
+ }
213
+ const result = {};
214
+ Object.getOwnPropertyNames(props).forEach((key2) => {
215
+ const prop = props[key2];
216
+ const v = Object.prototype.hasOwnProperty.call(val2, key2) ? val2[key2] : void 0;
217
+ result[prop.key] = transform(v, prop.typ, getProps, prop.key);
218
+ });
219
+ Object.getOwnPropertyNames(val2).forEach((key2) => {
220
+ if (!Object.prototype.hasOwnProperty.call(props, key2)) {
221
+ result[key2] = transform(val2[key2], additional, getProps, key2);
222
+ }
223
+ });
224
+ return result;
225
+ }
226
+ if (typ === "any")
227
+ return val;
228
+ if (typ === null) {
229
+ if (val === null)
230
+ return val;
231
+ return invalidValue(typ, val);
232
+ }
233
+ while (typeof typ === "object" && typ.ref !== void 0) {
234
+ typ = typeMap[typ.ref];
235
+ }
236
+ if (Array.isArray(typ))
237
+ return transformEnum(typ, val);
238
+ if (typeof typ === "object") {
239
+ return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) : invalidValue(typ, val);
240
+ }
241
+ if (typ === Date && typeof val !== "number")
242
+ return transformDate(val);
243
+ return transformPrimitive(typ, val);
244
+ }
245
+ function cast(val, typ) {
246
+ return transform(val, typ, jsonToJSProps);
247
+ }
248
+ function uncast(val, typ) {
249
+ return transform(val, typ, jsToJSONProps);
250
+ }
251
+ function a(typ) {
252
+ return { arrayItems: typ };
253
+ }
254
+ function u(...typs) {
255
+ return { unionMembers: typs };
256
+ }
257
+ function o(props, additional) {
258
+ return { props, additional };
259
+ }
260
+ function r(name) {
261
+ return { ref: name };
262
+ }
263
+ const typeMap = {
264
+ Amendements: o([
265
+ {
266
+ json: "textesLegislatifs",
267
+ js: "textesLegislatifs",
268
+ typ: a(r("TexteLegislatif"))
269
+ }
270
+ ], false),
271
+ TexteLegislatif: o([
272
+ { json: "refTexteLegislatif", js: "refTexteLegislatif", typ: "" },
273
+ { json: "amendements", js: "amendements", typ: r("AmendementsClass") }
274
+ ], false),
275
+ AmendementsClass: o([{ json: "amendement", js: "amendement", typ: a(r("Amendement")) }], false),
276
+ AmendementWrapper: o([{ json: "amendement", js: "amendement", typ: r("Amendement") }], false),
277
+ Amendement: o([
278
+ { json: "uid", js: "uid", typ: "" },
279
+ { json: "chronotag", js: "chronotag", typ: "" },
280
+ { json: "legislature", js: "legislature", typ: "" },
281
+ {
282
+ json: "identification",
283
+ js: "identification",
284
+ typ: r("Identification")
285
+ },
286
+ { json: "examenRef", js: "examenRef", typ: "" },
287
+ { json: "texteLegislatifRef", js: "texteLegislatifRef", typ: "" },
288
+ { json: "triAmendement", js: "triAmendement", typ: u(void 0, "") },
289
+ {
290
+ json: "cardinaliteAmdtMultiples",
291
+ js: "cardinaliteAmdtMultiples",
292
+ typ: u(void 0, "")
293
+ },
294
+ {
295
+ json: "amendementParentRef",
296
+ js: "amendementParentRef",
297
+ typ: u(void 0, "")
298
+ },
299
+ { json: "signataires", js: "signataires", typ: r("Signataires") },
300
+ {
301
+ json: "pointeurFragmentTexte",
302
+ js: "pointeurFragmentTexte",
303
+ typ: r("PointeurFragmentTexte")
304
+ },
305
+ { json: "corps", js: "corps", typ: u(void 0, r("Corps")) },
306
+ { json: "cycleDeVie", js: "cycleDeVie", typ: r("CycleDeVie") },
307
+ {
308
+ json: "representation",
309
+ js: "representation",
310
+ typ: u(void 0, r("Representation"))
311
+ },
312
+ {
313
+ json: "seanceDiscussionRef",
314
+ js: "seanceDiscussionRef",
315
+ typ: u(void 0, "")
316
+ },
317
+ { json: "article99", js: "article99", typ: "" },
318
+ {
319
+ json: "loiReference",
320
+ js: "loiReference",
321
+ typ: u(void 0, r("LoiReference"))
322
+ },
323
+ {
324
+ json: "discussionCommune",
325
+ js: "discussionCommune",
326
+ typ: u(void 0, r("Discussion"))
327
+ },
328
+ {
329
+ json: "discussionIdentique",
330
+ js: "discussionIdentique",
331
+ typ: u(void 0, r("Discussion"))
332
+ },
333
+ {
334
+ json: "accordGouvernementDepotHorsDelai",
335
+ js: "accordGouvernementDepotHorsDelai",
336
+ typ: r("AccordGouvernementDepotHorsDelai")
337
+ }
338
+ ], false),
339
+ Corps: o([
340
+ {
341
+ json: "cartoucheInformatif",
342
+ js: "cartoucheInformatif",
343
+ typ: u(void 0, "")
344
+ },
345
+ {
346
+ json: "contenuAuteur",
347
+ js: "contenuAuteur",
348
+ typ: u(void 0, r("ContenuAuteur"))
349
+ }
350
+ ], false),
351
+ ContenuAuteur: o([
352
+ { json: "dispositif", js: "dispositif", typ: u(void 0, "") },
353
+ {
354
+ json: "avantAppel",
355
+ js: "avantAppel",
356
+ typ: u(void 0, r("AvantAppel"))
357
+ },
358
+ { json: "exposeSommaire", js: "exposeSommaire", typ: u(void 0, "") },
359
+ {
360
+ json: "dispositifAmdtCreditPLF",
361
+ js: "dispositifAmdtCreditPLF",
362
+ typ: u(void 0, r("DispositifAmdtCreditPLF"))
363
+ },
364
+ {
365
+ json: "dispositifAmdtCreditPLFR",
366
+ js: "dispositifAmdtCreditPLFR",
367
+ typ: u(void 0, r("DispositifAmdtCreditPLFR"))
368
+ }
369
+ ], false),
370
+ AvantAppel: o([
371
+ { json: "dispositif", js: "dispositif", typ: u(void 0, "") },
372
+ {
373
+ json: "dispositifAmdtCreditPLF",
374
+ js: "dispositifAmdtCreditPLF",
375
+ typ: u(void 0, r("DispositifAmdtCreditPLF"))
376
+ },
377
+ {
378
+ json: "dispositifAmdtCreditPLFR",
379
+ js: "dispositifAmdtCreditPLFR",
380
+ typ: u(void 0, r("DispositifAmdtCreditPLFR"))
381
+ }
382
+ ], false),
383
+ DispositifAmdtCreditPLF: o([
384
+ {
385
+ json: "listeProgrammes",
386
+ js: "listeProgrammes",
387
+ typ: u(void 0, a(r("ProgrammePlf")))
388
+ },
389
+ { json: "soldeAE", js: "soldeAE", typ: u(void 0, "") },
390
+ { json: "soldeCP", js: "soldeCP", typ: u(void 0, "") },
391
+ { json: "cpEgalAe", js: "cpEgalAe", typ: "" }
392
+ ], false),
393
+ ProgrammePlf: o([
394
+ { json: "libelle", js: "libelle", typ: "" },
395
+ { json: "programmeRef", js: "programmeRef", typ: "" },
396
+ { json: "autorisationEngagement", js: "autorisationEngagement", typ: "" },
397
+ { json: "creditPaiement", js: "creditPaiement", typ: "" },
398
+ { json: "action", js: "action", typ: r("Action") },
399
+ {
400
+ json: "lignesCredits",
401
+ js: "lignesCredits",
402
+ typ: u(void 0, a(r("LigneCreditPLF")))
403
+ }
404
+ ], false),
405
+ LigneCreditPLF: o([
406
+ { json: "id", js: "id", typ: "" },
407
+ { json: "libelle", js: "libelle", typ: "" },
408
+ { json: "autorisationEngagement", js: "autorisationEngagement", typ: "" },
409
+ { json: "creditPaiement", js: "creditPaiement", typ: "" },
410
+ { json: "action", js: "action", typ: r("Action") }
411
+ ], false),
412
+ DispositifAmdtCreditPLFR: o([
413
+ {
414
+ json: "listeProgrammes",
415
+ js: "listeProgrammes",
416
+ typ: u(void 0, a(r("LigneCreditPLFR")))
417
+ },
418
+ { json: "totalAE", js: "totalAE", typ: u(void 0, r("Total")) },
419
+ { json: "totalCP", js: "totalCP", typ: u(void 0, r("Total")) },
420
+ { json: "cpEgalAe", js: "cpEgalAe", typ: "" }
421
+ ], false),
422
+ LigneCreditPLFR: o([
423
+ { json: "libelle", js: "libelle", typ: "" },
424
+ { json: "programmeRef", js: "programmeRef", typ: u(void 0, "") },
425
+ {
426
+ json: "autorisationEngagementSupplementaire",
427
+ js: "autorisationEngagementSupplementaire",
428
+ typ: ""
429
+ },
430
+ {
431
+ json: "creditPaiementSupplementaire",
432
+ js: "creditPaiementSupplementaire",
433
+ typ: ""
434
+ },
435
+ {
436
+ json: "autorisationEngagementAnnule",
437
+ js: "autorisationEngagementAnnule",
438
+ typ: ""
439
+ },
440
+ { json: "creditPaiementAnnule", js: "creditPaiementAnnule", typ: "" },
441
+ { json: "action", js: "action", typ: r("Action") },
442
+ {
443
+ json: "lignesCredits",
444
+ js: "lignesCredits",
445
+ typ: u(void 0, a(r("LigneCreditPLFR")))
446
+ },
447
+ { json: "id", js: "id", typ: u(void 0, "") }
448
+ ], false),
449
+ Total: o([
450
+ { json: "supplementaire", js: "supplementaire", typ: "" },
451
+ { json: "annule", js: "annule", typ: "" },
452
+ { json: "solde", js: "solde", typ: "" }
453
+ ], false),
454
+ CycleDeVie: o([
455
+ { json: "dateDepot", js: "dateDepot", typ: u(void 0, Date) },
456
+ {
457
+ json: "datePublication",
458
+ js: "datePublication",
459
+ typ: u(void 0, Date)
460
+ },
461
+ { json: "soumisArticle40", js: "soumisArticle40", typ: "" },
462
+ {
463
+ json: "etatDesTraitements",
464
+ js: "etatDesTraitements",
465
+ typ: r("EtatDesTraitements")
466
+ },
467
+ {
468
+ json: "dateSort",
469
+ js: "dateSort",
470
+ typ: u(void 0, Date)
471
+ },
472
+ {
473
+ json: "sort",
474
+ js: "sort",
475
+ typ: u(void 0, r("SortAmendement"))
476
+ }
477
+ ], false),
478
+ EtatDesTraitements: o([
479
+ { json: "etat", js: "etat", typ: r("EtatAmendement") },
480
+ {
481
+ json: "sousEtat",
482
+ js: "sousEtat",
483
+ typ: u(void 0, r("SousEtatAmendement"))
484
+ }
485
+ ], false),
486
+ EtatAmendement: o([
487
+ { json: "code", js: "code", typ: r("EtatAmendementCode") },
488
+ { json: "libelle", js: "libelle", typ: r("EtatAmendementLibelle") }
489
+ ], false),
490
+ SousEtatAmendement: o([
491
+ { json: "code", js: "code", typ: r("EtatAmendementCode") },
492
+ { json: "libelle", js: "libelle", typ: r("SortAmendement") }
493
+ ], false),
494
+ Discussion: o([
495
+ { json: "idDiscussion", js: "idDiscussion", typ: u(void 0, "") },
496
+ {
497
+ json: "typePosition",
498
+ js: "typePosition",
499
+ typ: u(void 0, r("TypePosition"))
500
+ }
501
+ ], false),
502
+ Identification: o([
503
+ { json: "numeroLong", js: "numeroLong", typ: "" },
504
+ { json: "numeroOrdreDepot", js: "numeroOrdreDepot", typ: "" },
505
+ { json: "prefixeOrganeExamen", js: "prefixeOrganeExamen", typ: "" },
506
+ { json: "numeroRect", js: "numeroRect", typ: "" }
507
+ ], false),
508
+ LoiReference: o([
509
+ {
510
+ json: "codeLoi",
511
+ js: "codeLoi",
512
+ typ: u(void 0, "")
513
+ },
514
+ {
515
+ json: "divisionCodeLoi",
516
+ js: "divisionCodeLoi",
517
+ typ: u(void 0, "")
518
+ }
519
+ ], false),
520
+ PointeurFragmentTexte: o([
521
+ { json: "division", js: "division", typ: u(void 0, r("Division")) },
522
+ {
523
+ json: "alinea",
524
+ js: "alinea",
525
+ typ: u(void 0, r("Alinea"))
526
+ },
527
+ {
528
+ json: "missionVisee",
529
+ js: "missionVisee",
530
+ typ: u(void 0, r("MissionVisee"))
531
+ }
532
+ ], false),
533
+ Alinea: o([
534
+ {
535
+ json: "avantAApres",
536
+ js: "avantAApres",
537
+ typ: u(void 0, r("AvantAApres"))
538
+ },
539
+ { json: "numero", js: "numero", typ: u(void 0, "") },
540
+ {
541
+ json: "alineaDesignation",
542
+ js: "alineaDesignation",
543
+ typ: u(void 0, "")
544
+ }
545
+ ], false),
546
+ Division: o([
547
+ { json: "titre", js: "titre", typ: u(void 0, "") },
548
+ {
549
+ json: "articleDesignationCourte",
550
+ js: "articleDesignationCourte",
551
+ typ: u(void 0, "")
552
+ },
553
+ {
554
+ json: "articleDesignation",
555
+ js: "articleDesignation",
556
+ typ: u(void 0, "")
557
+ },
558
+ { json: "type", js: "type", typ: r("DivisionType") },
559
+ {
560
+ json: "avantAApres",
561
+ js: "avantAApres",
562
+ typ: r("AvantAApres")
563
+ },
564
+ {
565
+ json: "divisionRattachee",
566
+ js: "divisionRattachee",
567
+ typ: u(void 0, "")
568
+ },
569
+ { json: "articleAdditionnel", js: "articleAdditionnel", typ: "" },
570
+ { json: "chapitreAdditionnel", js: "chapitreAdditionnel", typ: "" },
571
+ {
572
+ json: "urlDivisionTexteVise",
573
+ js: "urlDivisionTexteVise",
574
+ typ: u(void 0, "")
575
+ }
576
+ ], false),
577
+ MissionVisee: o([
578
+ { json: "codeEtat", js: "codeEtat", typ: r("CodeEtat") },
579
+ { json: "codeMissionMinefi", js: "codeMissionMinefi", typ: "" },
580
+ { json: "libelleMission", js: "libelleMission", typ: "" },
581
+ { json: "missionRef", js: "missionRef", typ: "" }
582
+ ], false),
583
+ Representation: o([
584
+ { json: "nom", js: "nom", typ: r("Nom") },
585
+ { json: "typeMime", js: "typeMime", typ: r("TypeMime") },
586
+ {
587
+ json: "statutRepresentation",
588
+ js: "statutRepresentation",
589
+ typ: r("StatutRepresentation")
590
+ },
591
+ { json: "contenu", js: "contenu", typ: r("Contenu") }
592
+ ], false),
593
+ Contenu: o([{ json: "documentURI", js: "documentURI", typ: "" }], false),
594
+ StatutRepresentation: o([
595
+ { json: "verbatim", js: "verbatim", typ: false },
596
+ { json: "canonique", js: "canonique", typ: false },
597
+ { json: "officielle", js: "officielle", typ: false },
598
+ { json: "transcription", js: "transcription", typ: false },
599
+ { json: "enregistrement", js: "enregistrement", typ: false }
600
+ ], false),
601
+ TypeMime: o([
602
+ { json: "type", js: "type", typ: r("TypeMimeType") },
603
+ { json: "subType", js: "subType", typ: r("Nom") }
604
+ ], false),
605
+ Signataires: o([
606
+ { json: "auteur", js: "auteur", typ: r("Auteur") },
607
+ {
608
+ json: "cosignatairesRefs",
609
+ js: "cosignatairesRefs",
610
+ typ: u(void 0, a(""))
611
+ },
612
+ {
613
+ json: "suffixe",
614
+ js: "suffixe",
615
+ typ: u(void 0, "")
616
+ },
617
+ { json: "libelle", js: "libelle", typ: u(void 0, "") }
618
+ ], false),
619
+ Auteur: o([
620
+ { json: "typeAuteur", js: "typeAuteur", typ: r("TypeAuteur") },
621
+ {
622
+ json: "gouvernementRef",
623
+ js: "gouvernementRef",
624
+ typ: u(void 0, "")
625
+ },
626
+ {
627
+ json: "acteurRef",
628
+ js: "acteurRef",
629
+ typ: u(void 0, "")
630
+ },
631
+ {
632
+ json: "groupePolitiqueRef",
633
+ js: "groupePolitiqueRef",
634
+ typ: u(void 0, "")
635
+ },
636
+ {
637
+ json: "auteurRapporteurOrganeRef",
638
+ js: "auteurRapporteurOrganeRef",
639
+ typ: u(void 0, "")
640
+ }
641
+ ], false),
642
+ AccordGouvernementDepotHorsDelai: ["Accord", "Sans objet"],
643
+ Action: ["création", "modification", "suppression"],
644
+ EtatAmendementCode: [
645
+ "AC",
646
+ "AT",
647
+ "DI",
648
+ "effacé",
649
+ "ER",
650
+ "ET",
651
+ "IR",
652
+ "IRR127",
653
+ "IRR20",
654
+ "IRR37",
655
+ "IRR38",
656
+ "IRR41",
657
+ "IRR42",
658
+ "IRR45",
659
+ "IRR48",
660
+ "IRR53",
661
+ "IRRAI",
662
+ "IRRAIF",
663
+ "IRRD",
664
+ "IRRHC",
665
+ "IRRHD",
666
+ "IRRSA",
667
+ "R",
668
+ "RT",
669
+ "T"
670
+ ],
671
+ EtatAmendementLibelle: [
672
+ "A discuter",
673
+ "A déposer",
674
+ "Discuté",
675
+ "effacé",
676
+ "En recevabilité",
677
+ "En traitement",
678
+ "Irrecevable",
679
+ "Irrecevable 40",
680
+ "Retiré"
681
+ ],
682
+ SortAmendement: [
683
+ "Adopté",
684
+ "Autre irrecevabilité",
685
+ "Autre irrecevabilité 40",
686
+ "Autres irr LOLF",
687
+ "Autres irr LOLFSS",
688
+ "Cavalier (45)",
689
+ "Cavalier budgétaire",
690
+ "Cavalier social",
691
+ "Champ de l'habilitation (38)",
692
+ "Charge",
693
+ "CMP (45)",
694
+ "Crédits",
695
+ "Disposition réglementaire (37)",
696
+ "Domaine de la loi (41)",
697
+ "Domaine loi organique (127)",
698
+ "Doublon",
699
+ "Entonnoir (45)",
700
+ "Gage",
701
+ "Hors champ",
702
+ "Hors-délais",
703
+ "Injonction (20)",
704
+ "Irr en première partie",
705
+ "Irr en seconde partie",
706
+ "LOLF",
707
+ "LOLFSS",
708
+ "Non soutenu",
709
+ "Ordre du jour (48)",
710
+ "R",
711
+ "Ratification traité (53)",
712
+ "Rejeté",
713
+ "Retiré",
714
+ "Retiré après publication",
715
+ "Retiré avant publication",
716
+ "Satisfait ou inopérant (42)",
717
+ "Sous-amendement (98)",
718
+ "Tombé"
719
+ ],
720
+ TypePosition: ["Dernier", "Milieu", "Premier"],
721
+ AvantAApres: ["A", "Apres", "Avant"],
722
+ DivisionType: ["ANNEXE", "ARTICLE", "CHAPITRE", "TITRE"],
723
+ CodeEtat: ["B", "C", "D"],
724
+ Nom: ["PDF"],
725
+ TypeMimeType: ["application"],
726
+ TypeAuteur: ["Député", "Gouvernement", "Rapporteur"]
727
+ };
728
+ export {
729
+ AvantAApres as A,
730
+ Convert as C,
731
+ EtatAmendementLibelle as E,
732
+ SortAmendement as S,
733
+ TypeAuteur as T
734
+ };
735
+ //# sourceMappingURL=amendements-Cg1lyCBp.js.map