@tmlmobilidade/types 20260713.1735.8 → 20260713.2140.32

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.
@@ -125,7 +125,7 @@ export declare const RoleSchema: z.ZodObject<{
125
125
  scope: "performance";
126
126
  action: "read";
127
127
  }>, z.ZodObject<{
128
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
128
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
129
129
  resources: z.ZodDefault<z.ZodObject<{
130
130
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
131
131
  }, "strip", z.ZodTypeAny, {
@@ -136,13 +136,13 @@ export declare const RoleSchema: z.ZodObject<{
136
136
  scope: z.ZodLiteral<"plans">;
137
137
  }, "strip", z.ZodTypeAny, {
138
138
  scope: "plans";
139
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
139
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
140
140
  resources: {
141
141
  agency_ids: string[];
142
142
  };
143
143
  }, {
144
144
  scope: "plans";
145
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
145
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
146
146
  resources?: {
147
147
  agency_ids?: string[] | undefined;
148
148
  } | undefined;
@@ -473,7 +473,7 @@ export declare const RoleSchema: z.ZodObject<{
473
473
  action: "read";
474
474
  } | {
475
475
  scope: "plans";
476
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
476
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
477
477
  resources: {
478
478
  agency_ids: string[];
479
479
  };
@@ -590,7 +590,7 @@ export declare const RoleSchema: z.ZodObject<{
590
590
  action: "read";
591
591
  } | {
592
592
  scope: "plans";
593
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
593
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
594
594
  resources?: {
595
595
  agency_ids?: string[] | undefined;
596
596
  } | undefined;
@@ -753,7 +753,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
753
753
  scope: "performance";
754
754
  action: "read";
755
755
  }>, z.ZodObject<{
756
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
756
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
757
757
  resources: z.ZodDefault<z.ZodObject<{
758
758
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
759
759
  }, "strip", z.ZodTypeAny, {
@@ -764,13 +764,13 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
764
764
  scope: z.ZodLiteral<"plans">;
765
765
  }, "strip", z.ZodTypeAny, {
766
766
  scope: "plans";
767
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
767
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
768
768
  resources: {
769
769
  agency_ids: string[];
770
770
  };
771
771
  }, {
772
772
  scope: "plans";
773
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
773
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
774
774
  resources?: {
775
775
  agency_ids?: string[] | undefined;
776
776
  } | undefined;
@@ -1094,7 +1094,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
1094
1094
  action: "read";
1095
1095
  } | {
1096
1096
  scope: "plans";
1097
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1097
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1098
1098
  resources: {
1099
1099
  agency_ids: string[];
1100
1100
  };
@@ -1208,7 +1208,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
1208
1208
  action: "read";
1209
1209
  } | {
1210
1210
  scope: "plans";
1211
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1211
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1212
1212
  resources?: {
1213
1213
  agency_ids?: string[] | undefined;
1214
1214
  } | undefined;
@@ -1366,7 +1366,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1366
1366
  scope: "performance";
1367
1367
  action: "read";
1368
1368
  }>, z.ZodObject<{
1369
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
1369
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
1370
1370
  resources: z.ZodDefault<z.ZodObject<{
1371
1371
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1372
1372
  }, "strip", z.ZodTypeAny, {
@@ -1377,13 +1377,13 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1377
1377
  scope: z.ZodLiteral<"plans">;
1378
1378
  }, "strip", z.ZodTypeAny, {
1379
1379
  scope: "plans";
1380
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1380
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1381
1381
  resources: {
1382
1382
  agency_ids: string[];
1383
1383
  };
1384
1384
  }, {
1385
1385
  scope: "plans";
1386
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1386
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1387
1387
  resources?: {
1388
1388
  agency_ids?: string[] | undefined;
1389
1389
  } | undefined;
@@ -1707,7 +1707,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1707
1707
  action: "read";
1708
1708
  } | {
1709
1709
  scope: "plans";
1710
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1710
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1711
1711
  resources: {
1712
1712
  agency_ids: string[];
1713
1713
  };
@@ -1819,7 +1819,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1819
1819
  action: "read";
1820
1820
  } | {
1821
1821
  scope: "plans";
1822
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1822
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1823
1823
  resources?: {
1824
1824
  agency_ids?: string[] | undefined;
1825
1825
  } | undefined;
@@ -130,7 +130,7 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
130
130
  scope: "performance";
131
131
  action: "read";
132
132
  }>, z.ZodObject<{
133
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
133
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
134
134
  resources: z.ZodDefault<z.ZodObject<{
135
135
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
136
136
  }, "strip", z.ZodTypeAny, {
@@ -141,13 +141,13 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
141
141
  scope: z.ZodLiteral<"plans">;
142
142
  }, "strip", z.ZodTypeAny, {
143
143
  scope: "plans";
144
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
144
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
145
145
  resources: {
146
146
  agency_ids: string[];
147
147
  };
148
148
  }, {
149
149
  scope: "plans";
150
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
150
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
151
151
  resources?: {
152
152
  agency_ids?: string[] | undefined;
153
153
  } | undefined;
@@ -132,7 +132,7 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
132
132
  scope: "performance";
133
133
  action: "read";
134
134
  }>, z.ZodObject<{
135
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
135
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
136
136
  resources: z.ZodDefault<z.ZodObject<{
137
137
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
138
138
  }, "strip", z.ZodTypeAny, {
@@ -143,13 +143,13 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
143
143
  scope: z.ZodLiteral<"plans">;
144
144
  }, "strip", z.ZodTypeAny, {
145
145
  scope: "plans";
146
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
146
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
147
147
  resources: {
148
148
  agency_ids: string[];
149
149
  };
150
150
  }, {
151
151
  scope: "plans";
152
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
152
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
153
153
  resources?: {
154
154
  agency_ids?: string[] | undefined;
155
155
  } | undefined;
@@ -487,7 +487,7 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
487
487
  action: "read";
488
488
  } | {
489
489
  scope: "plans";
490
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
490
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
491
491
  resources: {
492
492
  agency_ids: string[];
493
493
  };
@@ -618,7 +618,7 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
618
618
  action: "read";
619
619
  } | {
620
620
  scope: "plans";
621
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
621
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
622
622
  resources?: {
623
623
  agency_ids?: string[] | undefined;
624
624
  } | undefined;
@@ -793,7 +793,7 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
793
793
  scope: "performance";
794
794
  action: "read";
795
795
  }>, z.ZodObject<{
796
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
796
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
797
797
  resources: z.ZodDefault<z.ZodObject<{
798
798
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
799
799
  }, "strip", z.ZodTypeAny, {
@@ -804,13 +804,13 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
804
804
  scope: z.ZodLiteral<"plans">;
805
805
  }, "strip", z.ZodTypeAny, {
806
806
  scope: "plans";
807
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
807
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
808
808
  resources: {
809
809
  agency_ids: string[];
810
810
  };
811
811
  }, {
812
812
  scope: "plans";
813
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
813
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
814
814
  resources?: {
815
815
  agency_ids?: string[] | undefined;
816
816
  } | undefined;
@@ -1141,7 +1141,7 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
1141
1141
  action: "read";
1142
1142
  } | {
1143
1143
  scope: "plans";
1144
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1144
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1145
1145
  resources: {
1146
1146
  agency_ids: string[];
1147
1147
  };
@@ -1269,7 +1269,7 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
1269
1269
  action: "read";
1270
1270
  } | {
1271
1271
  scope: "plans";
1272
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1272
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1273
1273
  resources?: {
1274
1274
  agency_ids?: string[] | undefined;
1275
1275
  } | undefined;
@@ -1435,7 +1435,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
1435
1435
  scope: "performance";
1436
1436
  action: "read";
1437
1437
  }>, z.ZodObject<{
1438
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
1438
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
1439
1439
  resources: z.ZodDefault<z.ZodObject<{
1440
1440
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1441
1441
  }, "strip", z.ZodTypeAny, {
@@ -1446,13 +1446,13 @@ export declare const UpdateUserSchema: z.ZodObject<{
1446
1446
  scope: z.ZodLiteral<"plans">;
1447
1447
  }, "strip", z.ZodTypeAny, {
1448
1448
  scope: "plans";
1449
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1449
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1450
1450
  resources: {
1451
1451
  agency_ids: string[];
1452
1452
  };
1453
1453
  }, {
1454
1454
  scope: "plans";
1455
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1455
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1456
1456
  resources?: {
1457
1457
  agency_ids?: string[] | undefined;
1458
1458
  } | undefined;
@@ -1785,7 +1785,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
1785
1785
  action: "read";
1786
1786
  } | {
1787
1787
  scope: "plans";
1788
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1788
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1789
1789
  resources: {
1790
1790
  agency_ids: string[];
1791
1791
  };
@@ -1906,7 +1906,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
1906
1906
  action: "read";
1907
1907
  } | {
1908
1908
  scope: "plans";
1909
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
1909
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
1910
1910
  resources?: {
1911
1911
  agency_ids?: string[] | undefined;
1912
1912
  } | undefined;
@@ -2082,7 +2082,7 @@ export declare const UserSchema: z.ZodObject<Omit<{
2082
2082
  scope: "performance";
2083
2083
  action: "read";
2084
2084
  }>, z.ZodObject<{
2085
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
2085
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
2086
2086
  resources: z.ZodDefault<z.ZodObject<{
2087
2087
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2088
2088
  }, "strip", z.ZodTypeAny, {
@@ -2093,13 +2093,13 @@ export declare const UserSchema: z.ZodObject<Omit<{
2093
2093
  scope: z.ZodLiteral<"plans">;
2094
2094
  }, "strip", z.ZodTypeAny, {
2095
2095
  scope: "plans";
2096
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
2096
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
2097
2097
  resources: {
2098
2098
  agency_ids: string[];
2099
2099
  };
2100
2100
  }, {
2101
2101
  scope: "plans";
2102
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
2102
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
2103
2103
  resources?: {
2104
2104
  agency_ids?: string[] | undefined;
2105
2105
  } | undefined;
@@ -2437,7 +2437,7 @@ export declare const UserSchema: z.ZodObject<Omit<{
2437
2437
  action: "read";
2438
2438
  } | {
2439
2439
  scope: "plans";
2440
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
2440
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
2441
2441
  resources: {
2442
2442
  agency_ids: string[];
2443
2443
  };
@@ -2565,7 +2565,7 @@ export declare const UserSchema: z.ZodObject<Omit<{
2565
2565
  action: "read";
2566
2566
  } | {
2567
2567
  scope: "plans";
2568
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
2568
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
2569
2569
  resources?: {
2570
2570
  agency_ids?: string[] | undefined;
2571
2571
  } | undefined;
@@ -2748,7 +2748,7 @@ export declare const UserDisplaySchema: z.ZodObject<Pick<Omit<{
2748
2748
  scope: "performance";
2749
2749
  action: "read";
2750
2750
  }>, z.ZodObject<{
2751
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
2751
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
2752
2752
  resources: z.ZodDefault<z.ZodObject<{
2753
2753
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2754
2754
  }, "strip", z.ZodTypeAny, {
@@ -2759,13 +2759,13 @@ export declare const UserDisplaySchema: z.ZodObject<Pick<Omit<{
2759
2759
  scope: z.ZodLiteral<"plans">;
2760
2760
  }, "strip", z.ZodTypeAny, {
2761
2761
  scope: "plans";
2762
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
2762
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
2763
2763
  resources: {
2764
2764
  agency_ids: string[];
2765
2765
  };
2766
2766
  }, {
2767
2767
  scope: "plans";
2768
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
2768
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
2769
2769
  resources?: {
2770
2770
  agency_ids?: string[] | undefined;
2771
2771
  } | undefined;
@@ -116,7 +116,7 @@ export declare const PermissionSchema: z.ZodDiscriminatedUnion<"scope", [z.ZodOb
116
116
  scope: "performance";
117
117
  action: "read";
118
118
  }>, z.ZodObject<{
119
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
119
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
120
120
  resources: z.ZodDefault<z.ZodObject<{
121
121
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
122
122
  }, "strip", z.ZodTypeAny, {
@@ -127,13 +127,13 @@ export declare const PermissionSchema: z.ZodDiscriminatedUnion<"scope", [z.ZodOb
127
127
  scope: z.ZodLiteral<"plans">;
128
128
  }, "strip", z.ZodTypeAny, {
129
129
  scope: "plans";
130
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
130
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
131
131
  resources: {
132
132
  agency_ids: string[];
133
133
  };
134
134
  }, {
135
135
  scope: "plans";
136
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
136
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
137
137
  resources?: {
138
138
  agency_ids?: string[] | undefined;
139
139
  } | undefined;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const PlansPermissionSchema: z.ZodObject<{
3
- action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy"]>;
3
+ action: z.ZodEnum<["create", "delete", "read", "read_controller", "read_pcgi_legacy", "lock", "update", "update_controller", "update_feed_info_dates", "update_gtfs_plan", "update_pcgi_legacy", "read_apex_file", "update_apex_file", "delete_apex_file"]>;
4
4
  resources: z.ZodDefault<z.ZodObject<{
5
5
  agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
6
6
  }, "strip", z.ZodTypeAny, {
@@ -11,13 +11,13 @@ export declare const PlansPermissionSchema: z.ZodObject<{
11
11
  scope: z.ZodLiteral<"plans">;
12
12
  }, "strip", z.ZodTypeAny, {
13
13
  scope: "plans";
14
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
14
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
15
15
  resources: {
16
16
  agency_ids: string[];
17
17
  };
18
18
  }, {
19
19
  scope: "plans";
20
- action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy";
20
+ action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
21
21
  resources?: {
22
22
  agency_ids?: string[] | undefined;
23
23
  } | undefined;
@@ -14,6 +14,9 @@ export const PlansPermissionSchema = z.object({
14
14
  'update_feed_info_dates',
15
15
  'update_gtfs_plan',
16
16
  'update_pcgi_legacy',
17
+ 'read_apex_file',
18
+ 'update_apex_file',
19
+ 'delete_apex_file',
17
20
  ]),
18
21
  resources: z.object({
19
22
  agency_ids: z.array(z.string()).default([]),
@@ -6,6 +6,7 @@ export declare const PlanSchema: z.ZodObject<{
6
6
  updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
7
7
  updated_by: z.ZodOptional<z.ZodString>;
8
8
  } & {
9
+ apex_file_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9
10
  apps: z.ZodDefault<z.ZodObject<{
10
11
  controller: z.ZodDefault<z.ZodObject<{
11
12
  last_hash: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -202,6 +203,7 @@ export declare const PlanSchema: z.ZodObject<{
202
203
  feed_publisher_url?: string | null | undefined;
203
204
  feed_version?: string | null | undefined;
204
205
  };
206
+ apex_file_id: string | null;
205
207
  apps: {
206
208
  controller: {
207
209
  status: "error" | "waiting" | "processing" | "complete" | "skipped";
@@ -263,6 +265,7 @@ export declare const PlanSchema: z.ZodObject<{
263
265
  created_by?: string | null | undefined;
264
266
  is_locked?: boolean | undefined;
265
267
  updated_by?: string | undefined;
268
+ apex_file_id?: string | null | undefined;
266
269
  apps?: {
267
270
  controller?: {
268
271
  status?: "error" | "waiting" | "processing" | "complete" | "skipped" | undefined;
@@ -293,6 +296,7 @@ export declare const CreatePlanSchema: z.ZodObject<Omit<{
293
296
  updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
294
297
  updated_by: z.ZodOptional<z.ZodString>;
295
298
  } & {
299
+ apex_file_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
296
300
  apps: z.ZodDefault<z.ZodObject<{
297
301
  controller: z.ZodDefault<z.ZodObject<{
298
302
  last_hash: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -482,6 +486,7 @@ export declare const CreatePlanSchema: z.ZodObject<Omit<{
482
486
  feed_publisher_url?: string | null | undefined;
483
487
  feed_version?: string | null | undefined;
484
488
  };
489
+ apex_file_id: string | null;
485
490
  apps: {
486
491
  controller: {
487
492
  status: "error" | "waiting" | "processing" | "complete" | "skipped";
@@ -540,6 +545,7 @@ export declare const CreatePlanSchema: z.ZodObject<Omit<{
540
545
  created_by?: string | null | undefined;
541
546
  is_locked?: boolean | undefined;
542
547
  updated_by?: string | undefined;
548
+ apex_file_id?: string | null | undefined;
543
549
  apps?: {
544
550
  controller?: {
545
551
  status?: "error" | "waiting" | "processing" | "complete" | "skipped" | undefined;
@@ -625,6 +631,7 @@ export declare const UpdatePlanSchema: z.ZodObject<{
625
631
  feed_publisher_url?: string | null | undefined;
626
632
  feed_version?: string | null | undefined;
627
633
  }>>;
634
+ apex_file_id: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
628
635
  apps: z.ZodOptional<z.ZodDefault<z.ZodObject<{
629
636
  controller: z.ZodDefault<z.ZodObject<{
630
637
  last_hash: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -754,6 +761,7 @@ export declare const UpdatePlanSchema: z.ZodObject<{
754
761
  feed_publisher_url?: string | null | undefined;
755
762
  feed_version?: string | null | undefined;
756
763
  } | undefined;
764
+ apex_file_id?: string | null | undefined;
757
765
  apps?: {
758
766
  controller: {
759
767
  status: "error" | "waiting" | "processing" | "complete" | "skipped";
@@ -805,6 +813,7 @@ export declare const UpdatePlanSchema: z.ZodObject<{
805
813
  feed_publisher_url?: string | null | undefined;
806
814
  feed_version?: string | null | undefined;
807
815
  } | undefined;
816
+ apex_file_id?: string | null | undefined;
808
817
  apps?: {
809
818
  controller?: {
810
819
  status?: "error" | "waiting" | "processing" | "complete" | "skipped" | undefined;
@@ -7,6 +7,7 @@ import { DocumentSchema } from '@tmlmobilidade/go-types-shared';
7
7
  import { z } from 'zod';
8
8
  /* * */
9
9
  export const PlanSchema = DocumentSchema.extend({
10
+ apex_file_id: z.string().nullable().default(null),
10
11
  apps: z.object({
11
12
  controller: PlanAppStatusSchema,
12
13
  hub_gtfs: PlanAppStatusSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20260713.1735.8",
3
+ "version": "20260713.2140.32",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"