@tmlmobilidade/types 20260627.17.1 → 20260627.41.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dist/alerts/cause.d.ts +1 -1
  2. package/dist/alerts/effect.d.ts +1 -1
  3. package/dist/gtfs/feed-info.d.ts +2 -2
  4. package/dist/gtfs-tml/feed-info.d.ts +2 -2
  5. package/dist/gtfs-validation/gtfs-validation.d.ts +12 -12
  6. package/dist/index.d.ts +1 -2
  7. package/dist/index.js +1 -2
  8. package/dist/locations/queries.d.ts +4 -4
  9. package/dist/offer/pattern.d.ts +72 -72
  10. package/dist/offer/route-path-type.d.ts +2 -2
  11. package/dist/offer/route.d.ts +6 -6
  12. package/dist/offer/rules.d.ts +18 -18
  13. package/dist/offer/typology.d.ts +7 -7
  14. package/dist/offer/vkm.d.ts +15 -15
  15. package/dist/operation/lines/operational-line.d.ts +4 -4
  16. package/dist/operation/stops/operational-stop.d.ts +4 -4
  17. package/dist/organization.d.ts +5 -5
  18. package/dist/plans/plan-app-status.d.ts +2 -2
  19. package/dist/plans/plan.d.ts +94 -94
  20. package/dist/vehicle/vehicle.d.ts +5 -5
  21. package/dist/vehicle-events/raw/ccfl/v1.d.ts +54 -54
  22. package/dist/vehicle-events/raw/ccfl/v1.js +1 -1
  23. package/dist/vehicle-events/raw/cmet/v1-core.d.ts +88 -88
  24. package/dist/vehicle-events/raw/cmet/v1-log.d.ts +88 -88
  25. package/dist/vehicle-events/raw/cp/v1.d.ts +64 -64
  26. package/dist/vehicle-events/raw/cp/v1.js +1 -1
  27. package/dist/vehicle-events/raw/crtm-aisa/v1.d.ts +112 -112
  28. package/dist/vehicle-events/raw/crtm-aisa/v1.js +1 -2
  29. package/dist/vehicle-events/raw/crtm-laveloz/v1.d.ts +112 -112
  30. package/dist/vehicle-events/raw/crtm-laveloz/v1.js +1 -1
  31. package/dist/vehicle-events/raw/fertagus/v1.d.ts +64 -64
  32. package/dist/vehicle-events/raw/ml/v1.d.ts +54 -54
  33. package/dist/vehicle-events/raw/mobi/v1.d.ts +84 -84
  34. package/dist/vehicle-events/raw/mobi/v1.js +1 -1
  35. package/dist/vehicle-events/raw/raw-vehicle-event-base.d.ts +2 -2
  36. package/dist/vehicle-events/raw/raw-vehicle-event.d.ts +530 -530
  37. package/dist/vehicle-events/raw/tcb/v1.d.ts +84 -84
  38. package/dist/vehicle-events/raw/tcb/v1.js +1 -1
  39. package/dist/vehicle-events/raw/ttsl/v1.d.ts +54 -54
  40. package/dist/vehicle-events/raw/ttsl/v1.js +1 -1
  41. package/dist/vehicle-events/simplified/simplified-vehicle-event.d.ts +7 -7
  42. package/package.json +2 -1
  43. package/dist/gtfs-rt/alert.d.ts +0 -347
  44. package/dist/gtfs-rt/alert.js +0 -24
  45. package/dist/gtfs-rt/carriage-details.d.ts +0 -21
  46. package/dist/gtfs-rt/carriage-details.js +0 -11
  47. package/dist/gtfs-rt/cause.d.ts +0 -10
  48. package/dist/gtfs-rt/cause.js +0 -18
  49. package/dist/gtfs-rt/congestion-level.d.ts +0 -4
  50. package/dist/gtfs-rt/congestion-level.js +0 -11
  51. package/dist/gtfs-rt/effect.d.ts +0 -10
  52. package/dist/gtfs-rt/effect.js +0 -17
  53. package/dist/gtfs-rt/entity-selector.d.ts +0 -68
  54. package/dist/gtfs-rt/entity-selector.js +0 -12
  55. package/dist/gtfs-rt/feed-entity.d.ts +0 -729
  56. package/dist/gtfs-rt/feed-entity.js +0 -11
  57. package/dist/gtfs-rt/feed-header.d.ts +0 -18
  58. package/dist/gtfs-rt/feed-header.js +0 -9
  59. package/dist/gtfs-rt/feed-message.d.ts +0 -975
  60. package/dist/gtfs-rt/feed-message.js +0 -9
  61. package/dist/gtfs-rt/index.d.ts +0 -22
  62. package/dist/gtfs-rt/index.js +0 -22
  63. package/dist/gtfs-rt/localized-image.d.ts +0 -15
  64. package/dist/gtfs-rt/localized-image.js +0 -8
  65. package/dist/gtfs-rt/occupancy-status.d.ts +0 -4
  66. package/dist/gtfs-rt/occupancy-status.js +0 -15
  67. package/dist/gtfs-rt/position.d.ts +0 -21
  68. package/dist/gtfs-rt/position.js +0 -10
  69. package/dist/gtfs-rt/severity-level.d.ts +0 -4
  70. package/dist/gtfs-rt/severity-level.js +0 -10
  71. package/dist/gtfs-rt/time-range.d.ts +0 -12
  72. package/dist/gtfs-rt/time-range.js +0 -7
  73. package/dist/gtfs-rt/translated-image.d.ts +0 -29
  74. package/dist/gtfs-rt/translated-image.js +0 -7
  75. package/dist/gtfs-rt/translated-string.d.ts +0 -24
  76. package/dist/gtfs-rt/translated-string.js +0 -7
  77. package/dist/gtfs-rt/translation.d.ts +0 -12
  78. package/dist/gtfs-rt/translation.js +0 -7
  79. package/dist/gtfs-rt/trip-descriptor.d.ts +0 -29
  80. package/dist/gtfs-rt/trip-descriptor.js +0 -13
  81. package/dist/gtfs-rt/vehicle-descriptor.d.ts +0 -18
  82. package/dist/gtfs-rt/vehicle-descriptor.js +0 -10
  83. package/dist/gtfs-rt/vehicle-position.d.ts +0 -168
  84. package/dist/gtfs-rt/vehicle-position.js +0 -23
  85. package/dist/gtfs-rt/vehicle-stop-status.d.ts +0 -4
  86. package/dist/gtfs-rt/vehicle-stop-status.js +0 -9
  87. package/dist/gtfs-rt/wheelchair-accessible.d.ts +0 -4
  88. package/dist/gtfs-rt/wheelchair-accessible.js +0 -10
  89. package/dist/hub/api/alerts/alert.d.ts +0 -82
  90. package/dist/hub/api/alerts/alert.js +0 -20
  91. package/dist/hub/api/alerts/index.d.ts +0 -1
  92. package/dist/hub/api/alerts/index.js +0 -1
  93. package/dist/hub/api/index.d.ts +0 -7
  94. package/dist/hub/api/index.js +0 -7
  95. package/dist/hub/api/network/index.d.ts +0 -7
  96. package/dist/hub/api/network/index.js +0 -7
  97. package/dist/hub/api/network/line.d.ts +0 -66
  98. package/dist/hub/api/network/line.js +0 -24
  99. package/dist/hub/api/network/pattern.d.ts +0 -184
  100. package/dist/hub/api/network/pattern.js +0 -32
  101. package/dist/hub/api/network/route.d.ts +0 -66
  102. package/dist/hub/api/network/route.js +0 -24
  103. package/dist/hub/api/network/scheduled-arrival.d.ts +0 -21
  104. package/dist/hub/api/network/scheduled-arrival.js +0 -9
  105. package/dist/hub/api/network/stop.d.ts +0 -97
  106. package/dist/hub/api/network/stop.js +0 -29
  107. package/dist/hub/api/network/trip.d.ts +0 -49
  108. package/dist/hub/api/network/trip.js +0 -11
  109. package/dist/hub/api/network/waypoint.d.ts +0 -27
  110. package/dist/hub/api/network/waypoint.js +0 -11
  111. package/dist/hub/api/patterns.d.ts +0 -16
  112. package/dist/hub/api/patterns.js +0 -3
  113. package/dist/hub/api/plans/index.d.ts +0 -1
  114. package/dist/hub/api/plans/index.js +0 -1
  115. package/dist/hub/api/plans/plan.d.ts +0 -138
  116. package/dist/hub/api/plans/plan.js +0 -18
  117. package/dist/hub/api/realtime/index.d.ts +0 -1
  118. package/dist/hub/api/realtime/index.js +0 -1
  119. package/dist/hub/api/realtime/vehicle-position.d.ts +0 -66
  120. package/dist/hub/api/realtime/vehicle-position.js +0 -31
  121. package/dist/hub/api/realtime-eta-gtfs.d.ts +0 -41
  122. package/dist/hub/api/realtime-eta-gtfs.js +0 -2
  123. package/dist/hub/api/shapes.d.ts +0 -148
  124. package/dist/hub/api/shapes.js +0 -26
  125. package/dist/hub/api/timetables.d.ts +0 -36
  126. package/dist/hub/api/timetables.js +0 -2
  127. package/dist/hub/gtfs/index.d.ts +0 -1
  128. package/dist/hub/gtfs/index.js +0 -1
  129. package/dist/hub/gtfs/stops.d.ts +0 -66
  130. package/dist/hub/gtfs/stops.js +0 -24
  131. package/dist/hub/index.d.ts +0 -2
  132. package/dist/hub/index.js +0 -2
