@tricoteuses/assemblee 3.1.2 → 3.1.3

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.
@@ -12,9 +12,19 @@ export type DemandeurClean = z.infer<typeof DemandeurCleanSchema>;
12
12
  * Objet du vote, toujours identique au champ titre.
13
13
  *
14
14
  * Note: referenceLegislative removed by cleaner (always undefined)
15
+ * Note: dossierLegislatif now appears on some recent scrutins
15
16
  */
17
+ export declare const DossierLegislatifObjetCleanSchema: z.ZodObject<{
18
+ libelle: z.ZodString;
19
+ dossierRef: z.ZodString;
20
+ }, z.core.$strip>;
21
+ export type DossierLegislatifObjetClean = z.infer<typeof DossierLegislatifObjetCleanSchema>;
16
22
  export declare const ObjetVoteCleanSchema: z.ZodObject<{
17
23
  libelle: z.ZodString;
24
+ dossierLegislatif: z.ZodOptional<z.ZodObject<{
25
+ libelle: z.ZodString;
26
+ dossierRef: z.ZodString;
27
+ }, z.core.$strip>>;
18
28
  }, z.core.$strip>;
19
29
  export type ObjetVoteClean = z.infer<typeof ObjetVoteCleanSchema>;
20
30
  /**
@@ -622,6 +632,10 @@ export declare const ScrutinCleanSchema: z.ZodObject<{
622
632
  }, z.core.$strip>;
623
633
  objet: z.ZodObject<{
624
634
  libelle: z.ZodString;
635
+ dossierLegislatif: z.ZodOptional<z.ZodObject<{
636
+ libelle: z.ZodString;
637
+ dossierRef: z.ZodString;
638
+ }, z.core.$strip>>;
625
639
  }, z.core.$strip>;
626
640
  modePublicationDesVotes: z.ZodEnum<{
627
641
  DecompteDissidentsPositionGroupe: "DecompteDissidentsPositionGroupe";
@@ -890,6 +904,10 @@ export declare const ScrutinsCleanSchema: z.ZodObject<{
890
904
  }, z.core.$strip>;
891
905
  objet: z.ZodObject<{
892
906
  libelle: z.ZodString;
907
+ dossierLegislatif: z.ZodOptional<z.ZodObject<{
908
+ libelle: z.ZodString;
909
+ dossierRef: z.ZodString;
910
+ }, z.core.$strip>>;
893
911
  }, z.core.$strip>;
894
912
  modePublicationDesVotes: z.ZodEnum<{
895
913
  DecompteDissidentsPositionGroupe: "DecompteDissidentsPositionGroupe";
@@ -545,6 +545,10 @@ export declare const ScrutinEnrichedSchema: z.ZodObject<{
545
545
  }, z.core.$strip>;
546
546
  objet: z.ZodObject<{
547
547
  libelle: z.ZodString;
548
+ dossierLegislatif: z.ZodOptional<z.ZodObject<{
549
+ libelle: z.ZodString;
550
+ dossierRef: z.ZodString;
551
+ }, z.core.$strip>>;
548
552
  }, z.core.$strip>;
549
553
  modePublicationDesVotes: z.ZodEnum<{
550
554
  DecompteDissidentsPositionGroupe: "DecompteDissidentsPositionGroupe";
@@ -830,6 +834,10 @@ export declare const ScrutinsEnrichedSchema: z.ZodObject<{
830
834
  }, z.core.$strip>;
831
835
  objet: z.ZodObject<{
832
836
  libelle: z.ZodString;
837
+ dossierLegislatif: z.ZodOptional<z.ZodObject<{
838
+ libelle: z.ZodString;
839
+ dossierRef: z.ZodString;
840
+ }, z.core.$strip>>;
833
841
  }, z.core.$strip>;
834
842
  modePublicationDesVotes: z.ZodEnum<{
835
843
  DecompteDissidentsPositionGroupe: "DecompteDissidentsPositionGroupe";
@@ -174,10 +174,18 @@ export type DemandeurRaw = z.infer<typeof DemandeurRawSchema>;
174
174
  /**
175
175
  * Objet du scrutin
176
176
  */
