@tmlmobilidade/go-types-core 20260929.936.32 → 20261001.1824.22
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/roles/role.d.ts +21 -21
- package/dist/users/simplified-user.d.ts +5 -5
- package/dist/users/user.d.ts +26 -26
- package/package.json +1 -1
package/dist/roles/role.d.ts
CHANGED
|
@@ -304,13 +304,13 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
304
304
|
action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
|
|
305
305
|
resources: z.ZodDefault<z.ZodObject<{
|
|
306
306
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
307
|
-
|
|
307
|
+
location_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
309
|
agency_ids: string[];
|
|
310
|
-
|
|
310
|
+
location_ids: string[];
|
|
311
311
|
}, {
|
|
312
312
|
agency_ids?: string[] | undefined;
|
|
313
|
-
|
|
313
|
+
location_ids?: string[] | undefined;
|
|
314
314
|
}>>;
|
|
315
315
|
scope: z.ZodLiteral<"stops">;
|
|
316
316
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -318,14 +318,14 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
318
318
|
scope: "stops";
|
|
319
319
|
resources: {
|
|
320
320
|
agency_ids: string[];
|
|
321
|
-
|
|
321
|
+
location_ids: string[];
|
|
322
322
|
};
|
|
323
323
|
}, {
|
|
324
324
|
action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
|
|
325
325
|
scope: "stops";
|
|
326
326
|
resources?: {
|
|
327
327
|
agency_ids?: string[] | undefined;
|
|
328
|
-
|
|
328
|
+
location_ids?: string[] | undefined;
|
|
329
329
|
} | undefined;
|
|
330
330
|
}>, z.ZodObject<{
|
|
331
331
|
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
@@ -523,7 +523,7 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
523
523
|
scope: "stops";
|
|
524
524
|
resources: {
|
|
525
525
|
agency_ids: string[];
|
|
526
|
-
|
|
526
|
+
location_ids: string[];
|
|
527
527
|
};
|
|
528
528
|
} | {
|
|
529
529
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -649,7 +649,7 @@ export declare const RoleSchema: z.ZodObject<{
|
|
|
649
649
|
scope: "stops";
|
|
650
650
|
resources?: {
|
|
651
651
|
agency_ids?: string[] | undefined;
|
|
652
|
-
|
|
652
|
+
location_ids?: string[] | undefined;
|
|
653
653
|
} | undefined;
|
|
654
654
|
} | {
|
|
655
655
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -985,13 +985,13 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
985
985
|
action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
|
|
986
986
|
resources: z.ZodDefault<z.ZodObject<{
|
|
987
987
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
988
|
-
|
|
988
|
+
location_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
989
989
|
}, "strip", z.ZodTypeAny, {
|
|
990
990
|
agency_ids: string[];
|
|
991
|
-
|
|
991
|
+
location_ids: string[];
|
|
992
992
|
}, {
|
|
993
993
|
agency_ids?: string[] | undefined;
|
|
994
|
-
|
|
994
|
+
location_ids?: string[] | undefined;
|
|
995
995
|
}>>;
|
|
996
996
|
scope: z.ZodLiteral<"stops">;
|
|
997
997
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -999,14 +999,14 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
999
999
|
scope: "stops";
|
|
1000
1000
|
resources: {
|
|
1001
1001
|
agency_ids: string[];
|
|
1002
|
-
|
|
1002
|
+
location_ids: string[];
|
|
1003
1003
|
};
|
|
1004
1004
|
}, {
|
|
1005
1005
|
action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
|
|
1006
1006
|
scope: "stops";
|
|
1007
1007
|
resources?: {
|
|
1008
1008
|
agency_ids?: string[] | undefined;
|
|
1009
|
-
|
|
1009
|
+
location_ids?: string[] | undefined;
|
|
1010
1010
|
} | undefined;
|
|
1011
1011
|
}>, z.ZodObject<{
|
|
1012
1012
|
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
@@ -1197,7 +1197,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
1197
1197
|
scope: "stops";
|
|
1198
1198
|
resources: {
|
|
1199
1199
|
agency_ids: string[];
|
|
1200
|
-
|
|
1200
|
+
location_ids: string[];
|
|
1201
1201
|
};
|
|
1202
1202
|
} | {
|
|
1203
1203
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -1320,7 +1320,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
|
|
|
1320
1320
|
scope: "stops";
|
|
1321
1321
|
resources?: {
|
|
1322
1322
|
agency_ids?: string[] | undefined;
|
|
1323
|
-
|
|
1323
|
+
location_ids?: string[] | undefined;
|
|
1324
1324
|
} | undefined;
|
|
1325
1325
|
} | {
|
|
1326
1326
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -1651,13 +1651,13 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1651
1651
|
action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
|
|
1652
1652
|
resources: z.ZodDefault<z.ZodObject<{
|
|
1653
1653
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1654
|
-
|
|
1654
|
+
location_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1655
1655
|
}, "strip", z.ZodTypeAny, {
|
|
1656
1656
|
agency_ids: string[];
|
|
1657
|
-
|
|
1657
|
+
location_ids: string[];
|
|
1658
1658
|
}, {
|
|
1659
1659
|
agency_ids?: string[] | undefined;
|
|
1660
|
-
|
|
1660
|
+
location_ids?: string[] | undefined;
|
|
1661
1661
|
}>>;
|
|
1662
1662
|
scope: z.ZodLiteral<"stops">;
|
|
1663
1663
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1665,14 +1665,14 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1665
1665
|
scope: "stops";
|
|
1666
1666
|
resources: {
|
|
1667
1667
|
agency_ids: string[];
|
|
1668
|
-
|
|
1668
|
+
location_ids: string[];
|
|
1669
1669
|
};
|
|
1670
1670
|
}, {
|
|
1671
1671
|
action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
|
|
1672
1672
|
scope: "stops";
|
|
1673
1673
|
resources?: {
|
|
1674
1674
|
agency_ids?: string[] | undefined;
|
|
1675
|
-
|
|
1675
|
+
location_ids?: string[] | undefined;
|
|
1676
1676
|
} | undefined;
|
|
1677
1677
|
}>, z.ZodObject<{
|
|
1678
1678
|
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
@@ -1863,7 +1863,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1863
1863
|
scope: "stops";
|
|
1864
1864
|
resources: {
|
|
1865
1865
|
agency_ids: string[];
|
|
1866
|
-
|
|
1866
|
+
location_ids: string[];
|
|
1867
1867
|
};
|
|
1868
1868
|
} | {
|
|
1869
1869
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -1984,7 +1984,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
|
|
|
1984
1984
|
scope: "stops";
|
|
1985
1985
|
resources?: {
|
|
1986
1986
|
agency_ids?: string[] | undefined;
|
|
1987
|
-
|
|
1987
|
+
location_ids?: string[] | undefined;
|
|
1988
1988
|
} | undefined;
|
|
1989
1989
|
} | {
|
|
1990
1990
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -309,13 +309,13 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<{
|
|
|
309
309
|
action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
|
|
310
310
|
resources: z.ZodDefault<z.ZodObject<{
|
|
311
311
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
312
|
-
|
|
312
|
+
location_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
314
|
agency_ids: string[];
|
|
315
|
-
|
|
315
|
+
location_ids: string[];
|
|
316
316
|
}, {
|
|
317
317
|
agency_ids?: string[] | undefined;
|
|
318
|
-
|
|
318
|
+
location_ids?: string[] | undefined;
|
|
319
319
|
}>>;
|
|
320
320
|
scope: z.ZodLiteral<"stops">;
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -323,14 +323,14 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<{
|
|
|
323
323
|
scope: "stops";
|
|
324
324
|
resources: {
|
|
325
325
|
agency_ids: string[];
|
|
326
|
-
|
|
326
|
+
location_ids: string[];
|
|
327
327
|
};
|
|
328
328
|
}, {
|
|
329
329
|
action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
|
|
330
330
|
scope: "stops";
|
|
331
331
|
resources?: {
|
|
332
332
|
agency_ids?: string[] | undefined;
|
|
333
|
-
|
|
333
|
+
location_ids?: string[] | undefined;
|
|
334
334
|
} | undefined;
|
|
335
335
|
}>, z.ZodObject<{
|
|
336
336
|
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
package/dist/users/user.d.ts
CHANGED
|
@@ -311,13 +311,13 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
311
311
|
action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
|
|
312
312
|
resources: z.ZodDefault<z.ZodObject<{
|
|
313
313
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
314
|
-
|
|
314
|
+
location_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
316
|
agency_ids: string[];
|
|
317
|
-
|
|
317
|
+
location_ids: string[];
|
|
318
318
|
}, {
|
|
319
319
|
agency_ids?: string[] | undefined;
|
|
320
|
-
|
|
320
|
+
location_ids?: string[] | undefined;
|
|
321
321
|
}>>;
|
|
322
322
|
scope: z.ZodLiteral<"stops">;
|
|
323
323
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -325,14 +325,14 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
325
325
|
scope: "stops";
|
|
326
326
|
resources: {
|
|
327
327
|
agency_ids: string[];
|
|
328
|
-
|
|
328
|
+
location_ids: string[];
|
|
329
329
|
};
|
|
330
330
|
}, {
|
|
331
331
|
action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
|
|
332
332
|
scope: "stops";
|
|
333
333
|
resources?: {
|
|
334
334
|
agency_ids?: string[] | undefined;
|
|
335
|
-
|
|
335
|
+
location_ids?: string[] | undefined;
|
|
336
336
|
} | undefined;
|
|
337
337
|
}>, z.ZodObject<{
|
|
338
338
|
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
@@ -537,7 +537,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
537
537
|
scope: "stops";
|
|
538
538
|
resources: {
|
|
539
539
|
agency_ids: string[];
|
|
540
|
-
|
|
540
|
+
location_ids: string[];
|
|
541
541
|
};
|
|
542
542
|
} | {
|
|
543
543
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -677,7 +677,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
677
677
|
scope: "stops";
|
|
678
678
|
resources?: {
|
|
679
679
|
agency_ids?: string[] | undefined;
|
|
680
|
-
|
|
680
|
+
location_ids?: string[] | undefined;
|
|
681
681
|
} | undefined;
|
|
682
682
|
} | {
|
|
683
683
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -1025,13 +1025,13 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
|
|
|
1025
1025
|
action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
|
|
1026
1026
|
resources: z.ZodDefault<z.ZodObject<{
|
|
1027
1027
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1028
|
-
|
|
1028
|
+
location_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1029
1029
|
}, "strip", z.ZodTypeAny, {
|
|
1030
1030
|
agency_ids: string[];
|
|
1031
|
-
|
|
1031
|
+
location_ids: string[];
|
|
1032
1032
|
}, {
|
|
1033
1033
|
agency_ids?: string[] | undefined;
|
|
1034
|
-
|
|
1034
|
+
location_ids?: string[] | undefined;
|
|
1035
1035
|
}>>;
|
|
1036
1036
|
scope: z.ZodLiteral<"stops">;
|
|
1037
1037
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1039,14 +1039,14 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
|
|
|
1039
1039
|
scope: "stops";
|
|
1040
1040
|
resources: {
|
|
1041
1041
|
agency_ids: string[];
|
|
1042
|
-
|
|
1042
|
+
location_ids: string[];
|
|
1043
1043
|
};
|
|
1044
1044
|
}, {
|
|
1045
1045
|
action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
|
|
1046
1046
|
scope: "stops";
|
|
1047
1047
|
resources?: {
|
|
1048
1048
|
agency_ids?: string[] | undefined;
|
|
1049
|
-
|
|
1049
|
+
location_ids?: string[] | undefined;
|
|
1050
1050
|
} | undefined;
|
|
1051
1051
|
}>, z.ZodObject<{
|
|
1052
1052
|
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
@@ -1244,7 +1244,7 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
|
|
|
1244
1244
|
scope: "stops";
|
|
1245
1245
|
resources: {
|
|
1246
1246
|
agency_ids: string[];
|
|
1247
|
-
|
|
1247
|
+
location_ids: string[];
|
|
1248
1248
|
};
|
|
1249
1249
|
} | {
|
|
1250
1250
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -1381,7 +1381,7 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
|
|
|
1381
1381
|
scope: "stops";
|
|
1382
1382
|
resources?: {
|
|
1383
1383
|
agency_ids?: string[] | undefined;
|
|
1384
|
-
|
|
1384
|
+
location_ids?: string[] | undefined;
|
|
1385
1385
|
} | undefined;
|
|
1386
1386
|
} | {
|
|
1387
1387
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -1720,13 +1720,13 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
1720
1720
|
action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
|
|
1721
1721
|
resources: z.ZodDefault<z.ZodObject<{
|
|
1722
1722
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1723
|
-
|
|
1723
|
+
location_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1724
1724
|
}, "strip", z.ZodTypeAny, {
|
|
1725
1725
|
agency_ids: string[];
|
|
1726
|
-
|
|
1726
|
+
location_ids: string[];
|
|
1727
1727
|
}, {
|
|
1728
1728
|
agency_ids?: string[] | undefined;
|
|
1729
|
-
|
|
1729
|
+
location_ids?: string[] | undefined;
|
|
1730
1730
|
}>>;
|
|
1731
1731
|
scope: z.ZodLiteral<"stops">;
|
|
1732
1732
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1734,14 +1734,14 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
1734
1734
|
scope: "stops";
|
|
1735
1735
|
resources: {
|
|
1736
1736
|
agency_ids: string[];
|
|
1737
|
-
|
|
1737
|
+
location_ids: string[];
|
|
1738
1738
|
};
|
|
1739
1739
|
}, {
|
|
1740
1740
|
action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
|
|
1741
1741
|
scope: "stops";
|
|
1742
1742
|
resources?: {
|
|
1743
1743
|
agency_ids?: string[] | undefined;
|
|
1744
|
-
|
|
1744
|
+
location_ids?: string[] | undefined;
|
|
1745
1745
|
} | undefined;
|
|
1746
1746
|
}>, z.ZodObject<{
|
|
1747
1747
|
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|
|
@@ -1941,7 +1941,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
1941
1941
|
scope: "stops";
|
|
1942
1942
|
resources: {
|
|
1943
1943
|
agency_ids: string[];
|
|
1944
|
-
|
|
1944
|
+
location_ids: string[];
|
|
1945
1945
|
};
|
|
1946
1946
|
} | {
|
|
1947
1947
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -2071,7 +2071,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
2071
2071
|
scope: "stops";
|
|
2072
2072
|
resources?: {
|
|
2073
2073
|
agency_ids?: string[] | undefined;
|
|
2074
|
-
|
|
2074
|
+
location_ids?: string[] | undefined;
|
|
2075
2075
|
} | undefined;
|
|
2076
2076
|
} | {
|
|
2077
2077
|
action: "create" | "delete" | "lock" | "update" | "nav";
|
|
@@ -2430,13 +2430,13 @@ export declare const UserDisplaySchema: z.ZodObject<Pick<{
|
|
|
2430
2430
|
action: z.ZodEnum<["create", "delete", "read", "lock", "update", "export", "edit_coordinates", "edit_name"]>;
|
|
2431
2431
|
resources: z.ZodDefault<z.ZodObject<{
|
|
2432
2432
|
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2433
|
-
|
|
2433
|
+
location_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2434
2434
|
}, "strip", z.ZodTypeAny, {
|
|
2435
2435
|
agency_ids: string[];
|
|
2436
|
-
|
|
2436
|
+
location_ids: string[];
|
|
2437
2437
|
}, {
|
|
2438
2438
|
agency_ids?: string[] | undefined;
|
|
2439
|
-
|
|
2439
|
+
location_ids?: string[] | undefined;
|
|
2440
2440
|
}>>;
|
|
2441
2441
|
scope: z.ZodLiteral<"stops">;
|
|
2442
2442
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2444,14 +2444,14 @@ export declare const UserDisplaySchema: z.ZodObject<Pick<{
|
|
|
2444
2444
|
scope: "stops";
|
|
2445
2445
|
resources: {
|
|
2446
2446
|
agency_ids: string[];
|
|
2447
|
-
|
|
2447
|
+
location_ids: string[];
|
|
2448
2448
|
};
|
|
2449
2449
|
}, {
|
|
2450
2450
|
action: "create" | "delete" | "read" | "lock" | "update" | "export" | "edit_coordinates" | "edit_name";
|
|
2451
2451
|
scope: "stops";
|
|
2452
2452
|
resources?: {
|
|
2453
2453
|
agency_ids?: string[] | undefined;
|
|
2454
|
-
|
|
2454
|
+
location_ids?: string[] | undefined;
|
|
2455
2455
|
} | undefined;
|
|
2456
2456
|
}>, z.ZodObject<{
|
|
2457
2457
|
action: z.ZodEnum<["create", "delete", "lock", "nav", "update"]>;
|