@tricoteuses/assemblee 2.5.31 → 3.0.0

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 (94) hide show
  1. package/LICENSE.md +16 -6
  2. package/README.md +1 -19
  3. package/lib/amendements-CXmsqoof.js +170 -0
  4. package/lib/amendements-CZHXlq07.js +4198 -0
  5. package/lib/cleaners/acteurs.d.ts +2 -1
  6. package/lib/cleaners/amendements.d.ts +2 -1
  7. package/lib/cleaners/debats.d.ts +2 -1
  8. package/lib/cleaners/documents.d.ts +2 -1
  9. package/lib/cleaners/dossiers_legislatifs.d.ts +2 -1
  10. package/lib/cleaners/organes.d.ts +2 -1
  11. package/lib/cleaners/questions.d.ts +2 -1
  12. package/lib/cleaners/reunions.d.ts +2 -1
  13. package/lib/cleaners/scrutins.d.ts +2 -1
  14. package/lib/cleaners/xml.d.ts +5 -5
  15. package/lib/cleaners.js +186 -179
  16. package/lib/datasets.d.ts +5 -7
  17. package/lib/dossiers_legislatifs.d.ts +5 -2
  18. package/lib/file_systems.d.ts +9 -4
  19. package/lib/index.d.ts +24 -19
  20. package/lib/index.js +390 -1234
  21. package/lib/inserters.d.ts +466 -9
  22. package/lib/loaders.d.ts +13 -12
  23. package/lib/loaders.js +1900 -538
  24. package/lib/organes.d.ts +1 -1
  25. package/lib/parsers/compte_rendu.d.ts +2 -1
  26. package/lib/parsers/compte_rendu_commission.d.ts +1 -1
  27. package/lib/parsers/recherche_amendements.d.ts +2 -2
  28. package/lib/parsers/textes_lois.d.ts +1 -1
  29. package/lib/parsers.js +2109 -2075
  30. package/lib/questions-DTO3nK5V.js +2777 -0
  31. package/lib/questions-DXAzvI1T.js +230 -0
  32. package/lib/registries.d.ts +112 -0
  33. package/lib/schemas/clean/acteurs_et_organes.d.ts +2377 -0
  34. package/lib/schemas/clean/agendas.d.ts +830 -0
  35. package/lib/schemas/clean/amendements.d.ts +2305 -0
  36. package/lib/schemas/clean/debats.d.ts +300 -0
  37. package/lib/schemas/clean/dossiers_legislatifs.d.ts +1365 -0
  38. package/lib/schemas/clean/questions.d.ts +625 -0
  39. package/lib/schemas/clean/scrutins.d.ts +1137 -0
  40. package/lib/schemas/enriched/acteurs_et_organes.d.ts +112 -0
  41. package/lib/schemas/enriched/agendas.d.ts +501 -0
  42. package/lib/schemas/enriched/amendements.d.ts +1230 -0
  43. package/lib/schemas/enriched/debats.d.ts +308 -0
  44. package/lib/schemas/enriched/dossiers_legislatifs.d.ts +1131 -0
  45. package/lib/schemas/enriched/questions.d.ts +589 -0
  46. package/lib/schemas/enriched/scrutins.d.ts +1094 -0
  47. package/lib/schemas/raw/acteurs_et_organes.d.ts +5870 -0
  48. package/lib/schemas/raw/agendas.d.ts +1734 -0
  49. package/lib/schemas/raw/amendements.d.ts +4758 -0
  50. package/lib/schemas/raw/debats.d.ts +410 -0
  51. package/lib/schemas/raw/dossiers_legislatifs.d.ts +3252 -0
  52. package/lib/schemas/raw/questions.d.ts +983 -0
  53. package/lib/schemas/raw/scrutins.d.ts +2763 -0
  54. package/lib/scripts/retrieve_deputes_photos.d.ts +58 -4
  55. package/lib/scripts/retrieve_documents.d.ts +86 -12
  56. package/lib/scripts/retrieve_open_data.d.ts +39 -4
  57. package/lib/scripts/retrieve_videos.d.ts +1 -1
  58. package/lib/scripts/shared/cli_helpers.d.ts +41 -77
  59. package/lib/scripts/shared/photos.d.ts +106 -0
  60. package/lib/scripts/shared/utils.d.ts +4 -1
  61. package/lib/urls.d.ts +2 -2
  62. package/package.json +16 -12
  63. package/lib/amendements-40Z7OJLT.js +0 -682
  64. package/lib/amendements-J6Sx61n8.js +0 -154
  65. package/lib/datasets-Cb3wpfRH.js +0 -3580
  66. package/lib/parse-Ccs6wcUg.js +0 -2512
  67. package/lib/raw_types/acteurs_et_organes.d.ts +0 -464
  68. package/lib/raw_types/agendas.d.ts +0 -265
  69. package/lib/raw_types/amendements.d.ts +0 -365
  70. package/lib/raw_types/debats.d.ts +0 -140
  71. package/lib/raw_types/dossiers_legislatifs.d.ts +0 -567
  72. package/lib/raw_types/questions.d.ts +0 -115
  73. package/lib/raw_types/scrutins.d.ts +0 -187
  74. package/lib/schemas/acteurs_et_organes.json +0 -1167
  75. package/lib/schemas/agendas.json +0 -1757
  76. package/lib/schemas/amendements.json +0 -2087
  77. package/lib/schemas/compte_rendu_commission/CompteRenduCommission.json +0 -63
  78. package/lib/schemas/debats.json +0 -847
  79. package/lib/schemas/dossiers_legislatifs.json +0 -3884
  80. package/lib/schemas/legislatures.json +0 -17
  81. package/lib/schemas/questions.json +0 -711
  82. package/lib/schemas/scrutins.json +0 -701
  83. package/lib/scripts/copy-schemas.d.ts +0 -1
  84. package/lib/scripts/generate-json-schemas.d.ts +0 -1
  85. package/lib/shared_types/acteurs_et_organes.d.ts +0 -149
  86. package/lib/shared_types/dossiers_legislatifs.d.ts +0 -222
  87. package/lib/types/acteurs_et_organes.d.ts +0 -598
  88. package/lib/types/agendas.d.ts +0 -442
  89. package/lib/types/amendements.d.ts +0 -615
  90. package/lib/types/debats.d.ts +0 -186
  91. package/lib/types/dossiers_legislatifs.d.ts +0 -826
  92. package/lib/types/questions.d.ts +0 -203
  93. package/lib/types/scrutins.d.ts +0 -254
  94. /package/lib/{types/legislatures.d.ts → legislatures.d.ts} +0 -0
