@tmlmobilidade/types 20260305.1852.13 → 20260306.1635.15

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/dist/agency.js CHANGED
@@ -15,7 +15,7 @@ export const AgencySchema = DocumentSchema.extend({
15
15
  operation_start_date: OperationalDateSchema.nullable().default(null),
16
16
  phone: z.string(),
17
17
  public_email: z.string().email(),
18
- short_name: z.string(),
18
+ short_name: z.string().max(4),
19
19
  timezone: z.string().default('Europe/Lisbon'),
20
20
  validation_rules: z.any().nullable().default(null),
21
21
  website_url: z.string().url(),
@@ -271,7 +271,7 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<Omit<{
271
271
  event_type: number;
272
272
  product_id: string;
273
273
  units_qty: number | null;
274
- validation_status: 0 | 1 | 2 | 12 | 3 | 5 | 4 | 6 | 11 | 10 | 7 | 8 | 9 | 13;
274
+ validation_status: 0 | 1 | 2 | 12 | 4 | 3 | 5 | 6 | 11 | 10 | 7 | 8 | 9 | 13;
275
275
  }, {
276
276
  _id: string;
277
277
  created_at: number;
@@ -295,7 +295,7 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<Omit<{
295
295
  event_type: number;
296
296
  product_id: string;
297
297
  units_qty: number | null;
298
- validation_status: 0 | 1 | 2 | 12 | 3 | 5 | 4 | 6 | 11 | 10 | 7 | 8 | 9 | 13;
298
+ validation_status: 0 | 1 | 2 | 12 | 4 | 3 | 5 | 6 | 11 | 10 | 7 | 8 | 9 | 13;
299
299
  }>;
300
300
  export declare const UpdateSimplifiedApexValidationSchema: z.ZodObject<{
301
301
  _id: z.ZodOptional<z.ZodString>;
@@ -415,7 +415,7 @@ export declare const UpdateSimplifiedApexValidationSchema: z.ZodObject<{
415
415
  event_type?: number | undefined;
416
416
  product_id?: string | undefined;
417
417
  units_qty?: number | null | undefined;
418
- validation_status?: 0 | 1 | 2 | 12 | 3 | 5 | 4 | 6 | 11 | 10 | 7 | 8 | 9 | 13 | undefined;
418
+ validation_status?: 0 | 1 | 2 | 12 | 4 | 3 | 5 | 6 | 11 | 10 | 7 | 8 | 9 | 13 | undefined;
419
419
  }, {
420
420
  _id?: string | undefined;
421
421
  created_at?: number | undefined;
@@ -439,7 +439,7 @@ export declare const UpdateSimplifiedApexValidationSchema: z.ZodObject<{
439
439
  event_type?: number | undefined;
440
440
  product_id?: string | undefined;
441
441
  units_qty?: number | null | undefined;
442
- validation_status?: 0 | 1 | 2 | 12 | 3 | 5 | 4 | 6 | 11 | 10 | 7 | 8 | 9 | 13 | undefined;
442
+ validation_status?: 0 | 1 | 2 | 12 | 4 | 3 | 5 | 6 | 11 | 10 | 7 | 8 | 9 | 13 | undefined;
443
443
  }>;
444
444
  /**
445
445
  * APEX Validations are APEX transactions of type 11 that are generated when a card holder touches a validator
@@ -453,4 +453,4 @@ export type UpdateSimplifiedApexValidationDto = z.infer<typeof UpdateSimplifiedA
453
453
  /**
454
454
  * Validation statuses that are considered valid for the card holder to travel.
455
455
  */
456
- export declare const ALLOWED_VALIDATION_STATUSES: (0 | 5 | 4 | 6)[];
456
+ export declare const ALLOWED_VALIDATION_STATUSES: (0 | 4 | 5 | 6)[];
@@ -102,7 +102,7 @@ export declare const EventSchema: z.ZodObject<{
102
102
  };
103
103
  dates: import("../_common/operational-date.js").OperationalDate[];
104
104
  kind: "event_replacement";
105
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
105
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
106
106
  year_period_ids: string[];
107
107
  lines_mode: "exclude" | "include" | "all";
108
108
  _id?: string | undefined;
@@ -117,7 +117,7 @@ export declare const EventSchema: z.ZodObject<{
117
117
  };
118
118
  dates: string[];
119
119
  kind: "event_replacement";
120
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
120
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
121
121
  year_period_ids: string[];
122
122
  lines_mode: "exclude" | "include" | "all";
123
123
  _id?: string | undefined;
@@ -164,7 +164,7 @@ export declare const EventSchema: z.ZodObject<{
164
164
  };
165
165
  dates: import("../_common/operational-date.js").OperationalDate[];
166
166
  kind: "event_replacement";
167
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
167
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
168
168
  year_period_ids: string[];
169
169
  lines_mode: "exclude" | "include" | "all";
170
170
  _id?: string | undefined;
@@ -208,7 +208,7 @@ export declare const EventSchema: z.ZodObject<{
208
208
  };
209
209
  dates: string[];
210
210
  kind: "event_replacement";
211
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
211
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
212
212
  year_period_ids: string[];
213
213
  lines_mode: "exclude" | "include" | "all";
214
214
  _id?: string | undefined;
@@ -321,7 +321,7 @@ export declare const CreateEventSchema: z.ZodObject<Omit<{
321
321
  };
322
322
  dates: import("../_common/operational-date.js").OperationalDate[];
323
323
  kind: "event_replacement";
324
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
324
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
325
325
  year_period_ids: string[];
326
326
  lines_mode: "exclude" | "include" | "all";
327
327
  _id?: string | undefined;
@@ -336,7 +336,7 @@ export declare const CreateEventSchema: z.ZodObject<Omit<{
336
336
  };
337
337
  dates: string[];
338
338
  kind: "event_replacement";
339
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
339
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
340
340
  year_period_ids: string[];
341
341
  lines_mode: "exclude" | "include" | "all";
342
342
  _id?: string | undefined;
@@ -376,7 +376,7 @@ export declare const CreateEventSchema: z.ZodObject<Omit<{
376
376
  };
377
377
  dates: import("../_common/operational-date.js").OperationalDate[];
378
378
  kind: "event_replacement";
379
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
379
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
380
380
  year_period_ids: string[];
381
381
  lines_mode: "exclude" | "include" | "all";
382
382
  _id?: string | undefined;
@@ -417,7 +417,7 @@ export declare const CreateEventSchema: z.ZodObject<Omit<{
417
417
  };
418
418
  dates: string[];
419
419
  kind: "event_replacement";
420
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
420
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
421
421
  year_period_ids: string[];
422
422
  lines_mode: "exclude" | "include" | "all";
423
423
  _id?: string | undefined;
@@ -526,7 +526,7 @@ export declare const UpdateEventSchema: z.ZodObject<{
526
526
  };
527
527
  dates: import("../_common/operational-date.js").OperationalDate[];
528
528
  kind: "event_replacement";
529
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
529
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
530
530
  year_period_ids: string[];
531
531
  lines_mode: "exclude" | "include" | "all";
532
532
  _id?: string | undefined;
@@ -541,7 +541,7 @@ export declare const UpdateEventSchema: z.ZodObject<{
541
541
  };
542
542
  dates: string[];
543
543
  kind: "event_replacement";
544
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
544
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
545
545
  year_period_ids: string[];
546
546
  lines_mode: "exclude" | "include" | "all";
547
547
  _id?: string | undefined;
@@ -580,7 +580,7 @@ export declare const UpdateEventSchema: z.ZodObject<{
580
580
  };
581
581
  dates: import("../_common/operational-date.js").OperationalDate[];
582
582
  kind: "event_replacement";
583
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
583
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
584
584
  year_period_ids: string[];
585
585
  lines_mode: "exclude" | "include" | "all";
586
586
  _id?: string | undefined;
@@ -619,7 +619,7 @@ export declare const UpdateEventSchema: z.ZodObject<{
619
619
  };
620
620
  dates: string[];
621
621
  kind: "event_replacement";
622
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
622
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
623
623
  year_period_ids: string[];
624
624
  lines_mode: "exclude" | "include" | "all";
625
625
  _id?: string | undefined;
@@ -76,7 +76,7 @@ export declare const StopsParameterOverrideSchema: z.ZodObject<{
76
76
  dwell_time: number;
77
77
  }[];
78
78
  kind: "override";
79
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
79
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
80
80
  year_period_ids: string[];
81
81
  _id?: string | undefined;
82
82
  name?: string | undefined;
@@ -89,7 +89,7 @@ export declare const StopsParameterOverrideSchema: z.ZodObject<{
89
89
  dwell_time: number;
90
90
  }[];
91
91
  kind: "override";
92
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
92
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
93
93
  year_period_ids: string[];
94
94
  _id?: string | undefined;
95
95
  name?: string | undefined;
@@ -172,7 +172,7 @@ export declare const StopsParameterSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
172
172
  dwell_time: number;
173
173
  }[];
174
174
  kind: "override";
175
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
175
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
176
176
  year_period_ids: string[];
177
177
  _id?: string | undefined;
178
178
  name?: string | undefined;
@@ -185,7 +185,7 @@ export declare const StopsParameterSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
185
185
  dwell_time: number;
186
186
  }[];
187
187
  kind: "override";
188
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
188
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
189
189
  year_period_ids: string[];
190
190
  _id?: string | undefined;
191
191
  name?: string | undefined;
@@ -271,7 +271,7 @@ export declare const StopsParametersListSchema: z.ZodEffects<z.ZodArray<z.ZodDis
271
271
  dwell_time: number;
272
272
  }[];
273
273
  kind: "override";
274
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
274
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
275
275
  year_period_ids: string[];
276
276
  _id?: string | undefined;
277
277
  name?: string | undefined;
@@ -284,7 +284,7 @@ export declare const StopsParametersListSchema: z.ZodEffects<z.ZodArray<z.ZodDis
284
284
  dwell_time: number;
285
285
  }[];
286
286
  kind: "override";
287
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
287
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
288
288
  year_period_ids: string[];
289
289
  _id?: string | undefined;
290
290
  name?: string | undefined;
@@ -307,7 +307,7 @@ export declare const StopsParametersListSchema: z.ZodEffects<z.ZodArray<z.ZodDis
307
307
  dwell_time: number;
308
308
  }[];
