@tricoteuses/assemblee 3.8.4 → 3.8.6
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-BYKlEcWb.js → amendements-BtCdrXW8.js} +36 -33
- package/lib/{amendements-CvlD2dI4.js → amendements-DfZse75q.js} +924 -672
- package/lib/amendements-xiii.d.ts +56 -0
- package/lib/amendements-xiii.test.d.ts +1 -0
- package/lib/browser-Dl6SgoZX.js +8164 -0
- package/lib/cleaners/amendements-xiv.test.d.ts +1 -0
- package/lib/cleaners/amendements.d.ts +18 -1
- package/lib/cleaners.js +3 -3
- package/lib/index.d.ts +5 -2
- package/lib/index.js +596 -99
- package/lib/inserters.d.ts +2 -2
- package/lib/{loaders-BNXs79lC.js → loaders-Dd8i-E7o.js} +11 -2
- package/lib/loaders.js +1 -1
- package/lib/open_data/artifacts.d.ts +12 -0
- package/lib/parsers.js +359 -8521
- package/lib/schemas/clean/amendements-xiii.d.ts +579 -0
- package/lib/schemas/clean/amendements.d.ts +502 -11
- package/lib/schemas/enriched/amendements.d.ts +6 -6
- package/lib/schemas/raw/amendements-xiii.d.ts +754 -0
- package/lib/schemas/raw/amendements-xiv.test.d.ts +1 -0
- package/lib/schemas/raw/amendements.d.ts +1769 -2
- package/lib/schemas/raw/amendements.test.d.ts +1 -0
- package/lib/scripts/clean_reorganized_data.test.d.ts +1 -0
- package/lib/scripts/data-download.d.ts +132 -0
- package/lib/scripts/retrieve_amendements_xiii.d.ts +51 -0
- package/lib/scripts/retrieve_open_data.d.ts +39 -24
- package/lib/scripts/shared/amendements_xiv_stream.d.ts +29 -0
- package/lib/scripts/shared/amendements_xiv_stream.test.d.ts +1 -0
- package/lib/scripts/shared/cli_helpers.d.ts +20 -0
- package/lib/scripts/shared/harvest_windows.d.ts +32 -0
- package/lib/scripts/shared/harvest_windows.test.d.ts +1 -0
- package/lib/{scrutins-BUVxV-QV.js → scrutins-CLWnMYLE.js} +266 -266
- package/package.json +1 -1
|
@@ -121,8 +121,8 @@ export declare const avantAApresOptions: readonly ["A", "Apres", "Avant"];
|
|
|
121
121
|
*/
|
|
122
122
|
export declare const AvantAApresSchema: z.ZodEnum<{
|
|
123
123
|
A: "A";
|
|
124
|
-
Avant: "Avant";
|
|
125
124
|
Apres: "Apres";
|
|
125
|
+
Avant: "Avant";
|
|
126
126
|
}>;
|
|
127
127
|
/**
|
|
128
128
|
* Type representing avant/A/Après.
|
|
@@ -953,8 +953,8 @@ export type LoiReferenceClean = z.infer<typeof LoiReferenceCleanSchema>;
|
|
|
953
953
|
export declare const AlineaCleanSchema: z.ZodObject<{
|
|
954
954
|
avantAApres: z.ZodOptional<z.ZodEnum<{
|
|
955
955
|
A: "A";
|
|
956
|
-
Avant: "Avant";
|
|
957
956
|
Apres: "Apres";
|
|
957
|
+
Avant: "Avant";
|
|
958
958
|
}>>;
|
|
959
959
|
numero: z.ZodOptional<z.ZodString>;
|
|
960
960
|
alineaDesignation: z.ZodOptional<z.ZodString>;
|
|
@@ -976,8 +976,8 @@ export declare const DivisionCleanSchema: z.ZodObject<{
|
|
|
976
976
|
}>;
|
|
977
977
|
avantAApres: z.ZodEnum<{
|
|
978
978
|
A: "A";
|
|
979
|
-
Avant: "Avant";
|
|
980
979
|
Apres: "Apres";
|
|
980
|
+
Avant: "Avant";
|
|
981
981
|
}>;
|
|
982
982
|
divisionRattachee: z.ZodOptional<z.ZodString>;
|
|
983
983
|
articleAdditionnel: z.ZodString;
|
|
@@ -1018,8 +1018,8 @@ export declare const PointeurFragmentTexteCleanSchema: z.ZodObject<{
|
|
|
1018
1018
|
}>;
|
|
1019
1019
|
avantAApres: z.ZodEnum<{
|
|
1020
1020
|
A: "A";
|
|
1021
|
-
Avant: "Avant";
|
|
1022
1021
|
Apres: "Apres";
|
|
1022
|
+
Avant: "Avant";
|
|
1023
1023
|
}>;
|
|
1024
1024
|
divisionRattachee: z.ZodOptional<z.ZodString>;
|
|
1025
1025
|
articleAdditionnel: z.ZodString;
|
|
@@ -1029,8 +1029,8 @@ export declare const PointeurFragmentTexteCleanSchema: z.ZodObject<{
|
|
|
1029
1029
|
alinea: z.ZodOptional<z.ZodObject<{
|
|
1030
1030
|
avantAApres: z.ZodOptional<z.ZodEnum<{
|
|
1031
1031
|
A: "A";
|
|
1032
|
-
Avant: "Avant";
|
|
1033
1032
|
Apres: "Apres";
|
|
1033
|
+
Avant: "Avant";
|
|
1034
1034
|
}>>;
|
|
1035
1035
|
numero: z.ZodOptional<z.ZodString>;
|
|
1036
1036
|
alineaDesignation: z.ZodOptional<z.ZodString>;
|
|
@@ -1207,8 +1207,8 @@ export declare const AmendementCleanSchema: z.ZodObject<{
|
|
|
1207
1207
|
}>;
|
|
1208
1208
|
avantAApres: z.ZodEnum<{
|
|
1209
1209
|
A: "A";
|
|
1210
|
-
Avant: "Avant";
|
|
1211
1210
|
Apres: "Apres";
|
|
1211
|
+
Avant: "Avant";
|
|
1212
1212
|
}>;
|
|
1213
1213
|
divisionRattachee: z.ZodOptional<z.ZodString>;
|
|
1214
1214
|
articleAdditionnel: z.ZodString;
|
|
@@ -1218,8 +1218,8 @@ export declare const AmendementCleanSchema: z.ZodObject<{
|
|
|
1218
1218
|
alinea: z.ZodOptional<z.ZodObject<{
|
|
1219
1219
|
avantAApres: z.ZodOptional<z.ZodEnum<{
|
|
1220
1220
|
A: "A";
|
|
1221
|
-
Avant: "Avant";
|
|
1222
1221
|
Apres: "Apres";
|
|
1222
|
+
Avant: "Avant";
|
|
1223
1223
|
}>>;
|
|
1224
1224
|
numero: z.ZodOptional<z.ZodString>;
|
|
1225
1225
|
alineaDesignation: z.ZodOptional<z.ZodString>;
|
|
@@ -1586,8 +1586,8 @@ export declare const TexteLegislatifCleanSchema: z.ZodObject<{
|
|
|
1586
1586
|
}>;
|
|
1587
1587
|
avantAApres: z.ZodEnum<{
|
|
1588
1588
|
A: "A";
|
|
1589
|
-
Avant: "Avant";
|
|
1590
1589
|
Apres: "Apres";
|
|
1590
|
+
Avant: "Avant";
|
|
1591
1591
|
}>;
|
|
1592
1592
|
divisionRattachee: z.ZodOptional<z.ZodString>;
|
|
1593
1593
|
articleAdditionnel: z.ZodString;
|
|
@@ -1597,8 +1597,8 @@ export declare const TexteLegislatifCleanSchema: z.ZodObject<{
|
|
|
1597
1597
|
alinea: z.ZodOptional<z.ZodObject<{
|
|
1598
1598
|
avantAApres: z.ZodOptional<z.ZodEnum<{
|
|
1599
1599
|
A: "A";
|
|
1600
|
-
Avant: "Avant";
|
|
1601
1600
|
Apres: "Apres";
|
|
1601
|
+
Avant: "Avant";
|
|
1602
1602
|
}>>;
|
|
1603
1603
|
numero: z.ZodOptional<z.ZodString>;
|
|
1604
1604
|
alineaDesignation: z.ZodOptional<z.ZodString>;
|
|
@@ -1966,8 +1966,8 @@ export declare const AmendementsCleanSchema: z.ZodObject<{
|
|
|
1966
1966
|
}>;
|
|
1967
1967
|
avantAApres: z.ZodEnum<{
|
|
1968
1968
|
A: "A";
|
|
1969
|
-
Avant: "Avant";
|
|
1970
1969
|
Apres: "Apres";
|
|
1970
|
+
Avant: "Avant";
|
|
1971
1971
|
}>;
|
|
1972
1972
|
divisionRattachee: z.ZodOptional<z.ZodString>;
|
|
1973
1973
|
articleAdditionnel: z.ZodString;
|
|
@@ -1977,8 +1977,8 @@ export declare const AmendementsCleanSchema: z.ZodObject<{
|
|
|
1977
1977
|
alinea: z.ZodOptional<z.ZodObject<{
|
|
1978
1978
|
avantAApres: z.ZodOptional<z.ZodEnum<{
|
|
1979
1979
|
A: "A";
|
|
1980
|
-
Avant: "Avant";
|
|
1981
1980
|
Apres: "Apres";
|
|
1981
|
+
Avant: "Avant";
|
|
1982
1982
|
}>>;
|
|
1983
1983
|
numero: z.ZodOptional<z.ZodString>;
|
|
1984
1984
|
alineaDesignation: z.ZodOptional<z.ZodString>;
|
|
@@ -2339,4 +2339,495 @@ export declare const AmendementsCleanConvert: {
|
|
|
2339
2339
|
toAmendements: typeof parseAmendementsClean;
|
|
2340
2340
|
amendementsToJson: typeof amendementsCleanToJson;
|
|
2341
2341
|
};
|
|
2342
|
+
/**
|
|
2343
|
+
* Saisine de l'amendement (XIV) — unchanged from raw.
|
|
2344
|
+
*/
|
|
2345
|
+
export declare const SaisineXivCleanSchema: z.ZodObject<{
|
|
2346
|
+
mentionSecondeDeliberation: z.ZodString;
|
|
2347
|
+
numeroPartiePLF: z.ZodString;
|
|
2348
|
+
organeExamen: z.ZodString;
|
|
2349
|
+
refTexteLegislatif: z.ZodString;
|
|
2350
|
+
}, z.core.$strip>;
|
|
2351
|
+
export type SaisineXivClean = z.infer<typeof SaisineXivCleanSchema>;
|
|
2352
|
+
/**
|
|
2353
|
+
* Identification de l'amendement (XIV) — unchanged from raw.
|
|
2354
|
+
*/
|
|
2355
|
+
export declare const IdentificationXivCleanSchema: z.ZodObject<{
|
|
2356
|
+
legislature: z.ZodString;
|
|
2357
|
+
numRect: z.ZodString;
|
|
2358
|
+
numero: z.ZodString;
|
|
2359
|
+
saisine: z.ZodObject<{
|
|
2360
|
+
mentionSecondeDeliberation: z.ZodString;
|
|
2361
|
+
numeroPartiePLF: z.ZodString;
|
|
2362
|
+
organeExamen: z.ZodString;
|
|
2363
|
+
refTexteLegislatif: z.ZodString;
|
|
2364
|
+
}, z.core.$strip>;
|
|
2365
|
+
}, z.core.$strip>;
|
|
2366
|
+
export type IdentificationXivClean = z.infer<typeof IdentificationXivCleanSchema>;
|
|
2367
|
+
/**
|
|
2368
|
+
* Division visée (XIV).
|
|
2369
|
+
*
|
|
2370
|
+
* Unlike the modern DivisionCleanSchema, articleAdditionnel and
|
|
2371
|
+
* chapitreAdditionnel are optional: the XIV export uses null where the
|
|
2372
|
+
* modern export uses "0".
|
|
2373
|
+
*/
|
|
2374
|
+
export declare const DivisionXivCleanSchema: z.ZodObject<{
|
|
2375
|
+
titre: z.ZodString;
|
|
2376
|
+
articleDesignationCourte: z.ZodString;
|
|
2377
|
+
type: z.ZodEnum<{
|
|
2378
|
+
ANNEXE: "ANNEXE";
|
|
2379
|
+
ARTICLE: "ARTICLE";
|
|
2380
|
+
CHAPITRE: "CHAPITRE";
|
|
2381
|
+
TITRE: "TITRE";
|
|
2382
|
+
}>;
|
|
2383
|
+
avantAApres: z.ZodEnum<{
|
|
2384
|
+
A: "A";
|
|
2385
|
+
Apres: "Apres";
|
|
2386
|
+
Avant: "Avant";
|
|
2387
|
+
}>;
|
|
2388
|
+
divisionRattachee: z.ZodString;
|
|
2389
|
+
articleAdditionnel: z.ZodOptional<z.ZodString>;
|
|
2390
|
+
chapitreAdditionnel: z.ZodOptional<z.ZodString>;
|
|
2391
|
+
urlDivisionTexteVise: z.ZodOptional<z.ZodString>;
|
|
2392
|
+
}, z.core.$strip>;
|
|
2393
|
+
export type DivisionXivClean = z.infer<typeof DivisionXivCleanSchema>;
|
|
2394
|
+
/**
|
|
2395
|
+
* Mission visée (XIV).
|
|
2396
|
+
*
|
|
2397
|
+
* The XIV field names predate the modern mission vocabulary
|
|
2398
|
+
* (codeEtat / codeMissionMinefi / missionRef).
|
|
2399
|
+
*/
|
|
2400
|
+
export declare const MissionViseeXivCleanSchema: z.ZodObject<{
|
|
2401
|
+
codeMissionPLF: z.ZodString;
|
|
2402
|
+
idMissionAN: z.ZodString;
|
|
2403
|
+
libelleMission: z.ZodString;
|
|
2404
|
+
libelleMissionPLF: z.ZodString;
|
|
2405
|
+
}, z.core.$strip>;
|
|
2406
|
+
export type MissionViseeXivClean = z.infer<typeof MissionViseeXivCleanSchema>;
|
|
2407
|
+
/**
|
|
2408
|
+
* Pointeur fragment texte (XIV).
|
|
2409
|
+
*
|
|
2410
|
+
* Same shape as the modern PointeurFragmentTexteCleanSchema, with a
|
|
2411
|
+
* XIV-specific missionVisee; division is always present in the XIV export.
|
|
2412
|
+
*/
|
|
2413
|
+
export declare const PointeurFragmentTexteXivCleanSchema: z.ZodObject<{
|
|
2414
|
+
division: z.ZodObject<{
|
|
2415
|
+
titre: z.ZodString;
|
|
2416
|
+
articleDesignationCourte: z.ZodString;
|
|
2417
|
+
type: z.ZodEnum<{
|
|
2418
|
+
ANNEXE: "ANNEXE";
|
|
2419
|
+
ARTICLE: "ARTICLE";
|
|
2420
|
+
CHAPITRE: "CHAPITRE";
|
|
2421
|
+
TITRE: "TITRE";
|
|
2422
|
+
}>;
|
|
2423
|
+
avantAApres: z.ZodEnum<{
|
|
2424
|
+
A: "A";
|
|
2425
|
+
Apres: "Apres";
|
|
2426
|
+
Avant: "Avant";
|
|
2427
|
+
}>;
|
|
2428
|
+
divisionRattachee: z.ZodString;
|
|
2429
|
+
articleAdditionnel: z.ZodOptional<z.ZodString>;
|
|
2430
|
+
chapitreAdditionnel: z.ZodOptional<z.ZodString>;
|
|
2431
|
+
urlDivisionTexteVise: z.ZodOptional<z.ZodString>;
|
|
2432
|
+
}, z.core.$strip>;
|
|
2433
|
+
alinea: z.ZodOptional<z.ZodObject<{
|
|
2434
|
+
avantAApres: z.ZodOptional<z.ZodEnum<{
|
|
2435
|
+
A: "A";
|
|
2436
|
+
Apres: "Apres";
|
|
2437
|
+
Avant: "Avant";
|
|
2438
|
+
}>>;
|
|
2439
|
+
numero: z.ZodOptional<z.ZodString>;
|
|
2440
|
+
alineaDesignation: z.ZodOptional<z.ZodString>;
|
|
2441
|
+
}, z.core.$strip>>;
|
|
2442
|
+
missionVisee: z.ZodOptional<z.ZodObject<{
|
|
2443
|
+
codeMissionPLF: z.ZodString;
|
|
2444
|
+
idMissionAN: z.ZodString;
|
|
2445
|
+
libelleMission: z.ZodString;
|
|
2446
|
+
libelleMissionPLF: z.ZodString;
|
|
2447
|
+
}, z.core.$strip>>;
|
|
2448
|
+
}, z.core.$strip>;
|
|
2449
|
+
export type PointeurFragmentTexteXivClean = z.infer<typeof PointeurFragmentTexteXivCleanSchema>;
|
|
2450
|
+
/**
|
|
2451
|
+
* Montants AE/CP d'un amendement crédit (XIV).
|
|
2452
|
+
*/
|
|
2453
|
+
export declare const MontantXivCleanSchema: z.ZodObject<{
|
|
2454
|
+
montantNegatif: z.ZodString;
|
|
2455
|
+
montantPositif: z.ZodString;
|
|
2456
|
+
}, z.core.$strip>;
|
|
2457
|
+
export type MontantXivClean = z.infer<typeof MontantXivCleanSchema>;
|
|
2458
|
+
/**
|
|
2459
|
+
* Ligne de crédit d'un amendement crédit (XIV).
|
|
2460
|
+
*/
|
|
2461
|
+
export declare const LigneCreditXivCleanSchema: z.ZodObject<{
|
|
2462
|
+
AE: z.ZodObject<{
|
|
2463
|
+
montantNegatif: z.ZodString;
|
|
2464
|
+
montantPositif: z.ZodString;
|
|
2465
|
+
}, z.core.$strip>;
|
|
2466
|
+
CP: z.ZodObject<{
|
|
2467
|
+
montantNegatif: z.ZodString;
|
|
2468
|
+
montantPositif: z.ZodString;
|
|
2469
|
+
}, z.core.$strip>;
|
|
2470
|
+
id: z.ZodString;
|
|
2471
|
+
libelle: z.ZodString;
|
|
2472
|
+
}, z.core.$strip>;
|
|
2473
|
+
export type LigneCreditXivClean = z.infer<typeof LigneCreditXivCleanSchema>;
|
|
2474
|
+
/**
|
|
2475
|
+
* Programme visé par un amendement crédit (XIV).
|
|
2476
|
+
*/
|
|
2477
|
+
export declare const ProgrammeXivCleanSchema: z.ZodObject<{
|
|
2478
|
+
AE: z.ZodObject<{
|
|
2479
|
+
montantNegatif: z.ZodString;
|
|
2480
|
+
montantPositif: z.ZodString;
|
|
2481
|
+
}, z.core.$strip>;
|
|
2482
|
+
CP: z.ZodObject<{
|
|
2483
|
+
montantNegatif: z.ZodString;
|
|
2484
|
+
montantPositif: z.ZodString;
|
|
2485
|
+
}, z.core.$strip>;
|
|
2486
|
+
action: z.ZodString;
|
|
2487
|
+
id: z.ZodString;
|
|
2488
|
+
libelle: z.ZodString;
|
|
2489
|
+
lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2490
|
+
AE: z.ZodObject<{
|
|
2491
|
+
montantNegatif: z.ZodString;
|
|
2492
|
+
montantPositif: z.ZodString;
|
|
2493
|
+
}, z.core.$strip>;
|
|
2494
|
+
CP: z.ZodObject<{
|
|
2495
|
+
montantNegatif: z.ZodString;
|
|
2496
|
+
montantPositif: z.ZodString;
|
|
2497
|
+
}, z.core.$strip>;
|
|
2498
|
+
id: z.ZodString;
|
|
2499
|
+
libelle: z.ZodString;
|
|
2500
|
+
}, z.core.$strip>>>;
|
|
2501
|
+
}, z.core.$strip>;
|
|
2502
|
+
export type ProgrammeXivClean = z.infer<typeof ProgrammeXivCleanSchema>;
|
|
2503
|
+
/**
|
|
2504
|
+
* Total AE ou CP d'un amendement crédit (XIV).
|
|
2505
|
+
*/
|
|
2506
|
+
export declare const TotalXivCleanSchema: z.ZodObject<{
|
|
2507
|
+
montantNegatif: z.ZodString;
|
|
2508
|
+
montantPositif: z.ZodString;
|
|
2509
|
+
solde: z.ZodString;
|
|
2510
|
+
}, z.core.$strip>;
|
|
2511
|
+
export type TotalXivClean = z.infer<typeof TotalXivCleanSchema>;
|
|
2512
|
+
/**
|
|
2513
|
+
* Dispositif d'un amendement crédit (PLF, XIV) — already flattened like
|
|
2514
|
+
* the modern cleaner output (listeProgrammes and lignesCredits are arrays).
|
|
2515
|
+
*/
|
|
2516
|
+
export declare const DispositifAmdtCreditXivCleanSchema: z.ZodObject<{
|
|
2517
|
+
listeProgrammes: z.ZodArray<z.ZodObject<{
|
|
2518
|
+
AE: z.ZodObject<{
|
|
2519
|
+
montantNegatif: z.ZodString;
|
|
2520
|
+
montantPositif: z.ZodString;
|
|
2521
|
+
}, z.core.$strip>;
|
|
2522
|
+
CP: z.ZodObject<{
|
|
2523
|
+
montantNegatif: z.ZodString;
|
|
2524
|
+
montantPositif: z.ZodString;
|
|
2525
|
+
}, z.core.$strip>;
|
|
2526
|
+
action: z.ZodString;
|
|
2527
|
+
id: z.ZodString;
|
|
2528
|
+
libelle: z.ZodString;
|
|
2529
|
+
lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2530
|
+
AE: z.ZodObject<{
|
|
2531
|
+
montantNegatif: z.ZodString;
|
|
2532
|
+
montantPositif: z.ZodString;
|
|
2533
|
+
}, z.core.$strip>;
|
|
2534
|
+
CP: z.ZodObject<{
|
|
2535
|
+
montantNegatif: z.ZodString;
|
|
2536
|
+
montantPositif: z.ZodString;
|
|
2537
|
+
}, z.core.$strip>;
|
|
2538
|
+
id: z.ZodString;
|
|
2539
|
+
libelle: z.ZodString;
|
|
2540
|
+
}, z.core.$strip>>>;
|
|
2541
|
+
}, z.core.$strip>>;
|
|
2542
|
+
totalAE: z.ZodObject<{
|
|
2543
|
+
montantNegatif: z.ZodString;
|
|
2544
|
+
montantPositif: z.ZodString;
|
|
2545
|
+
solde: z.ZodString;
|
|
2546
|
+
}, z.core.$strip>;
|
|
2547
|
+
totalCP: z.ZodObject<{
|
|
2548
|
+
montantNegatif: z.ZodString;
|
|
2549
|
+
montantPositif: z.ZodString;
|
|
2550
|
+
solde: z.ZodString;
|
|
2551
|
+
}, z.core.$strip>;
|
|
2552
|
+
}, z.core.$strip>;
|
|
2553
|
+
export type DispositifAmdtCreditXivClean = z.infer<typeof DispositifAmdtCreditXivCleanSchema>;
|
|
2554
|
+
/**
|
|
2555
|
+
* Corps de l'amendement (XIV) — flat, unlike the modern
|
|
2556
|
+
* CorpsAmendementCleanSchema (no contenuAuteur wrapper).
|
|
2557
|
+
*/
|
|
2558
|
+
export declare const CorpsXivCleanSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2559
|
+
annexeExposeSommaire: z.ZodOptional<z.ZodString>;
|
|
2560
|
+
dispositif: z.ZodString;
|
|
2561
|
+
exposeSommaire: z.ZodString;
|
|
2562
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2563
|
+
annexeExposeSommaire: z.ZodOptional<z.ZodString>;
|
|
2564
|
+
dispositifAmdtCredit: z.ZodObject<{
|
|
2565
|
+
listeProgrammes: z.ZodArray<z.ZodObject<{
|
|
2566
|
+
AE: z.ZodObject<{
|
|
2567
|
+
montantNegatif: z.ZodString;
|
|
2568
|
+
montantPositif: z.ZodString;
|
|
2569
|
+
}, z.core.$strip>;
|
|
2570
|
+
CP: z.ZodObject<{
|
|
2571
|
+
montantNegatif: z.ZodString;
|
|
2572
|
+
montantPositif: z.ZodString;
|
|
2573
|
+
}, z.core.$strip>;
|
|
2574
|
+
action: z.ZodString;
|
|
2575
|
+
id: z.ZodString;
|
|
2576
|
+
libelle: z.ZodString;
|
|
2577
|
+
lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2578
|
+
AE: z.ZodObject<{
|
|
2579
|
+
montantNegatif: z.ZodString;
|
|
2580
|
+
montantPositif: z.ZodString;
|
|
2581
|
+
}, z.core.$strip>;
|
|
2582
|
+
CP: z.ZodObject<{
|
|
2583
|
+
montantNegatif: z.ZodString;
|
|
2584
|
+
montantPositif: z.ZodString;
|
|
2585
|
+
}, z.core.$strip>;
|
|
2586
|
+
id: z.ZodString;
|
|
2587
|
+
libelle: z.ZodString;
|
|
2588
|
+
}, z.core.$strip>>>;
|
|
2589
|
+
}, z.core.$strip>>;
|
|
2590
|
+
totalAE: z.ZodObject<{
|
|
2591
|
+
montantNegatif: z.ZodString;
|
|
2592
|
+
montantPositif: z.ZodString;
|
|
2593
|
+
solde: z.ZodString;
|
|
2594
|
+
}, z.core.$strip>;
|
|
2595
|
+
totalCP: z.ZodObject<{
|
|
2596
|
+
montantNegatif: z.ZodString;
|
|
2597
|
+
montantPositif: z.ZodString;
|
|
2598
|
+
solde: z.ZodString;
|
|
2599
|
+
}, z.core.$strip>;
|
|
2600
|
+
}, z.core.$strip>;
|
|
2601
|
+
exposeSommaire: z.ZodString;
|
|
2602
|
+
}, z.core.$strip>]>;
|
|
2603
|
+
export type CorpsXivClean = z.infer<typeof CorpsXivCleanSchema>;
|
|
2604
|
+
/**
|
|
2605
|
+
* État de l'amendement (XIV) — same historical libellés as the modern ones;
|
|
2606
|
+
* reuses the raw XIV schema so raw and clean cannot silently diverge.
|
|
2607
|
+
*/
|
|
2608
|
+
export declare const EtatXivCleanSchema: z.ZodEnum<{
|
|
2609
|
+
effacé: "effacé";
|
|
2610
|
+
"A discuter": "A discuter";
|
|
2611
|
+
"A d\u00E9poser": "A déposer";
|
|
2612
|
+
Discuté: "Discuté";
|
|
2613
|
+
"En recevabilit\u00E9": "En recevabilité";
|
|
2614
|
+
"En traitement": "En traitement";
|
|
2615
|
+
Irrecevable: "Irrecevable";
|
|
2616
|
+
"Irrecevable 40": "Irrecevable 40";
|
|
2617
|
+
Retiré: "Retiré";
|
|
2618
|
+
}>;
|
|
2619
|
+
export type EtatXivClean = z.infer<typeof EtatXivCleanSchema>;
|
|
2620
|
+
/**
|
|
2621
|
+
* Sort de l'amendement (XIV).
|
|
2622
|
+
*/
|
|
2623
|
+
export declare const SortXivCleanSchema: z.ZodObject<{
|
|
2624
|
+
dateSaisie: z.ZodOptional<z.ZodString>;
|
|
2625
|
+
sortEnSeance: z.ZodEnum<{
|
|
2626
|
+
Retiré: "Retiré";
|
|
2627
|
+
Adopté: "Adopté";
|
|
2628
|
+
"Non soutenu": "Non soutenu";
|
|
2629
|
+
Rejeté: "Rejeté";
|
|
2630
|
+
Tombé: "Tombé";
|
|
2631
|
+
"Irrecevable Art 41c": "Irrecevable Art 41c";
|
|
2632
|
+
"Irrecevable Art 44c": "Irrecevable Art 44c";
|
|
2633
|
+
}>;
|
|
2634
|
+
}, z.core.$strip>;
|
|
2635
|
+
export type SortXivClean = z.infer<typeof SortXivCleanSchema>;
|
|
2636
|
+
/**
|
|
2637
|
+
* Amendement (XIV, main object) - clean version
|
|
2638
|
+
*/
|
|
2639
|
+
export declare const AmendementXivCleanSchema: z.ZodObject<{
|
|
2640
|
+
uid: z.ZodString;
|
|
2641
|
+
identifiant: z.ZodObject<{
|
|
2642
|
+
legislature: z.ZodString;
|
|
2643
|
+
numRect: z.ZodString;
|
|
2644
|
+
numero: z.ZodString;
|
|
2645
|
+
saisine: z.ZodObject<{
|
|
2646
|
+
mentionSecondeDeliberation: z.ZodString;
|
|
2647
|
+
numeroPartiePLF: z.ZodString;
|
|
2648
|
+
organeExamen: z.ZodString;
|
|
2649
|
+
refTexteLegislatif: z.ZodString;
|
|
2650
|
+
}, z.core.$strip>;
|
|
2651
|
+
}, z.core.$strip>;
|
|
2652
|
+
numeroLong: z.ZodString;
|
|
2653
|
+
etapeTexte: z.ZodString;
|
|
2654
|
+
triAmendement: z.ZodOptional<z.ZodString>;
|
|
2655
|
+
cardinaliteAmdtMultiples: z.ZodString;
|
|
2656
|
+
amendementParentRef: z.ZodOptional<z.ZodString>;
|
|
2657
|
+
etat: z.ZodEnum<{
|
|
2658
|
+
effacé: "effacé";
|
|
2659
|
+
"A discuter": "A discuter";
|
|
2660
|
+
"A d\u00E9poser": "A déposer";
|
|
2661
|
+
Discuté: "Discuté";
|
|
2662
|
+
"En recevabilit\u00E9": "En recevabilité";
|
|
2663
|
+
"En traitement": "En traitement";
|
|
2664
|
+
Irrecevable: "Irrecevable";
|
|
2665
|
+
"Irrecevable 40": "Irrecevable 40";
|
|
2666
|
+
Retiré: "Retiré";
|
|
2667
|
+
}>;
|
|
2668
|
+
signataires: z.ZodObject<{
|
|
2669
|
+
auteur: z.ZodObject<{
|
|
2670
|
+
typeAuteur: z.ZodEnum<{
|
|
2671
|
+
Député: "Député";
|
|
2672
|
+
Gouvernement: "Gouvernement";
|
|
2673
|
+
Rapporteur: "Rapporteur";
|
|
2674
|
+
}>;
|
|
2675
|
+
gouvernementRef: z.ZodOptional<z.ZodString>;
|
|
2676
|
+
acteurRef: z.ZodOptional<z.ZodString>;
|
|
2677
|
+
groupePolitiqueRef: z.ZodOptional<z.ZodString>;
|
|
2678
|
+
auteurRapporteurOrganeRef: z.ZodOptional<z.ZodString>;
|
|
2679
|
+
}, z.core.$strip>;
|
|
2680
|
+
cosignatairesRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2681
|
+
suffixe: z.ZodOptional<z.ZodString>;
|
|
2682
|
+
libelle: z.ZodOptional<z.ZodString>;
|
|
2683
|
+
}, z.core.$strip>;
|
|
2684
|
+
pointeurFragmentTexte: z.ZodObject<{
|
|
2685
|
+
division: z.ZodObject<{
|
|
2686
|
+
titre: z.ZodString;
|
|
2687
|
+
articleDesignationCourte: z.ZodString;
|
|
2688
|
+
type: z.ZodEnum<{
|
|
2689
|
+
ANNEXE: "ANNEXE";
|
|
2690
|
+
ARTICLE: "ARTICLE";
|
|
2691
|
+
CHAPITRE: "CHAPITRE";
|
|
2692
|
+
TITRE: "TITRE";
|
|
2693
|
+
}>;
|
|
2694
|
+
avantAApres: z.ZodEnum<{
|
|
2695
|
+
A: "A";
|
|
2696
|
+
Apres: "Apres";
|
|
2697
|
+
Avant: "Avant";
|
|
2698
|
+
}>;
|
|
2699
|
+
divisionRattachee: z.ZodString;
|
|
2700
|
+
articleAdditionnel: z.ZodOptional<z.ZodString>;
|
|
2701
|
+
chapitreAdditionnel: z.ZodOptional<z.ZodString>;
|
|
2702
|
+
urlDivisionTexteVise: z.ZodOptional<z.ZodString>;
|
|
2703
|
+
}, z.core.$strip>;
|
|
2704
|
+
alinea: z.ZodOptional<z.ZodObject<{
|
|
2705
|
+
avantAApres: z.ZodOptional<z.ZodEnum<{
|
|
2706
|
+
A: "A";
|
|
2707
|
+
Apres: "Apres";
|
|
2708
|
+
Avant: "Avant";
|
|
2709
|
+
}>>;
|
|
2710
|
+
numero: z.ZodOptional<z.ZodString>;
|
|
2711
|
+
alineaDesignation: z.ZodOptional<z.ZodString>;
|
|
2712
|
+
}, z.core.$strip>>;
|
|
2713
|
+
missionVisee: z.ZodOptional<z.ZodObject<{
|
|
2714
|
+
codeMissionPLF: z.ZodString;
|
|
2715
|
+
idMissionAN: z.ZodString;
|
|
2716
|
+
libelleMission: z.ZodString;
|
|
2717
|
+
libelleMissionPLF: z.ZodString;
|
|
2718
|
+
}, z.core.$strip>>;
|
|
2719
|
+
}, z.core.$strip>;
|
|
2720
|
+
corps: z.ZodUnion<readonly [z.ZodObject<{
|
|
2721
|
+
annexeExposeSommaire: z.ZodOptional<z.ZodString>;
|
|
2722
|
+
dispositif: z.ZodString;
|
|
2723
|
+
exposeSommaire: z.ZodString;
|
|
2724
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2725
|
+
annexeExposeSommaire: z.ZodOptional<z.ZodString>;
|
|
2726
|
+
dispositifAmdtCredit: z.ZodObject<{
|
|
2727
|
+
listeProgrammes: z.ZodArray<z.ZodObject<{
|
|
2728
|
+
AE: z.ZodObject<{
|
|
2729
|
+
montantNegatif: z.ZodString;
|
|
2730
|
+
montantPositif: z.ZodString;
|
|
2731
|
+
}, z.core.$strip>;
|
|
2732
|
+
CP: z.ZodObject<{
|
|
2733
|
+
montantNegatif: z.ZodString;
|
|
2734
|
+
montantPositif: z.ZodString;
|
|
2735
|
+
}, z.core.$strip>;
|
|
2736
|
+
action: z.ZodString;
|
|
2737
|
+
id: z.ZodString;
|
|
2738
|
+
libelle: z.ZodString;
|
|
2739
|
+
lignesCredits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2740
|
+
AE: z.ZodObject<{
|
|
2741
|
+
montantNegatif: z.ZodString;
|
|
2742
|
+
montantPositif: z.ZodString;
|
|
2743
|
+
}, z.core.$strip>;
|
|
2744
|
+
CP: z.ZodObject<{
|
|
2745
|
+
montantNegatif: z.ZodString;
|
|
2746
|
+
montantPositif: z.ZodString;
|
|
2747
|
+
}, z.core.$strip>;
|
|
2748
|
+
id: z.ZodString;
|
|
2749
|
+
libelle: z.ZodString;
|
|
2750
|
+
}, z.core.$strip>>>;
|
|
2751
|
+
}, z.core.$strip>>;
|
|
2752
|
+
totalAE: z.ZodObject<{
|
|
2753
|
+
montantNegatif: z.ZodString;
|
|
2754
|
+
montantPositif: z.ZodString;
|
|
2755
|
+
solde: z.ZodString;
|
|
2756
|
+
}, z.core.$strip>;
|
|
2757
|
+
totalCP: z.ZodObject<{
|
|
2758
|
+
montantNegatif: z.ZodString;
|
|
2759
|
+
montantPositif: z.ZodString;
|
|
2760
|
+
solde: z.ZodString;
|
|
2761
|
+
}, z.core.$strip>;
|
|
2762
|
+
}, z.core.$strip>;
|
|
2763
|
+
exposeSommaire: z.ZodString;
|
|
2764
|
+
}, z.core.$strip>]>;
|
|
2765
|
+
representation: z.ZodOptional<z.ZodObject<{
|
|
2766
|
+
nom: z.ZodEnum<{
|
|
2767
|
+
PDF: "PDF";
|
|
2768
|
+
}>;
|
|
2769
|
+
typeMime: z.ZodObject<{
|
|
2770
|
+
type: z.ZodEnum<{
|
|
2771
|
+
application: "application";
|
|
2772
|
+
}>;
|
|
2773
|
+
subType: z.ZodEnum<{
|
|
2774
|
+
PDF: "PDF";
|
|
2775
|
+
}>;
|
|
2776
|
+
}, z.core.$strip>;
|
|
2777
|
+
statutRepresentation: z.ZodObject<{
|
|
2778
|
+
verbatim: z.ZodBoolean;
|
|
2779
|
+
canonique: z.ZodBoolean;
|
|
2780
|
+
officielle: z.ZodBoolean;
|
|
2781
|
+
transcription: z.ZodBoolean;
|
|
2782
|
+
enregistrement: z.ZodBoolean;
|
|
2783
|
+
}, z.core.$strip>;
|
|
2784
|
+
contenu: z.ZodObject<{
|
|
2785
|
+
documentURI: z.ZodString;
|
|
2786
|
+
}, z.core.$strip>;
|
|
2787
|
+
}, z.core.$strip>>;
|
|
2788
|
+
seanceDiscussionRef: z.ZodOptional<z.ZodString>;
|
|
2789
|
+
sort: z.ZodOptional<z.ZodObject<{
|
|
2790
|
+
dateSaisie: z.ZodOptional<z.ZodString>;
|
|
2791
|
+
sortEnSeance: z.ZodEnum<{
|
|
2792
|
+
Retiré: "Retiré";
|
|
2793
|
+
Adopté: "Adopté";
|
|
2794
|
+
"Non soutenu": "Non soutenu";
|
|
2795
|
+
Rejeté: "Rejeté";
|
|
2796
|
+
Tombé: "Tombé";
|
|
2797
|
+
"Irrecevable Art 41c": "Irrecevable Art 41c";
|
|
2798
|
+
"Irrecevable Art 44c": "Irrecevable Art 44c";
|
|
2799
|
+
}>;
|
|
2800
|
+
}, z.core.$strip>>;
|
|
2801
|
+
dateDepot: z.ZodOptional<z.ZodString>;
|
|
2802
|
+
dateDistribution: z.ZodOptional<z.ZodString>;
|
|
2803
|
+
article99: z.ZodString;
|
|
2804
|
+
loiReference: z.ZodObject<{
|
|
2805
|
+
codeLoi: z.ZodOptional<z.ZodString>;
|
|
2806
|
+
divisionCodeLoi: z.ZodOptional<z.ZodString>;
|
|
2807
|
+
}, z.core.$strip>;
|
|
2808
|
+
}, z.core.$strip>;
|
|
2809
|
+
export type AmendementXivClean = z.infer<typeof AmendementXivCleanSchema>;
|
|
2810
|
+
/**
|
|
2811
|
+
* Parse a XIV clean amendement from JSON string
|
|
2812
|
+
*/
|
|
2813
|
+
export declare function parseAmendementXivClean(json: string): AmendementXivClean;
|
|
2814
|
+
/**
|
|
2815
|
+
* Serialize a XIV clean amendement to JSON string
|
|
2816
|
+
*/
|
|
2817
|
+
export declare function amendementXivCleanToJson(value: AmendementXivClean): string;
|
|
2818
|
+
/**
|
|
2819
|
+
* File-specific Convert object for the XIV clean amendements
|
|
2820
|
+
*
|
|
2821
|
+
* @example
|
|
2822
|
+
* ```typescript
|
|
2823
|
+
* import { AmendementsXivCleanConvert } from "@tricoteuses/assemblee"
|
|
2824
|
+
*
|
|
2825
|
+
* const amendement = AmendementsXivCleanConvert.toAmendement(json)
|
|
2826
|
+
* const json = AmendementsXivCleanConvert.amendementToJson(amendement)
|
|
2827
|
+
* ```
|
|
2828
|
+
*/
|
|
2829
|
+
export declare const AmendementsXivCleanConvert: {
|
|
2830
|
+
toAmendement: typeof parseAmendementXivClean;
|
|
2831
|
+
amendementToJson: typeof amendementXivCleanToJson;
|
|
2832
|
+
};
|
|
2342
2833
|
export {};
|
|
@@ -78,8 +78,8 @@ export declare const AmendementEnrichedSchema: z.ZodObject<{
|
|
|
78
78
|
}>;
|
|
79
79
|
avantAApres: z.ZodEnum<{
|
|
80
80
|
A: "A";
|
|
81
|
-
Avant: "Avant";
|
|
82
81
|
Apres: "Apres";
|
|
82
|
+
Avant: "Avant";
|
|
83
83
|
}>;
|
|
84
84
|
divisionRattachee: z.ZodOptional<z.ZodString>;
|
|
85
85
|
articleAdditionnel: z.ZodString;
|
|
@@ -89,8 +89,8 @@ export declare const AmendementEnrichedSchema: z.ZodObject<{
|
|
|
89
89
|
alinea: z.ZodOptional<z.ZodObject<{
|
|
90
90
|
avantAApres: z.ZodOptional<z.ZodEnum<{
|
|
91
91
|
A: "A";
|
|
92
|
-
Avant: "Avant";
|
|
93
92
|
Apres: "Apres";
|
|
93
|
+
Avant: "Avant";
|
|
94
94
|
}>>;
|
|
95
95
|
numero: z.ZodOptional<z.ZodString>;
|
|
96
96
|
alineaDesignation: z.ZodOptional<z.ZodString>;
|
|
@@ -501,8 +501,8 @@ export declare const TexteLegislatifEnrichedSchema: z.ZodObject<{
|
|
|
501
501
|
}>;
|
|
502
502
|
avantAApres: z.ZodEnum<{
|
|
503
503
|
A: "A";
|
|
504
|
-
Avant: "Avant";
|
|
505
504
|
Apres: "Apres";
|
|
505
|
+
Avant: "Avant";
|
|
506
506
|
}>;
|
|
507
507
|
divisionRattachee: z.ZodOptional<z.ZodString>;
|
|
508
508
|
articleAdditionnel: z.ZodString;
|
|
@@ -512,8 +512,8 @@ export declare const TexteLegislatifEnrichedSchema: z.ZodObject<{
|
|
|
512
512
|
alinea: z.ZodOptional<z.ZodObject<{
|
|
513
513
|
avantAApres: z.ZodOptional<z.ZodEnum<{
|
|
514
514
|
A: "A";
|
|
515
|
-
Avant: "Avant";
|
|
516
515
|
Apres: "Apres";
|
|
516
|
+
Avant: "Avant";
|
|
517
517
|
}>>;
|
|
518
518
|
numero: z.ZodOptional<z.ZodString>;
|
|
519
519
|
alineaDesignation: z.ZodOptional<z.ZodString>;
|
|
@@ -926,8 +926,8 @@ export declare const AmendementsEnrichedSchema: z.ZodObject<{
|
|
|
926
926
|
}>;
|
|
927
927
|
avantAApres: z.ZodEnum<{
|
|
928
928
|
A: "A";
|
|
929
|
-
Avant: "Avant";
|
|
930
929
|
Apres: "Apres";
|
|
930
|
+
Avant: "Avant";
|
|
931
931
|
}>;
|
|
932
932
|
divisionRattachee: z.ZodOptional<z.ZodString>;
|
|
933
933
|
articleAdditionnel: z.ZodString;
|
|
@@ -937,8 +937,8 @@ export declare const AmendementsEnrichedSchema: z.ZodObject<{
|
|
|
937
937
|
alinea: z.ZodOptional<z.ZodObject<{
|
|
938
938
|
avantAApres: z.ZodOptional<z.ZodEnum<{
|
|
939
939
|
A: "A";
|
|
940
|
-
Avant: "Avant";
|
|
941
940
|
Apres: "Apres";
|
|
941
|
+
Avant: "Avant";
|
|
942
942
|
}>>;
|
|
943
943
|
numero: z.ZodOptional<z.ZodString>;
|
|
944
944
|
alineaDesignation: z.ZodOptional<z.ZodString>;
|