@@ -9,6 +9,6 @@ export declare const RoutePathTypeValues: readonly ["base", "partial", "variant"
9
9
  export declare const RoutePathTypeSchema: z.ZodEnum<["base", "partial", "variant"]>;
10
10
  export type RoutePathType = z.infer<typeof RoutePathTypeSchema>;
11
11
  export declare const pathTypeMapper: {
12
- fromGtfs: (value: "1" | "2" | "3") => "partial" | "variant" | "base";
13
- toGtfs: (value: "partial" | "variant" | "base") => "1" | "2" | "3";
12
+ fromGtfs: (value: "1" | "2" | "3") => "partial" | "base" | "variant";
13
+ toGtfs: (value: "partial" | "base" | "variant") => "1" | "2" | "3";
14
14
  };
@@ -48,7 +48,7 @@ export declare const RouteSchema: z.ZodObject<{
48
48
  code: string;
49
49
  name: string;
50
50
  line_id: string;
51
- path_type: "partial" | "variant" | "base";
51
+ path_type: "partial" | "base" | "variant";
52
52
  updated_by?: string | undefined;
53
53
  patterns?: {
54
54
  _id: string;
@@ -67,7 +67,7 @@ export declare const RouteSchema: z.ZodObject<{
67
67
  created_by?: string | null | undefined;
68
68
  is_locked?: boolean | undefined;
69
69
  updated_by?: string | undefined;
70
- path_type?: "partial" | "variant" | "base" | undefined;
70
+ path_type?: "partial" | "base" | "variant" | undefined;
71
71
  patterns?: {
72
72
  _id: string;
73
73
  code: string;
@@ -126,7 +126,7 @@ export declare const CreateRouteSchema: z.ZodObject<Omit<{
126
126
  code: string;
127
127
  name: string;
128
128
  line_id: string;
129
- path_type: "partial" | "variant" | "base";
129
+ path_type: "partial" | "base" | "variant";
130
130
  updated_by?: string | undefined;
131
131
  }, {
132
132
  code: string;
@@ -135,7 +135,7 @@ export declare const CreateRouteSchema: z.ZodObject<Omit<{
135
135
  created_by?: string | null | undefined;
136
136
  is_locked?: boolean | undefined;
137
137
  updated_by?: string | undefined;
138
- path_type?: "partial" | "variant" | "base" | undefined;
138
+ path_type?: "partial" | "base" | "variant" | undefined;
139
139
  }>;
140
140
  export declare const UpdateRouteSchema: z.ZodObject<{
141
141
  is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -150,14 +150,14 @@ export declare const UpdateRouteSchema: z.ZodObject<{
150
150
  code?: string | undefined;
151
151
  name?: string | undefined;
152
152
  line_id?: string | undefined;
153
- path_type?: "partial" | "variant" | "base" | undefined;
153
+ path_type?: "partial" | "base" | "variant" | undefined;
154
154
  }, {
155
155
  is_locked?: boolean | undefined;
156
156
  updated_by?: string | undefined;
157
157
  code?: string | undefined;
158
158
  name?: string | undefined;
159
159
  line_id?: string | undefined;
160
- path_type?: "partial" | "variant" | "base" | undefined;
160
+ path_type?: "partial" | "base" | "variant" | undefined;
161
161
  }>;
162
162
  export type Route = z.infer<typeof RouteSchema>;
163
163
  export type CreateRouteDto = z.infer<typeof CreateRouteSchema>;
@@ -44,7 +44,7 @@ export declare const ManualRuleBaseSchema: z.ZodObject<{
44
44
  year_period_ids: string[];
45
45
  name?: string | undefined;
46
46
  event_id?: string | undefined;
47
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
47
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
48
48
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
49
49
  }, {
50
50
  _id: string;
@@ -54,7 +54,7 @@ export declare const ManualRuleBaseSchema: z.ZodObject<{
54
54
  year_period_ids: string[];
55
55
  name?: string | undefined;
56
56
  event_id?: string | undefined;
57
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
57
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
58
58
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
59
59
  }>;
60
60
  export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
@@ -96,7 +96,7 @@ export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
96
96
  year_period_ids: string[];
97
97
  name?: string | undefined;
98
98
  event_id?: string | undefined;
99
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
99
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
100
100
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
101
101
  }, {
102
102
  _id: string;
@@ -106,7 +106,7 @@ export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
106
106
  year_period_ids: string[];
107
107
  name?: string | undefined;
108
108
  event_id?: string | undefined;
109
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
109
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
110
110
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
111
111
  }>, {
112
112
  _id: string;
@@ -116,7 +116,7 @@ export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
116
116
  year_period_ids: string[];
117
117
  name?: string | undefined;
118
118
  event_id?: string | undefined;
119
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
119
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
120
120
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
121
121
  }, {
122
122
  _id: string;
@@ -126,7 +126,7 @@ export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
126
126
  year_period_ids: string[];
127
127
  name?: string | undefined;
128
128
  event_id?: string | undefined;
129
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
129
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
130
130
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
131
131
  }>;
132
132
  export declare const EventDerivedBaseSchema: z.ZodObject<{
@@ -442,7 +442,7 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
442
442
  year_period_ids: string[];
443
443
  name?: string | undefined;
444
444
  event_id?: string | undefined;
445
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
445
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
446
446
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
447
447
  }, {
448
448
  _id: string;
@@ -452,7 +452,7 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
452
452
  year_period_ids: string[];
453
453
  name?: string | undefined;
454
454
  event_id?: string | undefined;
455
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
455
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
456
456
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
457
457
  }>, z.ZodObject<{
458
458
  _id: z.ZodOptional<z.ZodString>;
@@ -616,7 +616,7 @@ export declare const PatternUpdateRuleBaseSchema: z.ZodObject<Omit<{
616
616
  timepoints: (string & z.BRAND<"HHMM">)[];
617
617
  year_period_ids: string[];
618
618
  event_id?: string | undefined;
619
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
619
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
620
620
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
621
621
  }, {
622
622
  _id: string;
@@ -625,7 +625,7 @@ export declare const PatternUpdateRuleBaseSchema: z.ZodObject<Omit<{
625
625
  timepoints: string[];
626
626
  year_period_ids: string[];
627
627
  event_id?: string | undefined;
628
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
628
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
629
629
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
630
630
  }>;
631
631
  export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
@@ -666,7 +666,7 @@ export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
666
666
  timepoints: (string & z.BRAND<"HHMM">)[];
667
667
  year_period_ids: string[];
668
668
  event_id?: string | undefined;
669
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
669
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
670
670
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
671
671
  }, {
672
672
  _id: string;
@@ -675,7 +675,7 @@ export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
675
675
  timepoints: string[];
676
676
  year_period_ids: string[];
677
677
  event_id?: string | undefined;
678
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
678
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
679
679
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
680
680
  }>, {
681
681
  _id: string;
@@ -684,7 +684,7 @@ export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
684
684
  timepoints: (string & z.BRAND<"HHMM">)[];
685
685
  year_period_ids: string[];
686
686
  event_id?: string | undefined;
687
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
687
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
688
688
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
689
689
  }, {
690
690
  _id: string;
@@ -693,7 +693,7 @@ export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
693
693
  timepoints: string[];
694
694
  year_period_ids: string[];
695
695
  event_id?: string | undefined;
696
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
696
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
697
697
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
698
698
  }>;
699
699
  export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
@@ -734,7 +734,7 @@ export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEff
734
734
  timepoints: (string & z.BRAND<"HHMM">)[];
735
735
  year_period_ids: string[];
736
736
  event_id?: string | undefined;
737
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
737
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
738
738
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
739
739
  }, {
740
740
  _id: string;
@@ -743,7 +743,7 @@ export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEff
743
743
  timepoints: string[];
744
744
  year_period_ids: string[];
745
745
  event_id?: string | undefined;
746
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
746
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
747
747
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
748
748
  }>, {
749
749
  _id: string;
@@ -752,7 +752,7 @@ export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEff
752
752
  timepoints: (string & z.BRAND<"HHMM">)[];
753
753
  year_period_ids: string[];
754
754
  event_id?: string | undefined;
755
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
755
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
756
756
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
757
757
  }, {
758
758
  _id: string;
@@ -761,7 +761,7 @@ export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEff
761
761
  timepoints: string[];
762
762
  year_period_ids: string[];
763
763
  event_id?: string | undefined;
764
- months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
764
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
765
765
  weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
766
766
  }>, "many">>;
767
767
  export type ScheduleRule = z.infer<typeof ScheduleRuleSchema>;
@@ -28,9 +28,9 @@ export declare const TypologySchema: z.ZodObject<{
28
28
  name: string;
29
29
  agency_ids: string[];
30
30
  color: string;
31
- text_color: string;
32
31
  default_onboard_fare_ids: string[] | null;
33
32
  default_prepaid_fare_id: string | null;
33
+ text_color: string;
34
34
  updated_by?: string | undefined;
35
35
  }, {
36
36
  _id: string;
@@ -57,9 +57,9 @@ export declare const CreateTypologySchema: z.ZodObject<{
57
57
  is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
58
58
  updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
59
59
  color: z.ZodOptional<z.ZodString>;
60
- text_color: z.ZodOptional<z.ZodString>;
61
60
  default_onboard_fare_ids: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>>;
62
61
  default_prepaid_fare_id: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
62
+ text_color: z.ZodOptional<z.ZodString>;
63
63
  }, "strip", z.ZodTypeAny, {
64
64
  code: string;
65
65
  name: string;
@@ -69,9 +69,9 @@ export declare const CreateTypologySchema: z.ZodObject<{
69
69
  is_locked?: boolean | undefined;
70
70
  updated_by?: string | undefined;
71
71
  color?: string | undefined;
72
- text_color?: string | undefined;
73
72
  default_onboard_fare_ids?: string[] | null | undefined;
74
73
  default_prepaid_fare_id?: string | null | undefined;
74
+ text_color?: string | undefined;
75
75
  }, {
76
76
  code: string;
77
77
  name: string;
@@ -81,9 +81,9 @@ export declare const CreateTypologySchema: z.ZodObject<{
81
81
  is_locked?: boolean | undefined;
82
82
  updated_by?: string | undefined;
83
83
  color?: string | undefined;
84
- text_color?: string | undefined;
85
84
  default_onboard_fare_ids?: string[] | null | undefined;
86
85
  default_prepaid_fare_id?: string | null | undefined;
86
+ text_color?: string | undefined;
87
87
  }>;
88
88
  export declare const UpdateTypologySchema: z.ZodObject<{
89
89
  _id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -93,9 +93,9 @@ export declare const UpdateTypologySchema: z.ZodObject<{
93
93
  name: z.ZodOptional<z.ZodString>;
94
94
  agency_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
95
95
  color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
96
- text_color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
97
96
  default_onboard_fare_ids: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>>>;
98
97
  default_prepaid_fare_id: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
98
+ text_color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
99
99
  }, "strip", z.ZodTypeAny, {
100
100
  _id?: string | undefined;
101
101
  is_locked?: boolean | undefined;
@@ -104,9 +104,9 @@ export declare const UpdateTypologySchema: z.ZodObject<{
104
104
  name?: string | undefined;
105
105
  agency_ids?: string[] | undefined;
106
106
  color?: string | undefined;
107
- text_color?: string | undefined;
108
107
  default_onboard_fare_ids?: string[] | null | undefined;
109
108
  default_prepaid_fare_id?: string | null | undefined;
109
+ text_color?: string | undefined;
110
110
  }, {
111
111
  _id?: string | undefined;
112
112
  is_locked?: boolean | undefined;
@@ -115,9 +115,9 @@ export declare const UpdateTypologySchema: z.ZodObject<{
115
115
  name?: string | undefined;
116
116
  agency_ids?: string[] | undefined;
117
117
  color?: string | undefined;
118
- text_color?: string | undefined;
119
118
  default_onboard_fare_ids?: string[] | null | undefined;
120
119
  default_prepaid_fare_id?: string | null | undefined;
120
+ text_color?: string | undefined;
121
121
  }>;
122
122
  export type Typology = z.infer<typeof TypologySchema>;
123
123
  export type CreateTypologyDto = z.infer<typeof CreateTypologySchema>;
@@ -15,17 +15,17 @@ export declare const CalculateVkmSchema: z.ZodObject<{
15
15
  start_date: z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>;
16
16
  }, "strip", z.ZodTypeAny, {
17
17
  agency_id: string;
18
+ calculation_method: "rolling_year" | "fixed_range";
19
+ extension_source: "go" | "stop_times";
18
20
  start_date: string & {
19
21
  __brand: "OperationalDate";
20
22
  };
21
- calculation_method: "rolling_year" | "fixed_range";
22
- extension_source: "go" | "stop_times";
23
23
  end_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
24
24
  }, {
25
25
  agency_id: string;
26
- start_date: string;
27
26
  calculation_method: "rolling_year" | "fixed_range";
28
27
  extension_source: "go" | "stop_times";
28
+ start_date: string;
29
29
  end_date?: string | null | undefined;
30
30
  }>;
31
31
  export declare const VkmCalculationInputsSchema: z.ZodObject<{
@@ -39,22 +39,22 @@ export declare const VkmCalculationInputsSchema: z.ZodObject<{
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  price_per_km: number;
41
41
  agency_id: string;
42
- start_date: string & {
43
- __brand: "OperationalDate";
44
- };
45
42
  agency_name: string;
46
43
  calculation_method: "rolling_year" | "fixed_range";
47
44
  end_date: string & {
48
45
  __brand: "OperationalDate";
49
46
  };
47
+ start_date: string & {
48
+ __brand: "OperationalDate";
49
+ };
50
50
  total_vkm_per_year: number;
51
51
  }, {
52
52
  price_per_km: number;
53
53
  agency_id: string;
54
- start_date: string;
55
54
  agency_name: string;
56
55
  calculation_method: "rolling_year" | "fixed_range";
57
56
  end_date: string;
57
+ start_date: string;
58
58
  total_vkm_per_year: number;
59
59
  }>;
60
60
  export declare const VkmPeriodResultSchema: z.ZodObject<{
@@ -97,22 +97,22 @@ export declare const VkmCalculationResultSchema: z.ZodObject<{
97
97
  }, "strip", z.ZodTypeAny, {
98
98
  price_per_km: number;
99
99
  agency_id: string;
100
- start_date: string & {
101
- __brand: "OperationalDate";
102
- };
103
100
  agency_name: string;
104
101
  calculation_method: "rolling_year" | "fixed_range";
105
102
  end_date: string & {
106
103
  __brand: "OperationalDate";
107
104
  };
105
+ start_date: string & {
106
+ __brand: "OperationalDate";
107
+ };
108
108
  total_vkm_per_year: number;
109
109
  }, {
110
110
  price_per_km: number;
111
111
  agency_id: string;
112
- start_date: string;
113
112
  agency_name: string;
114
113
  calculation_method: "rolling_year" | "fixed_range";
115
114
  end_date: string;
115
+ start_date: string;
116
116
  total_vkm_per_year: number;
117
117
  }>;
118
118
  periods: z.ZodArray<z.ZodObject<{
@@ -151,14 +151,14 @@ export declare const VkmCalculationResultSchema: z.ZodObject<{
151
151
  inputs: {
152
152
  price_per_km: number;
153
153
  agency_id: string;
154
- start_date: string & {
155
- __brand: "OperationalDate";
156
- };
157
154
  agency_name: string;
158
155
  calculation_method: "rolling_year" | "fixed_range";
159
156
  end_date: string & {
160
157
  __brand: "OperationalDate";
161
158
  };
159
+ start_date: string & {
160
+ __brand: "OperationalDate";
161
+ };
162
162
  total_vkm_per_year: number;
163
163
  };
164
164
  periods: {
@@ -181,10 +181,10 @@ export declare const VkmCalculationResultSchema: z.ZodObject<{
181
181
  inputs: {
182
182
  price_per_km: number;
183
183
  agency_id: string;
184
- start_date: string;
185
184
  agency_name: string;
186
185
  calculation_method: "rolling_year" | "fixed_range";
187
186
  end_date: string;
187
+ start_date: string;
188
188
  total_vkm_per_year: number;
189
189
  };
190
190
  periods: {
@@ -124,8 +124,6 @@ export declare const OperationalLineSchema: z.ZodObject<{
124
124
  route_color: string;
125
125
  line_long_name: string;
126
126
  line_short_name: string;
127
- pattern_ids: string[];
128
- route_ids: string[];
129
127
  hashed_patterns: {
130
128
  _id: string;
131
129
  created_at: number & {
@@ -161,6 +159,8 @@ export declare const OperationalLineSchema: z.ZodObject<{
161
159
  __brand: "OperationalDate";
162
160
  };
163
161
  last_plan_id: string;
162
+ pattern_ids: string[];
163
+ route_ids: string[];
164
164
  }, {
165
165
  agency_id: string;
166
166
  line_id: number;
@@ -170,8 +170,6 @@ export declare const OperationalLineSchema: z.ZodObject<{
170
170
  last_operational_date: string;
171
171
  last_plan_id: string;
172
172
  stop_ids?: string[] | undefined;
173
- pattern_ids?: string[] | undefined;
174
- route_ids?: string[] | undefined;
175
173
  hashed_patterns?: {
176
174
  _id: string;
177
175
  created_at: number;
@@ -199,5 +197,7 @@ export declare const OperationalLineSchema: z.ZodObject<{
199
197
  stop_name: string;
200
198
  }[] | undefined;
201
199
  }[] | undefined;
200
+ pattern_ids?: string[] | undefined;
201
+ route_ids?: string[] | undefined;
202
202
  }>;
203
203
  export type OperationalLine = z.infer<typeof OperationalLineSchema>;
@@ -120,8 +120,6 @@ export declare const OperationalStopSchema: z.ZodObject<{
120
120
  line_ids: number[];
121
121
  stop_id: string;
122
122
  stop_name: string;
123
- pattern_ids: string[];
124
- route_ids: string[];
125
123
  hashed_patterns: {
126
124
  _id: string;
127
125
  created_at: number & {
@@ -157,6 +155,8 @@ export declare const OperationalStopSchema: z.ZodObject<{
157
155
  __brand: "OperationalDate";
158
156
  };
159
157
  last_plan_id: string;
158
+ pattern_ids: string[];
159
+ route_ids: string[];
160
160
  }, {
161
161
  stop_id: string;
162
162
  stop_name: string;
@@ -164,8 +164,6 @@ export declare const OperationalStopSchema: z.ZodObject<{
164
164
  last_plan_id: string;
165
165
  agency_ids?: string[] | undefined;
166
166
  line_ids?: number[] | undefined;
167
- pattern_ids?: string[] | undefined;
168
- route_ids?: string[] | undefined;
169
167
  hashed_patterns?: {
170
168
  _id: string;
171
169
  created_at: number;
@@ -193,5 +191,7 @@ export declare const OperationalStopSchema: z.ZodObject<{
193
191
  stop_name: string;
194
192
  }[] | undefined;
195
193
  }[] | undefined;
194
+ pattern_ids?: string[] | undefined;
195
+ route_ids?: string[] | undefined;
196
196
  }>;
197
197
  export type OperationalStop = z.infer<typeof OperationalStopSchema>;
@@ -57,7 +57,6 @@ export declare const OrganizationSchema: z.ZodObject<{
57
57
  __brand: "UnixTimestamp";
58
58
  };
59
59
  short_name: string;
60
- long_name: string;
61
60
  home_links: {
62
61
  title: string;
63
62
  icon: string;
@@ -67,6 +66,7 @@ export declare const OrganizationSchema: z.ZodObject<{
67
66
  home_wikis: string[];
68
67
  logo_dark: string | null;
69
68
  logo_light: string | null;
69
+ long_name: string;
70
70
  theme: string | null;
71
71
  updated_by?: string | undefined;
72
72
  }, {
@@ -123,7 +123,6 @@ export declare const CreateOrganizationSchema: z.ZodObject<Omit<{
123
123
  created_by: string | null;
124
124
  is_locked: boolean;
125
125
  short_name: string;
126
- long_name: string;
127
126
  home_links: {
128
127
  title: string;
129
128
  icon: string;
@@ -133,6 +132,7 @@ export declare const CreateOrganizationSchema: z.ZodObject<Omit<{
133
132
  home_wikis: string[];
134
133
  logo_dark: string | null;
135
134
  logo_light: string | null;
135
+ long_name: string;
136
136
  theme: string | null;
137
137
  updated_by?: string | undefined;
138
138
  }, {
@@ -156,7 +156,6 @@ export declare const UpdateOrganizationSchema: z.ZodObject<{
156
156
  is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
157
157
  updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
158
158
  short_name: z.ZodOptional<z.ZodString>;
159
- long_name: z.ZodOptional<z.ZodString>;
160
159
  home_links: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
161
160
  href: z.ZodString;
162
161
  icon: z.ZodString;
@@ -176,12 +175,12 @@ export declare const UpdateOrganizationSchema: z.ZodObject<{
176
175
  home_wikis: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
177
176
  logo_dark: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
178
177
  logo_light: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
178
+ long_name: z.ZodOptional<z.ZodString>;
179
179
  theme: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
180
180
  }, "strip", z.ZodTypeAny, {
181
181
  is_locked?: boolean | undefined;
182
182
  updated_by?: string | undefined;
183
183
  short_name?: string | undefined;
184
- long_name?: string | undefined;
185
184
  home_links?: {
186
185
  title: string;
187
186
  icon: string;
@@ -191,12 +190,12 @@ export declare const UpdateOrganizationSchema: z.ZodObject<{
191
190
  home_wikis?: string[] | undefined;
192
191
  logo_dark?: string | null | undefined;
193
192
  logo_light?: string | null | undefined;
193
+ long_name?: string | undefined;
194
194
  theme?: string | null | undefined;
195
195
  }, {
196
196
  is_locked?: boolean | undefined;
197
197
  updated_by?: string | undefined;
198
198
  short_name?: string | undefined;
199
- long_name?: string | undefined;
200
199
  home_links?: {
201
200
  title: string;
202
201
  icon: string;
@@ -206,6 +205,7 @@ export declare const UpdateOrganizationSchema: z.ZodObject<{
206
205
  home_wikis?: string[] | undefined;
207
206
  logo_dark?: string | null | undefined;
208
207
  logo_light?: string | null | undefined;
208
+ long_name?: string | undefined;
209
209
  theme?: string | null | undefined;
210
210
  }>;
211
211
  export type Organization = z.infer<typeof OrganizationSchema>;
@@ -5,11 +5,11 @@ export declare const PlanAppStatusSchema: z.ZodDefault<z.ZodObject<{
5
5
  timestamp: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
6
6
  }, "strip", z.ZodTypeAny, {
7
7
  status: "error" | "waiting" | "processing" | "complete" | "skipped";
8
- timestamp: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
9
8
  last_hash: string | null;
9
+ timestamp: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
10
10
  }, {
11
11
  status?: "error" | "waiting" | "processing" | "complete" | "skipped" | undefined;
12
- timestamp?: number | null | undefined;
13
12
  last_hash?: string | null | undefined;
13
+ timestamp?: number | null | undefined;
14
14
  }>>;
15
15
  export type PlanAppStatus = z.infer<typeof PlanAppStatusSchema>;