309
309
  kind: "override";
310
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
310
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
311
311
  year_period_ids: string[];
312
312
  _id?: string | undefined;
313
313
  name?: string | undefined;
@@ -330,7 +330,7 @@ export declare const StopsParametersListSchema: z.ZodEffects<z.ZodArray<z.ZodDis
330
330
  dwell_time: number;
331
331
  }[];
332
332
  kind: "override";
333
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
333
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
334
334
  year_period_ids: string[];
335
335
  _id?: string | undefined;
336
336
  name?: string | undefined;
@@ -1008,7 +1008,7 @@ export declare const PatternSchema: z.ZodObject<{
1008
1008
  dwell_time: number;
1009
1009
  }[];
1010
1010
  kind: "override";
1011
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
1011
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1012
1012
  year_period_ids: string[];
1013
1013
  _id?: string | undefined;
1014
1014
  name?: string | undefined;
@@ -1021,7 +1021,7 @@ export declare const PatternSchema: z.ZodObject<{
1021
1021
  dwell_time: number;
1022
1022
  }[];
1023
1023
  kind: "override";
1024
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
1024
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1025
1025
  year_period_ids: string[];
1026
1026
  _id?: string | undefined;
1027
1027
  name?: string | undefined;
@@ -1044,7 +1044,7 @@ export declare const PatternSchema: z.ZodObject<{
1044
1044
  dwell_time: number;
1045
1045
  }[];