@@ -1,3580 +0,0 @@
1
- import d from "fs-extra";
2
- import "node:assert";
3
- import "node:crypto";
4
- import y from "node:path";
5
- var Se = /* @__PURE__ */ ((e) => (e.Api = "API", e.Assemblee = "ASSEMBLEE", e.Bureau = "BUREAU", e.Circonscription = "CIRCONSCRIPTION", e.Cjr = "CJR", e.Cmp = "CMP", e.Cnpe = "CNPE", e.Cnps = "CNPS", e.Comnl = "COMNL", e.Comper = "COMPER", e.Comsenat = "COMSENAT", e.Comspsenat = "COMSPSENAT", e.Confpt = "CONFPT", e.Constitu = "CONSTITU", e.Deleg = "DELEG", e.Delegbureau = "DELEGBUREAU", e.Delegsenat = "DELEGSENAT", e.Ga = "GA", e.Ge = "GE", e.Gevi = "GEVI", e.Gouvernement = "GOUVERNEMENT", e.Gp = "GP", e.Groupesenat = "GROUPESENAT", e.Hcj = "HCJ", e.Ministere = "MINISTERE", e.Miseval = "MISEVAL", e.Misgrtr = "MISGRTR", e.Misinfo = "MISINFO", e.Misinfocom = "MISINFOCOM", e.Misinfopre = "MISINFOPRE", e.Offpar = "OFFPAR", e.Orgaint = "ORGAINT", e.Orgextparl = "ORGEXTPARL", e.Parpol = "PARPOL", e.Presrep = "PRESREP", e.Senat = "SENAT", e))(Se || {}), ve = /* @__PURE__ */ ((e) => (e.An1 = "AN1", e.An1Acin = "AN1-ACIN", e.An1Avce = "AN1-AVCE", e.An1Com = "AN1-COM", e.An1ComAvis = "AN1-COM-AVIS", e.An1ComAvisNomin = "AN1-COM-AVIS-NOMIN", e.An1ComAvisRapport = "AN1-COM-AVIS-RAPPORT", e.An1ComAvisReunion = "AN1-COM-AVIS-REUNION", e.An1ComAvisSaisie = "AN1-COM-AVIS-SAISIE", e.An1ComFond = "AN1-COM-FOND", e.An1ComFondNomin = "AN1-COM-FOND-NOMIN", e.An1ComFondRapport = "AN1-COM-FOND-RAPPORT", e.An1ComFondReunion = "AN1-COM-FOND-REUNION", e.An1ComFondSaisie = "AN1-COM-FOND-SAISIE", e.An1Debats = "AN1-DEBATS", e.An1DebatsDec = "AN1-DEBATS-DEC", e.An1DebatsMotion = "AN1-DEBATS-MOTION", e.An1DebatsMotionVote = "AN1-DEBATS-MOTION-VOTE", e.An1DebatsSeance = "AN1-DEBATS-SEANCE", e.An1Depot = "AN1-DEPOT", e.An1Dgvt = "AN1-DGVT", e.An1Dptlettrect = "AN1-DPTLETTRECT", e.An1Eti = "AN1-ETI", e.An1Motion = "AN1-MOTION", e.An1MotionVote = "AN1-MOTION-VOTE", e.An1Procacc = "AN1-PROCACC", e.An1Recbureau = "AN1-RECBUREAU", e.An1Rtrini = "AN1-RTRINI", e.An2 = "AN2", e.An20 = "AN20", e.An20Comenq = "AN20-COMENQ", e.An20ComenqCrea = "AN20-COMENQ-CREA", e.An20ComenqNomin = "AN20-COMENQ-NOMIN", e.An20ComenqRapport = "AN20-COMENQ-RAPPORT", e.An20Misinf = "AN20-MISINF", e.An20MisinfCrea = "AN20-MISINF-CREA", e.An20MisinfNomin = "AN20-MISINF-NOMIN", e.An20MisinfRapport = "AN20-MISINF-RAPPORT", e.An20Rapport = "AN20-RAPPORT", e.An21 = "AN21", e.An21Apan = "AN21-APAN", e.An21Debats = "AN21-DEBATS", e.An21DebatsMotionVote = "AN21-DEBATS-MOTION-VOTE", e.An21DebatsSeance = "AN21-DEBATS-SEANCE", e.An21Dgvt = "AN21-DGVT", e.An21Motion = "AN21-MOTION", e.An21MotionVote = "AN21-MOTION-VOTE", e.An21Mpr = "AN21-MPR", e.An2Com = "AN2-COM", e.An2ComAvis = "AN2-COM-AVIS", e.An2ComAvisRapport = "AN2-COM-AVIS-RAPPORT", e.An2ComAvisReunion = "AN2-COM-AVIS-REUNION", e.An2ComAvisSaisie = "AN2-COM-AVIS-SAISIE", e.An2ComFond = "AN2-COM-FOND", e.An2ComFondNomin = "AN2-COM-FOND-NOMIN", e.An2ComFondRapport = "AN2-COM-FOND-RAPPORT", e.An2ComFondReunion = "AN2-COM-FOND-REUNION", e.An2ComFondSaisie = "AN2-COM-FOND-SAISIE", e.An2Debats = "AN2-DEBATS", e.An2DebatsDec = "AN2-DEBATS-DEC", e.An2DebatsSeance = "AN2-DEBATS-SEANCE", e.An2Depot = "AN2-DEPOT", e.An3 = "AN3", e.An3Com = "AN3-COM", e.An3ComFond = "AN3-COM-FOND", e.An3ComFondNomin = "AN3-COM-FOND-NOMIN", e.An3ComFondRapport = "AN3-COM-FOND-RAPPORT", e.An3ComFondReunion = "AN3-COM-FOND-REUNION", e.An3ComFondSaisie = "AN3-COM-FOND-SAISIE", e.An3Debats = "AN3-DEBATS", e.An3DebatsDec = "AN3-DEBATS-DEC", e.An3DebatsSeance = "AN3-DEBATS-SEANCE", e.An3Depot = "AN3-DEPOT", e.AnAppli = "AN-APPLI", e.AnAppliRapport = "AN-APPLI-RAPPORT", e.Anldef = "ANLDEF", e.AnldefCom = "ANLDEF-COM", e.AnldefComFond = "ANLDEF-COM-FOND", e.AnldefComFondRapport = "ANLDEF-COM-FOND-RAPPORT", e.AnldefComFondReunion = "ANLDEF-COM-FOND-REUNION", e.AnldefComFondSaisie = "ANLDEF-COM-FOND-SAISIE", e.AnldefDebats = "ANLDEF-DEBATS", e.AnldefDebatsDec = "ANLDEF-DEBATS-DEC", e.AnldefDebatsMotionVote = "ANLDEF-DEBATS-MOTION-VOTE", e.AnldefDebatsSeance = "ANLDEF-DEBATS-SEANCE", e.AnldefDepot = "ANLDEF-DEPOT", e.AnldefDgvt = "ANLDEF-DGVT", e.AnldefMotion = "ANLDEF-MOTION", e.AnldefMotionVote = "ANLDEF-MOTION-VOTE", e.Anluni = "ANLUNI", e.AnluniCom = "ANLUNI-COM", e.AnluniComCae = "ANLUNI-COM-CAE", e.AnluniComCaeDec = "ANLUNI-COM-CAE-DEC", e.AnluniComCaeNomin = "ANLUNI-COM-CAE-NOMIN", e.AnluniComCaeRapport = "ANLUNI-COM-CAE-RAPPORT", e.AnluniComCaeReunion = "ANLUNI-COM-CAE-REUNION", e.AnluniComCaeSaisie = "ANLUNI-COM-CAE-SAISIE", e.AnluniComFond = "ANLUNI-COM-FOND", e.AnluniComFondNomin = "ANLUNI-COM-FOND-NOMIN", e.AnluniComFondRapport = "ANLUNI-COM-FOND-RAPPORT", e.AnluniComFondReunion = "ANLUNI-COM-FOND-REUNION", e.AnluniComFondSaisie = "ANLUNI-COM-FOND-SAISIE", e.AnluniDebats = "ANLUNI-DEBATS", e.AnluniDebatsDec = "ANLUNI-DEBATS-DEC", e.AnluniDebatsSeance = "ANLUNI-DEBATS-SEANCE", e.AnluniDepot = "ANLUNI-DEPOT", e.AnluniRtrini = "ANLUNI-RTRINI", e.Annlec = "ANNLEC", e.AnnlecCom = "ANNLEC-COM", e.AnnlecComAvis = "ANNLEC-COM-AVIS", e.AnnlecComAvisNomin = "ANNLEC-COM-AVIS-NOMIN", e.AnnlecComAvisRapport = "ANNLEC-COM-AVIS-RAPPORT", e.AnnlecComAvisReunion = "ANNLEC-COM-AVIS-REUNION", e.AnnlecComAvisSaisie = "ANNLEC-COM-AVIS-SAISIE", e.AnnlecComFond = "ANNLEC-COM-FOND", e.AnnlecComFondNomin = "ANNLEC-COM-FOND-NOMIN", e.AnnlecComFondRapport = "ANNLEC-COM-FOND-RAPPORT", e.AnnlecComFondReunion = "ANNLEC-COM-FOND-REUNION", e.AnnlecComFondSaisie = "ANNLEC-COM-FOND-SAISIE", e.AnnlecDebats = "ANNLEC-DEBATS", e.AnnlecDebatsDec = "ANNLEC-DEBATS-DEC", e.AnnlecDebatsMotionVote = "ANNLEC-DEBATS-MOTION-VOTE", e.AnnlecDebatsSeance = "ANNLEC-DEBATS-SEANCE", e.AnnlecDepot = "ANNLEC-DEPOT", e.AnnlecDgvt = "ANNLEC-DGVT", e.AnnlecMotion = "ANNLEC-MOTION", e.AnnlecMotionVote = "ANNLEC-MOTION-VOTE", e.Cc = "CC", e.CcConclusion = "CC-CONCLUSION", e.CcSaisieAn = "CC-SAISIE-AN", e.CcSaisieDroit = "CC-SAISIE-DROIT", e.CcSaisiePan = "CC-SAISIE-PAN", e.CcSaisiePm = "CC-SAISIE-PM", e.CcSaisiePr = "CC-SAISIE-PR", e.CcSaisiePsn = "CC-SAISIE-PSN", e.CcSaisieSn = "CC-SAISIE-SN", e.Cg22 = "CG22", e.Cg22Conv = "CG22-CONV", e.Cg22Debats = "CG22-DEBATS", e.Cg22DebatsDec = "CG22-DEBATS-DEC", e.Cg22DebatsSeance = "CG22-DEBATS-SEANCE", e.Cmp = "CMP", e.CmpCom = "CMP-COM", e.CmpComNomin = "CMP-COM-NOMIN", e.CmpComRapportAn = "CMP-COM-RAPPORT-AN", e.CmpComRapportSn = "CMP-COM-RAPPORT-SN", e.CmpDebats = "CMP-DEBATS", e.CmpDebatsAn = "CMP-DEBATS-AN", e.CmpDebatsAnDec = "CMP-DEBATS-AN-DEC", e.CmpDebatsAnSeance = "CMP-DEBATS-AN-SEANCE", e.CmpDebatsDec = "CMP-DEBATS-DEC", e.CmpDebatsSn = "CMP-DEBATS-SN", e.CmpDebatsSnDec = "CMP-DEBATS-SN-DEC", e.CmpDebatsSnSeance = "CMP-DEBATS-SN-SEANCE", e.CmpDec = "CMP-DEC", e.CmpDepot = "CMP-DEPOT", e.CmpDgvt = "CMP-DGVT", e.CmpMotion = "CMP-MOTION", e.CmpMotionVote = "CMP-MOTION-VOTE", e.CmpSaisie = "CMP-SAISIE", e.Eu = "EU", e.EuDec = "EU-DEC", e.Motion = "MOTION", e.MotionVote = "MOTION-VOTE", e.Prom = "PROM", e.PromPub = "PROM-PUB", e.Sn1 = "SN1", e.Sn1Avce = "SN1-AVCE", e.Sn1Com = "SN1-COM", e.Sn1ComAvis = "SN1-COM-AVIS", e.Sn1ComAvisNomin = "SN1-COM-AVIS-NOMIN", e.Sn1ComAvisRapport = "SN1-COM-AVIS-RAPPORT", e.Sn1ComAvisSaisie = "SN1-COM-AVIS-SAISIE", e.Sn1ComFond = "SN1-COM-FOND", e.Sn1ComFondNomin = "SN1-COM-FOND-NOMIN", e.Sn1ComFondRapport = "SN1-COM-FOND-RAPPORT", e.Sn1ComFondSaisie = "SN1-COM-FOND-SAISIE", e.Sn1Debats = "SN1-DEBATS", e.Sn1DebatsDec = "SN1-DEBATS-DEC", e.Sn1DebatsMotion = "SN1-DEBATS-MOTION", e.Sn1DebatsMotionVote = "SN1-DEBATS-MOTION-VOTE", e.Sn1DebatsSeance = "SN1-DEBATS-SEANCE", e.Sn1Depot = "SN1-DEPOT", e.Sn1Dptlettrect = "SN1-DPTLETTRECT", e.Sn1Eti = "SN1-ETI", e.Sn1Procacc = "SN1-PROCACC", e.Sn1Rtrini = "SN1-RTRINI", e.Sn2 = "SN2", e.Sn2Com = "SN2-COM", e.Sn2ComAvis = "SN2-COM-AVIS", e.Sn2ComAvisNomin = "SN2-COM-AVIS-NOMIN", e.Sn2ComAvisRapport = "SN2-COM-AVIS-RAPPORT", e.Sn2ComAvisSaisie = "SN2-COM-AVIS-SAISIE", e.Sn2ComFond = "SN2-COM-FOND", e.Sn2ComFondNomin = "SN2-COM-FOND-NOMIN", e.Sn2ComFondRapport = "SN2-COM-FOND-RAPPORT", e.Sn2ComFondSaisie = "SN2-COM-FOND-SAISIE", e.Sn2Debats = "SN2-DEBATS", e.Sn2DebatsDec = "SN2-DEBATS-DEC", e.Sn2DebatsSeance = "SN2-DEBATS-SEANCE", e.Sn2Depot = "SN2-DEPOT", e.Sn3 = "SN3", e.Sn3Com = "SN3-COM", e.Sn3ComFond = "SN3-COM-FOND", e.Sn3ComFondRapport = "SN3-COM-FOND-RAPPORT", e.Sn3ComFondSaisie = "SN3-COM-FOND-SAISIE", e.Sn3Debats = "SN3-DEBATS", e.Sn3DebatsDec = "SN3-DEBATS-DEC", e.Sn3DebatsSeance = "SN3-DEBATS-SEANCE", e.Sn3Depot = "SN3-DEPOT", e.Snnlec = "SNNLEC", e.SnnlecCom = "SNNLEC-COM", e.SnnlecComFond = "SNNLEC-COM-FOND", e.SnnlecComFondNomin = "SNNLEC-COM-FOND-NOMIN", e.SnnlecComFondRapport = "SNNLEC-COM-FOND-RAPPORT", e.SnnlecComFondSaisie = "SNNLEC-COM-FOND-SAISIE", e.SnnlecDebats = "SNNLEC-DEBATS", e.SnnlecDebatsDec = "SNNLEC-DEBATS-DEC", e.SnnlecDebatsSeance = "SNNLEC-DEBATS-SEANCE", e.SnnlecDepot = "SNNLEC-DEPOT", e))(ve || {}), _e = /* @__PURE__ */ ((e) => (e.M = "M.", e.Mme = "Mme", e))(_e || {}), De = /* @__PURE__ */ ((e) => (e.MandatAvecSuppleantType = "MandatAvecSuppleant_Type", e.MandatMissionType = "MandatMission_Type", e.MandatParlementaireType = "MandatParlementaire_type", e.MandatSimpleType = "MandatSimple_Type", e))(De || {}), Oe = /* @__PURE__ */ ((e) => (e.CollectivitésDOutreMerEtNouvelleCalédonie = "Collectivités d'outre-mer et Nouvelle-Calédonie", e.Dom = "Dom", e.FrançaisÉtablisHorsDeFrance = "Français établis hors de France", e.Métropolitain = "Métropolitain", e))(Oe || {}), Ee = /* @__PURE__ */ ((e) => (e.AgriculteursExploitants = "Agriculteurs exploitants", e.ArtisansCommerçantsChefsDEntreprises = "Artisans, commerçants, chefs d'entreprises", e.ArtisansCommerçantsEtChefsDEntrepriseAncien = "Artisans, commerçants et chefs d'entreprise", e.AutresPersonnesSansActivitéProfessionnelle = "Autres personnes sans activité professionnelle", e.CadresEtProfessionsIntellectuellesSupérieures = "Cadres et professions intellectuelles supérieures", e.Employés = "Employés", e.Ouvriers = "Ouvriers", e.ProfessionsIntermédiaires = "Professions intermédiaires", e.ProfessionsIntermédiairesAncien = "Professions Intermédiaires", e.Retraités = "Retraités", e.SansProfessionDéclarée = "Sans profession déclarée", e))(Ee || {}), ge = /* @__PURE__ */ ((e) => (e.GroupePolitiqueType = "GroupePolitique_type", e.OrganeCirconscriptionType = "OrganeCirconscription_type", e.OrganeExterneType = "OrganeExterne_Type", e.OrganeExtraParlementaireType = "OrganeExtraParlementaire_type", e.OrganeParlementaireInternational = "OrganeParlementaireInternational", e.OrganeParlementaireType = "OrganeParlementaire_Type", e))(ge || {}), Ie = /* @__PURE__ */ ((e) => (e.H = "H", e.M = "M", e.O = "O", e.T = "T", e))(Ie || {}), be = /* @__PURE__ */ ((e) => (e.Majoritaire = "Majoritaire", e.Minoritaire = "Minoritaire", e.Opposition = "Opposition", e))(be || {}), Re = /* @__PURE__ */ ((e) => (e.AssembléeConsultativeProvisoire = "Assemblée consultative provisoire", e.AssembléesNationalesConstituantes = "Assemblées nationales constituantes", e.The3ÈmeRépublique = "3ème République", e.The4ÈmeRépublique = "4ème République", e.The5ÈmeRépublique = "5ème République", e))(Re || {});
6
- let Ln = class {
7
- static toActeursEtOrganes(n) {
8
- return ie(JSON.parse(n), c("ActeursEtOrganes"));
9
- }
10
- static acteursEtOrganesToJson(n) {
11
- return JSON.stringify(re(n, c("ActeursEtOrganes")), null, 2);
12
- }
13
- static toActeur(n) {
14
- return ie(JSON.parse(n), c("Acteur"));
15
- }
16
- static acteurToJson(n) {
17
- return JSON.stringify(re(n, c("Acteur")), null, 2);
18
- }
19
- static toOrgane(n) {
20
- return ie(JSON.parse(n), c("Organe"));
21
- }
22
- static organeToJson(n) {
23
- return JSON.stringify(re(n, c("Organe")), null, 2);
24
- }
25
- };
26
- function B(e, n, s = "") {
27
- throw Error(
28
- s ? `Invalid value for key "${s}". Expected type ${JSON.stringify(
29
- e
30
- )} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
31
- );
32
- }
33
- function Ce(e) {
34
- if (e.jsonToJS === void 0) {
35
- const n = {};
36
- e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
37
- }
38
- return e.jsonToJS;
39
- }
40
- function Te(e) {
41
- if (e.jsToJSON === void 0) {
42
- const n = {};
43
- e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
44
- }
45
- return e.jsToJSON;
46
- }
47
- function W(e, n, s, b = "") {
48
- function R(i, o) {
49
- return typeof i == typeof o ? o : B(i, o, b);
50
- }
51
- function J(i, o) {
52
- const a = i.length;
53
- for (let m = 0; m < a; m++) {
54
- const l = i[m];
55
- try {
56
- return W(o, l, s);
57
- } catch {
58
- }
59
- }
60
- return B(i, o);
61
- }
62
- function L(i, o) {
63
- return i.indexOf(o) !== -1 ? o : B(i, o);
64
- }
65
- function X(i, o) {
66
- return Array.isArray(o) ? o.map((a) => W(a, i, s)) : B("array", o);
67
- }
68
- function $(i) {
69
- if (i === null)
70
- return null;
71
- const o = new Date(i);
72
- return isNaN(o.valueOf()) ? B("Date", i) : o;
73
- }
74
- function w(i, o, a) {
75
- if (a === null || typeof a != "object" || Array.isArray(a))
76
- return B("object", a);
77
- const m = {};
78
- return Object.getOwnPropertyNames(i).forEach((l) => {
79
- const _ = i[l], C = Object.prototype.hasOwnProperty.call(a, l) ? a[l] : void 0;
80
- m[_.key] = W(C, _.typ, s, _.key);
81
- }), Object.getOwnPropertyNames(a).forEach((l) => {
82
- Object.prototype.hasOwnProperty.call(i, l) || (m[l] = W(a[l], o, s, l));
83
- }), m;
84
- }
85
- if (n === "any") return e;
86
- if (n === null)
87
- return e === null ? e : B(n, e);
88
- for (; typeof n == "object" && n.ref !== void 0; )
89
- n = Me[n.ref];
90
- return Array.isArray(n) ? L(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? J(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? X(n.arrayItems, e) : n.hasOwnProperty("props") ? w(s(n), n.additional, e) : B(n, e) : n === Date && typeof e != "number" ? $(e) : R(n, e);
91
- }
92
- function ie(e, n) {
93
- return W(e, n, Ce);
94
- }
95
- function re(e, n) {
96
- return W(e, n, Te);
97
- }
98
- function U(e) {
99
- return { arrayItems: e };
100
- }
101
- function u(...e) {
102
- return { unionMembers: e };
103
- }
104
- function O(e, n) {
105
- return { props: e, additional: n };
106
- }
107
- function c(e) {
108
- return { ref: e };
109
- }
110
- const Me = {
111
- ActeursEtOrganes: O(
112
- [
113
- { json: "organes", js: "organes", typ: U(c("Organe")) },
114
- { json: "acteurs", js: "acteurs", typ: U(c("Acteur")) }
115
- ],
116
- !1
117
- ),
118
- Acteur: O(
119
- [
120
- { json: "schemaVersion", js: "schemaVersion", typ: u(void 0, "") },
121
- { json: "uid", js: "uid", typ: "" },
122
- { json: "etatCivil", js: "etatCivil", typ: c("EtatCivil") },
123
- {
124
- json: "profession",
125
- js: "profession",
126
- typ: u(void 0, c("Profession"))
127
- },
128
- { json: "uriHatvp", js: "uriHatvp", typ: u(void 0, "") },
129
- {
130
- json: "adresses",
131
- js: "adresses",
132
- typ: u(void 0, U(u(c("AdresseElectronique"), c("AdressePostale"))))
133
- },
134
- { json: "mandats", js: "mandats", typ: u(void 0, U(c("Mandat"))) },
135
- { json: "photo", js: "photo", typ: u(void 0, c("Photo")) },
136
- { json: "deports", js: "deports", typ: u(void 0, U(c("Deport"))) }
137
- ],
138
- !1
139
- ),
140
- AdresseElectronique: O(
141
- [
142
- { json: "xsiType", js: "xsiType", typ: "" },
143
- { json: "uid", js: "uid", typ: "" },
144
- { json: "type", js: "type", typ: "" },
145
- { json: "typeLibelle", js: "typeLibelle", typ: "" },
146
- { json: "poids", js: "poids", typ: u(void 0, "") },
147
- {
148
- json: "adresseDeRattachement",
149
- js: "adresseDeRattachement",
150
- typ: u(void 0, "")
151
- },
152
- { json: "valElec", js: "valElec", typ: u(void 0, "") }
153
- ],
154
- !1
155
- ),
156
- AdressePostale: O(
157
- [
158
- { json: "xsiType", js: "xsiType", typ: "" },
159
- { json: "uid", js: "uid", typ: "" },
160
- { json: "type", js: "type", typ: "" },
161
- { json: "typeLibelle", js: "typeLibelle", typ: "" },
162
- { json: "poids", js: "poids", typ: u(void 0, "") },
163
- { json: "intitule", js: "intitule", typ: u(void 0, "") },
164
- { json: "numeroRue", js: "numeroRue", typ: u(void 0, "") },
165
- { json: "nomRue", js: "nomRue", typ: u(void 0, "") },
166
- {
167
- json: "complementAdresse",
168
- js: "complementAdresse",
169
- typ: u(void 0, "")
170
- },
171
- { json: "codePostal", js: "codePostal", typ: u(void 0, "") },
172
- { json: "ville", js: "ville", typ: u(void 0, "") }
173
- ],
174
- !1
175
- ),
176
- EtatCivil: O(
177
- [
178
- { json: "ident", js: "ident", typ: c("Ident") },
179
- { json: "infoNaissance", js: "infoNaissance", typ: c("InfoNaissance") },
180
- { json: "dateDeces", js: "dateDeces", typ: u(void 0, Date) }
181
- ],
182
- !1
183
- ),
184
- Ident: O(
185
- [
186
- { json: "civ", js: "civ", typ: c("Civ") },
187
- { json: "prenom", js: "prenom", typ: "" },
188
- { json: "nom", js: "nom", typ: "" },
189
- { json: "alpha", js: "alpha", typ: "" },
190
- { json: "trigramme", js: "trigramme", typ: u(void 0, "") }
191
- ],
192
- !1
193
- ),
194
- InfoNaissance: O(
195
- [
196
- { json: "dateNais", js: "dateNais", typ: u(void 0, Date) },
197
- { json: "villeNais", js: "villeNais", typ: u(void 0, "") },
198
- { json: "depNais", js: "depNais", typ: u(void 0, "") },
199
- { json: "paysNais", js: "paysNais", typ: u(void 0, "") }
200
- ],
201
- !1
202
- ),
203
- Mandat: O(
204
- [
205
- { json: "xsiType", js: "xsiType", typ: u(void 0, c("TypeMandat")) },
206
- { json: "uid", js: "uid", typ: "" },
207
- { json: "acteurRef", js: "acteurRef", typ: "" },
208
- { json: "legislature", js: "legislature", typ: u(void 0, "") },
209
- { json: "typeOrgane", js: "typeOrgane", typ: c("CodeTypeOrgane") },
210
- { json: "dateDebut", js: "dateDebut", typ: Date },
211
- {
212
- json: "datePublication",
213
- js: "datePublication",
214
- typ: u(void 0, Date)
215
- },
216
- { json: "dateFin", js: "dateFin", typ: u(void 0, Date) },
217
- { json: "preseance", js: "preseance", typ: u(void 0, "") },
218
- { json: "nominPrincipale", js: "nominPrincipale", typ: "" },
219
- { json: "infosQualite", js: "infosQualite", typ: c("InfosQualite") },
220
- { json: "organesRefs", js: "organesRefs", typ: U("") },
221
- { json: "suppleant", js: "suppleant", typ: u(void 0, c("Suppleant")) },
222
- { json: "election", js: "election", typ: u(void 0, c("Election")) },
223
- { json: "mandature", js: "mandature", typ: u(void 0, c("Mandature")) },
224
- {
225
- json: "collaborateurs",
226
- js: "collaborateurs",
227
- typ: u(void 0, U(c("Collaborateur")))
228
- },
229
- { json: "libelle", js: "libelle", typ: u(void 0, "") },
230
- {
231
- json: "missionSuivanteRef",
232
- js: "missionSuivanteRef",
233
- typ: u(void 0, "")
234
- },
235
- {
236
- json: "missionPrecedenteRef",
237
- js: "missionPrecedenteRef",
238
- typ: u(void 0, "")
239
- }
240
- ],
241
- !1
242
- ),
243
- Collaborateur: O(
244
- [
245
- { json: "qualite", js: "qualite", typ: u(void 0, c("Civ")) },
246
- { json: "prenom", js: "prenom", typ: "" },
247
- { json: "nom", js: "nom", typ: "" }
248
- ],
249
- !1
250
- ),
251
- Election: O(
252
- [
253
- { json: "lieu", js: "lieu", typ: c("Lieu") },
254
- { json: "causeMandat", js: "causeMandat", typ: u(void 0, "") },
255
- {
256
- json: "refCirconscription",
257
- js: "refCirconscription",
258
- typ: u(void 0, "")
259
- }
260
- ],
261
- !1
262
- ),
263
- Lieu: O(
264
- [
265
- { json: "region", js: "region", typ: u(void 0, "") },
266
- {
267
- json: "regionType",
268
- js: "regionType",
269
- typ: u(void 0, c("RegionType"))
270
- },
271
- { json: "departement", js: "departement", typ: u(void 0, "") },
272
- { json: "numDepartement", js: "numDepartement", typ: u(void 0, "") },
273
- { json: "numCirco", js: "numCirco", typ: u(void 0, "") }
274
- ],
275
- !1
276
- ),
277
- InfosQualite: O(
278
- [
279
- { json: "codeQualite", js: "codeQualite", typ: u(void 0, "") },
280
- { json: "libQualite", js: "libQualite", typ: "" },
281
- { json: "libQualiteSex", js: "libQualiteSex", typ: u(void 0, "") }
282
- ],
283
- !1
284
- ),
285
- Mandature: O(
286
- [
287
- {
288
- json: "datePriseFonction",
289
- js: "datePriseFonction",
290
- typ: u(void 0, Date)
291
- },
292
- { json: "causeFin", js: "causeFin", typ: u(void 0, "") },
293
- {
294
- json: "premiereElection",
295
- js: "premiereElection",
296
- typ: u(void 0, "")
297
- },
298
- { json: "placeHemicycle", js: "placeHemicycle", typ: u(void 0, "") },
299
- {
300
- json: "mandatRemplaceRef",
301
- js: "mandatRemplaceRef",
302
- typ: u(void 0, "")
303
- },
304
- { json: "matriculeVote", js: "matriculeVote", typ: u(void 0, "") }
305
- ],
306
- !1
307
- ),
308
- Suppleant: O(
309
- [
310
- { json: "dateDebut", js: "dateDebut", typ: Date },
311
- { json: "dateFin", js: "dateFin", typ: u(void 0, Date) },
312
- { json: "suppleantRef", js: "suppleantRef", typ: "" }
313
- ],
314
- !1
315
- ),
316
- Profession: O(
317
- [
318
- { json: "libelleCourant", js: "libelleCourant", typ: u(void 0, "") },
319
- { json: "socProcInsee", js: "socProcInsee", typ: c("SocProcInsee") }
320
- ],
321
- !1
322
- ),
323
- SocProcInsee: O(
324
- [
325
- { json: "catSocPro", js: "catSocPro", typ: u(void 0, "") },
326
- { json: "famSocPro", js: "famSocPro", typ: u(void 0, c("FamSocPro")) }
327
- ],
328
- !1
329
- ),
330
- Deport: O(
331
- [
332
- { json: "uid", js: "uid", typ: "" },
333
- { json: "chronotag", js: "chronotag", typ: "" },
334
- { json: "legislature", js: "legislature", typ: "" },
335
- { json: "refActeur", js: "refActeur", typ: "" },
336
- { json: "dateCreation", js: "dateCreation", typ: Date },
337
- { json: "datePublication", js: "datePublication", typ: Date },
338
- { json: "portee", js: "portee", typ: c("CodeEtLibelle") },
339
- { json: "lecture", js: "lecture", typ: c("CodeEtLibelle") },
340
- { json: "instance", js: "instance", typ: c("CodeEtLibelle") },
341
- { json: "cible", js: "cible", typ: c("Cible") },
342
- { json: "explication", js: "explication", typ: u(void 0, "") }
343
- ],
344
- !1
345
- ),
346
- Cible: O(
347
- [
348
- { json: "type", js: "type", typ: c("CodeEtLibelle") },
349
- { json: "referenceTextuelle", js: "referenceTextuelle", typ: "" }
350
- ],
351
- !1
352
- ),
353
- CodeEtLibelle: O(
354
- [
355
- { json: "code", js: "code", typ: "" },
356
- { json: "libelle", js: "libelle", typ: "" }
357
- ],
358
- !1
359
- ),
360
- Organe: O(
361
- [
362
- { json: "schemaVersion", js: "schemaVersion", typ: u(void 0, "") },
363
- { json: "xsiType", js: "xsiType", typ: u(void 0, c("TypeOrgane")) },
364
- { json: "uid", js: "uid", typ: "" },
365
- { json: "codeType", js: "codeType", typ: c("CodeTypeOrgane") },
366
- { json: "libelle", js: "libelle", typ: "" },
367
- { json: "libelleEdition", js: "libelleEdition", typ: u(void 0, "") },
368
- { json: "libelleAbrege", js: "libelleAbrege", typ: "" },
369
- { json: "libelleAbrev", js: "libelleAbrev", typ: "" },
370
- { json: "viMoDe", js: "viMoDe", typ: c("ViMoDe") },
371
- {
372
- json: "organeParentRef",
373
- js: "organeParentRef",
374
- typ: u(void 0, "")
375
- },
376
- {
377
- json: "organePrecedentRef",
378
- js: "organePrecedentRef",
379
- typ: u(void 0, "")
380
- },
381
- { json: "regime", js: "regime", typ: u(void 0, c("Regime")) },
382
- {
383
- json: "legislature",
384
- js: "legislature",
385
- typ: u(void 0, "")
386
- },
387
- {
388
- json: "secretariat",
389
- js: "secretariat",
390
- typ: u(void 0, c("Secretariat"))
391
- },
392
- { json: "numero", js: "numero", typ: u(void 0, "") },
393
- { json: "lieu", js: "lieu", typ: u(void 0, c("OrganeLieu")) },
394
- {
395
- json: "regimeJuridique",
396
- js: "regimeJuridique",
397
- typ: u(void 0, "")
398
- },
399
- {
400
- json: "siteInternet",
401
- js: "siteInternet",
402
- typ: u(void 0, "")
403
- },
404
- {
405
- json: "nombreReunionsAnnuelles",
406
- js: "nombreReunionsAnnuelles",
407
- typ: u(void 0, "")
408
- },
409
- {
410
- json: "positionPolitique",
411
- js: "positionPolitique",
412
- typ: u(void 0, c("PositionPolitique"))
413
- },
414
- { json: "preseance", js: "preseance", typ: u(void 0, "") },
415
- { json: "couleurAssociee", js: "couleurAssociee", typ: u(void 0, "") },
416
- {
417
- json: "listePays",
418
- js: "listePays",
419
- typ: u(void 0, U(""))
420
- }
421
- ],
422
- !1
423
- ),
424
- OrganeLieu: O(
425
- [
426
- { json: "region", js: "region", typ: c("Region") },
427
- { json: "departement", js: "departement", typ: c("Departement") }
428
- ],
429
- !1
430
- ),
431
- Departement: O(
432
- [
433
- {
434
- json: "codeNatureDep",
435
- js: "codeNatureDep",
436
- typ: u(void 0, c("CodeNatureDep"))
437
- },
438
- { json: "code", js: "code", typ: u(void 0, "") },
439
- { json: "libelle", js: "libelle", typ: u(void 0, "") }
440
- ],
441
- !1
442
- ),
443
- Region: O(
444
- [
445
- { json: "type", js: "type", typ: u(void 0, c("RegionType")) },
446
- { json: "libelle", js: "libelle", typ: u(void 0, "") }
447
- ],
448
- !1
449
- ),
450
- Secretariat: O(
451
- [
452
- { json: "secretaire01", js: "secretaire01", typ: u(void 0, "") },
453
- { json: "secretaire02", js: "secretaire02", typ: u(void 0, "") }
454
- ],
455
- !1
456
- ),
457
- ViMoDe: O(
458
- [
459
- { json: "dateDebut", js: "dateDebut", typ: u(void 0, Date) },
460
- { json: "dateAgrement", js: "dateAgrement", typ: u(void 0, Date) },
461
- { json: "dateFin", js: "dateFin", typ: u(void 0, Date) }
462
- ],
463
- !1
464
- ),
465
- Photo: O(
466
- [
467
- { json: "chemin", js: "chemin", typ: "" },
468
- { json: "cheminMosaique", js: "cheminMosaique", typ: "" },
469
- { json: "hauteur", js: "hauteur", typ: 0 },
470
- { json: "largeur", js: "largeur", typ: 0 },
471
- { json: "xMosaique", js: "xMosaique", typ: 0 },
472
- { json: "yMosaique", js: "yMosaique", typ: 0 }
473
- ],
474
- !1
475
- ),
476
- Civ: ["M.", "Mme"],
477
- TypeMandat: [
478
- "MandatAvecSuppleant_Type",
479
- "MandatMission_Type",
480
- "MandatParlementaire_type",
481
- "MandatSimple_Type"
482
- ],
483
- RegionType: [
484
- "Collectivités d'outre-mer et Nouvelle-Calédonie",
485
- "Dom",
486
- "Français établis hors de France",
487
- "Métropolitain"
488
- ],
489
- CodeTypeOrgane: Object.values(Se),
490
- FamSocPro: [
491
- "Agriculteurs exploitants",
492
- "Artisans, commerçants et chefs d'entreprise",
493
- "Artisans, commerçants, chefs d'entreprises",
494
- "Autres personnes sans activité professionnelle",
495
- "Cadres et professions intellectuelles supérieures",
496
- "Employés",
497
- "Ouvriers",
498
- "Professions Intermédiaires",
499
- "Professions intermédiaires",
500
- "Retraités",
501
- "Sans profession déclarée"
502
- ],
503
- TypeOrgane: [
504
- "GroupePolitique_type",
505
- "OrganeCirconscription_type",
506
- "OrganeExterne_Type",
507
- "OrganeExtraParlementaire_type",
508
- "OrganeParlementaireInternational",
509
- "OrganeParlementaire_Type"
510
- ],
511
- CodeNatureDep: ["H", "M", "O", "T"],
512
- PositionPolitique: ["Majoritaire", "Minoritaire", "Opposition"],
513
- Regime: [
514
- "Assemblée consultative provisoire",
515
- "Assemblées nationales constituantes",
516
- "3ème République",
517
- "4ème République",
518
- "5ème République"
519
- ]
520
- };
521
- var Pe = /* @__PURE__ */ ((e) => (e.ReunionCommissionType = "reunionCommission_type", e.ReunionInitParlementaireType = "reunionInitParlementaire_type", e.SeanceType = "seance_type", e))(Pe || {}), Ve = /* @__PURE__ */ ((e) => (e.PodjReunionType = "podjReunion_type", e.PodjSeanceConfPresType = "podjSeanceConfPres_type", e))(Ve || {}), xe = /* @__PURE__ */ ((e) => (e.Annulé = "Annulé", e.Confirmé = "Confirmé", e.Eventuel = "Eventuel", e.Supprimé = "Supprimé", e))(xe || {}), he = /* @__PURE__ */ ((e) => (e.Odjpr = "ODJPR", e.Odjsn = "ODJSN", e))(he || {}), Je = /* @__PURE__ */ ((e) => (e.DiscussionGénéraleCommune = "discussion générale commune", e.ProcédureDExamenSimplifiéeArticle103 = "procédure d'examen simplifiée-Article 103", e.ProcédureDExamenSimplifiéeArticle106 = "procédure d'examen simplifiée-Article 106", e.ProcédureDExamenSimplifiéeArticle107 = "procédure d'examen simplifiée-Article 107", e.ProcédureDeLégislationEnCommissionArticle1071 = "procédure de législation en commission-Article 107-1", e))(Je || {}), Le = /* @__PURE__ */ ((e) => (e.AmendementsArt88 = "Amendements (Art. 88)", e.AmendementsArt91 = "Amendements (Art. 91)", e.Audition = "Audition", e.AuditionMinistre = "Audition ministre", e.AuditionMinistreOuverteÀLaPresse = "Audition ministre ouverte à la presse", e.AuditionOuverteÀLaPresse = "Audition ouverte à la presse", e.Communication = "Communication", e.ConstitutionDeMissionDInformation = "Constitution de mission d'information", e.Discussion = "Discussion", e.DébatDInitiativeParlementaire = "Débat d'initiative parlementaire", e.DéclarationDuGouvernementSuivieDUnDébat = "Déclaration du Gouvernement suivie d'un débat", e.EchangesDeVues = "Echanges de vues", e.Examen = "Examen", e.ExplicationsDeVoteDesGroupesEtVoteParScrutinPublic = "Explications de vote des groupes et vote par scrutin public", e.ExplicationsDeVoteEtVoteParScrutinPublic = "Explications de vote et vote par scrutin public", e.FixationDeLOrdreDuJour = "Fixation de l'ordre du jour", e.NominationBureau = "Nomination bureau", e.NominationCandidatsOrganismeExtraparlementaire = "Nomination candidats organisme extraparlementaire", e.NominationDUnMembreDUneMissionDInformation = "Nomination d'un membre d'une mission d'information", e.NominationRapporteur = "Nomination rapporteur", e.NominationRapporteurDApplication = "Nomination rapporteur d'application", e.NominationRapporteurDInformation = "Nomination rapporteur d'information", e.NominationRapporteurPourAvis = "Nomination rapporteur pour avis", e.OuvertureEtClôtureDeSession = "Ouverture et clôture de session", e.QuestionsAuGouvernement = "Questions au Gouvernement", e.QuestionsOralesSansDébat = "Questions orales sans débat", e.Rapport = "Rapport", e.RapportDInformation = "Rapport d'information", e.RapportPourAvis = "Rapport pour avis", e.SeancesReserveesGroupeOppositionOuMinoritaire = "Séances réservées à un groupe de l'opposition ou minoritaire", e.SuiteDeLaDiscussion = "Suite de la discussion", e.TableRonde = "Table ronde", e.VoteParScrutinPublic = "Vote par scrutin public", e.VoteSolennel = "Vote solennel", e))(Le || {}), Fe = /* @__PURE__ */ ((e) => (e.AuditionExterne = "AuditionExterne", e.AuditionParPresidentCommission = "AuditionParPresidentCommission", e.AuditionParRapporteur = "AuditionParRapporteur", e.Ordinaire = "Ordinaire", e))(Fe || {}), Xe = /* @__PURE__ */ ((e) => (e.Deuxième = "Deuxième", e.Première = "Première", e.Troisième = "Troisième", e.Unique = "Unique", e))(Xe || {}), $e = /* @__PURE__ */ ((e) => (e.Absent = "absent", e.Excusé = "excusé", e.Présent = "présent", e))($e || {}), we = /* @__PURE__ */ ((e) => (e.IdActeurType = "IdActeur_type", e.IdPersonneExterneType = "IdPersonneExterne_type", e))(we || {}), Qe = /* @__PURE__ */ ((e) => (e.Dep = "DEP", e.Ga = "GA", e.Ge = "GE", e.Gevi = "GEVI", e.Gp = "GP", e.HéAurélien = "HÉ Aurélien", e))(Qe || {});
522
- let Xn = class {
523
- static toAgendas(n) {
524
- return le(JSON.parse(n), D("Agendas"));
525
- }
526
- static agendasToJson(n) {
527
- return JSON.stringify(me(n, D("Agendas")), null, 2);
528
- }
529
- static toReunion(n) {
530
- return le(JSON.parse(n), D("Reunion"));
531
- }
532
- static reunionToJson(n) {
533
- return JSON.stringify(me(n, D("Reunion")), null, 2);
534
- }
535
- };
536
- function z(e, n, s = "") {
537
- throw Error(
538
- s ? `Invalid value for key "${s}". Expected type ${JSON.stringify(
539
- e
540
- )} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
541
- );
542
- }
543
- function qe(e) {
544
- if (e.jsonToJS === void 0) {
545
- var n = {};
546
- e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
547
- }
548
- return e.jsonToJS;
549
- }
550
- function Ge(e) {
551
- if (e.jsToJSON === void 0) {
552
- var n = {};
553
- e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
554
- }
555
- return e.jsToJSON;
556
- }
557
- function K(e, n, s, b = "") {
558
- function R(i, o) {
559
- return typeof i == typeof o ? o : z(i, o, b);
560
- }
561
- function J(i, o) {
562
- const a = i.length;
563
- for (let m = 0; m < a; m++) {
564
- const l = i[m];
565
- try {
566
- return K(o, l, s);
567
- } catch {
568
- }
569
- }
570
- return z(i, o);
571
- }
572
- function L(i, o) {
573
- return i.indexOf(o) !== -1 ? o : z(i, o);
574
- }
575
- function X(i, o) {
576
- return Array.isArray(o) ? o.map((a) => K(a, i, s)) : z("array", o);
577
- }
578
- function $(i) {
579
- if (i === null)
580
- return null;
581
- const o = new Date(i);
582
- return isNaN(o.valueOf()) ? z("Date", i) : o;
583
- }
584
- function w(i, o, a) {
585
- if (a === null || typeof a != "object" || Array.isArray(a))
586
- return z("object", a);
587
- const m = {};
588
- return Object.getOwnPropertyNames(i).forEach((l) => {
589
- const _ = i[l], C = Object.prototype.hasOwnProperty.call(a, l) ? a[l] : void 0;
590
- m[_.key] = K(C, _.typ, s, _.key);
591
- }), Object.getOwnPropertyNames(a).forEach((l) => {
592
- Object.prototype.hasOwnProperty.call(i, l) || (m[l] = K(a[l], o, s, l));
593
- }), m;
594
- }
595
- if (n === "any") return e;
596
- if (n === null)
597
- return e === null ? e : z(n, e);
598
- for (; typeof n == "object" && n.ref !== void 0; )
599
- n = Be[n.ref];
600
- return Array.isArray(n) ? L(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? J(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? X(n.arrayItems, e) : n.hasOwnProperty("props") ? w(s(n), n.additional, e) : z(n, e) : n === Date && typeof e != "number" ? $(e) : R(n, e);
601
- }
602
- function le(e, n) {
603
- return K(e, n, qe);
604
- }
605
- function me(e, n) {
606
- return K(e, n, Ge);
607
- }
608
- function Q(e) {
609
- return { arrayItems: e };
610
- }
611
- function f(...e) {
612
- return { unionMembers: e };
613
- }
614
- function V(e, n) {
615
- return { props: e, additional: n };
616
- }
617
- function D(e) {
618
- return { ref: e };
619
- }
620
- const Be = {
621
- Agendas: V(
622
- [{ json: "reunions", js: "reunions", typ: Q(D("Reunion")) }],
623
- !1
624
- ),
625
- Reunion: V(
626
- [
627
- { json: "schemaVersion", js: "schemaVersion", typ: f(void 0, "") },
628
- {
629
- json: "xsiType",
630
- js: "xsiType",
631
- typ: f(void 0, D("ReunionXsiType"))
632
- },
633
- { json: "uid", js: "uid", typ: "" },
634
- { json: "timestampDebut", js: "timestampDebut", typ: Date },
635
- { json: "timestampFin", js: "timestampFin", typ: f(void 0, Date) },
636
- { json: "lieu", js: "lieu", typ: f(void 0, D("LieuReunion")) },
637
- { json: "cycleDeVie", js: "cycleDeVie", typ: D("CycleDeVieReunion") },
638
- {
639
- json: "demandeurs",
640
- js: "demandeurs",
641
- typ: f(void 0, D("Demandeurs"))
642
- },
643
- { json: "organeReuniRef", js: "organeReuniRef", typ: f(void 0, "") },
644
- {
645
- json: "typeReunion",
646
- js: "typeReunion",
647
- typ: f(void 0, D("TypeReunion"))
648
- },
649
- {
650
- json: "participants",
651
- js: "participants",
652
- typ: f(void 0, D("Participants"))
653
- },
654
- { json: "sessionRef", js: "sessionRef", typ: f(void 0, "") },
655
- {
656
- json: "ouverturePresse",
657
- js: "ouverturePresse",
658
- typ: f(void 0, !1)
659
- },
660
- { json: "odj", js: "odj", typ: f(void 0, D("Odj")) },
661
- { json: "compteRenduRef", js: "compteRenduRef", typ: f(void 0, "") },
662
- {
663
- json: "transcriptionRef",
664
- js: "transcriptionRef",
665
- typ: f(void 0, "")
666
- },
667
- {
668
- json: "identifiants",
669
- js: "identifiants",
670
- typ: f(void 0, D("Identifiants"))
671
- },
672
- {
673
- json: "formatReunion",
674
- js: "formatReunion",
675
- typ: f(void 0, D("FormatReunion"))
676
- },
677
- {
678
- json: "infosReunionsInternationale",
679
- js: "infosReunionsInternationale",
680
- typ: f(void 0, D("InfosReunionsInternationale"))
681
- },
682
- {
683
- json: "captationVideo",
684
- js: "captationVideo",
685
- typ: f(void 0, !1)
686
- },
687
- { json: "visioConference", js: "visioConference", typ: f(void 0, "") },
688
- { json: "urlVideo", js: "urlVideo", typ: f(void 0, "") },
689
- {
690
- json: "timecodeDebutVideo",
691
- js: "timecodeDebutVideo",
692
- typ: f(void 0, 0)
693
- }
694
- ],
695
- !1
696
- ),
697
- Odj: V(
698
- [
699
- {
700
- json: "convocationOdj",
701
- js: "convocationOdj",
702
- typ: f(void 0, Q(""))
703
- },
704
- { json: "resumeOdj", js: "resumeOdj", typ: f(void 0, Q("")) },
705
- {
706
- json: "pointsOdj",
707
- js: "pointsOdj",
708
- typ: f(void 0, Q(D("PointOdj")))
709
- }
710
- ],
711
- !1
712
- ),
713
- PointOdj: V(
714
- [
715
- { json: "xsiType", js: "xsiType", typ: D("PointOdjXsiType") },
716
- { json: "uid", js: "uid", typ: "" },
717
- { json: "cycleDeVie", js: "cycleDeVie", typ: D("CycleDeVieReunion") },
718
- { json: "objet", js: "objet", typ: "" },
719
- { json: "procedure", js: "procedure", typ: f(void 0, D("Procedure")) },
720
- {
721
- json: "dossiersLegislatifsRefs",
722
- js: "dossiersLegislatifsRefs",
723
- typ: f(void 0, Q(""))
724
- },
725
- { json: "typePointOdj", js: "typePointOdj", typ: D("TypePointOdj") },
726
- { json: "comiteSecret", js: "comiteSecret", typ: !1 },
727
- {
728
- json: "natureTravauxOdj",
729
- js: "natureTravauxOdj",
730
- typ: f(void 0, D("NatureTravauxOdj"))
731
- },
732
- { json: "dateConfPres", js: "dateConfPres", typ: f(void 0, Date) },
733
- {
734
- json: "dateLettreMinistre",
735
- js: "dateLettreMinistre",
736
- typ: f(void 0, Date)
737
- }
738
- ],
739
- !1
740
- ),
741
- CycleDeVieReunion: V(
742
- [
743
- { json: "etat", js: "etat", typ: D("EtatCycleDeVie") },
744
- { json: "chrono", js: "chrono", typ: D("Chrono") }
745
- ],
746
- !1
747
- ),
748
- Chrono: V(
749
- [
750
- { json: "creation", js: "creation", typ: Date },
751
- { json: "cloture", js: "cloture", typ: f(void 0, Date) }
752
- ],
753
- !1
754
- ),
755
- Demandeurs: V(
756
- [
757
- {
758
- json: "acteurs",
759
- js: "acteurs",
760
- typ: f(void 0, Q(D("DemandeurActeur")))
761
- },
762
- { json: "organe", js: "organe", typ: f(void 0, D("DemandeurOrgane")) }
763
- ],
764
- !1
765
- ),
766
- DemandeurActeur: V(
767
- [
768
- { json: "nom", js: "nom", typ: f(void 0, "") },
769
- { json: "acteurRef", js: "acteurRef", typ: "" }
770
- ],
771
- !1
772
- ),
773
- DemandeurOrgane: V(
774
- [
775
- { json: "nom", js: "nom", typ: "" },
776
- { json: "organeRef", js: "organeRef", typ: "" }
777
- ],
778
- !1
779
- ),
780
- Identifiants: V(
781
- [
782
- { json: "numSeanceJo", js: "numSeanceJo", typ: f(void 0, "") },
783
- { json: "idJo", js: "idJo", typ: f(void 0, "") },
784
- { json: "quantieme", js: "quantieme", typ: D("Quantieme") },
785
- { json: "dateSeance", js: "dateSeance", typ: Date }
786
- ],
787
- !1
788
- ),
789
- InfosReunionsInternationale: V(
790
- [
791
- {
792
- json: "estReunionInternationale",
793
- js: "estReunionInternationale",
794
- typ: !1
795
- },
796
- { json: "listePays", js: "listePays", typ: f(void 0, Q("")) },
797
- {
798
- json: "informationsComplementaires",
799
- js: "informationsComplementaires",
800
- typ: f(void 0, "")
801
- }
802
- ],
803
- !1
804
- ),
805
- LieuReunion: V(
806
- [
807
- { json: "code", js: "code", typ: f(void 0, "") },
808
- { json: "libelleCourt", js: "libelleCourt", typ: f(void 0, "") },
809
- { json: "libelleLong", js: "libelleLong", typ: f(void 0, "") },
810
- { json: "lieuRef", js: "lieuRef", typ: f(void 0, "") }
811
- ],
812
- !1
813
- ),
814
- Participants: V(
815
- [
816
- {
817
- json: "participantsInternes",
818
- js: "participantsInternes",
819
- typ: f(void 0, Q(D("ParticipantInterne")))
820
- },
821
- {
822
- json: "personnesAuditionnees",
823
- js: "personnesAuditionnees",
824
- typ: f(void 0, Q(D("PersonneAuditionnee")))
825
- }
826
- ],
827
- !1
828
- ),
829
- ParticipantInterne: V(
830
- [
831
- { json: "acteurRef", js: "acteurRef", typ: "" },
832
- { json: "presence", js: "presence", typ: D("Presence") }
833
- ],
834
- !1
835
- ),
836
- PersonneAuditionnee: V(
837
- [
838
- { json: "xsiType", js: "xsiType", typ: D("PersonneAuditionneeXsiType") },
839
- { json: "uid", js: "uid", typ: "" },
840
- { json: "ident", js: "ident", typ: D("IdentPersonneAuditionnee") },
841
- { json: "dateNais", js: "dateNais", typ: f(void 0, Date) }
842
- ],
843
- !1
844
- ),
845
- IdentPersonneAuditionnee: V(
846
- [
847
- { json: "civ", js: "civ", typ: D("Civ") },
848
- { json: "prenom", js: "prenom", typ: "" },
849
- { json: "nom", js: "nom", typ: "" },
850
- { json: "alpha", js: "alpha", typ: f(void 0, "") },
851
- { json: "trigramme", js: "trigramme", typ: f(void 0, "") }
852
- ],
853
- !1
854
- ),
855
- ReunionXsiType: [
856
- "reunionCommission_type",
857
- "reunionInitParlementaire_type",
858
- "seance_type"
859
- ],
860
- PointOdjXsiType: ["podjReunion_type", "podjSeanceConfPres_type"],
861
- EtatCycleDeVie: ["Annulé", "Confirmé", "Eventuel", "Supprimé"],
862
- NatureTravauxOdj: ["ODJPR", "ODJSN"],
863
- Procedure: [
864
- "discussion générale commune",
865
- "procédure d'examen simplifiée-Article 103",
866
- "procédure d'examen simplifiée-Article 106",
867
- "procédure d'examen simplifiée-Article 107",
868
- "procédure de législation en commission-Article 107-1"
869
- ],
870
- TypePointOdj: [
871
- "Amendements (Art. 88)",
872
- "Amendements (Art. 91)",
873
- "Audition",
874
- "Audition ministre",
875
- "Audition ministre ouverte à la presse",
876
- "Audition ouverte à la presse",
877
- "Communication",
878
- "Constitution de mission d'information",
879
- "Discussion",
880
- "Débat d'initiative parlementaire",
881
- "Déclaration du Gouvernement suivie d'un débat",
882
- "Echanges de vues",
883
- "Examen",
884
- "Explications de vote des groupes et vote par scrutin public",
885
- "Explications de vote et vote par scrutin public",
886
- "Fixation de l'ordre du jour",
887
- "Nomination bureau",
888
- "Nomination candidats organisme extraparlementaire",
889
- "Nomination d'un membre d'une mission d'information",
890
- "Nomination rapporteur",
891
- "Nomination rapporteur d'application",
892
- "Nomination rapporteur d'information",
893
- "Nomination rapporteur pour avis",
894
- "Ouverture et clôture de session",
895
- "Questions au Gouvernement",
896
- "Questions orales sans débat",
897
- "Rapport",
898
- "Rapport d'information",
899
- "Rapport pour avis",
900
- "Séances réservées à un groupe de l'opposition ou minoritaire",
901
- "Suite de la discussion",
902
- "Table ronde",
903
- "Vote par scrutin public",
904
- "Vote solennel"
905
- ],
906
- FormatReunion: [
907
- "AuditionExterne",
908
- "AuditionParPresidentCommission",
909
- "AuditionParRapporteur",
910
- "Ordinaire"
911
- ],
912
- Quantieme: ["Deuxième", "Première", "Troisième", "Unique"],
913
- Presence: ["absent", "excusé", "présent"],
914
- Civ: ["M.", "Mme"],
915
- PersonneAuditionneeXsiType: ["IdActeur_type", "IdPersonneExterne_type"],
916
- TypeReunion: ["DEP", "GA", "GE", "GEVI", "GP", "HÉ Aurélien"]
917
- };
918
- var Ue = /* @__PURE__ */ ((e) => (e.AdoptionAmendementMainLevéeAdt = "ADOPTION amendement (main levée) adt", e.AdoptionDUnArticleVoteÀMainLevée = "ADOPTION d’un article (vote à main levée)", e.AdoptionDUnSousAmendementMainLevéeSsAdt = "ADOPTION d’un sous-amendement (main levée) ss-adt", e.AdoptionDePlusieursAmendementsMainLevéeAdts = "ADOPTION de plusieurs amendements (main levée) adts", e.AdoptionDePlusieursSousAmendementsMainLevéeSsAdts = "ADOPTION de plusieurs sous-amendements (main levée) ss-adts", e.Empty = "", e.RejetDUnAmendementMainLevéeAdt = "REJET d’un amendement (main levée) adt", e.RejetDUnArticleVoteÀMainLevée = "REJET d’un article (vote à main levée)", e.RejetDUnSousAmendementMainLevéeSsAdt = "REJET d’un sous-amendement (main levée) ss-adt", e.RejetDePlusieursAmendementsMainLevéeAdts = "REJET de plusieurs amendements (main levée) adts", e.RejetDePlusieursSousAmendementsMainLevéeSsAdts = "REJET de plusieurs sous-amendements (main levée) ss-adts", e.RejetMotionDeRejetPréalableMainLevée = "REJET motion de rejet préalable (main levée)", e))(Ue || {});
919
- let wn = class {
920
- static toComptesRendus(n) {
921
- return je(JSON.parse(n), j("ComptesRendus"));
922
- }
923
- static comptesRendusToJson(n) {
924
- return JSON.stringify(de(n, j("ComptesRendus")), null, 2);
925
- }
926
- static toCompteRendu(n) {
927
- return je(JSON.parse(n), j("CompteRendu"));
928
- }
929
- static compteRenduToJson(n) {
930
- return JSON.stringify(de(n, j("CompteRendu")), null, 2);
931
- }
932
- };
933
- function q(e, n, s, b = "") {
934
- const R = pe(e), J = b ? ` on ${b}` : "", L = s ? ` for key "${s}"` : "";
935
- throw Error(
936
- `Invalid value${L}${J}. Expected ${R} but got ${JSON.stringify(
937
- n
938
- )}`
939
- );
940
- }
941
- function pe(e) {
942
- return Array.isArray(e) ? e.length === 2 && e[0] === void 0 ? `an optional ${pe(e[1])}` : `one of [${e.map((n) => pe(n)).join(", ")}]` : typeof e == "object" && e.literal !== void 0 ? e.literal : typeof e;
943
- }
944
- function ze(e) {
945
- if (e.jsonToJS === void 0) {
946
- const n = {};
947
- e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
948
- }
949
- return e.jsonToJS;
950
- }
951
- function Ze(e) {
952
- if (e.jsToJSON === void 0) {
953
- const n = {};
954
- e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
955
- }
956
- return e.jsToJSON;
957
- }
958
- function Y(e, n, s, b = "", R = "") {
959
- function J(a, m) {
960
- return typeof a == typeof m ? m : q(a, m, b, R);
961
- }
962
- function L(a, m) {
963
- const l = a.length;
964
- for (let _ = 0; _ < l; _++) {
965
- const C = a[_];
966
- try {
967
- return Y(m, C, s);
968
- } catch {
969
- }
970
- }
971
- return q(a, m, b, R);
972
- }
973
- function X(a, m) {
974
- return a.indexOf(m) !== -1 ? m : q(
975
- a.map((l) => te(l)),
976
- m,
977
- b,
978
- R
979
- );
980
- }
981
- function $(a, m) {
982
- return Array.isArray(m) ? m.map((l) => Y(l, a, s)) : q(te("array"), m, b, R);
983
- }
984
- function w(a) {
985
- if (a === null)
986
- return null;
987
- const m = new Date(a);
988
- return isNaN(m.valueOf()) ? q(te("Date"), a, b, R) : m;
989
- }
990
- function i(a, m, l) {
991
- if (l === null || typeof l != "object" || Array.isArray(l))
992
- return q(te(o || "object"), l, b, R);
993
- const _ = {};
994
- return Object.getOwnPropertyNames(a).forEach((C) => {
995
- const oe = a[C], Ne = Object.prototype.hasOwnProperty.call(l, C) ? l[C] : void 0;
996
- _[oe.key] = Y(Ne, oe.typ, s, C, o);
997
- }), Object.getOwnPropertyNames(l).forEach((C) => {
998
- Object.prototype.hasOwnProperty.call(a, C) || (_[C] = Y(l[C], m, s, C, o));
999
- }), _;
1000
- }
1001
- if (n === "any") return e;
1002
- if (n === null)
1003
- return e === null ? e : q(n, e, b, R);
1004
- if (n === !1) return q(n, e, b, R);
1005
- let o;
1006
- for (; typeof n == "object" && n.ref !== void 0; )
1007
- o = n.ref, n = He[n.ref];
1008
- return Array.isArray(n) ? X(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? L(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? $(n.arrayItems, e) : n.hasOwnProperty("props") ? i(s(n), n.additional, e) : q(n, e, b, R) : n === Date && typeof e != "number" ? w(e) : J(n, e);
1009
- }
1010
- function je(e, n) {
1011
- return Y(e, n, ze);
1012
- }
1013
- function de(e, n) {
1014
- return Y(e, n, Ze);
1015
- }
1016
- function te(e) {
1017
- return { literal: e };
1018
- }
1019
- function M(e) {
1020
- return { arrayItems: e };
1021
- }
1022
- function p(...e) {
1023
- return { unionMembers: e };
1024
- }
1025
- function F(e, n) {
1026
- return { props: e, additional: n };
1027
- }
1028
- function j(e) {
1029
- return { ref: e };
1030
- }
1031
- const He = {
1032
- ComptesRendus: F(
1033
- [{ json: "comptesRendus", js: "comptesRendus", typ: M(j("CompteRendu")) }],
1034
- !1
1035
- ),
1036
- CompteRendu: F(
1037
- [
1038
- { json: "schemaVersion", js: "schemaVersion", typ: p(void 0, "") },
1039
- { json: "uid", js: "uid", typ: p(void 0, "") },
1040
- { json: "seanceRef", js: "seanceRef", typ: "" },
1041
- { json: "sessionRef", js: "sessionRef", typ: "" },
1042
- { json: "metadonnees", js: "metadonnees", typ: j("Metadonnees") },
1043
- { json: "contenu", js: "contenu", typ: j("Contenu") },
1044
- { json: "videoUrl", js: "videoUrl", typ: p(void 0, "") },
1045
- { json: "videoTimecode", js: "videoTimecode", typ: p(void 0, 0) }
1046
- ],
1047
- !1
1048
- ),
1049
- Contenu: F(
1050
- [
1051
- { json: "quantiemes", js: "quantiemes", typ: j("Quantiemes") },
1052
- {
1053
- json: "ouvertureSeance",
1054
- js: "ouvertureSeance",
1055
- typ: p(void 0, p(M(j("Point")), j("Point")))
1056
- },
1057
- { json: "point", js: "point", typ: p(M(j("Point")), j("Point")) },
1058
- { json: "finSeance", js: "finSeance", typ: p(void 0, j("FinSeance")) },
1059
- {
1060
- json: "paragraphe",
1061
- js: "paragraphe",
1062
- typ: p(void 0, M(j("Point")))
1063
- }
1064
- ],
1065
- !1
1066
- ),
1067
- FinSeance: F([{ json: "point", js: "point", typ: j("Point") }], !1),
1068
- Orateurs: F(
1069
- [
1070
- {
1071
- json: "orateur",
1072
- js: "orateur",
1073
- typ: p(M(j("OrateurElement")), j("OrateurElement"))
1074
- }
1075
- ],
1076
- !1
1077
- ),
1078
- OrateurElement: F(
1079
- [
1080
- { json: "nom", js: "nom", typ: p(void 0, "") },
1081
- { json: "id", js: "id", typ: p(void 0, "") },
1082
- { json: "qualite", js: "qualite", typ: p(void 0, "") }
1083
- ],
1084
- !1
1085
- ),
1086
- Texte: F(
1087
- [
1088
- { json: "_", js: "_", typ: p(void 0, "") },
1089
- { json: "id_syceron", js: "id_syceron", typ: p(void 0, "") },
1090
- { json: "stime", js: "stime", typ: p(void 0, "") },
1091
- { json: "sup", js: "sup", typ: p(void 0, "") },
1092
- {
1093
- json: "lienAdt",
1094
- js: "lienAdt",
1095
- typ: p(void 0, p(M(j("Texte")), j("Texte")))
1096
- }
1097
- ],
1098
- !1
1099
- ),
1100
- Point: F(
1101
- [
1102
- { json: "nivpoint", js: "nivpoint", typ: p(void 0, "") },
1103
- { json: "valeur_ptsodj", js: "valeur_ptsodj", typ: p(void 0, "") },
1104
- { json: "ordinal_prise", js: "ordinal_prise", typ: p(void 0, "") },
1105
- { json: "id_preparation", js: "id_preparation", typ: p(void 0, "") },
1106
- {
1107
- json: "ordre_absolu_seance",
1108
- js: "ordre_absolu_seance",
1109
- typ: p(void 0, "")
1110
- },
1111
- { json: "code_grammaire", js: "code_grammaire", typ: p(void 0, "") },
1112
- { json: "code_style", js: "code_style", typ: p(void 0, "") },
1113
- { json: "code_parole", js: "code_parole", typ: p(void 0, "") },
1114
- { json: "sommaire", js: "sommaire", typ: p(void 0, "") },
1115
- { json: "id_syceron", js: "id_syceron", typ: p(void 0, "") },
1116
- { json: "valeur", js: "valeur", typ: p(void 0, "") },
1117
- {
1118
- json: "orateurs",
1119
- js: "orateurs",
1120
- typ: p(j("Orateurs"), p("", void 0))
1121
- },
1122
- { json: "texte", js: "texte", typ: p(j("Texte"), p("", void 0)) },
1123
- {
1124
- json: "paragraphe",
1125
- js: "paragraphe",
1126
- typ: p(void 0, p(M(j("Point")), j("Point")))
1127
- },
1128
- {
1129
- json: "interExtraction",
1130
- js: "interExtraction",
1131
- typ: p(void 0, p(M(j("Point")), j("Point")))
1132
- },
1133
- {
1134
- json: "point",
1135
- js: "point",
1136
- typ: p(void 0, p(M(j("Point")), j("Point")))
1137
- },
1138
- { json: "structure", js: "structure", typ: p(void 0, "") },
1139
- { json: "id_acteur", js: "id_acteur", typ: p(void 0, "") },
1140
- { json: "id_mandat", js: "id_mandat", typ: p(void 0, "") },
1141
- {
1142
- json: "id_nomination_oe",
1143
- js: "id_nomination_oe",
1144
- typ: p(void 0, "")
1145
- },
1146
- {
1147
- json: "id_nomination_op",
1148
- js: "id_nomination_op",
1149
- typ: p(void 0, "")
1150
- },
1151
- { json: "orateur", js: "orateur", typ: p(void 0, "") },
1152
- { json: "bibard", js: "bibard", typ: p(void 0, "") },
1153
- { json: "art", js: "art", typ: p(void 0, "") },
1154
- { json: "adt", js: "adt", typ: p(void 0, "") },
1155
- { json: "ssadt", js: "ssadt", typ: p(void 0, "") },
1156
- { json: "roledebat", js: "roledebat", typ: p(void 0, "") },
1157
- { json: "type_debat", js: "type_debat", typ: p(void 0, "") },
1158
- {
1159
- json: "changementPresidence",
1160
- js: "changementPresidence",
1161
- typ: p(void 0, p(M(j("Point")), j("Point")))
1162
- },
1163
- { json: "decision", js: "decision", typ: p(void 0, j("Decision")) },
1164
- {
1165
- json: "ouvertureSeance",
1166
- js: "ouvertureSeance",
1167
- typ: p(void 0, j("Point"))
1168
- },
1169
- { json: "nom_orateur", js: "nom_orateur", typ: p(void 0, "") },
1170
- { json: "qualite", js: "qualite", typ: p(void 0, "") }
1171
- ],
1172
- !1
1173
- ),
1174
- Quantiemes: F(
1175
- [
1176
- { json: "journee", js: "journee", typ: "" },
1177
- { json: "session", js: "session", typ: "" }
1178
- ],
1179
- !1
1180
- ),
1181
- Metadonnees: F(
1182
- [
1183
- { json: "dateSeance", js: "dateSeance", typ: "" },
1184
- { json: "dateSeanceJour", js: "dateSeanceJour", typ: "" },
1185
- { json: "numSeanceJour", js: "numSeanceJour", typ: "" },
1186
- { json: "numSeance", js: "numSeance", typ: "" },
1187
- { json: "typeAssemblee", js: "typeAssemblee", typ: "" },
1188
- { json: "legislature", js: "legislature", typ: "" },
1189
- { json: "session", js: "session", typ: "" },
1190
- { json: "nomFichierJo", js: "nomFichierJo", typ: "" },
1191
- { json: "validite", js: "validite", typ: "" },
1192
- { json: "etat", js: "etat", typ: "" },
1193
- { json: "diffusion", js: "diffusion", typ: "" },
1194
- { json: "version", js: "version", typ: "" },
1195
- { json: "environnement", js: "environnement", typ: "" },
1196
- {
1197
- json: "heureGeneration",
1198
- js: "heureGeneration",
1199
- typ: p(Date, void 0)
1200
- },
1201
- { json: "sommaire", js: "sommaire", typ: j("Sommaire") }
1202
- ],
1203
- !1
1204
- ),
1205
- Sommaire: F(
1206
- [
1207
- { json: "presidentSeance", js: "presidentSeance", typ: j("Texte") },
1208
- {
1209
- json: "sommaire1",
1210
- js: "sommaire1",
1211
- typ: p(M(j("SommaireElement")), j("SommaireElement"))
1212
- },
1213
- {
1214
- json: "sommaire3",
1215
- js: "sommaire3",
1216
- typ: p(void 0, p(M(j("SommaireElement")), j("SommaireElement")))
1217
- },
1218
- {
1219
- json: "sommaire2",
1220
- js: "sommaire2",
1221
- typ: p(void 0, p(M(j("SommaireElement")), j("SommaireElement")))
1222
- },
1223
- {
1224
- json: "para",
1225
- js: "para",
1226
- typ: p(void 0, p(M(j("Texte")), j("Texte")))
1227
- }
1228
- ],
1229
- !1
1230
- ),
1231
- SommaireElement: F(
1232
- [
1233
- { json: "valeur_pts_odj", js: "valeur_pts_odj", typ: p(void 0, "") },
1234
- {
1235
- json: "titreStruct",
1236
- js: "titreStruct",
1237
- typ: p(void 0, j("TitreStruct"))
1238
- },
1239
- {
1240
- json: "para",
1241
- js: "para",
1242
- typ: p(void 0, p(M(p(j("Texte"), "")), j("Texte")))
1243
- },
1244
- {
1245
- json: "sommaire2",
1246
- js: "sommaire2",
1247
- typ: p(void 0, p(M(j("SommaireElement")), j("SommaireElement")))
1248
- },
1249
- {
1250
- json: "sommaire3",
1251
- js: "sommaire3",
1252
- typ: p(void 0, p(M(j("SommaireElement")), j("SommaireElement")))
1253
- },
1254
- {
1255
- json: "presidentSeance",
1256
- js: "presidentSeance",
1257
- typ: p(void 0, p(M(j("Texte")), j("Texte")))
1258
- },
1259
- { json: "type_debat", js: "type_debat", typ: p(void 0, "") }
1260
- ],
1261
- !1
1262
- ),
1263
- TitreStruct: F(
1264
- [
1265
- { json: "id_syceron", js: "id_syceron", typ: "" },
1266
- { json: "intitule", js: "intitule", typ: p(void 0, "") },
1267
- { json: "sousIntitule", js: "sousIntitule", typ: p(void 0, "") },
1268
- { json: "type_debat", js: "type_debat", typ: p(void 0, "") }
1269
- ],
1270
- !1
1271
- ),
1272
- Decision: [
1273
- "ADOPTION amendement (main levée) adt",
1274
- "ADOPTION d’un article (vote à main levée)",
1275
- "ADOPTION d’un sous-amendement (main levée) ss-adt",
1276
- "ADOPTION de plusieurs amendements (main levée) adts",
1277
- "ADOPTION de plusieurs sous-amendements (main levée) ss-adts",
1278
- "",
1279
- "REJET d’un amendement (main levée) adt",
1280
- "REJET d’un article (vote à main levée)",
1281
- "REJET d’un sous-amendement (main levée) ss-adt",
1282
- "REJET de plusieurs amendements (main levée) adts",
1283
- "REJET de plusieurs sous-amendements (main levée) ss-adts",
1284
- "REJET motion de rejet préalable (main levée)"
1285
- ]
1286
- };
1287
- var We = /* @__PURE__ */ ((e) => (e.DossierCommissionEnqueteType = "DossierCommissionEnquete_Type", e.DossierIniativeExecutifType = "DossierIniativeExecutif_Type", e.DossierLegislatifType = "DossierLegislatif_Type", e.DossierMissionControleType = "DossierMissionControle_Type", e.DossierMissionInformationType = "DossierMissionInformation_Type", e.DossierResolutionAn = "DossierResolutionAN", e))(We || {}), Ke = /* @__PURE__ */ ((e) => (e.BudgetAnnexe = "Budget annexe", e.BudgetGénéral = "Budget général", e.CompteDeConcoursFinancier = "Compte de concours financier", e.CompteSpécial = "Compte spécial", e.PremièrePartie = "Première partie", e))(Ke || {}), Ye = /* @__PURE__ */ ((e) => (e.MissionPrincipale = "mission principale", e.MissionSecondaire = "mission secondaire", e.PartieDeMission = "partie de mission", e))(Ye || {}), ke = /* @__PURE__ */ ((e) => (e.Auteur = "auteur", e.Cosignataire = "cosignataire", e.Rapporteur = "rapporteur", e.RapporteurGénéral = "rapporteur général", e.RapporteurPourAvis = "rapporteur pour avis", e.RapporteurSpécial = "rapporteur spécial", e))(ke || {}), en = /* @__PURE__ */ ((e) => (e.AdoptionEuropeType = "Adoption_Europe_Type", e.ConclusionEtapeCcType = "ConclusionEtapeCC_Type", e.ConvocationCongresType = "ConvocationCongres_Type", e.CreationOrganeTemporaireType = "CreationOrganeTemporaire_Type", e.DecisionMotionCensureType = "DecisionMotionCensure_Type", e.DecisionRecevabiliteBureauType = "DecisionRecevabiliteBureau_Type", e.DecisionType = "Decision_Type", e.DeclarationGouvernementType = "DeclarationGouvernement_Type", e.DepotAccordInternationalType = "DepotAccordInternational_Type", e.DepotAvisConseilEtatType = "DepotAvisConseilEtat_Type", e.DepotInitiativeNavetteType = "DepotInitiativeNavette_Type", e.DepotInitiativeType = "DepotInitiative_Type", e.DepotLettreRectificativeType = "DepotLettreRectificative_Type", e.DepotMotionCensureType = "DepotMotionCensure_Type", e.DepotMotionReferendaireType = "DepotMotionReferendaire_Type", e.DepotRapportType = "DepotRapport_Type", e.DiscussionCommissionType = "DiscussionCommission_Type", e.DiscussionSeancePubliqueType = "DiscussionSeancePublique_Type", e.EtapeType = "Etape_Type", e.EtudeImpactType = "EtudeImpact_Type", e.MotionProcedureType = "MotionProcedure_Type", e.NominRapporteursType = "NominRapporteurs_Type", e.ProcedureAccelereType = "ProcedureAccelere_Type", e.PromulgationType = "Promulgation_Type", e.RenvoiCmpType = "RenvoiCMP_Type", e.RenvoiPrealableType = "RenvoiPrealable_Type", e.RetraitInitiativeType = "RetraitInitiative_Type", e.SaisieComAvisType = "SaisieComAvis_Type", e.SaisieComFondType = "SaisieComFond_Type", e.SaisineConseilConstitType = "SaisineConseilConstit_Type", e))(en || {}), nn = /* @__PURE__ */ ((e) => (e.Bta = "BTA", e.Tap = "TAP", e))(nn || {}), sn = /* @__PURE__ */ ((e) => (e.EnApplicationDeLArticle612DeLaConstitution = "En application de l'article 61§2 de la Constitution", e))(sn || {}), tn = /* @__PURE__ */ ((e) => (e.JoLoiDecret = "JO_LOI_DECRET", e))(tn || {}), on = /* @__PURE__ */ ((e) => (e.DossierAbsorbé = "Dossier absorbé", e.ExamenCommun = "Examen commun", e))(on || {}), rn = /* @__PURE__ */ ((e) => (e.Decret = "Décret", e))(rn || {}), an = /* @__PURE__ */ ((e) => (e.AccordInternationalType = "accordInternational_Type", e.AvisConseilEtatType = "avisConseilEtat_Type", e.DocumentEtudeImpactType = "documentEtudeImpact_Type", e.RapportParlementaireType = "rapportParlementaire_Type", e.TexteLoiType = "texteLoi_Type", e))(an || {}), un = /* @__PURE__ */ ((e) => (e.Adoptcom = "ADOPTCOM", e.Adoptseance = "ADOPTSEANCE", e.Rejetseance = "REJETSEANCE", e))(un || {}), pn = /* @__PURE__ */ ((e) => (e.Rectifié = "Rectifié", e))(pn || {}), ln = /* @__PURE__ */ ((e) => (e.Allocution = "Allocution", e.Avis = "Avis", e.Déclaration = "Déclaration", e.Lettre = "Lettre", e.Message = "Message", e.Motion = "Motion", e.ProjetDeLoi = "Projet de loi", e.PropositionDeLoi = "Proposition de loi", e.PropositionDeRésolution = "Proposition de résolution", e.Rapport = "Rapport", e.RapportDInformation = "Rapport d'information", e.Résolution = "Résolution", e))(ln || {}), mn = /* @__PURE__ */ ((e) => (e.Commission = "Commission", e.Séance = "Séance", e.TexteDéposé = "Texte Déposé", e))(mn || {});
1288
- let qn = class {
1289
- static toDossiersLegislatifs(n) {
1290
- return ae(JSON.parse(n), r("DossiersLegislatifs"));
1291
- }
1292
- static dossiersLegislatifsToJson(n) {
1293
- return JSON.stringify(ue(n, r("DossiersLegislatifs")), null, 2);
1294
- }
1295
- static toDocument(n) {
1296
- return ae(JSON.parse(n), r("Document"));
1297
- }
1298
- static documentToJson(n) {
1299
- return JSON.stringify(ue(n, r("Document")), null, 2);
1300
- }
1301
- static toDossierParlementaire(n) {
1302
- return ae(JSON.parse(n), r("DossierParlementaire"));
1303
- }
1304
- static dossierParlementaireToJson(n) {
1305
- return JSON.stringify(ue(n, r("DossierParlementaire")), null, 2);
1306
- }
1307
- };
1308
- function Z(e, n, s = "") {
1309
- throw Error(
1310
- s ? `Invalid value for key "${s}". Expected type ${JSON.stringify(
1311
- e
1312
- )} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
1313
- );
1314
- }
1315
- function jn(e) {
1316
- if (e.jsonToJS === void 0) {
1317
- const n = {};
1318
- e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
1319
- }
1320
- return e.jsonToJS;
1321
- }
1322
- function dn(e) {
1323
- if (e.jsToJSON === void 0) {
1324
- const n = {};
1325
- e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
1326
- }
1327
- return e.jsToJSON;
1328
- }
1329
- function k(e, n, s, b = "") {
1330
- function R(i, o) {
1331
- return typeof i == typeof o ? o : Z(i, o, b);
1332
- }
1333
- function J(i, o) {
1334
- const a = i.length;
1335
- for (let m = 0; m < a; m++) {
1336
- const l = i[m];
1337
- try {
1338
- return k(o, l, s);
1339
- } catch {
1340
- }
1341
- }
1342
- return Z(i, o);
1343
- }
1344
- function L(i, o) {
1345
- return i.indexOf(o) !== -1 ? o : Z(i, o);
1346
- }
1347
- function X(i, o) {
1348
- return Array.isArray(o) ? o.map((a) => k(a, i, s)) : Z("array", o);
1349
- }
1350
- function $(i) {
1351
- if (i === null)
1352
- return null;
1353
- const o = new Date(i);
1354
- return isNaN(o.valueOf()) ? Z("Date", i) : o;
1355
- }
1356
- function w(i, o, a) {
1357
- if (a === null || typeof a != "object" || Array.isArray(a))
1358
- return Z("object", a);
1359
- const m = {};
1360
- return Object.getOwnPropertyNames(i).forEach((l) => {
1361
- const _ = i[l], C = Object.prototype.hasOwnProperty.call(a, l) ? a[l] : void 0;
1362
- m[_.key] = k(C, _.typ, s, _.key);
1363
- }), Object.getOwnPropertyNames(a).forEach((l) => {
1364
- Object.prototype.hasOwnProperty.call(i, l) || (m[l] = k(a[l], o, s, l));
1365
- }), m;
1366
- }
1367
- if (n === "any") return e;
1368
- if (n === null)
1369
- return e === null ? e : Z(n, e);
1370
- for (; typeof n == "object" && n.ref !== void 0; )
1371
- n = cn[n.ref];
1372
- return Array.isArray(n) ? L(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? J(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? X(n.arrayItems, e) : n.hasOwnProperty("props") ? w(s(n), n.additional, e) : Z(n, e) : n === Date && typeof e != "number" ? $(e) : R(n, e);
1373
- }
1374
- function ae(e, n) {
1375
- return k(e, n, jn);
1376
- }
1377
- function ue(e, n) {
1378
- return k(e, n, dn);
1379
- }
1380
- function I(e) {
1381
- return { arrayItems: e };
1382
- }
1383
- function t(...e) {
1384
- return { unionMembers: e };
1385
- }
1386
- function A(e, n) {
1387
- return { props: e, additional: n };
1388
- }
1389
- function r(e) {
1390
- return { ref: e };
1391
- }
1392
- const cn = {
1393
- DossiersLegislatifs: A(
1394
- [
1395
- {
1396
- json: "textesLegislatifs",
1397
- js: "textesLegislatifs",
1398
- typ: I(r("Document"))
1399
- },
1400
- {
1401
- json: "dossiersParlementaires",
1402
- js: "dossiersParlementaires",
1403
- typ: I(r("DossierParlementaire"))
1404
- }
1405
- ],
1406
- !1
1407
- ),
1408
- DossierParlementaire: A(
1409
- [
1410
- { json: "schemaVersion", js: "schemaVersion", typ: t(void 0, "") },
1411
- {
1412
- json: "xsiType",
1413
- js: "xsiType",
1414
- typ: t(void 0, r("DossierParlementaireXsiType"))
1415
- },
1416
- { json: "uid", js: "uid", typ: "" },
1417
- { json: "legislature", js: "legislature", typ: "" },
1418
- { json: "titreDossier", js: "titreDossier", typ: r("TitreDossier") },
1419
- {
1420
- json: "procedureParlementaire",
1421
- js: "procedureParlementaire",
1422
- typ: r("ProcedureParlementaire")
1423
- },
1424
- {
1425
- json: "initiateur",
1426
- js: "initiateur",
1427
- typ: t(void 0, r("Initiateur"))
1428
- },
1429
- {
1430
- json: "actesLegislatifs",
1431
- js: "actesLegislatifs",
1432
- typ: t(void 0, I(r("ActeLegislatif")))
1433
- },
1434
- {
1435
- json: "fusionDossier",
1436
- js: "fusionDossier",
1437
- typ: t(void 0, r("FusionDossier"))
1438
- },
1439
- {
1440
- json: "indexation",
1441
- js: "indexation",
1442
- typ: t(void 0, r("Indexation"))
1443
- },
1444
- { json: "plf", js: "plf", typ: t(void 0, I(r("EtudePlf"))) }
1445
- ],
1446
- !1
1447
- ),
1448
- EtudePlf: A(
1449
- [
1450
- { json: "uid", js: "uid", typ: "" },
1451
- { json: "organeRef", js: "organeRef", typ: "" },
1452
- { json: "texteAssocie", js: "texteAssocie", typ: t(void 0, "") },
1453
- {
1454
- json: "rapporteurs",
1455
- js: "rapporteurs",
1456
- typ: t(void 0, I(r("Rapporteur")))
1457
- },
1458
- {
1459
- json: "missionMinefi",
1460
- js: "missionMinefi",
1461
- typ: t(void 0, r("MissionMinefi"))
1462
- },
1463
- { json: "ordreDiqs", js: "ordreDiqs", typ: "" },
1464
- { json: "ordreCommission", js: "ordreCommission", typ: "" }
1465
- ],
1466
- !1
1467
- ),
1468
- MissionMinefi: A(
1469
- [
1470
- { json: "typeMission", js: "typeMission", typ: r("TypeMission") },
1471
- { json: "codeMission", js: "codeMission", typ: t(void 0, "") },
1472
- { json: "libelleLong", js: "libelleLong", typ: "" },
1473
- { json: "libelleCourt", js: "libelleCourt", typ: "" },
1474
- { json: "typeBudget", js: "typeBudget", typ: r("TypeBudget") },
1475
- {
1476
- json: "missions",
1477
- js: "missions",
1478
- typ: t(void 0, I(r("MissionMinefi")))
1479
- }
1480
- ],
1481
- !1
1482
- ),
1483
- ActeLegislatif: A(
1484
- [
1485
- { json: "xsiType", js: "xsiType", typ: r("TypeActeLegislatif") },
1486
- { json: "uid", js: "uid", typ: "" },
1487
- {
1488
- json: "codeActe",
1489
- js: "codeActe",
1490
- typ: r("CodeActe")
1491
- },
1492
- { json: "libelleActe", js: "libelleActe", typ: r("LibelleActe") },
1493
- { json: "organeRef", js: "organeRef", typ: t(void 0, "") },
1494
- { json: "dateActe", js: "dateActe", typ: t(void 0, Date) },
1495
- {
1496
- json: "actesLegislatifs",
1497
- js: "actesLegislatifs",
1498
- typ: t(void 0, I(r("ActeLegislatif")))
1499
- },
1500
- { json: "anneeDecision", js: "anneeDecision", typ: t(void 0, "") },
1501
- {
1502
- json: "auteurMotion",
1503
- js: "auteurMotion",
1504
- typ: t(void 0, "")
1505
- },
1506
- {
1507
- json: "auteursRefs",
1508
- js: "auteursRefs",
1509
- typ: t(void 0, I(""))
1510
- },
1511
- {
1512
- json: "casSaisine",
1513
- js: "casSaisine",
1514
- typ: t(void 0, r("FamCodeEtLibelle"))
1515
- },
1516
- { json: "codeLoi", js: "codeLoi", typ: t(void 0, "") },
1517
- {
1518
- json: "contributionInternaute",
1519
- js: "contributionInternaute",
1520
- typ: t(void 0, r("ContributionInternaute"))
1521
- },
1522
- {
1523
- json: "decision",
1524
- js: "decision",
1525
- typ: t(void 0, r("FamCodeEtLibelle"))
1526
- },
1527
- {
1528
- json: "depotInitialLectureDefinitiveRef",
1529
- js: "depotInitialLectureDefinitiveRef",
1530
- typ: t(void 0, "")
1531
- },
1532
- { json: "formuleDecision", js: "formuleDecision", typ: t(void 0, "") },
1533
- { json: "infoJo", js: "infoJo", typ: t(void 0, r("InfoJo")) },
1534
- { json: "infoJoce", js: "infoJoce", typ: t(void 0, r("InfoJoce")) },
1535
- {
1536
- json: "infoJoRect",
1537
- js: "infoJoRect",
1538
- typ: t(void 0, I(r("InfoJo")))
1539
- },
1540
- {
1541
- json: "initiateur",
1542
- js: "initiateur",
1543
- typ: t(void 0, r("Initiateur"))
1544
- },
1545
- { json: "motif", js: "motif", typ: t(void 0, r("Motif")) },
1546
- { json: "numDecision", js: "numDecision", typ: t(void 0, "") },
1547
- { json: "odjRef", js: "odjRef", typ: t(void 0, "") },
1548
- { json: "provenanceRef", js: "provenanceRef", typ: t(void 0, "") },
1549
- {
1550
- json: "rapporteurs",
1551
- js: "rapporteurs",
1552
- typ: t(void 0, I(r("Rapporteur")))
1553
- },
1554
- { json: "referenceNor", js: "referenceNor", typ: t(void 0, "") },
1555
- { json: "reunionRef", js: "reunionRef", typ: t(void 0, "") },
1556
- {
1557
- json: "statutAdoption",
1558
- js: "statutAdoption",
1559
- typ: t(void 0, r("FamCodeEtLibelle"))
1560
- },
1561
- {
1562
- json: "statutConclusion",
1563
- js: "statutConclusion",
1564
- typ: t(void 0, r("FamCodeEtLibelle"))
1565
- },
1566
- {
1567
- json: "texteAdopteRef",
1568
- js: "texteAdopteRef",
1569
- typ: t(void 0, "")
1570
- },
1571
- { json: "texteAssocieRef", js: "texteAssocieRef", typ: t(void 0, "") },
1572
- {
1573
- json: "texteEuropeen",
1574
- js: "texteEuropeen",
1575
- typ: t(void 0, r("TexteEuropeen"))
1576
- },
1577
- {
1578
- json: "texteExterneAssocie",
1579
- js: "texteExterneAssocie",
1580
- typ: t(void 0, r("TexteExterneAssocie"))
1581
- },
1582
- { json: "texteLoiRef", js: "texteLoiRef", typ: t(void 0, "") },
1583
- {
1584
- json: "textesAssocies",
1585
- js: "textesAssocies",
1586
- typ: t(void 0, I(r("TexteAssocie")))
1587
- },
1588
- { json: "titreLoi", js: "titreLoi", typ: t(void 0, "") },
1589
- {
1590
- json: "typeDeclaration",
1591
- js: "typeDeclaration",
1592
- typ: t(void 0, r("FamCodeEtLibelle"))
1593
- },
1594
- {
1595
- json: "typeMotion",
1596
- js: "typeMotion",
1597
- typ: t(void 0, r("FamCodeEtLibelle"))
1598
- },
1599
- {
1600
- json: "typeMotionCensure",
1601
- js: "typeMotionCensure",
1602
- typ: t(void 0, r("FamCodeEtLibelle"))
1603
- },
1604
- { json: "urlConclusion", js: "urlConclusion", typ: t(void 0, "") },
1605
- {
1606
- json: "urlEcheancierLoi",
1607
- js: "urlEcheancierLoi",
1608
- typ: t(void 0, "")
1609
- },
1610
- {
1611
- json: "urlLegifrance",
1612
- js: "urlLegifrance",
1613
- typ: t(void 0, "")
1614
- },
1615
- {
1616
- json: "voteRefs",
1617
- js: "voteRefs",
1618
- typ: t(void 0, I(""))
1619
- }
1620
- ],
1621
- !1
1622
- ),
1623
- LibelleActe: A(
1624
- [
1625
- { json: "nomCanonique", js: "nomCanonique", typ: "" },
1626
- { json: "libelleCourt", js: "libelleCourt", typ: t(void 0, "") }
1627
- ],
1628
- !1
1629
- ),
1630
- Rapporteur: A(
1631
- [
1632
- { json: "acteurRef", js: "acteurRef", typ: "" },
1633
- { json: "typeRapporteur", js: "typeRapporteur", typ: r("Qualite") },
1634
- { json: "etudePlfRef", js: "etudePlfRef", typ: t(void 0, "") }
1635
- ],
1636
- !1
1637
- ),
1638
- FamCodeEtLibelle: A(
1639
- [
1640
- { json: "famCode", js: "famCode", typ: "" },
1641
- { json: "libelle", js: "libelle", typ: "" }
1642
- ],
1643
- !1
1644
- ),
1645
- TexteAssocie: A(
1646
- [
1647
- { json: "typeTexte", js: "typeTexte", typ: r("TypeTexte") },
1648
- { json: "texteAssocieRef", js: "texteAssocieRef", typ: "" }
1649
- ],
1650
- !1
1651
- ),
1652
- ContributionInternaute: A(
1653
- [
1654
- { json: "dateOuverture", js: "dateOuverture", typ: t(void 0, "") },
1655
- { json: "dateFermeture", js: "dateFermeture", typ: t(void 0, "") }
1656
- ],
1657
- !1
1658
- ),
1659
- InfoJoce: A(
1660
- [
1661
- { json: "refJoce", js: "refJoce", typ: "" },
1662
- { json: "dateJoce", js: "dateJoce", typ: "" }
1663
- ],
1664
- !1
1665
- ),
1666
- InitiateurActeur: A(
1667
- [
1668
- { json: "acteurRef", js: "acteurRef", typ: "" },
1669
- { json: "mandatRef", js: "mandatRef", typ: t(void 0, "") }
1670
- ],
1671
- !1
1672
- ),
1673
- TexteEuropeen: A(
1674
- [
1675
- { json: "typeTexteEuropeen", js: "typeTexteEuropeen", typ: "" },
1676
- { json: "titreTexteEuropeen", js: "titreTexteEuropeen", typ: "" }
1677
- ],
1678
- !1
1679
- ),
1680
- InfoJo: A(
1681
- [
1682
- { json: "typeJo", js: "typeJo", typ: r("TypeJo") },
1683
- { json: "dateJo", js: "dateJo", typ: "" },
1684
- { json: "numJo", js: "numJo", typ: "" },
1685
- { json: "urlLegifrance", js: "urlLegifrance", typ: t(void 0, "") },
1686
- { json: "referenceNor", js: "referenceNor", typ: t(void 0, "") }
1687
- ],
1688
- !1
1689
- ),
1690
- FusionDossier: A(
1691
- [
1692
- { json: "cause", js: "cause", typ: r("Cause") },
1693
- { json: "dossierAbsorbantRef", js: "dossierAbsorbantRef", typ: "" }
1694
- ],
1695
- !1
1696
- ),
1697
- Indexation: A([{ json: "themes", js: "themes", typ: r("Themes") }], !1),
1698
- Themes: A(
1699
- [
1700
- { json: "@niveau", js: "@niveau", typ: "" },
1701
- { json: "theme", js: "theme", typ: r("Theme") }
1702
- ],
1703
- !1
1704
- ),
1705
- Theme: A([{ json: "libelleTheme", js: "libelleTheme", typ: "" }], !1),
1706
- Initiateur: A(
1707
- [
1708
- {
1709
- json: "acteurs",
1710
- js: "acteurs",
1711
- typ: t(void 0, I(r("InitiateurActeur")))
1712
- },
1713
- { json: "organeRef", js: "organeRef", typ: t(void 0, "") }
1714
- ],
1715
- !1
1716
- ),
1717
- ProcedureParlementaire: A(
1718
- [
1719
- { json: "code", js: "code", typ: "" },
1720
- { json: "libelle", js: "libelle", typ: "" }
1721
- ],
1722
- !1
1723
- ),
1724
- TitreDossier: A(
1725
- [
1726
- { json: "titre", js: "titre", typ: "" },
1727
- { json: "titreChemin", js: "titreChemin", typ: t(void 0, "") },
1728
- { json: "senatChemin", js: "senatChemin", typ: t(void 0, "") }
1729
- ],
1730
- !1
1731
- ),
1732
- TexteExterneAssocie: A(
1733
- [
1734
- { json: "typeDoc", js: "typeDoc", typ: r("TexteExterneAssocieTypeDoc") },
1735
- { json: "texteRef", js: "texteRef", typ: "" },
1736
- { json: "titreDoc", js: "titreDoc", typ: "" },
1737
- { json: "urlDoc", js: "urlDoc", typ: "" }
1738
- ],
1739
- !1
1740
- ),
1741
- Document: A(
1742
- [
1743
- { json: "schemaVersion", js: "schemaVersion", typ: t(void 0, "") },
1744
- { json: "xsiType", js: "xsiType", typ: r("TypeDocument") },
1745
- { json: "uid", js: "uid", typ: "" },
1746
- { json: "legislature", js: "legislature", typ: t(void 0, "") },
1747
- { json: "cycleDeVie", js: "cycleDeVie", typ: r("CycleDeVieDocument") },
1748
- {
1749
- json: "denominationStructurelle",
1750
- js: "denominationStructurelle",
1751
- typ: r("DocumentDenominationStructurelle")
1752
- },
1753
- {
1754
- json: "provenance",
1755
- js: "provenance",
1756
- typ: t(void 0, r("Provenance"))
1757
- },
1758
- { json: "titres", js: "titres", typ: r("Titres") },
1759
- {
1760
- json: "divisions",
1761
- js: "divisions",
1762
- typ: t(void 0, I(r("Division")))
1763
- },
1764
- { json: "dossierRef", js: "dossierRef", typ: "" },
1765
- {
1766
- json: "classification",
1767
- js: "classification",
1768
- typ: r("Classification")
1769
- },
1770
- { json: "auteurs", js: "auteurs", typ: I(r("Auteur")) },
1771
- {
1772
- json: "correction",
1773
- js: "correction",
1774
- typ: t(void 0, r("Correction"))
1775
- },
1776
- { json: "notice", js: "notice", typ: r("Notice") },
1777
- {
1778
- json: "indexation",
1779
- js: "indexation",
1780
- typ: t(void 0, r("Indexation"))
1781
- },
1782
- {
1783
- json: "imprimerie",
1784
- js: "imprimerie",
1785
- typ: t(void 0, r("Imprimerie"))
1786
- },
1787
- {
1788
- json: "coSignataires",
1789
- js: "coSignataires",
1790
- typ: t(void 0, I(r("CoSignataireElement")))
1791
- },
1792
- {
1793
- json: "depotAmendements",
1794
- js: "depotAmendements",
1795
- typ: t(void 0, r("DepotAmendements"))
1796
- },
1797
- {
1798
- json: "organesReferents",
1799
- js: "organesReferents",
1800
- typ: t(void 0, I(""))
1801
- },
1802
- { json: "rapportPublie", js: "rapportPublie", typ: t(void 0, !1) },
1803
- {
1804
- json: "subdivisions",
1805
- js: "subdivisions",
1806
- typ: t(null, t(void 0, I(r("Subdivision"))))
1807
- }
1808
- ],
1809
- !1
1810
- ),
1811
- Subdivision: A(
1812
- [
1813
- { json: "id", js: "id", typ: "" },
1814
- { json: "type", js: "type", typ: t(void 0, "") },
1815
- { json: "niveau", js: "niveau", typ: 0 },
1816
- { json: "niveauRelatif", js: "niveauRelatif", typ: 0 },
1817
- {
1818
- json: "titres",
1819
- js: "titres",
1820
- typ: t(null, I(r("ContenuSubdivision")))
1821
- },
1822
- {
1823
- json: "alineas",
1824
- js: "alineas",
1825
- typ: t(null, I(r("ContenuSubdivision")))
1826
- }
1827
- ],
1828
- !1
1829
- ),
1830
- ContenuSubdivision: A(
1831
- [
1832
- { json: "texte", js: "texte", typ: t(void 0, "") },
1833
- { json: "html", js: "html", typ: t(void 0, "") }
1834
- ],
1835
- !1
1836
- ),
1837
- Auteur: A(
1838
- [
1839
- { json: "acteur", js: "acteur", typ: t(void 0, r("AuteurActeur")) },
1840
- {
1841
- json: "organeRef",
1842
- js: "organeRef",
1843
- typ: t(void 0, "")
1844
- }
1845
- ],
1846
- !1
1847
- ),
1848
- AuteurActeur: A(
1849
- [
1850
- { json: "acteurRef", js: "acteurRef", typ: "" },
1851
- { json: "qualite", js: "qualite", typ: r("Qualite") }
1852
- ],
1853
- !1
1854
- ),
1855
- Classification: A(
1856
- [
1857
- { json: "famille", js: "famille", typ: t(void 0, r("Famille")) },
1858
- { json: "type", js: "type", typ: r("ProcedureParlementaire") },
1859
- { json: "sousType", js: "sousType", typ: t(void 0, r("SousType")) },
1860
- {
1861
- json: "statutAdoption",
1862
- js: "statutAdoption",
1863
- typ: t(void 0, r("StatutAdoption"))
1864
- }
1865
- ],
1866
- !1
1867
- ),
1868
- Famille: A(
1869
- [
1870
- { json: "depot", js: "depot", typ: r("ProcedureParlementaire") },
1871
- { json: "classe", js: "classe", typ: r("ProcedureParlementaire") },
1872
- {
1873
- json: "espece",
1874
- js: "espece",
1875
- typ: t(void 0, r("ProcedureParlementaire"))
1876
- }
1877
- ],
1878
- !1
1879
- ),
1880
- SousType: A(
1881
- [
1882
- { json: "code", js: "code", typ: "" },
1883
- { json: "libelle", js: "libelle", typ: t(void 0, "") },
1884
- { json: "libelleEdition", js: "libelleEdition", typ: t(void 0, "") }
1885
- ],
1886
- !1
1887
- ),
1888
- CoSignataireElement: A(
1889
- [
1890
- {
1891
- json: "acteurRef",
1892
- js: "acteurRef",
1893
- typ: t(void 0, "")
1894
- },
1895
- { json: "dateCosignature", js: "dateCosignature", typ: "" },
1896
- {
1897
- json: "dateRetraitCosignature",
1898
- js: "dateRetraitCosignature",
1899
- typ: t(void 0, "")
1900
- },
1901
- { json: "edite", js: "edite", typ: !1 },
1902
- {
1903
- json: "organe",
1904
- js: "organe",
1905
- typ: t(void 0, r("CoSignataireOrgane"))
1906
- }
1907
- ],
1908
- !1
1909
- ),
1910
- CoSignataireOrgane: A(
1911
- [
1912
- { json: "organeRef", js: "organeRef", typ: "" },
1913
- { json: "etApparentes", js: "etApparentes", typ: !1 }
1914
- ],
1915
- !1
1916
- ),
1917
- Correction: A(
1918
- [
1919
- {
1920
- json: "typeCorrection",
1921
- js: "typeCorrection",
1922
- typ: r("TypeCorrection")
1923
- },
1924
- {
1925
- json: "niveauCorrection",
1926
- js: "niveauCorrection",
1927
- typ: t(void 0, "")
1928
- }
1929
- ],
1930
- !1
1931
- ),
1932
- CycleDeVieDocument: A(
1933
- [{ json: "chrono", js: "chrono", typ: r("ChronoDocument") }],
1934
- !1
1935
- ),
1936
- ChronoDocument: A(
1937
- [
1938
- { json: "dateCreation", js: "dateCreation", typ: t(void 0, Date) },
1939
- { json: "dateDepot", js: "dateDepot", typ: t(void 0, Date) },
1940
- {
1941
- json: "datePublication",
1942
- js: "datePublication",
1943
- typ: t(void 0, Date)
1944
- },
1945
- {
1946
- json: "datePublicationWeb",
1947
- js: "datePublicationWeb",
1948
- typ: t(void 0, Date)
1949
- }
1950
- ],
1951
- !1
1952
- ),
1953
- DepotAmendements: A(
1954
- [
1955
- {
1956
- json: "amendementsSeance",
1957
- js: "amendementsSeance",
1958
- typ: r("AmendementsSeance")
1959
- },
1960
- {
1961
- json: "amendementsCommission",
1962
- js: "amendementsCommission",
1963
- typ: t(void 0, I(r("AmendementsCommission")))
1964
- }
1965
- ],
1966
- !1
1967
- ),
1968
- AmendementsCommission: A(
1969
- [
1970
- { json: "organeRef", js: "organeRef", typ: "" },
1971
- { json: "amendable", js: "amendable", typ: !1 }
1972
- ],
1973
- !1
1974
- ),
1975
- AmendementsSeance: A(
1976
- [{ json: "amendable", js: "amendable", typ: !1 }],
1977
- !1
1978
- ),
1979
- Division: A(
1980
- [
1981
- { json: "xsiType", js: "xsiType", typ: r("TypeDocument") },
1982
- { json: "uid", js: "uid", typ: "" },
1983
- { json: "legislature", js: "legislature", typ: t(void 0, "") },
1984
- { json: "cycleDeVie", js: "cycleDeVie", typ: r("CycleDeVieDocument") },
1985
- {
1986
- json: "denominationStructurelle",
1987
- js: "denominationStructurelle",
1988
- typ: ""
1989
- },
1990
- { json: "titres", js: "titres", typ: r("Titres") },
1991
- {
1992
- json: "divisions",
1993
- js: "divisions",
1994
- typ: t(void 0, I(r("Division")))
1995
- },
1996
- { json: "dossierRef", js: "dossierRef", typ: "" },
1997
- {
1998
- json: "classification",
1999
- js: "classification",
2000
- typ: r("Classification")
2001
- },
2002
- { json: "auteurs", js: "auteurs", typ: I(r("Auteur")) },
2003
- {
2004
- json: "organesReferents",
2005
- js: "organesReferents",
2006
- typ: t(void 0, I(""))
2007
- },
2008
- {
2009
- json: "correction",
2010
- js: "correction",
2011
- typ: t(void 0, r("Correction"))
2012
- },
2013
- { json: "notice", js: "notice", typ: r("Notice") },
2014
- {
2015
- json: "indexation",
2016
- js: "indexation",
2017
- typ: t(void 0, r("Indexation"))
2018
- },
2019
- {
2020
- json: "imprimerie",
2021
- js: "imprimerie",
2022
- typ: t(void 0, r("Imprimerie"))
2023
- },
2024
- { json: "rapportPublie", js: "rapportPublie", typ: t(void 0, !1) }
2025
- ],
2026
- !1
2027
- ),
2028
- Imprimerie: A(
2029
- [
2030
- { json: "dian", js: "dian", typ: t(void 0, "") },
2031
- { json: "isbn", js: "isbn", typ: t(void 0, "") },
2032
- { json: "issn", js: "issn", typ: t(void 0, "") },
2033
- { json: "nbPage", js: "nbPage", typ: t(void 0, "") },
2034
- { json: "prix", js: "prix", typ: t(void 0, "") }
2035
- ],
2036
- !1
2037
- ),
2038
- Notice: A(
2039
- [
2040
- { json: "numNotice", js: "numNotice", typ: t(void 0, "") },
2041
- { json: "formule", js: "formule", typ: t(void 0, "") },
2042
- { json: "adoptionConforme", js: "adoptionConforme", typ: !1 }
2043
- ],
2044
- !1
2045
- ),
2046
- Titres: A(
2047
- [
2048
- { json: "titrePrincipal", js: "titrePrincipal", typ: "" },
2049
- { json: "titrePrincipalCourt", js: "titrePrincipalCourt", typ: "" }
2050
- ],
2051
- !1
2052
- ),
2053
- DossierParlementaireXsiType: [
2054
- "DossierCommissionEnquete_Type",
2055
- "DossierIniativeExecutif_Type",
2056
- "DossierLegislatif_Type",
2057
- "DossierMissionControle_Type",
2058
- "DossierMissionInformation_Type",
2059
- "DossierResolutionAN"
2060
- ],
2061
- TypeBudget: [
2062
- "Budget annexe",
2063
- "Budget général",
2064
- "Compte de concours financier",
2065
- "Compte spécial",
2066
- "Première partie"
2067
- ],
2068
- TypeMission: [
2069
- "mission principale",
2070
- "mission secondaire",
2071
- "partie de mission"
2072
- ],
2073
- Qualite: [
2074
- "auteur",
2075
- "cosignataire",
2076
- "rapporteur",
2077
- "rapporteur général",
2078
- "rapporteur pour avis",
2079
- "rapporteur spécial"
2080
- ],
2081
- TypeActeLegislatif: [
2082
- "Adoption_Europe_Type",
2083
- "ConclusionEtapeCC_Type",
2084
- "ConvocationCongres_Type",
2085
- "CreationOrganeTemporaire_Type",
2086
- "DecisionMotionCensure_Type",
2087
- "DecisionRecevabiliteBureau_Type",
2088
- "Decision_Type",
2089
- "DeclarationGouvernement_Type",
2090
- "DepotAccordInternational_Type",
2091
- "DepotAvisConseilEtat_Type",
2092
- "DepotInitiativeNavette_Type",
2093
- "DepotInitiative_Type",
2094
- "DepotLettreRectificative_Type",
2095
- "DepotMotionCensure_Type",
2096
- "DepotMotionReferendaire_Type",
2097
- "DepotRapport_Type",
2098
- "DiscussionCommission_Type",
2099
- "DiscussionSeancePublique_Type",
2100
- "Etape_Type",
2101
- "EtudeImpact_Type",
2102
- "MotionProcedure_Type",
2103
- "NominRapporteurs_Type",
2104
- "ProcedureAccelere_Type",
2105
- "Promulgation_Type",
2106
- "RenvoiCMP_Type",
2107
- "RenvoiPrealable_Type",
2108
- "RetraitInitiative_Type",
2109
- "SaisieComAvis_Type",
2110
- "SaisieComFond_Type",
2111
- "SaisineConseilConstit_Type"
2112
- ],
2113
- CodeActe: Object.values(ve),
2114
- TypeTexte: ["BTA", "TAP"],
2115
- Motif: ["En application de l'article 61§2 de la Constitution"],
2116
- TypeJo: ["JO_LOI_DECRET"],
2117
- Cause: ["Dossier absorbé", "Examen commun"],
2118
- TexteExterneAssocieTypeDoc: ["Décret"],
2119
- TypeDocument: [
2120
- "accordInternational_Type",
2121
- "avisConseilEtat_Type",
2122
- "documentEtudeImpact_Type",
2123
- "rapportParlementaire_Type",
2124
- "texteLoi_Type"
2125
- ],
2126
- StatutAdoption: ["ADOPTCOM", "ADOPTSEANCE", "REJETSEANCE"],
2127
- TypeCorrection: ["Rectifié"],
2128
- DocumentDenominationStructurelle: [
2129
- "Allocution",
2130
- "Avis",
2131
- "Déclaration",
2132
- "Lettre",
2133
- "Message",
2134
- "Motion",
2135
- "Projet de loi",
2136
- "Proposition de loi",
2137
- "Proposition de résolution",
2138
- "Rapport",
2139
- "Rapport d'information",
2140
- "Résolution"
2141
- ],
2142
- Provenance: ["Commission", "Séance", "Texte Déposé"]
2143
- };
2144
- var v = /* @__PURE__ */ ((e) => (e[e.Quatorze = 14] = "Quatorze", e[e.Quinze = 15] = "Quinze", e[e.Seize = 16] = "Seize", e[e.DixSept = 17] = "DixSept", e[e.DixHuit = 18] = "DixHuit", e[e.All = 0] = "All", e))(v || {}), fn = /* @__PURE__ */ ((e) => (e.JoQuestion = "JO_QUESTION", e.JoLoiDecret = "JO_LOI_DECRET", e.JoDebate = "JO_DEBAT", e))(fn || {}), yn = /* @__PURE__ */ ((e) => (e.Qe = "QE", e.Qg = "QG", e.Qosd = "QOSD", e))(yn || {});
2145
- let Bn = class {
2146
- static toQuestions(n) {
2147
- return ce(JSON.parse(n), N("Questions"));
2148
- }
2149
- static questionsToJson(n) {
2150
- return JSON.stringify(fe(n, N("Questions")), null, 2);
2151
- }
2152
- static toQuestion(n) {
2153
- return ce(JSON.parse(n), N("Question"));
2154
- }
2155
- static questionToJson(n) {
2156
- return JSON.stringify(fe(n, N("Question")), null, 2);
2157
- }
2158
- };
2159
- function G(e, n, s = "") {
2160
- throw Error(
2161
- s ? `Invalid value for key "${s}". Expected type ${JSON.stringify(
2162
- e
2163
- )} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
2164
- );
2165
- }
2166
- function An(e) {
2167
- if (e.jsonToJS === void 0) {
2168
- const n = {};
2169
- e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
2170
- }
2171
- return e.jsonToJS;
2172
- }
2173
- function Sn(e) {
2174
- if (e.jsToJSON === void 0) {
2175
- const n = {};
2176
- e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
2177
- }
2178
- return e.jsToJSON;
2179
- }
2180
- function ee(e, n, s, b = "") {
2181
- function R(i, o) {
2182
- return typeof i == typeof o ? o : G(i, o, b);
2183
- }
2184
- function J(i, o) {
2185
- const a = i.length;
2186
- for (let m = 0; m < a; m++) {
2187
- const l = i[m];
2188
- try {
2189
- return ee(o, l, s);
2190
- } catch {
2191
- }
2192
- }
2193
- return G(i, o);
2194
- }
2195
- function L(i, o) {
2196
- return i.indexOf(o) !== -1 ? o : G(i, o);
2197
- }
2198
- function X(i, o) {
2199
- return Array.isArray(o) ? o.map((a) => ee(a, i, s)) : G("array", o);
2200
- }
2201
- function $(i) {
2202
- if (i === null)
2203
- return null;
2204
- const o = new Date(i);
2205
- return isNaN(o.valueOf()) ? G("Date", i) : o;
2206
- }
2207
- function w(i, o, a) {
2208
- if (a === null || typeof a != "object" || Array.isArray(a))
2209
- return G("object", a);
2210
- const m = {};
2211
- return Object.getOwnPropertyNames(i).forEach((l) => {
2212
- const _ = i[l], C = Object.prototype.hasOwnProperty.call(a, l) ? a[l] : void 0;
2213
- m[_.key] = ee(C, _.typ, s, _.key);
2214
- }), Object.getOwnPropertyNames(a).forEach((l) => {
2215
- Object.prototype.hasOwnProperty.call(i, l) || (m[l] = ee(a[l], o, s, l));
2216
- }), m;
2217
- }
2218
- if (n === "any") return e;
2219
- if (n === null)
2220
- return e === null ? e : G(n, e);
2221
- if (n === !1) return G(n, e);
2222
- for (; typeof n == "object" && n.ref !== void 0; )
2223
- n = vn[n.ref];
2224
- return Array.isArray(n) ? L(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? J(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? X(n.arrayItems, e) : n.hasOwnProperty("props") ? w(s(n), n.additional, e) : G(n, e) : n === Date && typeof e != "number" ? $(e) : R(n, e);
2225
- }
2226
- function ce(e, n) {
2227
- return ee(e, n, An);
2228
- }
2229
- function fe(e, n) {
2230
- return ee(e, n, Sn);
2231
- }
2232
- function se(e) {
2233
- return { arrayItems: e };
2234
- }
2235
- function T(...e) {
2236
- return { unionMembers: e };
2237
- }
2238
- function P(e, n) {
2239
- return { props: e, additional: n };
2240
- }
2241
- function N(e) {
2242
- return { ref: e };
2243
- }
2244
- const vn = {
2245
- Questions: P(
2246
- [{ json: "questions", js: "questions", typ: se(N("Question")) }],
2247
- !1
2248
- ),
2249
- Question: P(
2250
- [
2251
- { json: "schemaVersion", js: "schemaVersion", typ: T(void 0, "") },
2252
- { json: "@xsi:type", js: "@xsi:type", typ: N("QuestionXsiType") },
2253
- { json: "uid", js: "uid", typ: "" },
2254
- { json: "identifiant", js: "identifiant", typ: N("Identifiant") },
2255
- { json: "type", js: "type", typ: N("TypeQuestion") },
2256
- { json: "indexationAN", js: "indexationAN", typ: N("IndexationAn") },
2257
- { json: "auteur", js: "auteur", typ: N("AuteurQuestion") },
2258
- { json: "minInt", js: "minInt", typ: N("Groupe") },
2259
- { json: "minAttribs", js: "minAttribs", typ: N("MinAttribs") },
2260
- {
2261
- json: "textesQuestion",
2262
- js: "textesQuestion",
2263
- typ: T(N("TextesQuestion"), null, void 0)
2264
- },
2265
- {
2266
- json: "textesReponse",
2267
- js: "textesReponse",
2268
- typ: T(N("TextesReponse"), null, void 0)
2269
- },
2270
- { json: "cloture", js: "cloture", typ: T(N("Cloture"), null, void 0) },
2271
- {
2272
- json: "signalement",
2273
- js: "signalement",
2274
- typ: T(N("Signalement"), null, void 0)
2275
- },
2276
- {
2277
- json: "renouvellements",
2278
- js: "renouvellements",
2279
- typ: T(N("Renouvellements"), null, void 0)
2280
- }
2281
- ],
2282
- !1
2283
- ),
2284
- AuteurQuestion: P(
2285
- [
2286
- { json: "identite", js: "identite", typ: N("IdentiteAuteurQuestion") },
2287
- { json: "groupe", js: "groupe", typ: N("Groupe") }
2288
- ],
2289
- !1
2290
- ),
2291
- Groupe: P(
2292
- [
2293
- { json: "organeRef", js: "organeRef", typ: "" },
2294
- { json: "abrege", js: "abrege", typ: "" },
2295
- { json: "developpe", js: "developpe", typ: "" }
2296
- ],
2297
- !1
2298
- ),
2299
- IdentiteAuteurQuestion: P(
2300
- [
2301
- { json: "acteurRef", js: "acteurRef", typ: "" },
2302
- { json: "mandatRef", js: "mandatRef", typ: "" }
2303
- ],
2304
- !1
2305
- ),
2306
- Cloture: P(
2307
- [
2308
- { json: "codeCloture", js: "codeCloture", typ: "" },
2309
- {
2310
- json: "libelleCloture",
2311
- js: "libelleCloture",
2312
- typ: ""
2313
- },
2314
- { json: "dateCloture", js: "dateCloture", typ: T(Date, null) },
2315
- { json: "infoJO", js: "infoJO", typ: T(N("InfoJoQuestion"), null) }
2316
- ],
2317
- !1
2318
- ),
2319
- Identifiant: P(
2320
- [
2321
- { json: "numero", js: "numero", typ: "" },
2322
- { json: "regime", js: "regime", typ: "" },
2323
- { json: "legislature", js: "legislature", typ: "" }
2324
- ],
2325
- !1
2326
- ),
2327
- IndexationAn: P(
2328
- [
2329
- { json: "rubrique", js: "rubrique", typ: T("", null) },
2330
- { json: "teteAnalyse", js: "teteAnalyse", typ: null },
2331
- { json: "analyses", js: "analyses", typ: N("Analyse") }
2332
- ],
2333
- !1
2334
- ),
2335
- Analyse: P([{ json: "analyse", js: "analyse", typ: T("", null) }], !1),
2336
- MinAttribs: P(
2337
- [
2338
- {
2339
- json: "minAttrib",
2340
- js: "minAttrib",
2341
- typ: T(se(N("MinAttribElement")), N("MinAttribElement"))
2342
- }
2343
- ],
2344
- !1
2345
- ),
2346
- MinAttribElement: P(
2347
- [
2348
- { json: "infoJO", js: "infoJO", typ: N("InfoJoQuestion") },
2349
- { json: "denomination", js: "denomination", typ: N("Groupe") }
2350
- ],
2351
- !1
2352
- ),
2353
- InfoJoQuestion: P(
2354
- [
2355
- { json: "typeJO", js: "typeJO", typ: T(N("TypeJoQuestion"), null) },
2356
- { json: "dateJO", js: "dateJO", typ: "" },
2357
- { json: "pageJO", js: "pageJO", typ: T("", null) },
2358
- { json: "numJO", js: "numJO", typ: T("", null) },
2359
- { json: "urlLegifrance", js: "urlLegifrance", typ: T("", null) },
2360
- { json: "referenceNOR", js: "referenceNOR", typ: T("", null) }
2361
- ],
2362
- !1
2363
- ),
2364
- TextesQuestion: P(
2365
- [
2366
- {
2367
- json: "texteQuestion",
2368
- js: "texteQuestion",
2369
- typ: T(se(N("TexteQuestion")), N("TexteQuestion"))
2370
- }
2371
- ],
2372
- !1
2373
- ),
2374
- TexteQuestion: P(
2375
- [
2376
- { json: "infoJO", js: "infoJO", typ: N("InfoJoQuestion") },
2377
- { json: "texte", js: "texte", typ: T("", null) },
2378
- { json: "erratum", js: "erratum", typ: T(void 0, "") }
2379
- ],
2380
- !1
2381
- ),
2382
- TextesReponse: P(
2383
- [
2384
- {
2385
- json: "texteReponse",
2386
- js: "texteReponse",
2387
- typ: T(se(N("TexteQuestion")), N("TexteQuestion"))
2388
- }
2389
- ],
2390
- !1
2391
- ),
2392
- Signalement: P(
2393
- [
2394
- { json: "infoJO", js: "infoJO", typ: N("InfoJoQuestion") },
2395
- { json: "dateDepotSignal", js: "dateDepotSignal", typ: "" }
2396
- ],
2397
- !1
2398
- ),
2399
- Renouvellements: P(
2400
- [
2401
- {
2402
- json: "renouvellement",
2403
- js: "renouvellement",
2404
- typ: T(se(N("Renouvellement")), N("Renouvellement"))
2405
- }
2406
- ],
2407
- !1
2408
- ),
2409
- Renouvellement: P(
2410
- [{ json: "infoJO", js: "infoJO", typ: N("InfoJoQuestion") }],
2411
- !1
2412
- ),
2413
- QuestionXsiType: [
2414
- "QuestionEcrite_Type",
2415
- "QuestionGouvernement_Type",
2416
- "QuestionOrale_Type"
2417
- ],
2418
- TypeJoQuestion: ["JO_QUESTION", "JO_LOI_DECRET", "JO_DEBAT"],
2419
- TypeQuestion: ["QE", "QG", "QOSD"]
2420
- };
2421
- var Nn = /* @__PURE__ */ ((e) => (e.DecompteDissidentsPositionGroupe = "DecompteDissidentsPositionGroupe", e.DecompteNominatif = "DecompteNominatif", e))(Nn || {}), _n = /* @__PURE__ */ ((e) => (e.Adopté = "adopté", e.Rejeté = "rejeté", e))(_n || {}), Dn = /* @__PURE__ */ ((e) => (e.LAssembléeNationaleAAdopté = "l'Assemblée nationale a adopté", e.LAssembléeNationaleNAPasAdopté = "L'Assemblée nationale n'a pas adopté", e.LeCongrèsDuParlementAAdopté = "Le Congrès du Parlement a adopté", e.LeCongrèsDuParlementNAPasAdopté = "Le Congrès du Parlement n'a pas adopté", e))(Dn || {}), On = /* @__PURE__ */ ((e) => (e.Moc = "MOC", e.Sat = "SAT", e.Spo = "SPO", e.Sps = "SPS", e.Ssg = "SSG", e))(On || {}), En = /* @__PURE__ */ ((e) => (e.MotionDeCensure = "motion de censure", e.ScrutinPublicOrdinaire = "scrutin public ordinaire", e.ScrutinPublicSolennel = "scrutin public solennel", e.ScrutinÀLaTribune = "scrutin à la tribune", e.ScrutinSolennelCongrès = "Scrutin solennel congrès", e))(En || {}), gn = /* @__PURE__ */ ((e) => (e.MajoritéAbsolueDesSuffragesExprimés = "Majorité absolue des suffrages exprimés", e.majoritéAbsolueDesSuffragesExprimés = "majorité absolue des suffrages exprimés", e.majoritéDesMembresComposantLAssembléeNationale = "majorité des membres composant l'Assemblée nationale", e.majoritéDesMembresComposantsComposantLAssemblée = "majorité des membres composants composant l'Assemblée", e.majoritéDesMembresComposantsComposantLAssembléeNationale = "majorité des membres composants composant l'Assemblée nationale", e.MajoritéRequisePourUnCongrès = "Majorité requise pour un Congrès", e.MajoritéRequisePourUneMotionDeCensure = "Majorité requise pour une motion de censure", e))(gn || {}), In = /* @__PURE__ */ ((e) => (e.Mg = "MG", e.Pan = "PAN", e.Pse = "PSE", e))(In || {}), bn = /* @__PURE__ */ ((e) => (e.Abstention = "abstention", e.Contre = "contre", e.Pour = "pour", e))(bn || {}), Rn = /* @__PURE__ */ ((e) => (e.Congrès = "Congrès", e.Hémicycle = "Hémicycle", e.Salons = "Salons", e))(Rn || {});
2422
- class zn {
2423
- static toScrutins(n) {
2424
- return ye(JSON.parse(n), S("Scrutins"));
2425
- }
2426
- static scrutinsToJson(n) {
2427
- return JSON.stringify(Ae(n, S("Scrutins")), null, 2);
2428
- }
2429
- static toScrutin(n) {
2430
- return ye(JSON.parse(n), S("Scrutin"));
2431
- }
2432
- static scrutinToJson(n) {
2433
- return JSON.stringify(Ae(n, S("Scrutin")), null, 2);
2434
- }
2435
- }
2436
- function H(e, n, s = "") {
2437
- throw Error(
2438
- s ? `Invalid value for key "${s}". Expected type ${JSON.stringify(
2439
- e
2440
- )} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
2441
- );
2442
- }
2443
- function Cn(e) {
2444
- if (e.jsonToJS === void 0) {
2445
- const n = {};
2446
- e.props.forEach((s) => n[s.json] = { key: s.js, typ: s.typ }), e.jsonToJS = n;
2447
- }
2448
- return e.jsonToJS;
2449
- }
2450
- function Tn(e) {
2451
- if (e.jsToJSON === void 0) {
2452
- const n = {};
2453
- e.props.forEach((s) => n[s.js] = { key: s.json, typ: s.typ }), e.jsToJSON = n;
2454
- }
2455
- return e.jsToJSON;
2456
- }
2457
- function ne(e, n, s, b = "") {
2458
- function R(i, o) {
2459
- return typeof i == typeof o ? o : H(i, o, b);
2460
- }
2461
- function J(i, o) {
2462
- const a = i.length;
2463
- for (let m = 0; m < a; m++) {
2464
- const l = i[m];
2465
- try {
2466
- return ne(o, l, s);
2467
- } catch {
2468
- }
2469
- }
2470
- return H(i, o);
2471
- }
2472
- function L(i, o) {
2473
- return i.indexOf(o) !== -1 ? o : H(i, o);
2474
- }
2475
- function X(i, o) {
2476
- return Array.isArray(o) ? o.map((a) => ne(a, i, s)) : H("array", o);
2477
- }
2478
- function $(i) {
2479
- if (i === null)
2480
- return null;
2481
- const o = new Date(i);
2482
- return isNaN(o.valueOf()) ? H("Date", i) : o;
2483
- }
2484
- function w(i, o, a) {
2485
- if (a === null || typeof a != "object" || Array.isArray(a))
2486
- return H("object", a);
2487
- const m = {};
2488
- return Object.getOwnPropertyNames(i).forEach((l) => {
2489
- const _ = i[l], C = Object.prototype.hasOwnProperty.call(a, l) ? a[l] : void 0;
2490
- m[_.key] = ne(C, _.typ, s, _.key);
2491
- }), Object.getOwnPropertyNames(a).forEach((l) => {
2492
- Object.prototype.hasOwnProperty.call(i, l) || (m[l] = ne(a[l], o, s, l));
2493
- }), m;
2494
- }
2495
- if (n === "any") return e;
2496
- if (n === null)
2497
- return e === null ? e : H(n, e);
2498
- for (; typeof n == "object" && n.ref !== void 0; )
2499
- n = Mn[n.ref];
2500
- return Array.isArray(n) ? L(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? J(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? X(n.arrayItems, e) : n.hasOwnProperty("props") ? w(s(n), n.additional, e) : H(n, e) : n === Date && typeof e != "number" ? $(e) : R(n, e);
2501
- }
2502
- function ye(e, n) {
2503
- return ne(e, n, Cn);
2504
- }
2505
- function Ae(e, n) {
2506
- return ne(e, n, Tn);
2507
- }
2508
- function x(e) {
2509
- return { arrayItems: e };
2510
- }
2511
- function E(...e) {
2512
- return { unionMembers: e };
2513
- }
2514
- function h(e, n) {
2515
- return { props: e, additional: n };
2516
- }
2517
- function S(e) {
2518
- return { ref: e };
2519
- }
2520
- const Mn = {
2521
- Scrutins: h(
2522
- [{ json: "scrutins", js: "scrutins", typ: x(S("Scrutin")) }],
2523
- !1
2524
- ),
2525
- Scrutin: h(
2526
- [
2527
- { json: "schemaVersion", js: "schemaVersion", typ: E(void 0, "") },
2528
- { json: "uid", js: "uid", typ: "" },
2529
- { json: "numero", js: "numero", typ: "" },
2530
- { json: "organeRef", js: "organeRef", typ: "" },
2531
- { json: "legislature", js: "legislature", typ: "" },
2532
- { json: "sessionRef", js: "sessionRef", typ: "" },
2533
- { json: "seanceRef", js: "seanceRef", typ: "" },
2534
- { json: "dateScrutin", js: "dateScrutin", typ: Date },
2535
- { json: "quantiemeJourSeance", js: "quantiemeJourSeance", typ: "" },
2536
- { json: "typeVote", js: "typeVote", typ: S("TypeVote") },
2537
- { json: "sort", js: "sort", typ: S("SortScrutin") },
2538
- { json: "titre", js: "titre", typ: "" },
2539
- { json: "demandeur", js: "demandeur", typ: S("Demandeur") },
2540
- { json: "objet", js: "objet", typ: S("ObjetVote") },
2541
- {
2542
- json: "modePublicationDesVotes",
2543
- js: "modePublicationDesVotes",
2544
- typ: S("ModePublicationDesVotes")
2545
- },
2546
- { json: "syntheseVote", js: "syntheseVote", typ: S("SyntheseVote") },
2547
- {
2548
- json: "ventilationVotes",
2549
- js: "ventilationVotes",
2550
- typ: S("VentilationVotes")
2551
- },
2552
- {
2553
- json: "miseAuPoint",
2554
- js: "miseAuPoint",
2555
- typ: E(void 0, S("MiseAuPoint"))
2556
- },
2557
- { json: "lieuVote", js: "lieuVote", typ: E(void 0, S("LieuVote")) }
2558
- ],
2559
- !1
2560
- ),
2561
- Demandeur: h([{ json: "texte", js: "texte", typ: E(void 0, "") }], !1),
2562
- MiseAuPoint: h(
2563
- [
2564
- {
2565
- json: "nonVotants",
2566
- js: "nonVotants",
2567
- typ: E(void 0, x(S("Votant")))
2568
- },
2569
- {
2570
- json: "pour",
2571
- js: "pour",
2572
- typ: E(void 0, x(S("Votant")))
2573
- },
2574
- {
2575
- json: "contre",
2576
- js: "contre",
2577
- typ: E(void 0, x(S("Votant")))
2578
- },
2579
- {
2580
- json: "abstentions",
2581
- js: "abstentions",
2582
- typ: E(void 0, x(S("Votant")))
2583
- },
2584
- {
2585
- json: "nonVotantsVolontaires",
2586
- js: "nonVotantsVolontaires",
2587
- typ: E(void 0, x(S("Votant")))
2588
- },
2589
- {
2590
- json: "dysfonctionnement",
2591
- js: "dysfonctionnement",
2592
- typ: E(void 0, S("Dysfonctionnement"))
2593
- }
2594
- ],
2595
- !1
2596
- ),
2597
- Dysfonctionnement: h(
2598
- [
2599
- {
2600
- json: "nonVotants",
2601
- js: "nonVotants",
2602
- typ: E(void 0, x(S("Votant")))
2603
- },
2604
- {
2605
- json: "pour",
2606
- js: "pour",
2607
- typ: E(void 0, x(S("Votant")))
2608
- },
2609
- {
2610
- json: "contre",
2611
- js: "contre",
2612
- typ: E(void 0, x(S("Votant")))
2613
- },
2614
- {
2615
- json: "abstentions",
2616
- js: "abstentions",
2617
- typ: E(void 0, x(S("Votant")))
2618
- },
2619
- {
2620
- json: "nonVotantsVolontaires",
2621
- js: "nonVotantsVolontaires",
2622
- typ: E(void 0, x(S("Votant")))
2623
- }
2624
- ],
2625
- !1
2626
- ),
2627
- ObjetVote: h([{ json: "libelle", js: "libelle", typ: "" }], !1),
2628
- SortScrutin: h(
2629
- [
2630
- { json: "code", js: "code", typ: S("CodeSortScrutin") },
2631
- { json: "libelle", js: "libelle", typ: S("LibelleSortScrutin") }
2632
- ],
2633
- !1
2634
- ),
2635
- SyntheseVote: h(
2636
- [
2637
- { json: "nombreVotants", js: "nombreVotants", typ: "" },
2638
- { json: "suffragesExprimes", js: "suffragesExprimes", typ: "" },
2639
- { json: "nbrSuffragesRequis", js: "nbrSuffragesRequis", typ: "" },
2640
- { json: "annonce", js: "annonce", typ: S("LibelleSortScrutin") },
2641
- { json: "decompte", js: "decompte", typ: S("DecompteVoix") }
2642
- ],
2643
- !1
2644
- ),
2645
- TypeVote: h(
2646
- [
2647
- { json: "codeTypeVote", js: "codeTypeVote", typ: S("CodeTypeVote") },
2648
- {
2649
- json: "libelleTypeVote",
2650
- js: "libelleTypeVote",
2651
- typ: S("LibelleTypeVote")
2652
- },
2653
- { json: "typeMajorite", js: "typeMajorite", typ: S("TypeMajorite") }
2654
- ],
2655
- !1
2656
- ),
2657
- VentilationVotes: h(
2658
- [
2659
- { json: "organeRef", js: "organeRef", typ: "" },
2660
- { json: "groupes", js: "groupes", typ: x(S("VentilationVotesGroupe")) }
2661
- ],
2662
- !1
2663
- ),
2664
- VentilationVotesGroupe: h(
2665
- [
2666
- { json: "organeRef", js: "organeRef", typ: "" },
2667
- { json: "nombreMembresGroupe", js: "nombreMembresGroupe", typ: "" },
2668
- { json: "vote", js: "vote", typ: S("Vote") }
2669
- ],
2670
- !1
2671
- ),
2672
- Vote: h(
2673
- [
2674
- {
2675
- json: "positionMajoritaire",
2676
- js: "positionMajoritaire",
2677
- typ: S("PositionMajoritaire")
2678
- },
2679
- { json: "decompteVoix", js: "decompteVoix", typ: S("DecompteVoix") },
2680
- {
2681
- json: "decompteNominatif",
2682
- js: "decompteNominatif",
2683
- typ: S("DecompteNominatif")
2684
- }
2685
- ],
2686
- !1
2687
- ),
2688
- DecompteNominatif: h(
2689
- [
2690
- {
2691
- json: "nonVotants",
2692
- js: "nonVotants",
2693
- typ: E(void 0, x(S("Votant")))
2694
- },
2695
- {
2696
- json: "pour",
2697
- js: "pour",
2698
- typ: E(void 0, x(S("Votant")))
2699
- },
2700
- {
2701
- json: "contre",
2702
- js: "contre",
2703
- typ: E(void 0, x(S("Votant")))
2704
- },
2705
- {
2706
- json: "abstentions",
2707
- js: "abstentions",
2708
- typ: E(void 0, x(S("Votant")))
2709
- }
2710
- ],
2711
- !1
2712
- ),
2713
- Votant: h(
2714
- [
2715
- { json: "acteurRef", js: "acteurRef", typ: "" },
2716
- { json: "mandatRef", js: "mandatRef", typ: "" },
2717
- { json: "parDelegation", js: "parDelegation", typ: E(void 0, !1) },
2718
- { json: "numPlace", js: "numPlace", typ: E(void 0, 0) },
2719
- {
2720
- json: "causePositionVote",
2721
- js: "causePositionVote",
2722
- typ: E(void 0, S("CausePositionVote"))
2723
- }
2724
- ],
2725
- !1
2726
- ),
2727
- DecompteVoix: h(
2728
- [
2729
- { json: "pour", js: "pour", typ: "" },
2730
- { json: "contre", js: "contre", typ: "" },
2731
- { json: "nonVotants", js: "nonVotants", typ: E(void 0, "") },
2732
- { json: "abstentions", js: "abstentions", typ: E(void 0, "") },
2733
- {
2734
- json: "nonVotantsVolontaires",
2735
- js: "nonVotantsVolontaires",
2736
- typ: E(void 0, "")
2737
- }
2738
- ],
2739
- !1
2740
- ),
2741
- ModePublicationDesVotes: [
2742
- "DecompteDissidentsPositionGroupe",
2743
- "DecompteNominatif"
2744
- ],
2745
- CodeSortScrutin: ["adopté", "rejeté"],
2746
- LibelleSortScrutin: [
2747
- "l'Assemblée nationale a adopté",
2748
- "L'Assemblée nationale n'a pas adopté",
2749
- "Le Congrès du Parlement a adopté",
2750
- "Le Congrès du Parlement n'a pas adopté"
2751
- ],
2752
- CodeTypeVote: ["MOC", "SAT", "SPO", "SPS", "SSG"],
2753
- LibelleTypeVote: [
2754
- "motion de censure",
2755
- "scrutin public ordinaire",
2756
- "scrutin public solennel",
2757
- "scrutin à la tribune",
2758
- "Scrutin solennel congrès"
2759
- ],
2760
- TypeMajorite: [
2761
- "Majorité absolue des suffrages exprimés",
2762
- "majorité absolue des suffrages exprimés",
2763
- "majorité des membres composant l'Assemblée nationale",
2764
- "majorité des membres composants composant l'Assemblée",
2765
- "majorité des membres composants composant l'Assemblée nationale",
2766
- "Majorité requise pour un Congrès",
2767
- "Majorité requise pour une motion de censure"
2768
- ],
2769
- CausePositionVote: ["MG", "PAN", "PSE"],
2770
- PositionMajoritaire: ["abstention", "contre", "pour"],
2771
- LieuVote: ["Congrès", "Hémicycle", "Salons"]
2772
- }, Zn = /^((?<documentType>ACIN|ALCN|AVCE|AVIS|DECL|ETDI|LETT|MESS|MION|PION|PNRE|PRJL|RAPP|RINF|RION)(?<chambre>AN|CG|SN)(?<republique>R\d+)[LS](?<legislature>\d+)(?<etat>B|BTA|BTC|TAP)(?<numero>\d+)(-.*)?)|((?<documentType2>MION)(?<chambre2>AN|SN)(?<republique2>R\d+)[LS](?<legislature2>\d+)-N(?<numero2>\d+))$/, Hn = /^DL(R\d+)(L\d+)N(\d+)$/, Wn = /^RU(AN|CG|SN)(R\d+)(L\d+)([AS]\d{4})(IDC|IDFL?|IDS)(\d+)$/, Kn = /^VT(AN|CG)(R\d+)(L\d+)V(\d+)$/, Yn = /^CR(S|C)(AN|CG)(R\d+)(L\d+)(S\d+)((?:O|E|D|PO)\d+)(N\d+)$/, kn = /^QAN(R\d+)(L\d+)Q(E|G|OSD)(\d+)$/;
2773
- var Pn = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.ActeursEtOrganes = 1] = "ActeursEtOrganes", e[e.Agendas = 2] = "Agendas", e[e.Amendements = 4] = "Amendements", e[e.DossiersLegislatifs = 8] = "DossiersLegislatifs", e[e.Photos = 16] = "Photos", e[e.Scrutins = 32] = "Scrutins", e[e.Questions = 64] = "Questions", e[e.ComptesRendusSeances = 128] = "ComptesRendusSeances", e[e.ComptesRendusCommissions = 256] = "ComptesRendusCommissions", e[e.All = 511] = "All", e))(Pn || {});
2774
- async function g(e, n) {
2775
- const s = y.join(n, e.filename);
2776
- await d.pathExists(s) && await d.remove(s), await d.pathExists(y.join(n, `${e.filename}.temp`, "json")) ? await d.move(
2777
- y.join(n, `${e.filename}.temp`, "json"),
2778
- s
2779
- ) : await d.mkdir(s);
2780
- }
2781
- const es = {
2782
- acteursEtOrganes: [
2783
- {
2784
- // AMO10 (XVII)
2785
- //
2786
- // Contient les députés actifs
2787
- // * avec tous les mandats en cours
2788
- // * y compris avec leur parti politique (typeOrgane: "PARPOL")
2789
- // * mais sans les mandats achevés (y compris dans cette législature)
2790
- //
2791
- // Organes :
2792
- // * Contient seulement les organes correspondants aux mandats en cours
2793
- // * avec le xsiType de l'organe
2794
- // * avec des commissions sénatoriales (permanentes et spéciales) en cours
2795
- // * avec des délégations sénatoriales en cours
2796
- // * avec des groupes sénatoriaux en cours
2797
- // * avec des ministères en cours
2798
- // * avec les Présidences de la République (y compris Sarkozy)
2799
- // * avec le Conseil constitutionnel
2800
- //
2801
- // Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO20
2802
- // (qui est lui même un sous-ensemble de l'AMO30).
2803
- // Il n'apporte donc absolument rien par rapport à AMO20 ou l'AMO30.
2804
- filename: "AMO10_deputes_actifs_mandats_actifs_organes_XVII.json",
2805
- name: "AMO10_deputes_actifs_mandats_actifs_organes_XVII",
2806
- ignoreForWeb: !0,
2807
- legislature: v.DixSept,
2808
- repairZip: g,
2809
- structure: 1,
2810
- title: "Députés actifs et organes de la XVIIème législature",
2811
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/deputes_actifs_mandats_actifs_organes/AMO10_deputes_actifs_mandats_actifs_organes.json.zip"
2812
- },
2813
- {
2814
- // AMO10 (XVI)
2815
- //
2816
- // Contient les députés actifs
2817
- // * avec tous les mandats en cours
2818
- // * y compris avec leur parti politique (typeOrgane: "PARPOL")
2819
- // * mais sans les mandats achevés (y compris dans cette législature)
2820
- //
2821
- // Organes :
2822
- // * Contient seulement les organes correspondants aux mandats en cours
2823
- // * avec le xsiType de l'organe
2824
- // * avec des commissions sénatoriales (permanentes et spéciales) en cours
2825
- // * avec des délégations sénatoriales en cours
2826
- // * avec des groupes sénatoriaux en cours
2827
- // * avec des ministères en cours
2828
- // * avec les Présidences de la République (y compris Sarkozy)
2829
- // * avec le Conseil constitutionnel
2830
- //
2831
- // Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO20
2832
- // (qui est lui même un sous-ensemble de l'AMO30).
2833
- // Il n'apporte donc absolument rien par rapport à AMO20 ou l'AMO30.
2834
- filename: "AMO10_deputes_actifs_mandats_actifs_organes_XVI.json",
2835
- name: "AMO10_deputes_actifs_mandats_actifs_organes_XVI",
2836
- ignoreForWeb: !0,
2837
- legislature: v.Seize,
2838
- repairZip: g,
2839
- structure: 1,
2840
- title: "Députés actifs et organes de la XVIème législature",
2841
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/deputes_actifs_mandats_actifs_organes/AMO10_deputes_actifs_mandats_actifs_organes.json.zip"
2842
- },
2843
- {
2844
- // AMO10 (XV)
2845
- //
2846
- // Contient les députés actifs
2847
- // * avec tous les mandats en cours
2848
- // * y compris avec leur parti politique (typeOrgane: "PARPOL")
2849
- // * mais sans les mandats achevés (y compris dans cette législature)
2850
- //
2851
- // Organes :
2852
- // * Contient seulement les organes correspondants aux mandats en cours
2853
- // * avec le xsiType de l'organe
2854
- // * avec des commissions sénatoriales (permanentes et spéciales) en cours
2855
- // * avec des délégations sénatoriales en cours
2856
- // * avec des groupes sénatoriaux en cours
2857
- // * avec des ministères en cours
2858
- // * avec les Présidences de la République (y compris Sarkozy)
2859
- // * avec le Conseil constitutionnel
2860
- //
2861
- // Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO20
2862
- // (qui est lui même un sous-ensemble de l'AMO30).
2863
- // Il n'apporte donc absolument rien par rapport à AMO20 ou l'AMO30.
2864
- filename: "AMO10_deputes_actifs_mandats_actifs_organes_XV.json",
2865
- name: "AMO10_deputes_actifs_mandats_actifs_organes_XV",
2866
- ignoreForWeb: !0,
2867
- legislature: v.Quinze,
2868
- repairZip: g,
2869
- structure: 1,
2870
- title: "Députés actifs et organes de la XVème législature",
2871
- url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/deputes_actifs_mandats_actifs_organes/AMO10_deputes_actifs_mandats_actifs_organes_XV.json.zip"
2872
- },
2873
- {
2874
- // AMO20 (XVII)
2875
- //
2876
- // Contient les députés de la législature, actifs ou non (invalidés, etc), les sénateurs actuels
2877
- // Pour les députés :
2878
- // * avec tous leurs mandats de la législature
2879
- // * y compris les mandats achevés
2880
- // * y compris leurs partis politiques (typeOrgane: "PARPOL")
2881
- // * mais sans les mandats des législatures précédentes (qui sont dans AMO40)
2882
- //
2883
- // Contient tous les organes référencés par les mandats
2884
- // * avec le xsiType de l'organe
2885
- // * avec des commissions sénatoriales (permanentes et spéciales) en cours
2886
- // * avec des délégations sénatoriales en cours
2887
- // * avec des groupes sénatoriaux en cours
2888
- // * avec des ministères en cours
2889
- // * avec les Présidences de la République (y compris Sarkozy)
2890
- // * avec le Conseil constitutionnel
2891
- //
2892
- // Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO30.
2893
- // Il n'apporte donc absolument rien par rapport à l'AMO30.
2894
- filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XVII.json",
2895
- name: "AMO20_dep_sen_min_tous_mandats_et_organes_XVII",
2896
- ignoreForWeb: !0,
2897
- legislature: v.DixSept,
2898
- repairZip: g,
2899
- structure: 1,
2900
- title: "Acteurs et organes de la XVIIème législature",
2901
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/deputes_senateurs_ministres_legislature/AMO20_dep_sen_min_tous_mandats_et_organes.json.zip"
2902
- },
2903
- {
2904
- // AMO20 (XVI)
2905
- //
2906
- // Contient les députés de la législature, actifs ou non (invalidés, etc), les sénateurs actuels
2907
- // Pour les députés :
2908
- // * avec tous leurs mandats de la législature
2909
- // * y compris les mandats achevés
2910
- // * y compris leurs partis politiques (typeOrgane: "PARPOL")
2911
- // * mais sans les mandats des législatures précédentes (qui sont dans AMO40)
2912
- //
2913
- // Contient tous les organes référencés par les mandats
2914
- // * avec le xsiType de l'organe
2915
- // * avec des commissions sénatoriales (permanentes et spéciales) en cours
2916
- // * avec des délégations sénatoriales en cours
2917
- // * avec des groupes sénatoriaux en cours
2918
- // * avec des ministères en cours
2919
- // * avec les Présidences de la République (y compris Sarkozy)
2920
- // * avec le Conseil constitutionnel
2921
- //
2922
- // Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO30.
2923
- // Il n'apporte donc absolument rien par rapport à l'AMO30.
2924
- filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XVI.json",
2925
- name: "AMO20_dep_sen_min_tous_mandats_et_organes_XVI",
2926
- ignoreForWeb: !0,
2927
- legislature: v.Seize,
2928
- repairZip: g,
2929
- structure: 1,
2930
- title: "Acteurs et organes de la XVIème législature",
2931
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/deputes_senateurs_ministres_legislature/AMO20_dep_sen_min_tous_mandats_et_organes.json.zip"
2932
- },
2933
- {
2934
- // AMO20 (XV)
2935
- //
2936
- // Contient les députés de la législature, actifs ou non (invalidés, etc), les sénateurs actuels
2937
- // Pour les députés :
2938
- // * avec tous leurs mandats de la législature
2939
- // * y compris les mandats achevés
2940
- // * y compris leurs partis politiques (typeOrgane: "PARPOL")
2941
- // * mais sans les mandats des législatures précédentes (qui sont dans AMO40)
2942
- //
2943
- // Contient tous les organes référencés par les mandats
2944
- // * avec le xsiType de l'organe
2945
- // * avec des commissions sénatoriales (permanentes et spéciales) en cours
2946
- // * avec des délégations sénatoriales en cours
2947
- // * avec des groupes sénatoriaux en cours
2948
- // * avec des ministères en cours
2949
- // * avec les Présidences de la République (y compris Sarkozy)
2950
- // * avec le Conseil constitutionnel
2951
- //
2952
- // Ce fichier est un sous-ensemble à tous les niveaux du fichier AMO30.
2953
- // Il n'apporte donc absolument rien par rapport à l'AMO30.
2954
- filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XV.json",
2955
- name: "AMO20_dep_sen_min_tous_mandats_et_organes_XV",
2956
- ignoreForWeb: !0,
2957
- legislature: v.Quinze,
2958
- repairZip: g,
2959
- structure: 1,
2960
- title: "Acteurs et organes de la XVème législature",
2961
- url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/deputes_senateurs_ministres_legislature/AMO20_dep_sen_min_tous_mandats_et_organes_XV.json.zip"
2962
- },
2963
- {
2964
- // AMO20 (XIV)
2965
- //
2966
- // Comme AMO20 (XV) mais pour la XIVème législature
2967
- // Tous les acteurs sauf un (PA429892) sont présents en plus à jour dans AMO30.
2968
- // Cet acteur PA429892 (ancienne Sénatrice) n'est présent dans aucun des autres
2969
- // fichiers AMO.
2970
- // Tous les organes sont présents en plus complets dans AMO30.
2971
- //
2972
- // Ce fichier est donc à un détail près (PA429892) un sous-ensemble d'AMO30.
2973
- // Il n'apporte donc quasiment rien par rapport à l'AMO30.
2974
- filename: "AMO20_dep_sen_min_tous_mandats_et_organes_XIV.json",
2975
- name: "AMO20_dep_sen_min_tous_mandats_et_organes_XIV",
2976
- ignoreForWeb: !0,
2977
- legislature: v.Quatorze,
2978
- structure: 0,
2979
- title: "Acteurs et organes de la XIVème législature",
2980
- url: "https://data.assemblee-nationale.fr/static/openData/repository/14/amo/deputes_senateurs_ministres_legislatures_XIV/AMO20_dep_sen_min_tous_mandats_et_organes_XIV.json.zip"
2981
- },
2982
- {
2983
- // AMO30 (XVII)
2984
- //
2985
- // Ce fichier contient tous les acteurs et organes.
2986
- // C'est un sur-ensemble des fichiers AMO20.
2987
- filename: "AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json",
2988
- name: "AMO30_tous_acteurs_tous_mandats_tous_organes_historique",
2989
- legislature: v.All,
2990
- repairZip: g,
2991
- structure: 1,
2992
- title: "Historique de tous les acteurs et organes depuis la XIème législature",
2993
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/tous_acteurs_mandats_organes_xi_legislature/AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json.zip"
2994
- },
2995
- // {
2996
- // // AMO30 (XVI)
2997
- // //
2998
- // // Ce fichier contient tous les acteurs et organes.
2999
- // // C'est un sur-ensemble des fichiers AMO20.
3000
- // filename: "AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json",
3001
- // legislature: Legislature.All,
3002
- // repairZip: repairForJsonSubdirectory,
3003
- // structure: DatasetStructure.SegmentedFiles,
3004
- // title:
3005
- // "Historique de tous les acteurs et organes depuis la XIème législature",
3006
- // url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/tous_acteurs_mandats_organes_xi_legislature/AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json.zip",
3007
- // },
3008
- // {
3009
- // // AMO30 (XV)
3010
- // //
3011
- // // Ce fichier contient tous les acteurs et organes.
3012
- // // C'est un sur-ensemble des fichiers AMO20.
3013
- // filename: "AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json",
3014
- // legislature: Legislature.All,
3015
- // repairZip: (dataset: Dataset, dataDir: string) => {
3016
- // const targetDir = path.join(dataDir, dataset.filename)
3017
- // if (fs.existsSync(targetDir)) {
3018
- // fs.removeSync(targetDir)
3019
- // }
3020
- // fs.moveSync(path.join(dataDir, "json"), targetDir)
3021
- // },
3022
- // structure: DatasetStructure.SegmentedFiles,
3023
- // title:
3024
- // "Historique de tous les acteurs et organes depuis la XIème législature",
3025
- // url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/tous_acteurs_mandats_organes_xi_legislature/AMO30_tous_acteurs_tous_mandats_tous_organes_historique.json.zip",
3026
- // },
3027
- {
3028
- // AMO40 (XVII)
3029
- //
3030
- // Contient les députés actifs (les mêmes qu'AMO20)
3031
- // * avec presque tous leurs mandats
3032
- // * y compris les mandats achevés et ceux des législatures précédentes
3033
- // * y compris leurs partis politiques précédents
3034
- // * mais sans leur parti politique actuel (typeOrgane: "PARPOL")
3035
- //
3036
- // Contient beaucoup d'organes référencés, y compris ceux des législatures
3037
- // précédentes
3038
- // * mais il manque le xsiType des organes
3039
- // * ne contient pas les organes sénatoriaux
3040
- // * ne contient pas les ministères
3041
- // * ne contient pas la Présidence de la République
3042
- // * ne contient pas le Conseil constitutionnel
3043
- //
3044
- // Pour les acteurs, ce dépôt est un sous-ensemble strict de AMO30 :
3045
- // Il a moins d'acteurs et il sont moins complets.
3046
- //
3047
- // Pour les organes :
3048
- // Quand l'organe est aussi présent dans AMO30, il vaut mieux prendre celui
3049
- // d'AMO30, car il contient le xsiType (c'est la seule différence semble-t-i).
3050
- // Sinon, il faut le prendre seulement si on est intéressé par les législatures
3051
- // précédentes.
3052
- filename: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XVII.json",
3053
- name: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XVII",
3054
- ignoreForWeb: !0,
3055
- legislature: v.DixSept,
3056
- repairZip: async (e, n) => {
3057
- const s = y.join(n, e.filename);
3058
- await d.pathExists(s) && await d.remove(s), await d.mkdir(s), await d.pathExists(
3059
- y.join(n, `${e.filename}.temp`, "acteur")
3060
- ) && await d.move(
3061
- y.join(n, `${e.filename}.temp`, "acteur"),
3062
- y.join(s, "acteur")
3063
- ), await d.move(
3064
- y.join(n, `${e.filename}.temp`, "organe"),
3065
- y.join(s, "organe")
3066
- );
3067
- },
3068
- structure: 1,
3069
- title: "Députés actifs et organes de la XVIIème législature",
3070
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/deputes_actifs_mandats_actifs_organes_divises/AMO40_deputes_actifs_mandats_actifs_organes_divises.json.zip"
3071
- },
3072
- {
3073
- // AMO40 (XVI)
3074
- //
3075
- // Contient les députés actifs (les mêmes qu'AMO20)
3076
- // * avec presque tous leurs mandats
3077
- // * y compris les mandats achevés et ceux des législatures précédentes
3078
- // * y compris leurs partis politiques précédents
3079
- // * mais sans leur parti politique actuel (typeOrgane: "PARPOL")
3080
- //
3081
- // Contient beaucoup d'organes référencés, y compris ceux des législatures
3082
- // précédentes
3083
- // * mais il manque le xsiType des organes
3084
- // * ne contient pas les organes sénatoriaux
3085
- // * ne contient pas les ministères
3086
- // * ne contient pas la Présidence de la République
3087
- // * ne contient pas le Conseil constitutionnel
3088
- //
3089
- // Pour les acteurs, ce dépôt est un sous-ensemble strict de AMO30 :
3090
- // Il a moins d'acteurs et il sont moins complets.
3091
- //
3092
- // Pour les organes :
3093
- // Quand l'organe est aussi présent dans AMO30, il vaut mieux prendre celui
3094
- // d'AMO30, car il contient le xsiType (c'est la seule différence semble-t-i).
3095
- // Sinon, il faut le prendre seulement si on est intéressé par les législatures
3096
- // précédentes.
3097
- filename: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XVI.json",
3098
- name: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XVI",
3099
- ignoreForWeb: !0,
3100
- legislature: v.Seize,
3101
- repairZip: async (e, n) => {
3102
- const s = y.join(n, e.filename);
3103
- await d.pathExists(s) && await d.remove(s), await d.mkdir(s), await d.pathExists(
3104
- y.join(n, `${e.filename}.temp`, "acteur")
3105
- ) && await d.move(
3106
- y.join(n, `${e.filename}.temp`, "acteur"),
3107
- y.join(s, "acteur")
3108
- ), await d.move(
3109
- y.join(n, `${e.filename}.temp`, "organe"),
3110
- y.join(s, "organe")
3111
- );
3112
- },
3113
- structure: 1,
3114
- title: "Députés actifs et organes de la XVIème législature",
3115
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/deputes_actifs_mandats_actifs_organes_divises/AMO40_deputes_actifs_mandats_actifs_organes_divises.json.zip"
3116
- },
3117
- {
3118
- // AMO40 (XV)
3119
- //
3120
- // Contient les députés actifs (les mêmes qu'AMO20)
3121
- // * avec presque tous leurs mandats
3122
- // * y compris les mandats achevés et ceux des législatures précédentes
3123
- // * y compris leurs partis politiques précédents
3124
- // * mais sans leur parti politique actuel (typeOrgane: "PARPOL")
3125
- //
3126
- // Contient beaucoup d'organes référencés, y compris ceux des législatures
3127
- // précédentes
3128
- // * mais il manque le xsiType des organes
3129
- // * ne contient pas les organes sénatoriaux
3130
- // * ne contient pas les ministères
3131
- // * ne contient pas la Présidence de la République
3132
- // * ne contient pas le Conseil constitutionnel
3133
- //
3134
- // Pour les acteurs, ce dépôt est un sous-ensemble strict de AMO30 :
3135
- // Il a moins d'acteurs et il sont moins complets.
3136
- //
3137
- // Pour les organes :
3138
- // Quand l'organe est aussi présent dans AMO30, il vaut mieux prendre celui
3139
- // d'AMO30, car il contient le xsiType (c'est la seule différence semble-t-i).
3140
- // Sinon, il faut le prendre seulement si on est intéressé par les législatures
3141
- // précédentes.
3142
- filename: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XV.json",
3143
- name: "AMO40_deputes_actifs_mandats_actifs_organes_divises_XV",
3144
- ignoreForWeb: !0,
3145
- legislature: v.Quinze,
3146
- repairZip: async (e, n) => {
3147
- const s = y.join(n, e.filename);
3148
- await d.pathExists(s) && await d.remove(s), await d.mkdir(s), await d.move(
3149
- y.join(n, `${e.filename}.temp`, "acteur"),
3150
- y.join(s, "acteur")
3151
- ), await d.move(
3152
- y.join(n, `${e.filename}.temp`, "organe"),
3153
- y.join(s, "organe")
3154
- );
3155
- },
3156
- structure: 1,
3157
- title: "Députés actifs et organes de la XVème législature",
3158
- url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/deputes_actifs_mandats_actifs_organes_divises/AMO40_deputes_actifs_mandats_actifs_organes_divises_XV.json.zip"
3159
- },
3160
- {
3161
- // AMO50 (XVII)
3162
- //
3163
- // Attention, ce fichier n'est pas mis à jour régulièrement !
3164
- //
3165
- // Pour les acteurs :
3166
- // * c'est un sous ensemble obsolète d'AMO30
3167
- // * il manque les xsiType aux mandats
3168
- //
3169
- // Pour les organes :
3170
- // * c'est un sous ensemble obsolète d'AMO30
3171
- // * il manque les xsiType
3172
- //
3173
- // Ce fichier n'apporte donc absolument rien par rapport à l'AMO30,
3174
- // dont il est un sous ensemble obsolète.
3175
- filename: "AMO50_acteurs_mandats_organes_divises_XVII.json",
3176
- name: "AMO50_acteurs_mandats_organes_divises_XVII",
3177
- ignoreForWeb: !0,
3178
- legislature: v.DixSept,
3179
- repairZip: async (e, n) => {
3180
- const s = y.join(n, e.filename);
3181
- await d.pathExists(s) && await d.remove(s), await d.mkdir(s), await d.move(
3182
- y.join(n, `${e.filename}.temp`, "mandat"),
3183
- y.join(s, "mandat")
3184
- ), await d.move(
3185
- y.join(n, `${e.filename}.temp`, "acteur"),
3186
- y.join(s, "acteur")
3187
- ), await d.move(
3188
- y.join(n, `${e.filename}.temp`, "organe"),
3189
- y.join(s, "organe")
3190
- );
3191
- },
3192
- structure: 1,
3193
- title: "Acteurs, mandats et organes de la XVIIème législature (fichiers séparés, y compris mandats)",
3194
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/amo/acteurs_mandats_organes_divises/AMO50_acteurs_mandats_organes_divises.json.zip"
3195
- },
3196
- {
3197
- // AMO50 (XVI)
3198
- //
3199
- // Attention, ce fichier n'est pas mis à jour régulièrement !
3200
- //
3201
- // Pour les acteurs :
3202
- // * c'est un sous ensemble obsolète d'AMO30
3203
- // * il manque les xsiType aux mandats
3204
- //
3205
- // Pour les organes :
3206
- // * c'est un sous ensemble obsolète d'AMO30
3207
- // * il manque les xsiType
3208
- //
3209
- // Ce fichier n'apporte donc absolument rien par rapport à l'AMO30,
3210
- // dont il est un sous ensemble obsolète.
3211
- filename: "AMO50_acteurs_mandats_organes_divises_XVI.json",
3212
- name: "AMO50_acteurs_mandats_organes_divises_XVI",
3213
- ignoreForWeb: !0,
3214
- legislature: v.Seize,
3215
- repairZip: async (e, n) => {
3216
- const s = y.join(n, e.filename);
3217
- await d.pathExists(s) && await d.remove(s), await d.mkdir(s), await d.move(
3218
- y.join(n, `${e.filename}.temp`, "mandat"),
3219
- y.join(s, "mandat")
3220
- ), await d.move(
3221
- y.join(n, `${e.filename}.temp`, "acteur"),
3222
- y.join(s, "acteur")
3223
- ), await d.move(
3224
- y.join(n, `${e.filename}.temp`, "organe"),
3225
- y.join(s, "organe")
3226
- );
3227
- },
3228
- structure: 1,
3229
- title: "Acteurs, mandats et organes de la XVIème législature (fichiers séparés, y compris mandats)",
3230
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/amo/acteurs_mandats_organes_divises/AMO50_acteurs_mandats_organes_divises.json.zip"
3231
- },
3232
- {
3233
- // AMO50 (XV)
3234
- //
3235
- // Attention, ce fichier n'est pas mis à jour régulièrement !
3236
- //
3237
- // Pour les acteurs :
3238
- // * c'est un sous ensemble obsolète d'AMO30
3239
- // * il manque les xsiType aux mandats
3240
- //
3241
- // Pour les organes :
3242
- // * c'est un sous ensemble obsolète d'AMO30
3243
- // * il manque les xsiType
3244
- //
3245
- // Ce fichier n'apporte donc absolument rien par rapport à l'AMO30,
3246
- // dont il est un sous ensemble obsolète.
3247
- filename: "AMO50_acteurs_mandats_organes_divises_XV.json",
3248
- name: "AMO50_acteurs_mandats_organes_divises_XV",
3249
- ignoreForWeb: !0,
3250
- legislature: v.Quinze,
3251
- repairZip: async (e, n) => {
3252
- const s = y.join(n, e.filename);
3253
- await d.pathExists(s) && await d.remove(s), await d.mkdir(s), await d.move(
3254
- y.join(n, `${e.filename}.temp`, "mandat"),
3255
- y.join(s, "mandat")
3256
- ), await d.move(
3257
- y.join(n, `${e.filename}.temp`, "acteur"),
3258
- y.join(s, "acteur")
3259
- ), await d.move(
3260
- y.join(n, `${e.filename}.temp`, "organe"),
3261
- y.join(s, "organe")
3262
- );
3263
- },
3264
- structure: 1,
3265
- title: "Acteurs, mandats et organes de la XVème législature (fichiers séparés, y compris mandats)",
3266
- url: "https://data.assemblee-nationale.fr/static/openData/repository/15/amo/acteurs_mandats_organes_divises/AMO50_acteurs_mandats_organes_divises_XV.json.zip"
3267
- }
3268
- ],
3269
- agendas: [
3270
- {
3271
- filename: "Agenda_XVII.json",
3272
- name: "Agenda_XVII",
3273
- legislature: v.DixSept,
3274
- repairZip: g,
3275
- structure: 1,
3276
- title: "Agenda de la XVIIème législature",
3277
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/vp/reunions/Agenda.json.zip"
3278
- },
3279
- {
3280
- filename: "Agenda_XVI.json",
3281
- name: "Agenda_XVI",
3282
- legislature: v.Seize,
3283
- repairZip: g,
3284
- structure: 1,
3285
- title: "Agenda de la XVIème législature",
3286
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/vp/reunions/Agenda.json.zip"
3287
- },
3288
- {
3289
- filename: "Agenda_XV.json",
3290
- name: "Agenda_XV",
3291
- legislature: v.Quinze,
3292
- repairZip: g,
3293
- structure: 1,
3294
- title: "Agenda de la XVème législature",
3295
- url: "https://data.assemblee-nationale.fr/static/openData/repository/15/vp/reunions/Agenda_XV.json.zip"
3296
- },
3297
- {
3298
- filename: "Agenda_XIV.json",
3299
- name: "Agenda_XIV",
3300
- legislature: v.Quatorze,
3301
- structure: 0,
3302
- title: "Agenda de la XIVème législature",
3303
- url: "https://data.assemblee-nationale.fr/static/openData/repository/14/vp/reunions/Agenda_XIV.json.zip"
3304
- }
3305
- ],
3306
- amendements: [
3307
- {
3308
- filename: "Amendements_XVII.json",
3309
- name: "Amendements_XVII",
3310
- legislature: v.DixSept,
3311
- repairZip: g,
3312
- structure: 1,
3313
- title: "Amendements de la XVIIème législature",
3314
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/loi/amendements_div_legis/Amendements.json.zip"
3315
- },
3316
- {
3317
- filename: "Amendements_XVI.json",
3318
- name: "Amendements_XVI",
3319
- legislature: v.Seize,
3320
- repairZip: g,
3321
- structure: 1,
3322
- title: "Amendements de la XVIème législature",
3323
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/loi/amendements_div_legis/Amendements.json.zip"
3324
- },
3325
- {
3326
- filename: "Amendements_XV.json",
3327
- name: "Amendements_XV",
3328
- legislature: v.Quinze,
3329
- repairZip: g,
3330
- structure: 1,
3331
- title: "Amendements de la XVème législature",
3332
- url: "https://data.assemblee-nationale.fr/static/openData/repository/15/loi/amendements_legis/Amendements_XV.json.zip"
3333
- }
3334
- // {
3335
- // filename: "Amendements_XIV.json",
3336
- // ignoreForWeb: true,
3337
- // legislature: Legislature.Quatorze,
3338
- // structure: DatasetStructure.SingleFile,
3339
- // title: "Amendements de la XIVème législature",
3340
- // url:
3341
- // "https://data.assemblee-nationale.fr/static/openData/repository/14/loi/amendements_legis_XIV/Amendements_XIV.json.zip",
3342
- // },
3343
- ],
3344
- dossiersLegislatifs: [
3345
- {
3346
- filename: "Dossiers_Legislatifs_XVII.json",
3347
- name: "Dossiers_Legislatifs_XVII",
3348
- legislature: v.DixSept,
3349
- repairZip: g,
3350
- structure: 1,
3351
- title: "Dossiers législatifs de la XVIIème législature",
3352
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/loi/dossiers_legislatifs/Dossiers_Legislatifs.json.zip"
3353
- },
3354
- {
3355
- filename: "Dossiers_Legislatifs_XVI.json",
3356
- name: "Dossiers_Legislatifs_XVI",
3357
- legislature: v.Seize,
3358
- repairZip: g,
3359
- structure: 1,
3360
- title: "Dossiers législatifs de la XVIème législature",
3361
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/loi/dossiers_legislatifs/Dossiers_Legislatifs.json.zip"
3362
- },
3363
- {
3364
- filename: "Dossiers_Legislatifs_XV.json",
3365
- name: "Dossiers_Legislatifs_XV",
3366
- legislature: v.Quinze,
3367
- repairZip: g,
3368
- structure: 1,
3369
- title: "Dossiers législatifs de la XVème législature",
3370
- url: "https://data.assemblee-nationale.fr/static/openData/repository/15/loi/dossiers_legislatifs/Dossiers_Legislatifs_XV.json.zip"
3371
- },
3372
- {
3373
- filename: "Dossiers_Legislatifs_XIV.json",
3374
- name: "Dossiers_Legislatifs_XIV",
3375
- legislature: v.Quatorze,
3376
- structure: 0,
3377
- title: "Dossiers législatifs de la XIVème législature",
3378
- url: "https://data.assemblee-nationale.fr/static/openData/repository/14/loi/dossiers_legislatifs/Dossiers_Legislatifs_XIV.json.zip"
3379
- }
3380
- ],
3381
- scrutins: [
3382
- {
3383
- filename: "Scrutins_XVII.json",
3384
- name: "Scrutins_XVII",
3385
- legislature: v.DixSept,
3386
- repairZip: g,
3387
- structure: 1,
3388
- title: "Scrutins de la XVIIème législature",
3389
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/loi/scrutins/Scrutins.json.zip"
3390
- },
3391
- {
3392
- filename: "Scrutins_XVI.json",
3393
- name: "Scrutins_XVI",
3394
- legislature: v.Seize,
3395
- repairZip: g,
3396
- structure: 1,
3397
- title: "Scrutins de la XVIème législature",
3398
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/loi/scrutins/Scrutins.json.zip"
3399
- },
3400
- {
3401
- filename: "Scrutins_XV.json",
3402
- name: "Scrutins_XV",
3403
- legislature: v.Quinze,
3404
- repairZip: g,
3405
- structure: 1,
3406
- title: "Scrutins de la XVème législature",
3407
- url: "https://data.assemblee-nationale.fr/static/openData/repository/15/loi/scrutins/Scrutins_XV.json.zip"
3408
- },
3409
- {
3410
- filename: "Scrutins_XIV.json",
3411
- name: "Scrutins_XIV",
3412
- legislature: v.Quatorze,
3413
- structure: 0,
3414
- title: "Scrutins de la XIVème législature",
3415
- url: "https://data.assemblee-nationale.fr/static/openData/repository/14/loi/scrutins/Scrutins_XIV.json.zip"
3416
- }
3417
- ],
3418
- questions: [
3419
- {
3420
- filename: "Questions_ecrites_XVII.json",
3421
- name: "Questions_ecrites_XVII",
3422
- legislature: v.DixSept,
3423
- repairZip: g,
3424
- structure: 1,
3425
- title: "Questions écrites de la XVIIème législature",
3426
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/questions/questions_ecrites/Questions_ecrites.json.zip"
3427
- },
3428
- {
3429
- filename: "Questions_ecrites_XVI.json",
3430
- name: "Questions_ecrites_XVI",
3431
- legislature: v.Seize,
3432
- repairZip: g,
3433
- structure: 1,
3434
- title: "Questions écrites de la XVIème législature",
3435
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/questions/questions_ecrites/Questions_ecrites.json.zip"
3436
- },
3437
- {
3438
- filename: "Questions_gouvernement_XVII.json",
3439
- name: "Questions_gouvernement_XVII",
3440
- legislature: v.DixSept,
3441
- repairZip: g,
3442
- structure: 1,
3443
- title: "Questions au gouvernement de la XVIIème législature",
3444
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/questions/questions_gouvernement/Questions_gouvernement.json.zip"
3445
- },
3446
- {
3447
- filename: "Questions_gouvernement_XVI.json",
3448
- name: "Questions_gouvernement_XVI",
3449
- legislature: v.Seize,
3450
- repairZip: g,
3451
- structure: 1,
3452
- title: "Questions au gouvernement de la XVIème législature",
3453
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/questions/questions_gouvernement/Questions_gouvernement.json.zip"
3454
- },
3455
- {
3456
- filename: "Questions_orales_XVII.json",
3457
- name: "Questions_orales_XVII",
3458
- legislature: v.DixSept,
3459
- repairZip: g,
3460
- structure: 1,
3461
- title: "Questions orales sans débats de la XVIIème législature",
3462
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/questions/questions_orales_sans_debat/Questions_orales_sans_debat.json.zip"
3463
- },
3464
- {
3465
- filename: "Questions_orales_XVI.json",
3466
- name: "Questions_orales_XVI",
3467
- legislature: v.Seize,
3468
- repairZip: g,
3469
- structure: 1,
3470
- title: "Questions orales sans débats de la XVIème législature",
3471
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/questions/questions_orales_sans_debat/Questions_orales_sans_debat.json.zip"
3472
- }
3473
- ],
3474
- comptesRendusSeances: [
3475
- {
3476
- filename: "Comptes_Rendus_Seances_XVII.xml",
3477
- name: "Comptes_Rendus_Seances_XVII",
3478
- legislature: v.DixSept,
3479
- repairZip: async (e, n) => {
3480
- const s = y.join(n, e.filename);
3481
- await d.pathExists(s) && await d.remove(s), await d.move(
3482
- y.join(n, `${e.filename}.temp`, "xml"),
3483
- s
3484
- );
3485
- },
3486
- structure: 1,
3487
- title: "Comptes rendus des séances publiques de la XVIIème législature",
3488
- url: "https://data.assemblee-nationale.fr/static/openData/repository/17/vp/syceronbrut/syseron.xml.zip"
3489
- },
3490
- {
3491
- filename: "Comptes_Rendus_Seances_XVI.xml",
3492
- name: "Comptes_Rendus_Seances_XVI",
3493
- legislature: v.Seize,
3494
- repairZip: async (e, n) => {
3495
- const s = y.join(n, e.filename);
3496
- await d.pathExists(s) && await d.remove(s), await d.move(
3497
- y.join(n, `${e.filename}.temp`, "xml"),
3498
- s
3499
- );
3500
- },
3501
- structure: 1,
3502
- title: "Comptes rendus des séances publiques de la XVIème législature",
3503
- url: "https://data.assemblee-nationale.fr/static/openData/repository/16/vp/syceronbrut/syseron.xml.zip"
3504
- }
3505
- ],
3506
- comptesRendusCommissions: [
3507
- {
3508
- filename: "Comptes_Rendus_Commissions_XVII.xml",
3509
- name: "Comptes_Rendus_Commissions_XVII",
3510
- legislature: v.DixSept,
3511
- structure: 1,
3512
- title: "Comptes rendus des commissions de la XVIIème législature"
3513
- }
3514
- ]
3515
- };
3516
- export {
3517
- Wn as $,
3518
- yn as A,
3519
- fn as B,
3520
- Se as C,
3521
- Ue as D,
3522
- xe as E,
3523
- Ee as F,
3524
- In as G,
3525
- _n as H,
3526
- On as I,
3527
- Dn as J,
3528
- En as K,
3529
- v as L,
3530
- sn as M,
3531
- he as N,
3532
- Rn as O,
3533
- be as P,
3534
- Xe as Q,
3535
- Re as R,
3536
- un as S,
3537
- De as T,
3538
- Nn as U,
3539
- bn as V,
3540
- gn as W,
3541
- Yn as X,
3542
- Zn as Y,
3543
- Hn as Z,
3544
- kn as _,
3545
- ve as a,
3546
- Kn as a0,
3547
- es as a1,
3548
- Pn as a2,
3549
- Ln as a3,
3550
- Xn as a4,
3551
- qn as a5,
3552
- zn as a6,
3553
- Bn as a7,
3554
- wn as a8,
3555
- _e as b,
3556
- Ie as c,
3557
- Oe as d,
3558
- ge as e,
3559
- Fe as f,
3560
- we as g,
3561
- Ve as h,
3562
- $e as i,
3563
- Je as j,
3564
- Pe as k,
3565
- Le as l,
3566
- Qe as m,
3567
- on as n,
3568
- ln as o,
3569
- We as p,
3570
- mn as q,
3571
- ke as r,
3572
- rn as s,
3573
- en as t,
3574
- Ke as u,
3575
- pn as v,
3576
- an as w,
3577
- tn as x,
3578
- Ye as y,
3579
- nn as z
3580
- };