@tmlmobilidade/types 20260703.1345.26 → 20260706.931.16

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.
@@ -156,7 +156,7 @@ export declare const RoleSchema: z.ZodObject<{
156
156
  scope: "roles";
157
157
  action: "create" | "delete" | "read" | "lock" | "update";
158
158
  }>, z.ZodObject<{
159
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
159
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
160
160
  resources: z.ZodDefault<z.ZodObject<{
161
161
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
162
162
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -170,14 +170,14 @@ export declare const RoleSchema: z.ZodObject<{
170
170
  scope: z.ZodLiteral<"stops">;
171
171
  }, "strip", z.ZodTypeAny, {
172
172
  scope: "stops";
173
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
173
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
174
174
  resources: {
175
175
  municipality_ids: string[];
176
176
  agency_ids: string[];
177
177
  };
178
178
  }, {
179
179
  scope: "stops";
180
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
180
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
181
181
  resources?: {
182
182
  municipality_ids?: string[] | undefined;
183
183
  agency_ids?: string[] | undefined;
@@ -482,7 +482,7 @@ export declare const RoleSchema: z.ZodObject<{
482
482
  action: "create" | "delete" | "read" | "lock" | "update";
483
483
  } | {
484
484
  scope: "stops";
485
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
485
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
486
486
  resources: {
487
487
  municipality_ids: string[];
488
488
  agency_ids: string[];
@@ -599,7 +599,7 @@ export declare const RoleSchema: z.ZodObject<{
599
599
  action: "create" | "delete" | "read" | "lock" | "update";
600
600
  } | {
601
601
  scope: "stops";
602
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
602
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
603
603
  resources?: {
604
604
  municipality_ids?: string[] | undefined;
605
605
  agency_ids?: string[] | undefined;
@@ -784,7 +784,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
784
784
  scope: "roles";
785
785
  action: "create" | "delete" | "read" | "lock" | "update";
786
786
  }>, z.ZodObject<{
787
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
787
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
788
788
  resources: z.ZodDefault<z.ZodObject<{
789
789
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
790
790
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -798,14 +798,14 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
798
798
  scope: z.ZodLiteral<"stops">;
799
799
  }, "strip", z.ZodTypeAny, {
800
800
  scope: "stops";
801
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
801
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
802
802
  resources: {
803
803
  municipality_ids: string[];
804
804
  agency_ids: string[];
805
805
  };
806
806
  }, {
807
807
  scope: "stops";
808
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
808
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
809
809
  resources?: {
810
810
  municipality_ids?: string[] | undefined;
811
811
  agency_ids?: string[] | undefined;
@@ -1103,7 +1103,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
1103
1103
  action: "create" | "delete" | "read" | "lock" | "update";
1104
1104
  } | {
1105
1105
  scope: "stops";
1106
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1106
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1107
1107
  resources: {
1108
1108
  municipality_ids: string[];
1109
1109
  agency_ids: string[];
@@ -1217,7 +1217,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
1217
1217
  action: "create" | "delete" | "read" | "lock" | "update";
1218
1218
  } | {
1219
1219
  scope: "stops";
1220
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1220
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1221
1221
  resources?: {
1222
1222
  municipality_ids?: string[] | undefined;
1223
1223
  agency_ids?: string[] | undefined;
@@ -1397,7 +1397,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1397
1397
  scope: "roles";
1398
1398
  action: "create" | "delete" | "read" | "lock" | "update";
1399
1399
  }>, z.ZodObject<{
1400
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
1400
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
1401
1401
  resources: z.ZodDefault<z.ZodObject<{
1402
1402
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1403
1403
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -1411,14 +1411,14 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1411
1411
  scope: z.ZodLiteral<"stops">;
1412
1412
  }, "strip", z.ZodTypeAny, {
1413
1413
  scope: "stops";
1414
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1414
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1415
1415
  resources: {
1416
1416
  municipality_ids: string[];
1417
1417
  agency_ids: string[];
1418
1418
  };
1419
1419
  }, {
1420
1420
  scope: "stops";
1421
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1421
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1422
1422
  resources?: {
1423
1423
  municipality_ids?: string[] | undefined;
1424
1424
  agency_ids?: string[] | undefined;
@@ -1716,7 +1716,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1716
1716
  action: "create" | "delete" | "read" | "lock" | "update";
1717
1717
  } | {
1718
1718
  scope: "stops";
1719
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1719
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1720
1720
  resources: {
1721
1721
  municipality_ids: string[];
1722
1722
  agency_ids: string[];
@@ -1828,7 +1828,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1828
1828
  action: "create" | "delete" | "read" | "lock" | "update";
1829
1829
  } | {
1830
1830
  scope: "stops";
1831
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1831
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1832
1832
  resources?: {
1833
1833
  municipality_ids?: string[] | undefined;
1834
1834
  agency_ids?: string[] | undefined;
@@ -161,7 +161,7 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
161
161
  scope: "roles";
162
162
  action: "create" | "delete" | "read" | "lock" | "update";
163
163
  }>, z.ZodObject<{
164
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
164
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
165
165
  resources: z.ZodDefault<z.ZodObject<{
166
166
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
167
167
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -175,14 +175,14 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
175
175
  scope: z.ZodLiteral<"stops">;
176
176
  }, "strip", z.ZodTypeAny, {
177
177
  scope: "stops";
178
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
178
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
179
179
  resources: {
180
180
  municipality_ids: string[];
181
181
  agency_ids: string[];
182
182
  };
183
183
  }, {
184
184
  scope: "stops";
185
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
185
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
186
186
  resources?: {
187
187
  municipality_ids?: string[] | undefined;
188
188
  agency_ids?: string[] | undefined;
@@ -163,7 +163,7 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
163
163
  scope: "roles";
164
164
  action: "create" | "delete" | "read" | "lock" | "update";
165
165
  }>, z.ZodObject<{
166
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
166
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
167
167
  resources: z.ZodDefault<z.ZodObject<{
168
168
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
169
169
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -177,14 +177,14 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
177
177
  scope: z.ZodLiteral<"stops">;
178
178
  }, "strip", z.ZodTypeAny, {
179
179
  scope: "stops";
180
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
180
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
181
181
  resources: {
182
182
  municipality_ids: string[];
183
183
  agency_ids: string[];
184
184
  };
185
185
  }, {
186
186
  scope: "stops";
187
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
187
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
188
188
  resources?: {
189
189
  municipality_ids?: string[] | undefined;
190
190
  agency_ids?: string[] | undefined;
@@ -496,7 +496,7 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
496
496
  action: "create" | "delete" | "read" | "lock" | "update";
497
497
  } | {
498
498
  scope: "stops";
499
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
499
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
500
500
  resources: {
501
501
  municipality_ids: string[];
502
502
  agency_ids: string[];
@@ -627,7 +627,7 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
627
627
  action: "create" | "delete" | "read" | "lock" | "update";
628
628
  } | {
629
629
  scope: "stops";
630
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
630
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
631
631
  resources?: {
632
632
  municipality_ids?: string[] | undefined;
633
633
  agency_ids?: string[] | undefined;
@@ -824,7 +824,7 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
824
824
  scope: "roles";
825
825
  action: "create" | "delete" | "read" | "lock" | "update";
826
826
  }>, z.ZodObject<{
827
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
827
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
828
828
  resources: z.ZodDefault<z.ZodObject<{
829
829
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
830
830
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -838,14 +838,14 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
838
838
  scope: z.ZodLiteral<"stops">;
839
839
  }, "strip", z.ZodTypeAny, {
840
840
  scope: "stops";
841
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
841
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
842
842
  resources: {
843
843
  municipality_ids: string[];
844
844
  agency_ids: string[];
845
845
  };
846
846
  }, {
847
847
  scope: "stops";
848
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
848
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
849
849
  resources?: {
850
850
  municipality_ids?: string[] | undefined;
851
851
  agency_ids?: string[] | undefined;
@@ -1150,7 +1150,7 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
1150
1150
  action: "create" | "delete" | "read" | "lock" | "update";
1151
1151
  } | {
1152
1152
  scope: "stops";
1153
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1153
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1154
1154
  resources: {
1155
1155
  municipality_ids: string[];
1156
1156
  agency_ids: string[];
@@ -1278,7 +1278,7 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
1278
1278
  action: "create" | "delete" | "read" | "lock" | "update";
1279
1279
  } | {
1280
1280
  scope: "stops";
1281
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1281
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1282
1282
  resources?: {
1283
1283
  municipality_ids?: string[] | undefined;
1284
1284
  agency_ids?: string[] | undefined;
@@ -1466,7 +1466,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
1466
1466
  scope: "roles";
1467
1467
  action: "create" | "delete" | "read" | "lock" | "update";
1468
1468
  }>, z.ZodObject<{
1469
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
1469
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
1470
1470
  resources: z.ZodDefault<z.ZodObject<{
1471
1471
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1472
1472
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -1480,14 +1480,14 @@ export declare const UpdateUserSchema: z.ZodObject<{
1480
1480
  scope: z.ZodLiteral<"stops">;
1481
1481
  }, "strip", z.ZodTypeAny, {
1482
1482
  scope: "stops";
1483
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1483
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1484
1484
  resources: {
1485
1485
  municipality_ids: string[];
1486
1486
  agency_ids: string[];
1487
1487
  };
1488
1488
  }, {
1489
1489
  scope: "stops";
1490
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1490
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1491
1491
  resources?: {
1492
1492
  municipality_ids?: string[] | undefined;
1493
1493
  agency_ids?: string[] | undefined;
@@ -1794,7 +1794,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
1794
1794
  action: "create" | "delete" | "read" | "lock" | "update";
1795
1795
  } | {
1796
1796
  scope: "stops";
1797
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1797
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1798
1798
  resources: {
1799
1799
  municipality_ids: string[];
1800
1800
  agency_ids: string[];
@@ -1915,7 +1915,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
1915
1915
  action: "create" | "delete" | "read" | "lock" | "update";
1916
1916
  } | {
1917
1917
  scope: "stops";
1918
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
1918
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
1919
1919
  resources?: {
1920
1920
  municipality_ids?: string[] | undefined;
1921
1921
  agency_ids?: string[] | undefined;
@@ -2113,7 +2113,7 @@ export declare const UserSchema: z.ZodObject<Omit<{
2113
2113
  scope: "roles";
2114
2114
  action: "create" | "delete" | "read" | "lock" | "update";
2115
2115
  }>, z.ZodObject<{
2116
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
2116
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
2117
2117
  resources: z.ZodDefault<z.ZodObject<{
2118
2118
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2119
2119
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -2127,14 +2127,14 @@ export declare const UserSchema: z.ZodObject<Omit<{
2127
2127
  scope: z.ZodLiteral<"stops">;
2128
2128
  }, "strip", z.ZodTypeAny, {
2129
2129
  scope: "stops";
2130
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
2130
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
2131
2131
  resources: {
2132
2132
  municipality_ids: string[];
2133
2133
  agency_ids: string[];
2134
2134
  };
2135
2135
  }, {
2136
2136
  scope: "stops";
2137
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
2137
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
2138
2138
  resources?: {
2139
2139
  municipality_ids?: string[] | undefined;
2140
2140
  agency_ids?: string[] | undefined;
@@ -2446,7 +2446,7 @@ export declare const UserSchema: z.ZodObject<Omit<{
2446
2446
  action: "create" | "delete" | "read" | "lock" | "update";
2447
2447
  } | {
2448
2448
  scope: "stops";
2449
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
2449
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
2450
2450
  resources: {
2451
2451
  municipality_ids: string[];
2452
2452
  agency_ids: string[];
@@ -2574,7 +2574,7 @@ export declare const UserSchema: z.ZodObject<Omit<{
2574
2574
  action: "create" | "delete" | "read" | "lock" | "update";
2575
2575
  } | {
2576
2576
  scope: "stops";
2577
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
2577
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
2578
2578
  resources?: {
2579
2579
  municipality_ids?: string[] | undefined;
2580
2580
  agency_ids?: string[] | undefined;
@@ -2779,7 +2779,7 @@ export declare const UserDisplaySchema: z.ZodObject<Pick<Omit<{
2779
2779
  scope: "roles";
2780
2780
  action: "create" | "delete" | "read" | "lock" | "update";
2781
2781
  }>, z.ZodObject<{
2782
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
2782
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
2783
2783
  resources: z.ZodDefault<z.ZodObject<{
2784
2784
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2785
2785
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -2793,14 +2793,14 @@ export declare const UserDisplaySchema: z.ZodObject<Pick<Omit<{
2793
2793
  scope: z.ZodLiteral<"stops">;
2794
2794
  }, "strip", z.ZodTypeAny, {
2795
2795
  scope: "stops";
2796
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
2796
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
2797
2797
  resources: {
2798
2798
  municipality_ids: string[];
2799
2799
  agency_ids: string[];
2800
2800
  };
2801
2801
  }, {
2802
2802
  scope: "stops";
2803
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
2803
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
2804
2804
  resources?: {
2805
2805
  municipality_ids?: string[] | undefined;
2806
2806
  agency_ids?: string[] | undefined;
@@ -104,7 +104,7 @@ export declare const EventSchema: z.ZodObject<{
104
104
  };
105
105
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
106
106
  kind: "event_replacement";
107
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
107
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
108
108
  year_period_ids: string[];
109
109
  lines_mode: "exclude" | "include" | "all";
110
110
  _id?: string | undefined;
@@ -120,7 +120,7 @@ export declare const EventSchema: z.ZodObject<{
120
120
  };
121
121
  dates: string[];
122
122
  kind: "event_replacement";
123
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
123
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
124
124
  year_period_ids: string[];
125
125
  lines_mode: "exclude" | "include" | "all";
126
126
  _id?: string | undefined;
@@ -188,7 +188,7 @@ export declare const EventSchema: z.ZodObject<{
188
188
  };
189
189
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
190
190
  kind: "event_replacement";
191
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
191
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
192
192
  year_period_ids: string[];
193
193
  lines_mode: "exclude" | "include" | "all";
194
194
  _id?: string | undefined;
@@ -241,7 +241,7 @@ export declare const EventSchema: z.ZodObject<{
241
241
  };
242
242
  dates: string[];
243
243
  kind: "event_replacement";
244
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
244
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
245
245
  year_period_ids: string[];
246
246
  lines_mode: "exclude" | "include" | "all";
247
247
  _id?: string | undefined;
@@ -364,7 +364,7 @@ export declare const CreateEventSchema: z.ZodObject<Omit<{
364
364
  };
365
365
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
366
366
  kind: "event_replacement";
367
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
367
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
368
368
  year_period_ids: string[];
369
369
  lines_mode: "exclude" | "include" | "all";
370
370
  _id?: string | undefined;
@@ -380,7 +380,7 @@ export declare const CreateEventSchema: z.ZodObject<Omit<{
380
380
  };
381
381
  dates: string[];
382
382
  kind: "event_replacement";
383
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
383
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
384
384
  year_period_ids: string[];
385
385
  lines_mode: "exclude" | "include" | "all";
386
386
  _id?: string | undefined;
@@ -441,7 +441,7 @@ export declare const CreateEventSchema: z.ZodObject<Omit<{
441
441
  };
442
442
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
443
443
  kind: "event_replacement";
444
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
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;
@@ -484,7 +484,7 @@ export declare const CreateEventSchema: z.ZodObject<Omit<{
484
484
  };
485
485
  dates: string[];
486
486
  kind: "event_replacement";
487
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
487
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
488
488
  year_period_ids: string[];
489
489
  lines_mode: "exclude" | "include" | "all";
490
490
  _id?: string | undefined;
@@ -596,7 +596,7 @@ export declare const UpdateEventSchema: z.ZodObject<{
596
596
  };
597
597
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
598
598
  kind: "event_replacement";
599
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
599
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
600
600
  year_period_ids: string[];
601
601
  lines_mode: "exclude" | "include" | "all";
602
602
  _id?: string | undefined;
@@ -612,7 +612,7 @@ export declare const UpdateEventSchema: z.ZodObject<{
612
612
  };
613
613
  dates: string[];
614
614
  kind: "event_replacement";
615
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
615
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
616
616
  year_period_ids: string[];
617
617
  lines_mode: "exclude" | "include" | "all";
618
618
  _id?: string | undefined;
@@ -653,7 +653,7 @@ export declare const UpdateEventSchema: z.ZodObject<{
653
653
  };
654
654
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
655
655
  kind: "event_replacement";
656
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
656
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
657
657
  year_period_ids: string[];
658
658
  lines_mode: "exclude" | "include" | "all";
659
659
  _id?: string | undefined;
@@ -694,7 +694,7 @@ export declare const UpdateEventSchema: z.ZodObject<{
694
694
  };
695
695
  dates: string[];
696
696
  kind: "event_replacement";
697
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
697
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
698
698
  year_period_ids: string[];
699
699
  lines_mode: "exclude" | "include" | "all";
700
700
  _id?: string | undefined;
@@ -30,6 +30,7 @@ export declare const FlatStopSchema: z.ZodObject<{
30
30
  latitude: z.ZodNumber;
31
31
  locality_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
32
32
  longitude: z.ZodNumber;
33
+ municapility_name: z.ZodOptional<z.ZodString>;
33
34
  municipality_id: z.ZodString;
34
35
  parish_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
35
36
  bench_status: z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>;
@@ -103,6 +104,7 @@ export declare const FlatStopSchema: z.ZodObject<{
103
104
  has_schedules: "unknown" | "available" | "unavailable";
104
105
  has_shelter: "unknown" | "available" | "unavailable";
105
106
  has_stop_sign: "unknown" | "available" | "unavailable";
107
+ municapility_name?: string | undefined;
106
108
  }, {
107
109
  _id: number;
108
110
  name: string;
@@ -125,6 +127,7 @@ export declare const FlatStopSchema: z.ZodObject<{
125
127
  new_name?: string | null | undefined;
126
128
  previous_go_id?: string | null | undefined;
127
129
  locality_id?: string | null | undefined;
130
+ municapility_name?: string | undefined;
128
131
  parish_id?: string | null | undefined;
129
132
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
130
133
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -31,6 +31,7 @@ export const FlatStopSchema = z.object({
31
31
  latitude: z.number(),
32
32
  locality_id: z.string().nullable().default(null),
33
33
  longitude: z.number(),
34
+ municapility_name: z.string().optional(),
34
35
  municipality_id: z.string(),
35
36
  parish_id: z.string().nullable().default(null),
36
37
  /* INFRASTRUCTURE */
@@ -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 | 4 | 3 | 5 | 7 | 6)[];
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 | 4 | 3 | 5 | 7 | 6)[];
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 | 4 | 3 | 5 | 7 | 6)[];
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 | 4 | 3 | 5 | 7 | 6)[];
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 | 4 | 3 | 5 | 7 | 6)[];
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 | 4 | 3 | 5 | 7 | 6)[];
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 | 4 | 3 | 5 | 7 | 6)[];
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 | 4 | 3 | 5 | 7 | 6)[];
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;
@@ -576,7 +576,7 @@ export declare const PatternSchema: z.ZodObject<{
576
576
  dwell_time: number;
577
577
  }[];
578
578
  kind: "override";
579
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
579
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
580
580
  year_period_ids: string[];
581
581
  _id?: string | undefined;
582
582
  name?: string | undefined;
@@ -589,7 +589,7 @@ export declare const PatternSchema: z.ZodObject<{
589
589
  dwell_time: number;
590
590
  }[];
591
591
  kind: "override";
592
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
592
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
593
593
  year_period_ids: string[];
594
594
  _id?: string | undefined;
595
595
  name?: string | undefined;
@@ -612,7 +612,7 @@ export declare const PatternSchema: z.ZodObject<{
612
612
  dwell_time: number;
613
613
  }[];
614
614
  kind: "override";
615
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
615
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
616
616
  year_period_ids: string[];
617
617
  _id?: string | undefined;
618
618
  name?: string | undefined;
@@ -635,7 +635,7 @@ export declare const PatternSchema: z.ZodObject<{
635
635
  dwell_time: number;
636
636
  }[];
637
637
  kind: "override";
638
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
638
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
639
639
  year_period_ids: string[];
640
640
  _id?: string | undefined;
641
641
  name?: string | undefined;
@@ -707,8 +707,8 @@ export declare const PatternSchema: z.ZodObject<{
707
707
  year_period_ids: string[];
708
708
  name?: string | undefined;
709
709
  event_id?: string | undefined;
710
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
711
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
710
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
711
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
712
712
  }, {
713
713
  _id: string;
714
714
  kind: "manual";
@@ -717,8 +717,8 @@ export declare const PatternSchema: z.ZodObject<{
717
717
  year_period_ids: string[];
718
718
  name?: string | undefined;
719
719
  event_id?: string | undefined;
720
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
721
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
720
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
721
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
722
722
  }>, z.ZodObject<{
723
723
  _id: z.ZodOptional<z.ZodString>;
724
724
  name: z.ZodOptional<z.ZodString>;
@@ -812,7 +812,7 @@ export declare const PatternSchema: z.ZodObject<{
812
812
  };
813
813
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
814
814
  kind: "event_replacement";
815
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
815
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
816
816
  year_period_ids: string[];
817
817
  lines_mode: "exclude" | "include" | "all";
818
818
  _id?: string | undefined;
@@ -828,7 +828,7 @@ export declare const PatternSchema: z.ZodObject<{
828
828
  };
829
829
  dates: string[];
830
830
  kind: "event_replacement";
831
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
831
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
832
832
  year_period_ids: string[];
833
833
  lines_mode: "exclude" | "include" | "all";
834
834
  _id?: string | undefined;
@@ -1097,8 +1097,8 @@ export declare const PatternSchema: z.ZodObject<{
1097
1097
  year_period_ids: string[];
1098
1098
  name?: string | undefined;
1099
1099
  event_id?: string | undefined;
1100
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
1101
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
1100
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
1101
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
1102
1102
  } | {
1103
1103
  event: {
1104
1104
  title: string;
@@ -1122,7 +1122,7 @@ export declare const PatternSchema: z.ZodObject<{
1122
1122
  };
1123
1123
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
1124
1124
  kind: "event_replacement";
1125
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
1125
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1126
1126
  year_period_ids: string[];
1127
1127
  lines_mode: "exclude" | "include" | "all";
1128
1128
  _id?: string | undefined;
@@ -1253,7 +1253,7 @@ export declare const PatternSchema: z.ZodObject<{
1253
1253
  dwell_time: number;
1254
1254
  }[];
1255
1255
  kind: "override";
1256
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
1256
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1257
1257
  year_period_ids: string[];
1258
1258
  _id?: string | undefined;
1259
1259
  name?: string | undefined;
@@ -1332,8 +1332,8 @@ export declare const PatternSchema: z.ZodObject<{
1332
1332
  year_period_ids: string[];
1333
1333
  name?: string | undefined;
1334
1334
  event_id?: string | undefined;
1335
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
1336
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
1335
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
1336
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
1337
1337
  } | {
1338
1338
  event: {
1339
1339
  title: string;
@@ -1357,7 +1357,7 @@ export declare const PatternSchema: z.ZodObject<{
1357
1357
  };
1358
1358
  dates: string[];
1359
1359
  kind: "event_replacement";
1360
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
1360
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1361
1361
  year_period_ids: string[];
1362
1362
  lines_mode: "exclude" | "include" | "all";
1363
1363
  _id?: string | undefined;
@@ -1419,7 +1419,7 @@ export declare const PatternSchema: z.ZodObject<{
1419
1419
  dwell_time: number;
1420
1420
  }[];
1421
1421
  kind: "override";
1422
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
1422
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1423
1423
  year_period_ids: string[];
1424
1424
  _id?: string | undefined;
1425
1425
  name?: string | undefined;
@@ -1789,7 +1789,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
1789
1789
  dwell_time: number;
1790
1790
  }[];
1791
1791
  kind: "override";
1792
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
1792
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1793
1793
  year_period_ids: string[];
1794
1794
  _id?: string | undefined;
1795
1795
  name?: string | undefined;
@@ -1802,7 +1802,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
1802
1802
  dwell_time: number;
1803
1803
  }[];
1804
1804
  kind: "override";
1805
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
1805
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1806
1806
  year_period_ids: string[];
1807
1807
  _id?: string | undefined;
1808
1808
  name?: string | undefined;
@@ -1825,7 +1825,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
1825
1825
  dwell_time: number;
1826
1826
  }[];
1827
1827
  kind: "override";
1828
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
1828
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1829
1829
  year_period_ids: string[];
1830
1830
  _id?: string | undefined;
1831
1831
  name?: string | undefined;
@@ -1848,7 +1848,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
1848
1848
  dwell_time: number;
1849
1849
  }[];
1850
1850
  kind: "override";
1851
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
1851
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
1852
1852
  year_period_ids: string[];
1853
1853
  _id?: string | undefined;
1854
1854
  name?: string | undefined;
@@ -1920,8 +1920,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
1920
1920
  year_period_ids: string[];
1921
1921
  name?: string | undefined;
1922
1922
  event_id?: string | undefined;
1923
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
1924
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
1923
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
1924
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
1925
1925
  }, {
1926
1926
  _id: string;
1927
1927
  kind: "manual";
@@ -1930,8 +1930,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
1930
1930
  year_period_ids: string[];
1931
1931
  name?: string | undefined;
1932
1932
  event_id?: string | undefined;
1933
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
1934
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
1933
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
1934
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
1935
1935
  }>, z.ZodObject<{
1936
1936
  _id: z.ZodOptional<z.ZodString>;
1937
1937
  name: z.ZodOptional<z.ZodString>;
@@ -2025,7 +2025,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2025
2025
  };
2026
2026
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
2027
2027
  kind: "event_replacement";
2028
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
2028
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2029
2029
  year_period_ids: string[];
2030
2030
  lines_mode: "exclude" | "include" | "all";
2031
2031
  _id?: string | undefined;
@@ -2041,7 +2041,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2041
2041
  };
2042
2042
  dates: string[];
2043
2043
  kind: "event_replacement";
2044
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
2044
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2045
2045
  year_period_ids: string[];
2046
2046
  lines_mode: "exclude" | "include" | "all";
2047
2047
  _id?: string | undefined;
@@ -2303,8 +2303,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2303
2303
  year_period_ids: string[];
2304
2304
  name?: string | undefined;
2305
2305
  event_id?: string | undefined;
2306
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
2307
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
2306
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
2307
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
2308
2308
  } | {
2309
2309
  event: {
2310
2310
  title: string;
@@ -2328,7 +2328,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2328
2328
  };
2329
2329
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
2330
2330
  kind: "event_replacement";
2331
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
2331
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2332
2332
  year_period_ids: string[];
2333
2333
  lines_mode: "exclude" | "include" | "all";
2334
2334
  _id?: string | undefined;
@@ -2459,7 +2459,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2459
2459
  dwell_time: number;
2460
2460
  }[];
2461
2461
  kind: "override";
2462
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
2462
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2463
2463
  year_period_ids: string[];
2464
2464
  _id?: string | undefined;
2465
2465
  name?: string | undefined;
@@ -2535,8 +2535,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2535
2535
  year_period_ids: string[];
2536
2536
  name?: string | undefined;
2537
2537
  event_id?: string | undefined;
2538
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
2539
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
2538
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
2539
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
2540
2540
  } | {
2541
2541
  event: {
2542
2542
  title: string;
@@ -2560,7 +2560,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2560
2560
  };
2561
2561
  dates: string[];
2562
2562
  kind: "event_replacement";
2563
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
2563
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2564
2564
  year_period_ids: string[];
2565
2565
  lines_mode: "exclude" | "include" | "all";
2566
2566
  _id?: string | undefined;
@@ -2622,7 +2622,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2622
2622
  dwell_time: number;
2623
2623
  }[];
2624
2624
  kind: "override";
2625
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
2625
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
2626
2626
  year_period_ids: string[];
2627
2627
  _id?: string | undefined;
2628
2628
  name?: string | undefined;
@@ -3191,7 +3191,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3191
3191
  dwell_time: number;
3192
3192
  }[];
3193
3193
  kind: "override";
3194
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
3194
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3195
3195
  year_period_ids: string[];
3196
3196
  _id?: string | undefined;
3197
3197
  name?: string | undefined;
@@ -3204,7 +3204,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3204
3204
  dwell_time: number;
3205
3205
  }[];
3206
3206
  kind: "override";
3207
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
3207
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3208
3208
  year_period_ids: string[];
3209
3209
  _id?: string | undefined;
3210
3210
  name?: string | undefined;
@@ -3227,7 +3227,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3227
3227
  dwell_time: number;
3228
3228
  }[];
3229
3229
  kind: "override";
3230
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
3230
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3231
3231
  year_period_ids: string[];
3232
3232
  _id?: string | undefined;
3233
3233
  name?: string | undefined;
@@ -3250,7 +3250,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3250
3250
  dwell_time: number;
3251
3251
  }[];
3252
3252
  kind: "override";
3253
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
3253
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3254
3254
  year_period_ids: string[];
3255
3255
  _id?: string | undefined;
3256
3256
  name?: string | undefined;
@@ -3296,8 +3296,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3296
3296
  timepoints: (string & z.BRAND<"HHMM">)[];
3297
3297
  year_period_ids: string[];
3298
3298
  event_id?: string | undefined;
3299
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
3300
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
3299
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
3300
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
3301
3301
  }, {
3302
3302
  _id: string;
3303
3303
  kind: "manual";
@@ -3305,8 +3305,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3305
3305
  timepoints: string[];
3306
3306
  year_period_ids: string[];
3307
3307
  event_id?: string | undefined;
3308
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
3309
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
3308
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
3309
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
3310
3310
  }>, {
3311
3311
  _id: string;
3312
3312
  kind: "manual";
@@ -3314,8 +3314,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3314
3314
  timepoints: (string & z.BRAND<"HHMM">)[];
3315
3315
  year_period_ids: string[];
3316
3316
  event_id?: string | undefined;
3317
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
3318
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
3317
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
3318
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
3319
3319
  }, {
3320
3320
  _id: string;
3321
3321
  kind: "manual";
@@ -3323,8 +3323,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3323
3323
  timepoints: string[];
3324
3324
  year_period_ids: string[];
3325
3325
  event_id?: string | undefined;
3326
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
3327
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
3326
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
3327
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
3328
3328
  }>, "many">>;
3329
3329
  }, "strip", z.ZodTypeAny, {
3330
3330
  is_locked?: boolean | undefined;
@@ -3388,8 +3388,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3388
3388
  timepoints: (string & z.BRAND<"HHMM">)[];
3389
3389
  year_period_ids: string[];
3390
3390
  event_id?: string | undefined;
3391
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
3392
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
3391
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
3392
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
3393
3393
  }[] | undefined;
3394
3394
  headsign?: string | undefined;
3395
3395
  line_id?: string | undefined;
@@ -3460,7 +3460,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3460
3460
  dwell_time: number;
3461
3461
  }[];
3462
3462
  kind: "override";
3463
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
3463
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3464
3464
  year_period_ids: string[];
3465
3465
  _id?: string | undefined;
3466
3466
  name?: string | undefined;
@@ -3529,8 +3529,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3529
3529
  timepoints: string[];
3530
3530
  year_period_ids: string[];
3531
3531
  event_id?: string | undefined;
3532
- months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
3533
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
3532
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
3533
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
3534
3534
  }[] | undefined;
3535
3535
  headsign?: string | undefined;
3536
3536
  line_id?: string | undefined;
@@ -3589,7 +3589,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
3589
3589
  dwell_time: number;
3590
3590
  }[];
3591
3591
  kind: "override";
3592
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
3592
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
3593
3593
  year_period_ids: string[];
3594
3594
  _id?: string | undefined;
3595
3595
  name?: string | undefined;
@@ -44,8 +44,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
48
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
47
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
48
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
49
49
  }, {
50
50
  _id: string;
51
51
  kind: "manual";
@@ -54,8 +54,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
58
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
57
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
58
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
59
59
  }>;
60
60
  export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
61
61
  _id: z.ZodString;
@@ -96,8 +96,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
100
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
99
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
100
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
101
101
  }, {
102
102
  _id: string;
103
103
  kind: "manual";
@@ -106,8 +106,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
110
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
109
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
110
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
111
111
  }>, {
112
112
  _id: string;
113
113
  kind: "manual";
@@ -116,8 +116,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
120
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
119
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
120
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
121
121
  }, {
122
122
  _id: string;
123
123
  kind: "manual";
@@ -126,8 +126,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
130
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
129
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
130
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
131
131
  }>;
132
132
  export declare const EventDerivedBaseSchema: z.ZodObject<{
133
133
  _id: z.ZodOptional<z.ZodString>;
@@ -253,7 +253,7 @@ export declare const EventReplacementSchema: z.ZodObject<{
253
253
  };
254
254
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
255
255
  kind: "event_replacement";
256
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
256
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
257
257
  year_period_ids: string[];
258
258
  lines_mode: "exclude" | "include" | "all";
259
259
  _id?: string | undefined;
@@ -269,7 +269,7 @@ export declare const EventReplacementSchema: z.ZodObject<{
269
269
  };
270
270
  dates: string[];
271
271
  kind: "event_replacement";
272
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
272
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
273
273
  year_period_ids: string[];
274
274
  lines_mode: "exclude" | "include" | "all";
275
275
  _id?: string | undefined;
@@ -377,7 +377,7 @@ export declare const EventRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObje
377
377
  };
378
378
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
379
379
  kind: "event_replacement";
380
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
380
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
381
381
  year_period_ids: string[];
382
382
  lines_mode: "exclude" | "include" | "all";
383
383
  _id?: string | undefined;
@@ -393,7 +393,7 @@ export declare const EventRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObje
393
393
  };
394
394
  dates: string[];
395
395
  kind: "event_replacement";
396
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
396
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
397
397
  year_period_ids: string[];
398
398
  lines_mode: "exclude" | "include" | "all";
399
399
  _id?: string | undefined;
@@ -442,8 +442,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
446
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
445
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
446
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
447
447
  }, {
448
448
  _id: string;
449
449
  kind: "manual";
@@ -452,8 +452,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
456
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
455
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
456
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
457
457
  }>, z.ZodObject<{
458
458
  _id: z.ZodOptional<z.ZodString>;
459
459
  name: z.ZodOptional<z.ZodString>;
@@ -552,7 +552,7 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
552
552
  };
553
553
  dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
554
554
  kind: "event_replacement";
555
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
555
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
556
556
  year_period_ids: string[];
557
557
  lines_mode: "exclude" | "include" | "all";
558
558
  _id?: string | undefined;
@@ -568,7 +568,7 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
568
568
  };
569
569
  dates: string[];
570
570
  kind: "event_replacement";
571
- weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
571
+ weekdays: (1 | 2 | 4 | 3 | 5 | 6 | 7)[];
572
572
  year_period_ids: string[];
573
573
  lines_mode: "exclude" | "include" | "all";
574
574
  _id?: string | undefined;
@@ -616,8 +616,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
620
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
619
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
620
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
621
621
  }, {
622
622
  _id: string;
623
623
  kind: "manual";
@@ -625,8 +625,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
629
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
628
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
629
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
630
630
  }>;
631
631
  export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
632
632
  _id: z.ZodString;
@@ -666,8 +666,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
670
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
669
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
670
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
671
671
  }, {
672
672
  _id: string;
673
673
  kind: "manual";
@@ -675,8 +675,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
679
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
678
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
679
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
680
680
  }>, {
681
681
  _id: string;
682
682
  kind: "manual";
@@ -684,8 +684,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
688
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
687
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
688
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
689
689
  }, {
690
690
  _id: string;
691
691
  kind: "manual";
@@ -693,8 +693,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
697
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
696
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
697
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
698
698
  }>;
699
699
  export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
700
700
  _id: z.ZodString;
@@ -734,8 +734,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
738
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
737
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
738
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
739
739
  }, {
740
740
  _id: string;
741
741
  kind: "manual";
@@ -743,8 +743,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
747
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
746
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
747
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
748
748
  }>, {
749
749
  _id: string;
750
750
  kind: "manual";
@@ -752,8 +752,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
756
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
755
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
756
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
757
757
  }, {
758
758
  _id: string;
759
759
  kind: "manual";
@@ -761,8 +761,8 @@ 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 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
765
- weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
764
+ months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 6 | 7 | 9)[] | undefined;
765
+ weekdays?: (1 | 2 | 4 | 3 | 5 | 6 | 7)[] | undefined;
766
766
  }>, "many">>;
767
767
  export type ScheduleRule = z.infer<typeof ScheduleRuleSchema>;
768
768
  export type ManualRule = z.infer<typeof ManualRuleSchema>;
@@ -147,7 +147,7 @@ export declare const PermissionSchema: z.ZodDiscriminatedUnion<"scope", [z.ZodOb
147
147
  scope: "roles";
148
148
  action: "create" | "delete" | "read" | "lock" | "update";
149
149
  }>, z.ZodObject<{
150
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
150
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
151
151
  resources: z.ZodDefault<z.ZodObject<{
152
152
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
153
153
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -161,14 +161,14 @@ export declare const PermissionSchema: z.ZodDiscriminatedUnion<"scope", [z.ZodOb
161
161
  scope: z.ZodLiteral<"stops">;
162
162
  }, "strip", z.ZodTypeAny, {
163
163
  scope: "stops";
164
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
164
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
165
165
  resources: {
166
166
  municipality_ids: string[];
167
167
  agency_ids: string[];
168
168
  };
169
169
  }, {
170
170
  scope: "stops";
171
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
171
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
172
172
  resources?: {
173
173
  municipality_ids?: string[] | undefined;
174
174
  agency_ids?: string[] | undefined;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const StopsPermissionSchema: z.ZodObject<{
3
- action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates"]>;
3
+ action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
4
4
  resources: z.ZodDefault<z.ZodObject<{
5
5
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
6
6
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -14,14 +14,14 @@ export declare const StopsPermissionSchema: z.ZodObject<{
14
14
  scope: z.ZodLiteral<"stops">;
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  scope: "stops";
17
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
17
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
18
18
  resources: {
19
19
  municipality_ids: string[];
20
20
  agency_ids: string[];
21
21
  };
22
22
  }, {
23
23
  scope: "stops";
24
- action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates";
24
+ action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
25
25
  resources?: {
26
26
  municipality_ids?: string[] | undefined;
27
27
  agency_ids?: string[] | undefined;
@@ -10,6 +10,7 @@ export const StopsPermissionSchema = z.object({
10
10
  'update',
11
11
  'export',
12
12
  'edit_coordinates',
13
+ 'edit_name',
13
14
  ]),
14
15
  resources: z.object({
15
16
  agency_ids: z.array(z.string()).default([]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20260703.1345.26",
3
+ "version": "20260706.931.16",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"