1046
1046
  kind: "override";
1047
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
1047
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1048
1048
  year_period_ids: string[];
1049
1049
  _id?: string | undefined;
1050
1050
  name?: string | undefined;
@@ -1067,7 +1067,7 @@ export declare const PatternSchema: z.ZodObject<{
1067
1067
  dwell_time: number;
1068
1068
  }[];
1069
1069
  kind: "override";
1070
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
1070
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1071
1071
  year_period_ids: string[];
1072
1072
  _id?: string | undefined;
1073
1073
  name?: string | undefined;
@@ -1744,7 +1744,7 @@ export declare const PatternSchema: z.ZodObject<{
1744
1744
  kind: "manual";
1745
1745
  operating_mode: "exclude" | "include";
1746
1746
  timepoints: (string & z.BRAND<"HHMM">)[];
1747
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
1747
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1748
1748
  year_period_ids: string[];
1749
1749
  name?: string | undefined;
1750
1750
  event_id?: string | undefined;
@@ -1753,7 +1753,7 @@ export declare const PatternSchema: z.ZodObject<{
1753
1753
  kind: "manual";
1754
1754
  operating_mode: "exclude" | "include";
1755
1755
  timepoints: string[];
1756
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
1756
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1757
1757
  year_period_ids: string[];
1758
1758
  name?: string | undefined;
1759
1759
  event_id?: string | undefined;
@@ -1849,7 +1849,7 @@ export declare const PatternSchema: z.ZodObject<{
1849
1849
  };
1850
1850
  dates: import("../index.js").OperationalDate[];
1851
1851
  kind: "event_replacement";
1852
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
1852
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1853
1853
  year_period_ids: string[];
1854
1854
  lines_mode: "exclude" | "include" | "all";
1855
1855
  _id?: string | undefined;
@@ -1864,7 +1864,7 @@ export declare const PatternSchema: z.ZodObject<{
1864
1864
  };
1865
1865
  dates: string[];
1866
1866
  kind: "event_replacement";
1867
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
1867
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1868
1868
  year_period_ids: string[];
1869
1869
  lines_mode: "exclude" | "include" | "all";
1870
1870
  _id?: string | undefined;
@@ -1941,7 +1941,7 @@ export declare const PatternSchema: z.ZodObject<{
1941
1941
  kind: "manual";
1942
1942
  operating_mode: "exclude" | "include";
1943
1943
  timepoints: (string & z.BRAND<"HHMM">)[];
1944
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
1944
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1945
1945
  year_period_ids: string[];
1946
1946
  name?: string | undefined;
1947
1947
  event_id?: string | undefined;
@@ -1968,7 +1968,7 @@ export declare const PatternSchema: z.ZodObject<{
1968
1968
  };
1969
1969
  dates: import("../index.js").OperationalDate[];
1970
1970
  kind: "event_replacement";
1971
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
1971
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1972
1972
  year_period_ids: string[];
1973
1973
  lines_mode: "exclude" | "include" | "all";
1974
1974
  _id?: string | undefined;
@@ -2165,7 +2165,7 @@ export declare const PatternSchema: z.ZodObject<{
2165
2165
  dwell_time: number;
2166
2166
  }[];
2167
2167
  kind: "override";
2168
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
2168
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2169
2169
  year_period_ids: string[];
2170
2170
  _id?: string | undefined;
2171
2171
  name?: string | undefined;
@@ -2294,7 +2294,7 @@ export declare const PatternSchema: z.ZodObject<{
2294
2294
  kind: "manual";
2295
2295
  operating_mode: "exclude" | "include";
2296
2296
  timepoints: string[];
2297
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
2297
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2298
2298
  year_period_ids: string[];
2299
2299
  name?: string | undefined;
2300
2300
  event_id?: string | undefined;
@@ -2321,7 +2321,7 @@ export declare const PatternSchema: z.ZodObject<{
2321
2321
  };
2322
2322
  dates: string[];
2323
2323
  kind: "event_replacement";
2324
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
2324
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2325
2325
  year_period_ids: string[];
2326
2326
  lines_mode: "exclude" | "include" | "all";
2327
2327
  _id?: string | undefined;
@@ -2381,7 +2381,7 @@ export declare const PatternSchema: z.ZodObject<{
2381
2381
  dwell_time: number;
2382
2382
  }[];
2383
2383
  kind: "override";
2384
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
2384
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2385
2385
  year_period_ids: string[];
2386
2386
  _id?: string | undefined;
2387
2387
  name?: string | undefined;
@@ -2708,7 +2708,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2708
2708
  dwell_time: number;
2709
2709
  }[];
2710
2710
  kind: "override";
2711
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
2711
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2712
2712
  year_period_ids: string[];
2713
2713
  _id?: string | undefined;
2714
2714
  name?: string | undefined;
@@ -2721,7 +2721,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2721
2721
  dwell_time: number;
2722
2722
  }[];
2723
2723
  kind: "override";
2724
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
2724
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2725
2725
  year_period_ids: string[];
2726
2726
  _id?: string | undefined;
2727
2727
  name?: string | undefined;
@@ -2744,7 +2744,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2744
2744
  dwell_time: number;
2745
2745
  }[];
2746
2746
  kind: "override";
2747
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
2747
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2748
2748
  year_period_ids: string[];
2749
2749
  _id?: string | undefined;
2750
2750
  name?: string | undefined;
@@ -2767,7 +2767,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2767
2767
  dwell_time: number;
2768
2768
  }[];
