@tmlmobilidade/types 20260703.1528.12 → 20260706.1523.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.
- package/dist/auth/role.d.ts +45 -45
- package/dist/auth/simplified-user.d.ts +9 -9
- package/dist/auth/user.d.ts +69 -69
- package/dist/file-exports/stop-export.d.ts +3 -0
- package/dist/file-exports/stop-export.js +1 -0
- package/dist/offer/fare.d.ts +25 -0
- package/dist/offer/fare.js +6 -0
- package/dist/offer/line.d.ts +188 -20
- package/dist/offer/line.js +13 -2
- package/dist/offer/typology.d.ts +33 -0
- package/dist/offer/typology.js +10 -0
- package/dist/permissions/fares.d.ts +3 -3
- package/dist/permissions/fares.js +1 -1
- package/dist/permissions/index.d.ts +54 -9
- package/dist/permissions/index.js +53 -0
- package/dist/permissions/typologies.d.ts +3 -3
- package/dist/permissions/typologies.js +1 -1
- package/dist/permissions/zones.d.ts +3 -3
- package/dist/permissions/zones.js +1 -1
- package/package.json +1 -1
package/dist/auth/role.d.ts
CHANGED
|
@@ -214,7 +214,7 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
214
214
|
agency_ids?: string[] | undefined;
|
|
215
215
|
} | undefined;
|
|
216
216
|
}>, z.ZodObject<{
|
|
217
|
-
action: z.ZodEnum<["create", "delete", "
|
|
217
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
218
218
|
resources: z.ZodDefault<z.ZodObject<{
|
|
219
219
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
220
220
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -225,13 +225,13 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
225
225
|
scope: z.ZodLiteral<"fares">;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
227
|
scope: "fares";
|
|
228
|
-
action: "create" | "delete" | "
|
|
228
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
229
229
|
resources: {
|
|
230
230
|
agency_ids: string[];
|
|
231
231
|
};
|
|
232
232
|
}, {
|
|
233
233
|
scope: "fares";
|
|
234
|
-
action: "create" | "delete" | "
|
|
234
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
235
235
|
resources?: {
|
|
236
236
|
agency_ids?: string[] | undefined;
|
|
237
237
|
} | undefined;
|
|
@@ -324,7 +324,7 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
324
324
|
agency_ids?: string[] | undefined;
|
|
325
325
|
} | undefined;
|
|
326
326
|
}>, z.ZodObject<{
|
|
327
|
-
action: z.ZodEnum<["create", "delete", "
|
|
327
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
328
328
|
resources: z.ZodDefault<z.ZodObject<{
|
|
329
329
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -335,18 +335,18 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
335
335
|
scope: z.ZodLiteral<"zones">;
|
|
336
336
|
}, "strip", z.ZodTypeAny, {
|
|
337
337
|
scope: "zones";
|
|
338
|
-
action: "create" | "delete" | "
|
|
338
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
339
339
|
resources: {
|
|
340
340
|
agency_ids: string[];
|
|
341
341
|
};
|
|
342
342
|
}, {
|
|
343
343
|
scope: "zones";
|
|
344
|
-
action: "create" | "delete" | "
|
|
344
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
345
345
|
resources?: {
|
|
346
346
|
agency_ids?: string[] | undefined;
|
|
347
347
|
} | undefined;
|
|
348
348
|
}>, z.ZodObject<{
|
|
349
|
-
action: z.ZodEnum<["create", "delete", "
|
|
349
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
350
350
|
resources: z.ZodDefault<z.ZodObject<{
|
|
351
351
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -357,13 +357,13 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
357
357
|
scope: z.ZodLiteral<"typologies">;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
359
|
scope: "typologies";
|
|
360
|
-
action: "create" | "delete" | "
|
|
360
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
361
361
|
resources: {
|
|
362
362
|
agency_ids: string[];
|
|
363
363
|
};
|
|
364
364
|
}, {
|
|
365
365
|
scope: "typologies";
|
|
366
|
-
action: "create" | "delete" | "
|
|
366
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
367
367
|
resources?: {
|
|
368
368
|
agency_ids?: string[] | undefined;
|
|
369
369
|
} | undefined;
|
|
@@ -446,7 +446,7 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
446
446
|
};
|
|
447
447
|
} | {
|
|
448
448
|
scope: "fares";
|
|
449
|
-
action: "create" | "delete" | "
|
|
449
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
450
450
|
resources: {
|
|
451
451
|
agency_ids: string[];
|
|
452
452
|
};
|
|
@@ -489,7 +489,7 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
489
489
|
};
|
|
490
490
|
} | {
|
|
491
491
|
scope: "typologies";
|
|
492
|
-
action: "create" | "delete" | "
|
|
492
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
493
493
|
resources: {
|
|
494
494
|
agency_ids: string[];
|
|
495
495
|
};
|
|
@@ -504,7 +504,7 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
504
504
|
};
|
|
505
505
|
} | {
|
|
506
506
|
scope: "zones";
|
|
507
|
-
action: "create" | "delete" | "
|
|
507
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
508
508
|
resources: {
|
|
509
509
|
agency_ids: string[];
|
|
510
510
|
};
|
|
@@ -563,7 +563,7 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
563
563
|
} | undefined;
|
|
564
564
|
} | {
|
|
565
565
|
scope: "fares";
|
|
566
|
-
action: "create" | "delete" | "
|
|
566
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
567
567
|
resources?: {
|
|
568
568
|
agency_ids?: string[] | undefined;
|
|
569
569
|
} | undefined;
|
|
@@ -606,7 +606,7 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
606
606
|
} | undefined;
|
|
607
607
|
} | {
|
|
608
608
|
scope: "typologies";
|
|
609
|
-
action: "create" | "delete" | "
|
|
609
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
610
610
|
resources?: {
|
|
611
611
|
agency_ids?: string[] | undefined;
|
|
612
612
|
} | undefined;
|
|
@@ -621,7 +621,7 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
621
621
|
} | undefined;
|
|
622
622
|
} | {
|
|
623
623
|
scope: "zones";
|
|
624
|
-
action: "create" | "delete" | "
|
|
624
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
625
625
|
resources?: {
|
|
626
626
|
agency_ids?: string[] | undefined;
|
|
627
627
|
} | undefined;
|
|
@@ -842,7 +842,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
842
842
|
agency_ids?: string[] | undefined;
|
|
843
843
|
} | undefined;
|
|
844
844
|
}>, z.ZodObject<{
|
|
845
|
-
action: z.ZodEnum<["create", "delete", "
|
|
845
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
846
846
|
resources: z.ZodDefault<z.ZodObject<{
|
|
847
847
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
848
848
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -853,13 +853,13 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
853
853
|
scope: z.ZodLiteral<"fares">;
|
|
854
854
|
}, "strip", z.ZodTypeAny, {
|
|
855
855
|
scope: "fares";
|
|
856
|
-
action: "create" | "delete" | "
|
|
856
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
857
857
|
resources: {
|
|
858
858
|
agency_ids: string[];
|
|
859
859
|
};
|
|
860
860
|
}, {
|
|
861
861
|
scope: "fares";
|
|
862
|
-
action: "create" | "delete" | "
|
|
862
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
863
863
|
resources?: {
|
|
864
864
|
agency_ids?: string[] | undefined;
|
|
865
865
|
} | undefined;
|
|
@@ -952,7 +952,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
952
952
|
agency_ids?: string[] | undefined;
|
|
953
953
|
} | undefined;
|
|
954
954
|
}>, z.ZodObject<{
|
|
955
|
-
action: z.ZodEnum<["create", "delete", "
|
|
955
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
956
956
|
resources: z.ZodDefault<z.ZodObject<{
|
|
957
957
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
958
958
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -963,18 +963,18 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
963
963
|
scope: z.ZodLiteral<"zones">;
|
|
964
964
|
}, "strip", z.ZodTypeAny, {
|
|
965
965
|
scope: "zones";
|
|
966
|
-
action: "create" | "delete" | "
|
|
966
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
967
967
|
resources: {
|
|
968
968
|
agency_ids: string[];
|
|
969
969
|
};
|
|
970
970
|
}, {
|
|
971
971
|
scope: "zones";
|
|
972
|
-
action: "create" | "delete" | "
|
|
972
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
973
973
|
resources?: {
|
|
974
974
|
agency_ids?: string[] | undefined;
|
|
975
975
|
} | undefined;
|
|
976
976
|
}>, z.ZodObject<{
|
|
977
|
-
action: z.ZodEnum<["create", "delete", "
|
|
977
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
978
978
|
resources: z.ZodDefault<z.ZodObject<{
|
|
979
979
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
980
980
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -985,13 +985,13 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
985
985
|
scope: z.ZodLiteral<"typologies">;
|
|
986
986
|
}, "strip", z.ZodTypeAny, {
|
|
987
987
|
scope: "typologies";
|
|
988
|
-
action: "create" | "delete" | "
|
|
988
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
989
989
|
resources: {
|
|
990
990
|
agency_ids: string[];
|
|
991
991
|
};
|
|
992
992
|
}, {
|
|
993
993
|
scope: "typologies";
|
|
994
|
-
action: "create" | "delete" | "
|
|
994
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
995
995
|
resources?: {
|
|
996
996
|
agency_ids?: string[] | undefined;
|
|
997
997
|
} | undefined;
|
|
@@ -1067,7 +1067,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
1067
1067
|
};
|
|
1068
1068
|
} | {
|
|
1069
1069
|
scope: "fares";
|
|
1070
|
-
action: "create" | "delete" | "
|
|
1070
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1071
1071
|
resources: {
|
|
1072
1072
|
agency_ids: string[];
|
|
1073
1073
|
};
|
|
@@ -1110,7 +1110,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
1110
1110
|
};
|
|
1111
1111
|
} | {
|
|
1112
1112
|
scope: "typologies";
|
|
1113
|
-
action: "create" | "delete" | "
|
|
1113
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1114
1114
|
resources: {
|
|
1115
1115
|
agency_ids: string[];
|
|
1116
1116
|
};
|
|
@@ -1125,7 +1125,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
1125
1125
|
};
|
|
1126
1126
|
} | {
|
|
1127
1127
|
scope: "zones";
|
|
1128
|
-
action: "create" | "delete" | "
|
|
1128
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1129
1129
|
resources: {
|
|
1130
1130
|
agency_ids: string[];
|
|
1131
1131
|
};
|
|
@@ -1181,7 +1181,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
1181
1181
|
} | undefined;
|
|
1182
1182
|
} | {
|
|
1183
1183
|
scope: "fares";
|
|
1184
|
-
action: "create" | "delete" | "
|
|
1184
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1185
1185
|
resources?: {
|
|
1186
1186
|
agency_ids?: string[] | undefined;
|
|
1187
1187
|
} | undefined;
|
|
@@ -1224,7 +1224,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
1224
1224
|
} | undefined;
|
|
1225
1225
|
} | {
|
|
1226
1226
|
scope: "typologies";
|
|
1227
|
-
action: "create" | "delete" | "
|
|
1227
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1228
1228
|
resources?: {
|
|
1229
1229
|
agency_ids?: string[] | undefined;
|
|
1230
1230
|
} | undefined;
|
|
@@ -1239,7 +1239,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
1239
1239
|
} | undefined;
|
|
1240
1240
|
} | {
|
|
1241
1241
|
scope: "zones";
|
|
1242
|
-
action: "create" | "delete" | "
|
|
1242
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1243
1243
|
resources?: {
|
|
1244
1244
|
agency_ids?: string[] | undefined;
|
|
1245
1245
|
} | undefined;
|
|
@@ -1455,7 +1455,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1455
1455
|
agency_ids?: string[] | undefined;
|
|
1456
1456
|
} | undefined;
|
|
1457
1457
|
}>, z.ZodObject<{
|
|
1458
|
-
action: z.ZodEnum<["create", "delete", "
|
|
1458
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
1459
1459
|
resources: z.ZodDefault<z.ZodObject<{
|
|
1460
1460
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1461
1461
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1466,13 +1466,13 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1466
1466
|
scope: z.ZodLiteral<"fares">;
|
|
1467
1467
|
}, "strip", z.ZodTypeAny, {
|
|
1468
1468
|
scope: "fares";
|
|
1469
|
-
action: "create" | "delete" | "
|
|
1469
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1470
1470
|
resources: {
|
|
1471
1471
|
agency_ids: string[];
|
|
1472
1472
|
};
|
|
1473
1473
|
}, {
|
|
1474
1474
|
scope: "fares";
|
|
1475
|
-
action: "create" | "delete" | "
|
|
1475
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1476
1476
|
resources?: {
|
|
1477
1477
|
agency_ids?: string[] | undefined;
|
|
1478
1478
|
} | undefined;
|
|
@@ -1565,7 +1565,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1565
1565
|
agency_ids?: string[] | undefined;
|
|
1566
1566
|
} | undefined;
|
|
1567
1567
|
}>, z.ZodObject<{
|
|
1568
|
-
action: z.ZodEnum<["create", "delete", "
|
|
1568
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
1569
1569
|
resources: z.ZodDefault<z.ZodObject<{
|
|
1570
1570
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1571
1571
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1576,18 +1576,18 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1576
1576
|
scope: z.ZodLiteral<"zones">;
|
|
1577
1577
|
}, "strip", z.ZodTypeAny, {
|
|
1578
1578
|
scope: "zones";
|
|
1579
|
-
action: "create" | "delete" | "
|
|
1579
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1580
1580
|
resources: {
|
|
1581
1581
|
agency_ids: string[];
|
|
1582
1582
|
};
|
|
1583
1583
|
}, {
|
|
1584
1584
|
scope: "zones";
|
|
1585
|
-
action: "create" | "delete" | "
|
|
1585
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1586
1586
|
resources?: {
|
|
1587
1587
|
agency_ids?: string[] | undefined;
|
|
1588
1588
|
} | undefined;
|
|
1589
1589
|
}>, z.ZodObject<{
|
|
1590
|
-
action: z.ZodEnum<["create", "delete", "
|
|
1590
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
1591
1591
|
resources: z.ZodDefault<z.ZodObject<{
|
|
1592
1592
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1593
1593
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1598,13 +1598,13 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1598
1598
|
scope: z.ZodLiteral<"typologies">;
|
|
1599
1599
|
}, "strip", z.ZodTypeAny, {
|
|
1600
1600
|
scope: "typologies";
|
|
1601
|
-
action: "create" | "delete" | "
|
|
1601
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1602
1602
|
resources: {
|
|
1603
1603
|
agency_ids: string[];
|
|
1604
1604
|
};
|
|
1605
1605
|
}, {
|
|
1606
1606
|
scope: "typologies";
|
|
1607
|
-
action: "create" | "delete" | "
|
|
1607
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1608
1608
|
resources?: {
|
|
1609
1609
|
agency_ids?: string[] | undefined;
|
|
1610
1610
|
} | undefined;
|
|
@@ -1680,7 +1680,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1680
1680
|
};
|
|
1681
1681
|
} | {
|
|
1682
1682
|
scope: "fares";
|
|
1683
|
-
action: "create" | "delete" | "
|
|
1683
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1684
1684
|
resources: {
|
|
1685
1685
|
agency_ids: string[];
|
|
1686
1686
|
};
|
|
@@ -1723,7 +1723,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1723
1723
|
};
|
|
1724
1724
|
} | {
|
|
1725
1725
|
scope: "typologies";
|
|
1726
|
-
action: "create" | "delete" | "
|
|
1726
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1727
1727
|
resources: {
|
|
1728
1728
|
agency_ids: string[];
|
|
1729
1729
|
};
|
|
@@ -1738,7 +1738,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1738
1738
|
};
|
|
1739
1739
|
} | {
|
|
1740
1740
|
scope: "zones";
|
|
1741
|
-
action: "create" | "delete" | "
|
|
1741
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1742
1742
|
resources: {
|
|
1743
1743
|
agency_ids: string[];
|
|
1744
1744
|
};
|
|
@@ -1792,7 +1792,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1792
1792
|
} | undefined;
|
|
1793
1793
|
} | {
|
|
1794
1794
|
scope: "fares";
|
|
1795
|
-
action: "create" | "delete" | "
|
|
1795
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1796
1796
|
resources?: {
|
|
1797
1797
|
agency_ids?: string[] | undefined;
|
|
1798
1798
|
} | undefined;
|
|
@@ -1835,7 +1835,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1835
1835
|
} | undefined;
|
|
1836
1836
|
} | {
|
|
1837
1837
|
scope: "typologies";
|
|
1838
|
-
action: "create" | "delete" | "
|
|
1838
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1839
1839
|
resources?: {
|
|
1840
1840
|
agency_ids?: string[] | undefined;
|
|
1841
1841
|
} | undefined;
|
|
@@ -1850,7 +1850,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1850
1850
|
} | undefined;
|
|
1851
1851
|
} | {
|
|
1852
1852
|
scope: "zones";
|
|
1853
|
-
action: "create" | "delete" | "
|
|
1853
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
1854
1854
|
resources?: {
|
|
1855
1855
|
agency_ids?: string[] | undefined;
|
|
1856
1856
|
} | undefined;
|
|
@@ -219,7 +219,7 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
|
|
|
219
219
|
agency_ids?: string[] | undefined;
|
|
220
220
|
} | undefined;
|
|
221
221
|
}>, z.ZodObject<{
|
|
222
|
-
action: z.ZodEnum<["create", "delete", "
|
|
222
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
223
223
|
resources: z.ZodDefault<z.ZodObject<{
|
|
224
224
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -230,13 +230,13 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
|
|
|
230
230
|
scope: z.ZodLiteral<"fares">;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
232
|
scope: "fares";
|
|
233
|
-
action: "create" | "delete" | "
|
|
233
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
234
234
|
resources: {
|
|
235
235
|
agency_ids: string[];
|
|
236
236
|
};
|
|
237
237
|
}, {
|
|
238
238
|
scope: "fares";
|
|
239
|
-
action: "create" | "delete" | "
|
|
239
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
240
240
|
resources?: {
|
|
241
241
|
agency_ids?: string[] | undefined;
|
|
242
242
|
} | undefined;
|
|
@@ -329,7 +329,7 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
|
|
|
329
329
|
agency_ids?: string[] | undefined;
|
|
330
330
|
} | undefined;
|
|
331
331
|
}>, z.ZodObject<{
|
|
332
|
-
action: z.ZodEnum<["create", "delete", "
|
|
332
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
333
333
|
resources: z.ZodDefault<z.ZodObject<{
|
|
334
334
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -340,18 +340,18 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
|
|
|
340
340
|
scope: z.ZodLiteral<"zones">;
|
|
341
341
|
}, "strip", z.ZodTypeAny, {
|
|
342
342
|
scope: "zones";
|
|
343
|
-
action: "create" | "delete" | "
|
|
343
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
344
344
|
resources: {
|
|
345
345
|
agency_ids: string[];
|
|
346
346
|
};
|
|
347
347
|
}, {
|
|
348
348
|
scope: "zones";
|
|
349
|
-
action: "create" | "delete" | "
|
|
349
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
350
350
|
resources?: {
|
|
351
351
|
agency_ids?: string[] | undefined;
|
|
352
352
|
} | undefined;
|
|
353
353
|
}>, z.ZodObject<{
|
|
354
|
-
action: z.ZodEnum<["create", "delete", "
|
|
354
|
+
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
355
355
|
resources: z.ZodDefault<z.ZodObject<{
|
|
356
356
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
357
357
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -362,13 +362,13 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
|
|
|
362
362
|
scope: z.ZodLiteral<"typologies">;
|
|
363
363
|
}, "strip", z.ZodTypeAny, {
|
|
364
364
|
scope: "typologies";
|
|
365
|
-
action: "create" | "delete" | "
|
|
365
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
366
366
|
resources: {
|
|
367
367
|
agency_ids: string[];
|
|
368
368
|
};
|
|
369
369
|
}, {
|
|
370
370
|
scope: "typologies";
|
|
371
|
-
action: "create" | "delete" | "
|
|
371
|
+
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
372
372
|
resources?: {
|
|
373
373
|
agency_ids?: string[] | undefined;
|
|
374
374
|
} | undefined;
|