@tricoteuses/assemblee 3.0.18 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/{amendements-Bab1iUCY.js → amendements-Blw6Aa6-.js} +3 -3
- package/lib/amendements-DiMsxlUL.js +178 -0
- package/lib/cleaners/actes_legislatifs.d.ts +2 -2
- package/lib/cleaners/acteurs.d.ts +7 -2
- package/lib/cleaners/amendements.d.ts +2 -2
- package/lib/cleaners/documents.d.ts +1 -1
- package/lib/cleaners/dossiers_legislatifs.d.ts +1 -1
- package/lib/cleaners/organes.d.ts +1 -1
- package/lib/cleaners/reunions.d.ts +1 -1
- package/lib/cleaners/scrutins.d.ts +10 -2
- package/lib/cleaners.js +576 -485
- package/lib/datasets.d.ts +2 -6
- package/lib/git.js +54 -51
- package/lib/index.js +263 -257
- package/lib/inserters.d.ts +22 -2
- package/lib/loaders.js +495 -544
- package/lib/logger.d.ts +1 -1
- package/lib/parsers.js +5 -5
- package/lib/{questions-BiakXZ6q.js → questions-XokaUGcy.js} +4 -1
- package/lib/registries.d.ts +4 -4
- package/lib/schemas/clean/acteurs_et_organes.d.ts +37 -37
- package/lib/schemas/clean/amendements.d.ts +38 -25
- package/lib/schemas/clean/dossiers_legislatifs.d.ts +16 -16
- package/lib/schemas/clean/scrutins.d.ts +2 -2
- package/lib/schemas/enriched/acteurs_et_organes.d.ts +2 -2
- package/lib/schemas/enriched/amendements.d.ts +135 -15
- package/lib/schemas/enriched/dossiers_legislatifs.d.ts +12 -12
- package/lib/schemas/enriched/scrutins.d.ts +2 -2
- package/lib/schemas/raw/acteurs_et_organes.d.ts +99 -99
- package/lib/schemas/raw/agendas.d.ts +11 -11
- package/lib/schemas/raw/amendements.d.ts +49 -37
- package/lib/schemas/raw/dossiers_legislatifs.d.ts +146 -63
- package/lib/schemas/raw/questions.d.ts +44 -44
- package/lib/schemas/raw/scrutins.d.ts +4 -4
- package/lib/scripts/retrieve_documents.d.ts +5 -1
- package/lib/scripts/retrieve_open_data.d.ts +4 -0
- package/lib/scripts/shared/cli_helpers.d.ts +8 -0
- package/package.json +26 -26
- package/lib/amendements-BKGwufEi.js +0 -170
package/lib/logger.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export declare function delimiter(silent?: boolean): void;
|
|
|
11
11
|
* @param {{ silent: boolean }} [options] - An optional object containing the `silent` flag.
|
|
12
12
|
* @return {void} This function does not return anything.
|
|
13
13
|
*/
|
|
14
|
-
export declare function runLogFun(printFunction: void, { silent }?: {
|
|
14
|
+
export declare function runLogFun(printFunction: () => void, { silent }?: {
|
|
15
15
|
silent: boolean;
|
|
16
16
|
}): void;
|
package/lib/parsers.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as Gn, N as le, B as Wn, O as Uu, P as Qu } from "./amendements-
|
|
1
|
+
import { M as Gn, N as le, B as Wn, O as Uu, P as Qu } from "./amendements-Blw6Aa6-.js";
|
|
2
2
|
import Jn from "deep-equal";
|
|
3
3
|
import Pe from "fs-extra";
|
|
4
4
|
import Zn from "front-matter";
|
|
@@ -6,7 +6,7 @@ import Xn from "js-yaml";
|
|
|
6
6
|
import M from "node:assert";
|
|
7
7
|
import Yu from "node:path";
|
|
8
8
|
import { parse as vu } from "node-html-parser";
|
|
9
|
-
import { d as Vn } from "./amendements-
|
|
9
|
+
import { d as Vn } from "./amendements-DiMsxlUL.js";
|
|
10
10
|
var L;
|
|
11
11
|
(function(e) {
|
|
12
12
|
e.Root = "root", e.Text = "text", e.Directive = "directive", e.Comment = "comment", e.Script = "script", e.Style = "style", e.Tag = "tag", e.CDATA = "cdata", e.Doctype = "doctype";
|
|
@@ -10110,14 +10110,14 @@ function C0(e) {
|
|
|
10110
10110
|
return e.replace(u, (s) => s.toLocaleLowerCase("fr-FR"));
|
|
10111
10111
|
}
|
|
10112
10112
|
function p0(e) {
|
|
10113
|
-
return e.replace(/<script[\w\W]+?<\/script>/gi, "").replace(/<!--[\w\W]*?-->/g, "").replace(/<head[\w\W]+?<\/head>/gi, "").replace(/<[
|
|
10113
|
+
return e.replace(/<script[\w\W]+?<\/script>/gi, "").replace(/<!--[\w\W]*?-->/g, "").replace(/<head[\w\W]+?<\/head>/gi, "").replace(/<[^/>][^>]*>\s*<\/[^>]+>/g, "");
|
|
10114
10114
|
}
|
|
10115
10115
|
function Au(e) {
|
|
10116
10116
|
const t = e?.replace(/\u00A0/g, " ").replace(/[\n\t]+/g, "").trim() || "";
|
|
10117
10117
|
return C0(t);
|
|
10118
10118
|
}
|
|
10119
10119
|
function Xt(e) {
|
|
10120
|
-
return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\(nouveau\)/, "").replace(/\(Pour coordination\)/, "").replace(/\(Supprimés?\)/, "").replace(/
|
|
10120
|
+
return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\(nouveau\)/, "").replace(/\(Pour coordination\)/, "").replace(/\(Supprimés?\)/, "").replace(/ /g, " ").replace(/[-,.…]/g, "").trim().replace(/ {1,}/g, "_").toUpperCase();
|
|
10121
10121
|
}
|
|
10122
10122
|
const _0 = [
|
|
10123
10123
|
/^– \d+ –/,
|
|
@@ -10204,7 +10204,7 @@ function Y0(e, t) {
|
|
|
10204
10204
|
});
|
|
10205
10205
|
}
|
|
10206
10206
|
for (const B of C) {
|
|
10207
|
-
const x = B.texte?.match(/^[\s
|
|
10207
|
+
const x = B.texte?.match(/^[\s([]*(\d+)[\s)\]]*/);
|
|
10208
10208
|
let v = !1;
|
|
10209
10209
|
if (x) {
|
|
10210
10210
|
const G = x[1], F = _.get(G);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z as e } from "zod";
|
|
2
|
-
import { E as s, J as t, I as l, F as c, G as d, H as a, K as n, L as u } from "./amendements-
|
|
2
|
+
import { E as s, J as t, I as l, F as c, G as d, H as a, K as n, L as u } from "./amendements-Blw6Aa6-.js";
|
|
3
3
|
var On = /* @__PURE__ */ ((o) => (o[o.Quatorze = 14] = "Quatorze", o[o.Quinze = 15] = "Quinze", o[o.Seize = 16] = "Seize", o[o.DixSept = 17] = "DixSept", o[o.DixHuit = 18] = "DixHuit", o[o.All = 0] = "All", o))(On || {});
|
|
4
4
|
const Ls = [
|
|
5
5
|
14,
|
|
@@ -1356,6 +1356,7 @@ const no = [
|
|
|
1356
1356
|
cycleDeVie: J,
|
|
1357
1357
|
denominationStructurelle: e.string(),
|
|
1358
1358
|
titres: q,
|
|
1359
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
1359
1360
|
divisions: $.nullable(),
|
|
1360
1361
|
dossierRef: e.string(),
|
|
1361
1362
|
redacteur: e.null(),
|
|
@@ -1466,6 +1467,7 @@ const Fo = e.object({
|
|
|
1466
1467
|
libelleLong: u(),
|
|
1467
1468
|
libelleCourt: u(),
|
|
1468
1469
|
typeBudget: we,
|
|
1470
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
1469
1471
|
missions: Xo.optional()
|
|
1470
1472
|
})
|
|
1471
1473
|
), Xo = e.object({
|
|
@@ -1524,6 +1526,7 @@ const Fo = e.object({
|
|
|
1524
1526
|
libelleActe: zo,
|
|
1525
1527
|
organeRef: n(),
|
|
1526
1528
|
dateActe: s(),
|
|
1529
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
1527
1530
|
actesLegislatifs: X.nullable().optional(),
|
|
1528
1531
|
texteAssocie: n(),
|
|
1529
1532
|
contributionInternaute: Wo.optional(),
|
package/lib/registries.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare const dateRegistry: z.core.$ZodRegistry<{}, z.core.$ZodType<unkno
|
|
|
33
33
|
/**
|
|
34
34
|
* Registry for custom summarizers (future UI integration)
|
|
35
35
|
*/
|
|
36
|
-
export declare const summarizerRegistry: z.core.$ZodRegistry<
|
|
36
|
+
export declare const summarizerRegistry: z.core.$ZodRegistry<Record<string, never>, z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
37
37
|
/**
|
|
38
38
|
* Helper for creating a UID schema
|
|
39
39
|
*
|
|
@@ -68,19 +68,19 @@ export declare function organeRef(): z.ZodString;
|
|
|
68
68
|
* - parseISO() for "YYYY-MM-DD"
|
|
69
69
|
* - dateFromYearMonthDayTimezoneString() for "YYYY-MM-DD+TZ"
|
|
70
70
|
*/
|
|
71
|
-
export declare const dateIso8601Base: z.ZodPipe<z.ZodTransform<
|
|
71
|
+
export declare const dateIso8601Base: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
72
72
|
/**
|
|
73
73
|
* Optional date in ISO 8601 format
|
|
74
74
|
*
|
|
75
75
|
* Use `.meta({ description: "..." })` on the returned schema to add documentation.
|
|
76
76
|
*/
|
|
77
|
-
export declare const dateIso8601Optional: () => z.ZodPipe<z.ZodTransform<
|
|
77
|
+
export declare const dateIso8601Optional: () => z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
78
78
|
/**
|
|
79
79
|
* Required date in ISO 8601 format
|
|
80
80
|
*
|
|
81
81
|
* Use `.meta({ description: "..." })` on the returned schema to add documentation.
|
|
82
82
|
*/
|
|
83
|
-
export declare const dateIso8601Required: () => z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
83
|
+
export declare const dateIso8601Required: () => z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
84
84
|
/**
|
|
85
85
|
* Trimmed string helper
|
|
86
86
|
*/
|
|
@@ -35,7 +35,7 @@ export type IdentClean = z.infer<typeof IdentCleanSchema>;
|
|
|
35
35
|
* Info naissance - clean version
|
|
36
36
|
*/
|
|
37
37
|
export declare const InfoNaissanceCleanSchema: z.ZodObject<{
|
|
38
|
-
dateNais: z.ZodPipe<z.ZodTransform<
|
|
38
|
+
dateNais: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
39
39
|
villeNais: z.ZodOptional<z.ZodString>;
|
|
40
40
|
depNais: z.ZodOptional<z.ZodEnum<{
|
|
41
41
|
Ain: "Ain";
|
|
@@ -170,7 +170,7 @@ export declare const EtatCivilCleanSchema: z.ZodObject<{
|
|
|
170
170
|
trigramme: z.ZodOptional<z.ZodString>;
|
|
171
171
|
}, z.core.$strip>;
|
|
172
172
|
infoNaissance: z.ZodOptional<z.ZodObject<{
|
|
173
|
-
dateNais: z.ZodPipe<z.ZodTransform<
|
|
173
|
+
dateNais: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
174
174
|
villeNais: z.ZodOptional<z.ZodString>;
|
|
175
175
|
depNais: z.ZodOptional<z.ZodEnum<{
|
|
176
176
|
Ain: "Ain";
|
|
@@ -288,7 +288,7 @@ export declare const EtatCivilCleanSchema: z.ZodObject<{
|
|
|
288
288
|
}>>;
|
|
289
289
|
paysNais: z.ZodOptional<z.ZodString>;
|
|
290
290
|
}, z.core.$strip>>;
|
|
291
|
-
dateDeces: z.ZodPipe<z.ZodTransform<
|
|
291
|
+
dateDeces: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
292
292
|
}, z.core.$strip>;
|
|
293
293
|
export type EtatCivilClean = z.infer<typeof EtatCivilCleanSchema>;
|
|
294
294
|
/**
|
|
@@ -373,8 +373,8 @@ export type InfosQualiteClean = z.infer<typeof InfosQualiteCleanSchema>;
|
|
|
373
373
|
* Suppleant - clean version
|
|
374
374
|
*/
|
|
375
375
|
export declare const SuppleantCleanSchema: z.ZodObject<{
|
|
376
|
-
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
377
|
-
dateFin: z.ZodPipe<z.ZodTransform<
|
|
376
|
+
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
377
|
+
dateFin: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
378
378
|
suppleantRef: z.ZodString;
|
|
379
379
|
}, z.core.$strip>;
|
|
380
380
|
export type SuppleantClean = z.infer<typeof SuppleantCleanSchema>;
|
|
@@ -707,7 +707,7 @@ export type CollaborateurClean = z.infer<typeof CollaborateurCleanSchema>;
|
|
|
707
707
|
* Mandature - clean version
|
|
708
708
|
*/
|
|
709
709
|
export declare const MandatureCleanSchema: z.ZodObject<{
|
|
710
|
-
datePriseFonction: z.ZodPipe<z.ZodTransform<
|
|
710
|
+
datePriseFonction: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
711
711
|
causeFin: z.ZodOptional<z.ZodString>;
|
|
712
712
|
premiereElection: z.ZodOptional<z.ZodString>;
|
|
713
713
|
placeHemicycle: z.ZodOptional<z.ZodString>;
|
|
@@ -770,9 +770,9 @@ export declare const MandatCleanSchema: z.ZodObject<{
|
|
|
770
770
|
PRESREP: "PRESREP";
|
|
771
771
|
SENAT: "SENAT";
|
|
772
772
|
}>;
|
|
773
|
-
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
774
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
775
|
-
dateFin: z.ZodPipe<z.ZodTransform<
|
|
773
|
+
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
774
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
775
|
+
dateFin: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
776
776
|
preseance: z.ZodOptional<z.ZodString>;
|
|
777
777
|
nominPrincipale: z.ZodString;
|
|
778
778
|
infosQualite: z.ZodObject<{
|
|
@@ -785,8 +785,8 @@ export declare const MandatCleanSchema: z.ZodObject<{
|
|
|
785
785
|
missionSuivanteRef: z.ZodOptional<z.ZodString>;
|
|
786
786
|
missionPrecedenteRef: z.ZodOptional<z.ZodString>;
|
|
787
787
|
suppleant: z.ZodOptional<z.ZodObject<{
|
|
788
|
-
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
789
|
-
dateFin: z.ZodPipe<z.ZodTransform<
|
|
788
|
+
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
789
|
+
dateFin: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
790
790
|
suppleantRef: z.ZodString;
|
|
791
791
|
}, z.core.$strip>>;
|
|
792
792
|
election: z.ZodOptional<z.ZodObject<{
|
|
@@ -944,7 +944,7 @@ export declare const MandatCleanSchema: z.ZodObject<{
|
|
|
944
944
|
refCirconscription: z.ZodOptional<z.ZodString>;
|
|
945
945
|
}, z.core.$strip>>;
|
|
946
946
|
mandature: z.ZodOptional<z.ZodObject<{
|
|
947
|
-
datePriseFonction: z.ZodPipe<z.ZodTransform<
|
|
947
|
+
datePriseFonction: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
948
948
|
causeFin: z.ZodOptional<z.ZodString>;
|
|
949
949
|
premiereElection: z.ZodOptional<z.ZodString>;
|
|
950
950
|
placeHemicycle: z.ZodOptional<z.ZodString>;
|
|
@@ -995,7 +995,7 @@ export declare const ActeurCleanSchema: z.ZodObject<{
|
|
|
995
995
|
trigramme: z.ZodOptional<z.ZodString>;
|
|
996
996
|
}, z.core.$strip>;
|
|
997
997
|
infoNaissance: z.ZodOptional<z.ZodObject<{
|
|
998
|
-
dateNais: z.ZodPipe<z.ZodTransform<
|
|
998
|
+
dateNais: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
999
999
|
villeNais: z.ZodOptional<z.ZodString>;
|
|
1000
1000
|
depNais: z.ZodOptional<z.ZodEnum<{
|
|
1001
1001
|
Ain: "Ain";
|
|
@@ -1113,7 +1113,7 @@ export declare const ActeurCleanSchema: z.ZodObject<{
|
|
|
1113
1113
|
}>>;
|
|
1114
1114
|
paysNais: z.ZodOptional<z.ZodString>;
|
|
1115
1115
|
}, z.core.$strip>>;
|
|
1116
|
-
dateDeces: z.ZodPipe<z.ZodTransform<
|
|
1116
|
+
dateDeces: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1117
1117
|
}, z.core.$strip>;
|
|
1118
1118
|
profession: z.ZodOptional<z.ZodObject<{
|
|
1119
1119
|
libelleCourant: z.ZodOptional<z.ZodString>;
|
|
@@ -1204,9 +1204,9 @@ export declare const ActeurCleanSchema: z.ZodObject<{
|
|
|
1204
1204
|
PRESREP: "PRESREP";
|
|
1205
1205
|
SENAT: "SENAT";
|
|
1206
1206
|
}>;
|
|
1207
|
-
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
1208
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
1209
|
-
dateFin: z.ZodPipe<z.ZodTransform<
|
|
1207
|
+
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
1208
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1209
|
+
dateFin: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1210
1210
|
preseance: z.ZodOptional<z.ZodString>;
|
|
1211
1211
|
nominPrincipale: z.ZodString;
|
|
1212
1212
|
infosQualite: z.ZodObject<{
|
|
@@ -1219,8 +1219,8 @@ export declare const ActeurCleanSchema: z.ZodObject<{
|
|
|
1219
1219
|
missionSuivanteRef: z.ZodOptional<z.ZodString>;
|
|
1220
1220
|
missionPrecedenteRef: z.ZodOptional<z.ZodString>;
|
|
1221
1221
|
suppleant: z.ZodOptional<z.ZodObject<{
|
|
1222
|
-
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
1223
|
-
dateFin: z.ZodPipe<z.ZodTransform<
|
|
1222
|
+
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
1223
|
+
dateFin: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1224
1224
|
suppleantRef: z.ZodString;
|
|
1225
1225
|
}, z.core.$strip>>;
|
|
1226
1226
|
election: z.ZodOptional<z.ZodObject<{
|
|
@@ -1378,7 +1378,7 @@ export declare const ActeurCleanSchema: z.ZodObject<{
|
|
|
1378
1378
|
refCirconscription: z.ZodOptional<z.ZodString>;
|
|
1379
1379
|
}, z.core.$strip>>;
|
|
1380
1380
|
mandature: z.ZodOptional<z.ZodObject<{
|
|
1381
|
-
datePriseFonction: z.ZodPipe<z.ZodTransform<
|
|
1381
|
+
datePriseFonction: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1382
1382
|
causeFin: z.ZodOptional<z.ZodString>;
|
|
1383
1383
|
premiereElection: z.ZodOptional<z.ZodString>;
|
|
1384
1384
|
placeHemicycle: z.ZodOptional<z.ZodString>;
|
|
@@ -1407,8 +1407,8 @@ export declare const ActeurCleanSchema: z.ZodObject<{
|
|
|
1407
1407
|
chronotag: z.ZodString;
|
|
1408
1408
|
legislature: z.ZodString;
|
|
1409
1409
|
refActeur: z.ZodString;
|
|
1410
|
-
dateCreation: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
1411
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
1410
|
+
dateCreation: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
1411
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1412
1412
|
portee: z.ZodObject<{
|
|
1413
1413
|
code: z.ZodString;
|
|
1414
1414
|
libelle: z.ZodString;
|
|
@@ -1436,9 +1436,9 @@ export type ActeurClean = z.infer<typeof ActeurCleanSchema>;
|
|
|
1436
1436
|
* ViMoDe (Vie/Modification/Décès - dates de vie de l'organe) - clean version
|
|
1437
1437
|
*/
|
|
1438
1438
|
export declare const ViMoDeCleanSchema: z.ZodObject<{
|
|
1439
|
-
dateDebut: z.ZodPipe<z.ZodTransform<
|
|
1440
|
-
dateAgrement: z.ZodPipe<z.ZodTransform<
|
|
1441
|
-
dateFin: z.ZodPipe<z.ZodTransform<
|
|
1439
|
+
dateDebut: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1440
|
+
dateAgrement: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1441
|
+
dateFin: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1442
1442
|
}, z.core.$strip>;
|
|
1443
1443
|
export type ViMoDeClean = z.infer<typeof ViMoDeCleanSchema>;
|
|
1444
1444
|
/**
|
|
@@ -1840,8 +1840,8 @@ export declare const DeportCleanSchema: z.ZodObject<{
|
|
|
1840
1840
|
chronotag: z.ZodString;
|
|
1841
1841
|
legislature: z.ZodString;
|
|
1842
1842
|
refActeur: z.ZodString;
|
|
1843
|
-
dateCreation: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
1844
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
1843
|
+
dateCreation: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
1844
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1845
1845
|
portee: z.ZodObject<{
|
|
1846
1846
|
code: z.ZodString;
|
|
1847
1847
|
libelle: z.ZodString;
|
|
@@ -1884,7 +1884,7 @@ export declare const ActeursEtOrganesCleanSchema: z.ZodObject<{
|
|
|
1884
1884
|
trigramme: z.ZodOptional<z.ZodString>;
|
|
1885
1885
|
}, z.core.$strip>;
|
|
1886
1886
|
infoNaissance: z.ZodOptional<z.ZodObject<{
|
|
1887
|
-
dateNais: z.ZodPipe<z.ZodTransform<
|
|
1887
|
+
dateNais: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1888
1888
|
villeNais: z.ZodOptional<z.ZodString>;
|
|
1889
1889
|
depNais: z.ZodOptional<z.ZodEnum<{
|
|
1890
1890
|
Ain: "Ain";
|
|
@@ -2002,7 +2002,7 @@ export declare const ActeursEtOrganesCleanSchema: z.ZodObject<{
|
|
|
2002
2002
|
}>>;
|
|
2003
2003
|
paysNais: z.ZodOptional<z.ZodString>;
|
|
2004
2004
|
}, z.core.$strip>>;
|
|
2005
|
-
dateDeces: z.ZodPipe<z.ZodTransform<
|
|
2005
|
+
dateDeces: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2006
2006
|
}, z.core.$strip>;
|
|
2007
2007
|
profession: z.ZodOptional<z.ZodObject<{
|
|
2008
2008
|
libelleCourant: z.ZodOptional<z.ZodString>;
|
|
@@ -2093,9 +2093,9 @@ export declare const ActeursEtOrganesCleanSchema: z.ZodObject<{
|
|
|
2093
2093
|
PRESREP: "PRESREP";
|
|
2094
2094
|
SENAT: "SENAT";
|
|
2095
2095
|
}>;
|
|
2096
|
-
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
2097
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
2098
|
-
dateFin: z.ZodPipe<z.ZodTransform<
|
|
2096
|
+
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
2097
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2098
|
+
dateFin: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2099
2099
|
preseance: z.ZodOptional<z.ZodString>;
|
|
2100
2100
|
nominPrincipale: z.ZodString;
|
|
2101
2101
|
infosQualite: z.ZodObject<{
|
|
@@ -2108,8 +2108,8 @@ export declare const ActeursEtOrganesCleanSchema: z.ZodObject<{
|
|
|
2108
2108
|
missionSuivanteRef: z.ZodOptional<z.ZodString>;
|
|
2109
2109
|
missionPrecedenteRef: z.ZodOptional<z.ZodString>;
|
|
2110
2110
|
suppleant: z.ZodOptional<z.ZodObject<{
|
|
2111
|
-
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
2112
|
-
dateFin: z.ZodPipe<z.ZodTransform<
|
|
2111
|
+
dateDebut: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
2112
|
+
dateFin: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2113
2113
|
suppleantRef: z.ZodString;
|
|
2114
2114
|
}, z.core.$strip>>;
|
|
2115
2115
|
election: z.ZodOptional<z.ZodObject<{
|
|
@@ -2267,7 +2267,7 @@ export declare const ActeursEtOrganesCleanSchema: z.ZodObject<{
|
|
|
2267
2267
|
refCirconscription: z.ZodOptional<z.ZodString>;
|
|
2268
2268
|
}, z.core.$strip>>;
|
|
2269
2269
|
mandature: z.ZodOptional<z.ZodObject<{
|
|
2270
|
-
datePriseFonction: z.ZodPipe<z.ZodTransform<
|
|
2270
|
+
datePriseFonction: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2271
2271
|
causeFin: z.ZodOptional<z.ZodString>;
|
|
2272
2272
|
premiereElection: z.ZodOptional<z.ZodString>;
|
|
2273
2273
|
placeHemicycle: z.ZodOptional<z.ZodString>;
|
|
@@ -2296,8 +2296,8 @@ export declare const ActeursEtOrganesCleanSchema: z.ZodObject<{
|
|
|
2296
2296
|
chronotag: z.ZodString;
|
|
2297
2297
|
legislature: z.ZodString;
|
|
2298
2298
|
refActeur: z.ZodString;
|
|
2299
|
-
dateCreation: z.ZodPipe<z.ZodPipe<z.ZodTransform<
|
|
2300
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
2299
|
+
dateCreation: z.ZodPipe<z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>> & z.ZodType<Date, unknown, z.core.$ZodTypeInternals<Date, unknown>>, z.ZodTransform<Date, Date>>;
|
|
2300
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2301
2301
|
portee: z.ZodObject<{
|
|
2302
2302
|
code: z.ZodString;
|
|
2303
2303
|
libelle: z.ZodString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ActionSchema } from '../raw/amendements.js';
|
|
2
3
|
/**
|
|
3
4
|
* Available options for code état amendement.
|
|
4
5
|
*/
|
|
@@ -230,10 +231,21 @@ export declare const DispositifAmdtCreditPLFCleanSchema: z.ZodObject<{
|
|
|
230
231
|
cpEgalAe: z.ZodString;
|
|
231
232
|
}, z.core.$strip>;
|
|
232
233
|
export type DispositifAmdtCreditPLFClean = z.infer<typeof DispositifAmdtCreditPLFCleanSchema>;
|
|
234
|
+
type LigneCreditPLFRCleanShape = {
|
|
235
|
+
libelle: string;
|
|
236
|
+
programmeRef?: string;
|
|
237
|
+
autorisationEngagementSupplementaire: string;
|
|
238
|
+
creditPaiementSupplementaire: string;
|
|
239
|
+
autorisationEngagementAnnule: string;
|
|
240
|
+
creditPaiementAnnule: string;
|
|
241
|
+
action: z.infer<typeof ActionSchema>;
|
|
242
|
+
lignesCredits?: LigneCreditPLFRClean[];
|
|
243
|
+
id?: string;
|
|
244
|
+
};
|
|
233
245
|
/**
|
|
234
246
|
* Ligne crédit (PLFR - recursive) - clean version
|
|
235
247
|
*/
|
|
236
|
-
export declare const LigneCreditPLFRCleanSchema: z.ZodType<
|
|
248
|
+
export declare const LigneCreditPLFRCleanSchema: z.ZodType<LigneCreditPLFRCleanShape>;
|
|
237
249
|
export type LigneCreditPLFRClean = z.infer<typeof LigneCreditPLFRCleanSchema>;
|
|
238
250
|
/**
|
|
239
251
|
* Total (AE/CP)
|
|
@@ -249,7 +261,7 @@ export type TotalClean = z.infer<typeof TotalCleanSchema>;
|
|
|
249
261
|
* Note: listeProgrammes unwrapped from wrapper object by cleaner
|
|
250
262
|
*/
|
|
251
263
|
export declare const DispositifAmdtCreditPLFRCleanSchema: z.ZodObject<{
|
|
252
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
264
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
253
265
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
254
266
|
supplementaire: z.ZodString;
|
|
255
267
|
annule: z.ZodString;
|
|
@@ -297,7 +309,7 @@ export declare const AvantAppelCleanSchema: z.ZodObject<{
|
|
|
297
309
|
cpEgalAe: z.ZodString;
|
|
298
310
|
}, z.core.$strip>>;
|
|
299
311
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
300
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
312
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
301
313
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
302
314
|
supplementaire: z.ZodString;
|
|
303
315
|
annule: z.ZodString;
|
|
@@ -347,7 +359,7 @@ export declare const ContenuAuteurCleanSchema: z.ZodObject<{
|
|
|
347
359
|
cpEgalAe: z.ZodString;
|
|
348
360
|
}, z.core.$strip>>;
|
|
349
361
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
350
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
362
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
351
363
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
352
364
|
supplementaire: z.ZodString;
|
|
353
365
|
annule: z.ZodString;
|
|
@@ -390,7 +402,7 @@ export declare const ContenuAuteurCleanSchema: z.ZodObject<{
|
|
|
390
402
|
cpEgalAe: z.ZodString;
|
|
391
403
|
}, z.core.$strip>>;
|
|
392
404
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
393
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
405
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
394
406
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
395
407
|
supplementaire: z.ZodString;
|
|
396
408
|
annule: z.ZodString;
|
|
@@ -442,7 +454,7 @@ export declare const CorpsAmendementCleanSchema: z.ZodObject<{
|
|
|
442
454
|
cpEgalAe: z.ZodString;
|
|
443
455
|
}, z.core.$strip>>;
|
|
444
456
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
445
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
457
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
446
458
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
447
459
|
supplementaire: z.ZodString;
|
|
448
460
|
annule: z.ZodString;
|
|
@@ -485,7 +497,7 @@ export declare const CorpsAmendementCleanSchema: z.ZodObject<{
|
|
|
485
497
|
cpEgalAe: z.ZodString;
|
|
486
498
|
}, z.core.$strip>>;
|
|
487
499
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
488
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
500
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
489
501
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
490
502
|
supplementaire: z.ZodString;
|
|
491
503
|
annule: z.ZodString;
|
|
@@ -735,8 +747,8 @@ export type EtatDesTraitementsClean = z.infer<typeof EtatDesTraitementsCleanSche
|
|
|
735
747
|
* Cycle de vie de l'amendement - clean version
|
|
736
748
|
*/
|
|
737
749
|
export declare const CycleDeVieCleanSchema: z.ZodObject<{
|
|
738
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
739
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
750
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
751
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
740
752
|
soumisArticle40: z.ZodString;
|
|
741
753
|
etatDesTraitements: z.ZodObject<{
|
|
742
754
|
etat: z.ZodObject<{
|
|
@@ -847,7 +859,7 @@ export declare const CycleDeVieCleanSchema: z.ZodObject<{
|
|
|
847
859
|
}>;
|
|
848
860
|
}, z.core.$strip>>;
|
|
849
861
|
}, z.core.$strip>;
|
|
850
|
-
dateSort: z.ZodPipe<z.ZodTransform<
|
|
862
|
+
dateSort: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
851
863
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
852
864
|
R: "R";
|
|
853
865
|
Retiré: "Retiré";
|
|
@@ -1245,7 +1257,7 @@ export declare const AmendementCleanSchema: z.ZodObject<{
|
|
|
1245
1257
|
cpEgalAe: z.ZodString;
|
|
1246
1258
|
}, z.core.$strip>>;
|
|
1247
1259
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
1248
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
1260
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
1249
1261
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
1250
1262
|
supplementaire: z.ZodString;
|
|
1251
1263
|
annule: z.ZodString;
|
|
@@ -1288,7 +1300,7 @@ export declare const AmendementCleanSchema: z.ZodObject<{
|
|
|
1288
1300
|
cpEgalAe: z.ZodString;
|
|
1289
1301
|
}, z.core.$strip>>;
|
|
1290
1302
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
1291
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
1303
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
1292
1304
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
1293
1305
|
supplementaire: z.ZodString;
|
|
1294
1306
|
annule: z.ZodString;
|
|
@@ -1304,8 +1316,8 @@ export declare const AmendementCleanSchema: z.ZodObject<{
|
|
|
1304
1316
|
}, z.core.$strip>>;
|
|
1305
1317
|
}, z.core.$strip>>;
|
|
1306
1318
|
cycleDeVie: z.ZodObject<{
|
|
1307
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
1308
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
1319
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1320
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1309
1321
|
soumisArticle40: z.ZodString;
|
|
1310
1322
|
etatDesTraitements: z.ZodObject<{
|
|
1311
1323
|
etat: z.ZodObject<{
|
|
@@ -1416,7 +1428,7 @@ export declare const AmendementCleanSchema: z.ZodObject<{
|
|
|
1416
1428
|
}>;
|
|
1417
1429
|
}, z.core.$strip>>;
|
|
1418
1430
|
}, z.core.$strip>;
|
|
1419
|
-
dateSort: z.ZodPipe<z.ZodTransform<
|
|
1431
|
+
dateSort: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1420
1432
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
1421
1433
|
R: "R";
|
|
1422
1434
|
Retiré: "Retiré";
|
|
@@ -1620,7 +1632,7 @@ export declare const TexteLegislatifCleanSchema: z.ZodObject<{
|
|
|
1620
1632
|
cpEgalAe: z.ZodString;
|
|
1621
1633
|
}, z.core.$strip>>;
|
|
1622
1634
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
1623
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
1635
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
1624
1636
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
1625
1637
|
supplementaire: z.ZodString;
|
|
1626
1638
|
annule: z.ZodString;
|
|
@@ -1663,7 +1675,7 @@ export declare const TexteLegislatifCleanSchema: z.ZodObject<{
|
|
|
1663
1675
|
cpEgalAe: z.ZodString;
|
|
1664
1676
|
}, z.core.$strip>>;
|
|
1665
1677
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
1666
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
1678
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
1667
1679
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
1668
1680
|
supplementaire: z.ZodString;
|
|
1669
1681
|
annule: z.ZodString;
|
|
@@ -1679,8 +1691,8 @@ export declare const TexteLegislatifCleanSchema: z.ZodObject<{
|
|
|
1679
1691
|
}, z.core.$strip>>;
|
|
1680
1692
|
}, z.core.$strip>>;
|
|
1681
1693
|
cycleDeVie: z.ZodObject<{
|
|
1682
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
1683
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
1694
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1695
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1684
1696
|
soumisArticle40: z.ZodString;
|
|
1685
1697
|
etatDesTraitements: z.ZodObject<{
|
|
1686
1698
|
etat: z.ZodObject<{
|
|
@@ -1791,7 +1803,7 @@ export declare const TexteLegislatifCleanSchema: z.ZodObject<{
|
|
|
1791
1803
|
}>;
|
|
1792
1804
|
}, z.core.$strip>>;
|
|
1793
1805
|
}, z.core.$strip>;
|
|
1794
|
-
dateSort: z.ZodPipe<z.ZodTransform<
|
|
1806
|
+
dateSort: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1795
1807
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
1796
1808
|
R: "R";
|
|
1797
1809
|
Retiré: "Retiré";
|
|
@@ -1996,7 +2008,7 @@ export declare const AmendementsCleanSchema: z.ZodObject<{
|
|
|
1996
2008
|
cpEgalAe: z.ZodString;
|
|
1997
2009
|
}, z.core.$strip>>;
|
|
1998
2010
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
1999
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
2011
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
2000
2012
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
2001
2013
|
supplementaire: z.ZodString;
|
|
2002
2014
|
annule: z.ZodString;
|
|
@@ -2039,7 +2051,7 @@ export declare const AmendementsCleanSchema: z.ZodObject<{
|
|
|
2039
2051
|
cpEgalAe: z.ZodString;
|
|
2040
2052
|
}, z.core.$strip>>;
|
|
2041
2053
|
dispositifAmdtCreditPLFR: z.ZodOptional<z.ZodObject<{
|
|
2042
|
-
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
2054
|
+
listeProgrammes: z.ZodOptional<z.ZodArray<z.ZodType<LigneCreditPLFRCleanShape, unknown, z.core.$ZodTypeInternals<LigneCreditPLFRCleanShape, unknown>>>>;
|
|
2043
2055
|
totalAE: z.ZodOptional<z.ZodObject<{
|
|
2044
2056
|
supplementaire: z.ZodString;
|
|
2045
2057
|
annule: z.ZodString;
|
|
@@ -2055,8 +2067,8 @@ export declare const AmendementsCleanSchema: z.ZodObject<{
|
|
|
2055
2067
|
}, z.core.$strip>>;
|
|
2056
2068
|
}, z.core.$strip>>;
|
|
2057
2069
|
cycleDeVie: z.ZodObject<{
|
|
2058
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
2059
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
2070
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2071
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2060
2072
|
soumisArticle40: z.ZodString;
|
|
2061
2073
|
etatDesTraitements: z.ZodObject<{
|
|
2062
2074
|
etat: z.ZodObject<{
|
|
@@ -2167,7 +2179,7 @@ export declare const AmendementsCleanSchema: z.ZodObject<{
|
|
|
2167
2179
|
}>;
|
|
2168
2180
|
}, z.core.$strip>>;
|
|
2169
2181
|
}, z.core.$strip>;
|
|
2170
|
-
dateSort: z.ZodPipe<z.ZodTransform<
|
|
2182
|
+
dateSort: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
2171
2183
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
2172
2184
|
R: "R";
|
|
2173
2185
|
Retiré: "Retiré";
|
|
@@ -2303,3 +2315,4 @@ export declare const AmendementsCleanConvert: {
|
|
|
2303
2315
|
toAmendements: typeof parseAmendementsClean;
|
|
2304
2316
|
amendementsToJson: typeof amendementsCleanToJson;
|
|
2305
2317
|
};
|
|
2318
|
+
export {};
|
|
@@ -273,10 +273,10 @@ export type ClassificationClean = z.infer<typeof ClassificationCleanSchema>;
|
|
|
273
273
|
* Chronology of important dates in the document's lifecycle.
|
|
274
274
|
*/
|
|
275
275
|
export declare const ChronoCleanSchema: z.ZodObject<{
|
|
276
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
277
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
278
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
279
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
276
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
277
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
278
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
279
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
280
280
|
}, z.core.$strip>;
|
|
281
281
|
export type ChronoClean = z.infer<typeof ChronoCleanSchema>;
|
|
282
282
|
/**
|
|
@@ -286,10 +286,10 @@ export type ChronoClean = z.infer<typeof ChronoCleanSchema>;
|
|
|
286
286
|
*/
|
|
287
287
|
export declare const CycleDeVieCleanSchema: z.ZodObject<{
|
|
288
288
|
chrono: z.ZodObject<{
|
|
289
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
290
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
291
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
292
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
289
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
290
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
291
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
292
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
293
293
|
}, z.core.$strip>;
|
|
294
294
|
}, z.core.$strip>;
|
|
295
295
|
export type CycleDeVieClean = z.infer<typeof CycleDeVieCleanSchema>;
|
|
@@ -534,10 +534,10 @@ export declare const DocumentCleanSchema: z.ZodObject<{
|
|
|
534
534
|
legislature: z.ZodOptional<z.ZodString>;
|
|
535
535
|
cycleDeVie: z.ZodObject<{
|
|
536
536
|
chrono: z.ZodObject<{
|
|
537
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
538
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
539
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
540
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
537
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
538
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
539
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
540
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
541
541
|
}, z.core.$strip>;
|
|
542
542
|
}, z.core.$strip>;
|
|
543
543
|
denominationStructurelle: z.ZodEnum<{
|
|
@@ -1087,10 +1087,10 @@ export declare const DossiersLegislatifsCleanSchema: z.ZodObject<{
|
|
|
1087
1087
|
legislature: z.ZodOptional<z.ZodString>;
|
|
1088
1088
|
cycleDeVie: z.ZodObject<{
|
|
1089
1089
|
chrono: z.ZodObject<{
|
|
1090
|
-
dateCreation: z.ZodPipe<z.ZodTransform<
|
|
1091
|
-
dateDepot: z.ZodPipe<z.ZodTransform<
|
|
1092
|
-
datePublication: z.ZodPipe<z.ZodTransform<
|
|
1093
|
-
datePublicationWeb: z.ZodPipe<z.ZodTransform<
|
|
1090
|
+
dateCreation: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1091
|
+
dateDepot: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1092
|
+
datePublication: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1093
|
+
datePublicationWeb: z.ZodPipe<z.ZodTransform<string | Date | undefined, unknown>, z.ZodOptional<z.ZodDate>>;
|
|
1094
1094
|
}, z.core.$strip>;
|
|
1095
1095
|
}, z.core.$strip>;
|
|
1096
1096
|
denominationStructurelle: z.ZodEnum<{
|