2769
2769
  kind: "override";
2770
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
2770
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2771
2771
  year_period_ids: string[];
2772
2772
  _id?: string | undefined;
2773
2773
  name?: string | undefined;
@@ -3444,7 +3444,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3444
3444
  kind: "manual";
3445
3445
  operating_mode: "exclude" | "include";
3446
3446
  timepoints: (string & z.BRAND<"HHMM">)[];
3447
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
3447
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3448
3448
  year_period_ids: string[];
3449
3449
  name?: string | undefined;
3450
3450
  event_id?: string | undefined;
@@ -3453,7 +3453,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3453
3453
  kind: "manual";
3454
3454
  operating_mode: "exclude" | "include";
3455
3455
  timepoints: string[];
3456
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
3456
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3457
3457
  year_period_ids: string[];
3458
3458
  name?: string | undefined;
3459
3459
  event_id?: string | undefined;
@@ -3549,7 +3549,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3549
3549
  };
3550
3550
  dates: import("../index.js").OperationalDate[];
3551
3551
  kind: "event_replacement";
3552
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
3552
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3553
3553
  year_period_ids: string[];
3554
3554
  lines_mode: "exclude" | "include" | "all";
3555
3555
  _id?: string | undefined;
@@ -3564,7 +3564,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3564
3564
  };