177
+ export declare const DossierLegislatifObjetRawSchema: z.ZodObject<{
178
+ libelle: z.ZodString;
179
+ dossierRef: z.ZodString;
180
+ }, z.core.$strip>;
181
+ export type DossierLegislatifObjetRaw = z.infer<typeof DossierLegislatifObjetRawSchema>;
177
182
  export declare const ObjetRawSchema: z.ZodObject<{
178
183
  libelle: z.ZodString;
179
184
  referenceLegislative: z.ZodNull;
180
- dossierLegislatif: z.ZodOptional<z.ZodNull>;
185
+ dossierLegislatif: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
186
+ libelle: z.ZodString;
187
+ dossierRef: z.ZodString;
188
+ }, z.core.$strip>, z.ZodNull]>>;
181
189
  }, z.core.$strip>;
182
190
  export type ObjetRaw = z.infer<typeof ObjetRawSchema>;
183
191
  /**
@@ -1295,7 +1303,10 @@ export declare const ScrutinRawSchema: z.ZodObject<{
1295
1303
  objet: z.ZodObject<{
1296
1304
  libelle: z.ZodString;
1297
1305
  referenceLegislative: z.ZodNull;
1298
- dossierLegislatif: z.ZodOptional<z.ZodNull>;
1306
+ dossierLegislatif: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1307
+ libelle: z.ZodString;
1308
+ dossierRef: z.ZodString;
1309
+ }, z.core.$strip>, z.ZodNull]>>;
1299
1310
  }, z.core.$strip>;
1300
1311
  modePublicationDesVotes: z.ZodEnum<{
1301
1312
  DecompteDissidentsPositionGroupe: "DecompteDissidentsPositionGroupe";
@@ -1667,7 +1678,10 @@ export declare const ScrutinWrapperRawSchema: z.ZodObject<{
1667
1678
  objet: z.ZodObject<{
1668
1679
  libelle: z.ZodString;
1669
1680
  referenceLegislative: z.ZodNull;
1670
- dossierLegislatif: z.ZodOptional<z.ZodNull>;
1681
+ dossierLegislatif: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1682
+ libelle: z.ZodString;
1683
+ dossierRef: z.ZodString;
1684
+ }, z.core.$strip>, z.ZodNull]>>;
1671
1685
  }, z.core.$strip>;
1672
1686
  modePublicationDesVotes: z.ZodEnum<{
1673
1687
  DecompteDissidentsPositionGroupe: "DecompteDissidentsPositionGroupe";
@@ -2040,7 +2054,10 @@ export declare const ScrutinsClassRawSchema: z.ZodObject<{
2040
2054
  objet: z.ZodObject<{
2041
2055
  libelle: z.ZodString;
2042
2056
  referenceLegislative: z.ZodNull;
2043
- dossierLegislatif: z.ZodOptional<z.ZodNull>;
2057
+ dossierLegislatif: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2058
+ libelle: z.ZodString;
2059
+ dossierRef: z.ZodString;
2060
+ }, z.core.$strip>, z.ZodNull]>>;
2044
2061
  }, z.core.$strip>;
2045
2062
  modePublicationDesVotes: z.ZodEnum<{
2046
2063
  DecompteDissidentsPositionGroupe: "DecompteDissidentsPositionGroupe";
@@ -2414,7 +2431,10 @@ export declare const ScrutinsRawSchema: z.ZodObject<{
2414
2431
  objet: z.ZodObject<{
2415
2432
  libelle: z.ZodString;
2416
2433
  referenceLegislative: z.ZodNull;
2417
- dossierLegislatif: z.ZodOptional<z.ZodNull>;
2434
+ dossierLegislatif: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2435
+ libelle: z.ZodString;
2436
+ dossierRef: z.ZodString;
2437
+ }, z.core.$strip>, z.ZodNull]>>;
2418
2438
  }, z.core.$strip>;
2419
2439
  modePublicationDesVotes: z.ZodEnum<{
2420
2440
  DecompteDissidentsPositionGroupe: "DecompteDissidentsPositionGroupe";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tricoteuses/assemblee",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "description": "Retrieve, clean up & handle French Assemblée nationale's open data",
5
5
  "keywords": [
6
6
  "Assemblée nationale",