3565
3565
  dates: string[];
3566
3566
  kind: "event_replacement";
3567
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
3567
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3568
3568
  year_period_ids: string[];
3569
3569
  lines_mode: "exclude" | "include" | "all";
3570
3570
  _id?: string | undefined;
@@ -3634,7 +3634,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3634
3634
  kind: "manual";
3635
3635
  operating_mode: "exclude" | "include";
3636
3636
  timepoints: (string & z.BRAND<"HHMM">)[];
3637
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
3637
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3638
3638
  year_period_ids: string[];
3639
3639
  name?: string | undefined;
3640
3640
  event_id?: string | undefined;
@@ -3661,7 +3661,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3661
3661
  };
3662
3662
  dates: import("../index.js").OperationalDate[];
3663
3663
  kind: "event_replacement";
3664
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
3664
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3665
3665
  year_period_ids: string[];
3666
3666
  lines_mode: "exclude" | "include" | "all";
3667
3667
  _id?: string | undefined;
@@ -3858,7 +3858,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3858
3858
  dwell_time: number;
3859
3859
  }[];
3860
3860
  kind: "override";
3861
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
3861
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3862
3862
  year_period_ids: string[];
3863
3863
  _id?: string | undefined;
3864
3864
  name?: string | undefined;
@@ -3984,7 +3984,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3984
3984
  kind: "manual";
3985
3985
  operating_mode: "exclude" | "include";
3986
3986
  timepoints: string[];
3987
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
3987
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3988
3988
  year_period_ids: string[];
3989
3989
  name?: string | undefined;
3990
3990
  event_id?: string | undefined;
@@ -4011,7 +4011,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
4011
4011
  };
4012
4012
  dates: string[];
4013
4013
  kind: "event_replacement";
4014
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
4014
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
4015
4015
  year_period_ids: string[];
4016
4016
  lines_mode: "exclude" | "include" | "all";
4017
4017
  _id?: string | undefined;
@@ -4071,7 +4071,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
4071
4071
  dwell_time: number;
4072
4072
  }[];
4073
4073
  kind: "override";
4074
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
4074
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
4075
4075
  year_period_ids: string[];
4076
4076
  _id?: string | undefined;
4077
4077
  name?: string | undefined;
@@ -5073,7 +5073,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5073
5073
  dwell_time: number;
5074
5074
  }[];
5075
5075
  kind: "override";
5076
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
5076
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
5077
5077
  year_period_ids: string[];
5078
5078
  _id?: string | undefined;
5079
5079
  name?: string | undefined;
@@ -5086,7 +5086,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5086
5086
  dwell_time: number;
5087
5087
  }[];
5088
5088
  kind: "override";
5089
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
5089
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
5090
5090
  year_period_ids: string[];
5091
5091
  _id?: string | undefined;
5092
5092
  name?: string | undefined;
@@ -5109,7 +5109,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5109
5109
  dwell_time: number;
5110
5110
  }[];
5111
5111
  kind: "override";
5112
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
5112
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
5113
5113
  year_period_ids: string[];
5114
5114
  _id?: string | undefined;
5115
5115
  name?: string | undefined;
@@ -5132,7 +5132,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5132
5132
  dwell_time: number;
5133
5133
  }[];
5134
5134
  kind: "override";
5135
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
5135
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
5136
5136
  year_period_ids: string[];
5137
5137
  _id?: string | undefined;
5138
5138
  name?: string | undefined;
@@ -5162,7 +5162,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5162
5162
  kind: "manual";
5163
5163
  operating_mode: "exclude" | "include";
5164
5164
  timepoints: (string & z.BRAND<"HHMM">)[];
5165
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
5165
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
5166
5166
  year_period_ids: string[];
5167
5167
  event_id?: string | undefined;
5168
5168
  }, {
@@ -5170,7 +5170,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5170
5170
  kind: "manual";
5171
5171
  operating_mode: "exclude" | "include";
5172
5172
  timepoints: string[];
5173
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
5173
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
5174
5174
  year_period_ids: string[];
5175
5175
  event_id?: string | undefined;
5176
5176
  }>, "many">>;
@@ -5303,7 +5303,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5303
5303
  kind: "manual";
5304
5304
  operating_mode: "exclude" | "include";
5305
5305
  timepoints: (string & z.BRAND<"HHMM">)[];
5306
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
5306
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
5307
5307
  year_period_ids: string[];
5308
5308
  event_id?: string | undefined;
5309
5309
  }[] | undefined;
@@ -5375,7 +5375,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5375
5375
  dwell_time: number;
5376
5376
  }[];
5377
5377
  kind: "override";
5378
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
5378
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
5379
5379
  year_period_ids: string[];
5380
5380
  _id?: string | undefined;
5381
5381
  name?: string | undefined;
@@ -5495,7 +5495,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5495
5495
  kind: "manual";
5496
5496
  operating_mode: "exclude" | "include";
5497
5497
  timepoints: string[];
5498
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
5498
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
5499
5499
  year_period_ids: string[];
5500
5500
  event_id?: string | undefined;
5501
5501
  }[] | undefined;
@@ -5555,7 +5555,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5555
5555
  dwell_time: number;
5556
5556
  }[];
5557
5557
  kind: "override";
5558
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
5558
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
5559
5559
  year_period_ids: string[];
5560
5560
  _id?: string | undefined;
5561
5561
  name?: string | undefined;
@@ -27,7 +27,7 @@ export declare const ManualRuleSchema: z.ZodObject<{
27
27
  kind: "manual";
28
28
  operating_mode: "exclude" | "include";
29
29
  timepoints: (string & z.BRAND<"HHMM">)[];
30
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
30
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
31
31
  year_period_ids: string[];
32
32
  name?: string | undefined;
33
33
  event_id?: string | undefined;
@@ -36,7 +36,7 @@ export declare const ManualRuleSchema: z.ZodObject<{
36
36
  kind: "manual";
37
37
  operating_mode: "exclude" | "include";
38
38
  timepoints: string[];
39
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
39
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
40
40
  year_period_ids: string[];
41
41
  name?: string | undefined;
42
42
  event_id?: string | undefined;
@@ -159,7 +159,7 @@ export declare const EventReplacementSchema: z.ZodObject<{
159
159
  };
160
160
  dates: import("../_common/operational-date.js").OperationalDate[];
161
161
  kind: "event_replacement";
162
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
162
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
163
163
  year_period_ids: string[];
164
164
  lines_mode: "exclude" | "include" | "all";
165
165
  _id?: string | undefined;
@@ -174,7 +174,7 @@ export declare const EventReplacementSchema: z.ZodObject<{
174
174
  };
175
175
  dates: string[];
176
176
  kind: "event_replacement";
177
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
177
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
178
178
  year_period_ids: string[];
179
179
  lines_mode: "exclude" | "include" | "all";
180
180
  _id?: string | undefined;
@@ -275,7 +275,7 @@ export declare const EventRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObje
275
275
  };
276
276
  dates: import("../_common/operational-date.js").OperationalDate[];
277
277
  kind: "event_replacement";
278
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
278
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
279
279
  year_period_ids: string[];
280
280
  lines_mode: "exclude" | "include" | "all";
281
281
  _id?: string | undefined;
@@ -290,7 +290,7 @@ export declare const EventRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObje
290
290
  };
291
291
  dates: string[];
292
292
  kind: "event_replacement";
293
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
293
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
294
294
  year_period_ids: string[];
295
295
  lines_mode: "exclude" | "include" | "all";
296
296
  _id?: string | undefined;
@@ -321,7 +321,7 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
321
321
  kind: "manual";
322
322
  operating_mode: "exclude" | "include";
323
323
  timepoints: (string & z.BRAND<"HHMM">)[];
324
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
324
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
325
325
  year_period_ids: string[];
326
326
  name?: string | undefined;
327
327
  event_id?: string | undefined;
@@ -330,7 +330,7 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
330
330
  kind: "manual";
331
331
  operating_mode: "exclude" | "include";
332
332
  timepoints: string[];
333
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
333
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
334
334
  year_period_ids: string[];
335
335
  name?: string | undefined;
336
336
  event_id?: string | undefined;
@@ -426,7 +426,7 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
426
426
  };
427
427
  dates: import("../_common/operational-date.js").OperationalDate[];
428
428
  kind: "event_replacement";
429
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
429
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
430
430
  year_period_ids: string[];
431
431
  lines_mode: "exclude" | "include" | "all";
432
432
  _id?: string | undefined;
@@ -441,7 +441,7 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
441
441
  };
442
442
  dates: string[];
443
443
  kind: "event_replacement";
444
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
444
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
445
445
  year_period_ids: string[];
446
446
  lines_mode: "exclude" | "include" | "all";
447
447
  _id?: string | undefined;
@@ -472,7 +472,7 @@ export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodObj
472
472
  kind: "manual";
473
473
  operating_mode: "exclude" | "include";
474
474
  timepoints: (string & z.BRAND<"HHMM">)[];
475
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
475
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
476
476
  year_period_ids: string[];
477
477
  event_id?: string | undefined;
478
478
  }, {
@@ -480,7 +480,7 @@ export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodObj
480
480
  kind: "manual";
481
481
  operating_mode: "exclude" | "include";
482
482
  timepoints: string[];
483
- weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
483
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
484
484
  year_period_ids: string[];
485
485
  event_id?: string | undefined;
486
486
  }>, "many">>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20260305.1852.13",
3
+ "version": "20260306.1635.15",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"
@@ -44,7 +44,7 @@
44
44
  "devDependencies": {
45
45
  "@tmlmobilidade/tsconfig": "*",
46
46
  "@types/luxon": "3.7.1",
47
- "@types/node": "25.3.3",
47
+ "@types/node": "25.3.5",
48
48
  "resolve-tspaths": "0.8.23",
49
49
  "tsc-watch": "7.2.0",
50
50
  "typescript": "5.9.3"