@opencrvs/toolkit 1.9.12-rc.f94f0c1 → 1.9.12-rc.fa99dc7
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/application-config/index.js +1 -1
- package/dist/commons/api/router.d.ts +211 -204
- package/dist/commons/events/FieldConfig.d.ts +2 -2
- package/dist/events/index.js +13 -3
- package/dist/notification/index.js +1 -1
- package/opencrvs-toolkit-1.9.12-rc.fa99dc7.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-1.9.12-rc.f94f0c1.tgz +0 -0
|
@@ -1738,7 +1738,7 @@ var LocationInput = BaseField.extend({
|
|
|
1738
1738
|
configuration: import_v43.default.object({
|
|
1739
1739
|
locationTypes: import_v43.default.array(import_v43.default.string()).optional().describe("Types of the locations that are available for selection."),
|
|
1740
1740
|
allowedLocations: AllowedLocations
|
|
1741
|
-
})
|
|
1741
|
+
}).optional()
|
|
1742
1742
|
}).describe("Input field for a location");
|
|
1743
1743
|
var FileUploadWithOptions = BaseField.extend({
|
|
1744
1744
|
type: import_v43.default.literal(FieldType.FILE_WITH_OPTIONS),
|
|
@@ -2,17 +2,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2
2
|
ctx: Partial<{
|
|
3
3
|
token: `Bearer ${string}`;
|
|
4
4
|
user: {
|
|
5
|
-
id: string
|
|
5
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6
6
|
type: "system";
|
|
7
7
|
signature?: undefined;
|
|
8
|
-
primaryOfficeId?: undefined;
|
|
9
|
-
administrativeAreaId?: undefined;
|
|
8
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10
10
|
} | {
|
|
11
|
-
id: string
|
|
11
|
+
id: string & import("zod").$brand<"UUID">;
|
|
12
12
|
type: "user";
|
|
13
13
|
role: string;
|
|
14
14
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
15
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
15
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
16
16
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
17
17
|
};
|
|
18
18
|
}>;
|
|
@@ -24,17 +24,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
24
24
|
ctx: Partial<{
|
|
25
25
|
token: `Bearer ${string}`;
|
|
26
26
|
user: {
|
|
27
|
-
id: string
|
|
27
|
+
id: string & import("zod").$brand<"UUID">;
|
|
28
28
|
type: "system";
|
|
29
29
|
signature?: undefined;
|
|
30
|
-
primaryOfficeId?: undefined;
|
|
31
|
-
administrativeAreaId?: undefined;
|
|
30
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
32
32
|
} | {
|
|
33
|
-
id: string
|
|
33
|
+
id: string & import("zod").$brand<"UUID">;
|
|
34
34
|
type: "user";
|
|
35
35
|
role: string;
|
|
36
36
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
37
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
37
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
38
38
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
@@ -46,17 +46,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
46
46
|
ctx: Partial<{
|
|
47
47
|
token: `Bearer ${string}`;
|
|
48
48
|
user: {
|
|
49
|
-
id: string
|
|
49
|
+
id: string & import("zod").$brand<"UUID">;
|
|
50
50
|
type: "system";
|
|
51
51
|
signature?: undefined;
|
|
52
|
-
primaryOfficeId?: undefined;
|
|
53
|
-
administrativeAreaId?: undefined;
|
|
52
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
54
54
|
} | {
|
|
55
|
-
id: string
|
|
55
|
+
id: string & import("zod").$brand<"UUID">;
|
|
56
56
|
type: "user";
|
|
57
57
|
role: string;
|
|
58
58
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
59
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
59
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
60
60
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
@@ -92,17 +92,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
92
92
|
ctx: Partial<{
|
|
93
93
|
token: `Bearer ${string}`;
|
|
94
94
|
user: {
|
|
95
|
-
id: string
|
|
95
|
+
id: string & import("zod").$brand<"UUID">;
|
|
96
96
|
type: "system";
|
|
97
97
|
signature?: undefined;
|
|
98
|
-
primaryOfficeId?: undefined;
|
|
99
|
-
administrativeAreaId?: undefined;
|
|
98
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
99
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
100
100
|
} | {
|
|
101
|
-
id: string
|
|
101
|
+
id: string & import("zod").$brand<"UUID">;
|
|
102
102
|
type: "user";
|
|
103
103
|
role: string;
|
|
104
104
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
105
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
105
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
106
106
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
107
107
|
};
|
|
108
108
|
}>;
|
|
@@ -1054,17 +1054,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1054
1054
|
ctx: Partial<{
|
|
1055
1055
|
token: `Bearer ${string}`;
|
|
1056
1056
|
user: {
|
|
1057
|
-
id: string
|
|
1057
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1058
1058
|
type: "system";
|
|
1059
1059
|
signature?: undefined;
|
|
1060
|
-
primaryOfficeId?: undefined;
|
|
1061
|
-
administrativeAreaId?: undefined;
|
|
1060
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1061
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1062
1062
|
} | {
|
|
1063
|
-
id: string
|
|
1063
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1064
1064
|
type: "user";
|
|
1065
1065
|
role: string;
|
|
1066
1066
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1067
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1067
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1068
1068
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1069
1069
|
};
|
|
1070
1070
|
}>;
|
|
@@ -1133,17 +1133,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1133
1133
|
ctx: Partial<{
|
|
1134
1134
|
token: `Bearer ${string}`;
|
|
1135
1135
|
user: {
|
|
1136
|
-
id: string
|
|
1136
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1137
1137
|
type: "system";
|
|
1138
1138
|
signature?: undefined;
|
|
1139
|
-
primaryOfficeId?: undefined;
|
|
1140
|
-
administrativeAreaId?: undefined;
|
|
1139
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1140
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1141
1141
|
} | {
|
|
1142
|
-
id: string
|
|
1142
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1143
1143
|
type: "user";
|
|
1144
1144
|
role: string;
|
|
1145
1145
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1146
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1146
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1147
1147
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1148
1148
|
};
|
|
1149
1149
|
}>;
|
|
@@ -1155,17 +1155,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1155
1155
|
ctx: Partial<{
|
|
1156
1156
|
token: `Bearer ${string}`;
|
|
1157
1157
|
user: {
|
|
1158
|
-
id: string
|
|
1158
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1159
1159
|
type: "system";
|
|
1160
1160
|
signature?: undefined;
|
|
1161
|
-
primaryOfficeId?: undefined;
|
|
1162
|
-
administrativeAreaId?: undefined;
|
|
1161
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1162
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1163
1163
|
} | {
|
|
1164
|
-
id: string
|
|
1164
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1165
1165
|
type: "user";
|
|
1166
1166
|
role: string;
|
|
1167
1167
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1168
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1168
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1169
1169
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1170
1170
|
};
|
|
1171
1171
|
}>;
|
|
@@ -1199,17 +1199,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1199
1199
|
ctx: Partial<{
|
|
1200
1200
|
token: `Bearer ${string}`;
|
|
1201
1201
|
user: {
|
|
1202
|
-
id: string
|
|
1202
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1203
1203
|
type: "system";
|
|
1204
1204
|
signature?: undefined;
|
|
1205
|
-
primaryOfficeId?: undefined;
|
|
1206
|
-
administrativeAreaId?: undefined;
|
|
1205
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1206
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1207
1207
|
} | {
|
|
1208
|
-
id: string
|
|
1208
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1209
1209
|
type: "user";
|
|
1210
1210
|
role: string;
|
|
1211
1211
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1212
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1212
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1213
1213
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1214
1214
|
};
|
|
1215
1215
|
}>;
|
|
@@ -1552,17 +1552,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1552
1552
|
ctx: Partial<{
|
|
1553
1553
|
token: `Bearer ${string}`;
|
|
1554
1554
|
user: {
|
|
1555
|
-
id: string
|
|
1555
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1556
1556
|
type: "system";
|
|
1557
1557
|
signature?: undefined;
|
|
1558
|
-
primaryOfficeId?: undefined;
|
|
1559
|
-
administrativeAreaId?: undefined;
|
|
1558
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1559
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1560
1560
|
} | {
|
|
1561
|
-
id: string
|
|
1561
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1562
1562
|
type: "user";
|
|
1563
1563
|
role: string;
|
|
1564
1564
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1565
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1565
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1566
1566
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1567
1567
|
};
|
|
1568
1568
|
}>;
|
|
@@ -1596,17 +1596,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1596
1596
|
ctx: Partial<{
|
|
1597
1597
|
token: `Bearer ${string}`;
|
|
1598
1598
|
user: {
|
|
1599
|
-
id: string
|
|
1599
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1600
1600
|
type: "system";
|
|
1601
1601
|
signature?: undefined;
|
|
1602
|
-
primaryOfficeId?: undefined;
|
|
1603
|
-
administrativeAreaId?: undefined;
|
|
1602
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1603
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1604
1604
|
} | {
|
|
1605
|
-
id: string
|
|
1605
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1606
1606
|
type: "user";
|
|
1607
1607
|
role: string;
|
|
1608
1608
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1609
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1609
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1610
1610
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1611
1611
|
};
|
|
1612
1612
|
}>;
|
|
@@ -1640,17 +1640,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1640
1640
|
ctx: Partial<{
|
|
1641
1641
|
token: `Bearer ${string}`;
|
|
1642
1642
|
user: {
|
|
1643
|
-
id: string
|
|
1643
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1644
1644
|
type: "system";
|
|
1645
1645
|
signature?: undefined;
|
|
1646
|
-
primaryOfficeId?: undefined;
|
|
1647
|
-
administrativeAreaId?: undefined;
|
|
1646
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1647
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1648
1648
|
} | {
|
|
1649
|
-
id: string
|
|
1649
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1650
1650
|
type: "user";
|
|
1651
1651
|
role: string;
|
|
1652
1652
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1653
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1653
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1654
1654
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1655
1655
|
};
|
|
1656
1656
|
}>;
|
|
@@ -1684,17 +1684,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1684
1684
|
ctx: Partial<{
|
|
1685
1685
|
token: `Bearer ${string}`;
|
|
1686
1686
|
user: {
|
|
1687
|
-
id: string
|
|
1687
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1688
1688
|
type: "system";
|
|
1689
1689
|
signature?: undefined;
|
|
1690
|
-
primaryOfficeId?: undefined;
|
|
1691
|
-
administrativeAreaId?: undefined;
|
|
1690
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1691
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1692
1692
|
} | {
|
|
1693
|
-
id: string
|
|
1693
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1694
1694
|
type: "user";
|
|
1695
1695
|
role: string;
|
|
1696
1696
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1697
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1697
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1698
1698
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1699
1699
|
};
|
|
1700
1700
|
}>;
|
|
@@ -1728,17 +1728,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1728
1728
|
ctx: Partial<{
|
|
1729
1729
|
token: `Bearer ${string}`;
|
|
1730
1730
|
user: {
|
|
1731
|
-
id: string
|
|
1731
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1732
1732
|
type: "system";
|
|
1733
1733
|
signature?: undefined;
|
|
1734
|
-
primaryOfficeId?: undefined;
|
|
1735
|
-
administrativeAreaId?: undefined;
|
|
1734
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1735
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1736
1736
|
} | {
|
|
1737
|
-
id: string
|
|
1737
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1738
1738
|
type: "user";
|
|
1739
1739
|
role: string;
|
|
1740
1740
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1741
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1741
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1742
1742
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1743
1743
|
};
|
|
1744
1744
|
}>;
|
|
@@ -1772,17 +1772,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1772
1772
|
ctx: Partial<{
|
|
1773
1773
|
token: `Bearer ${string}`;
|
|
1774
1774
|
user: {
|
|
1775
|
-
id: string
|
|
1775
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1776
1776
|
type: "system";
|
|
1777
1777
|
signature?: undefined;
|
|
1778
|
-
primaryOfficeId?: undefined;
|
|
1779
|
-
administrativeAreaId?: undefined;
|
|
1778
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1779
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1780
1780
|
} | {
|
|
1781
|
-
id: string
|
|
1781
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1782
1782
|
type: "user";
|
|
1783
1783
|
role: string;
|
|
1784
1784
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1785
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1785
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1786
1786
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1787
1787
|
};
|
|
1788
1788
|
}>;
|
|
@@ -2126,17 +2126,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2126
2126
|
ctx: Partial<{
|
|
2127
2127
|
token: `Bearer ${string}`;
|
|
2128
2128
|
user: {
|
|
2129
|
-
id: string
|
|
2129
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2130
2130
|
type: "system";
|
|
2131
2131
|
signature?: undefined;
|
|
2132
|
-
primaryOfficeId?: undefined;
|
|
2133
|
-
administrativeAreaId?: undefined;
|
|
2132
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2133
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2134
2134
|
} | {
|
|
2135
|
-
id: string
|
|
2135
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2136
2136
|
type: "user";
|
|
2137
2137
|
role: string;
|
|
2138
2138
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2139
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2139
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2140
2140
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2141
2141
|
};
|
|
2142
2142
|
}>;
|
|
@@ -2779,17 +2779,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2779
2779
|
ctx: Partial<{
|
|
2780
2780
|
token: `Bearer ${string}`;
|
|
2781
2781
|
user: {
|
|
2782
|
-
id: string
|
|
2782
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2783
2783
|
type: "system";
|
|
2784
2784
|
signature?: undefined;
|
|
2785
|
-
primaryOfficeId?: undefined;
|
|
2786
|
-
administrativeAreaId?: undefined;
|
|
2785
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2786
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2787
2787
|
} | {
|
|
2788
|
-
id: string
|
|
2788
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2789
2789
|
type: "user";
|
|
2790
2790
|
role: string;
|
|
2791
2791
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2792
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2792
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2793
2793
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2794
2794
|
};
|
|
2795
2795
|
}>;
|
|
@@ -2801,17 +2801,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2801
2801
|
ctx: Partial<{
|
|
2802
2802
|
token: `Bearer ${string}`;
|
|
2803
2803
|
user: {
|
|
2804
|
-
id: string
|
|
2804
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2805
2805
|
type: "system";
|
|
2806
2806
|
signature?: undefined;
|
|
2807
|
-
primaryOfficeId?: undefined;
|
|
2808
|
-
administrativeAreaId?: undefined;
|
|
2807
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2808
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2809
2809
|
} | {
|
|
2810
|
-
id: string
|
|
2810
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2811
2811
|
type: "user";
|
|
2812
2812
|
role: string;
|
|
2813
2813
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2814
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2814
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2815
2815
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2816
2816
|
};
|
|
2817
2817
|
}>;
|
|
@@ -2845,17 +2845,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2845
2845
|
ctx: Partial<{
|
|
2846
2846
|
token: `Bearer ${string}`;
|
|
2847
2847
|
user: {
|
|
2848
|
-
id: string
|
|
2848
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2849
2849
|
type: "system";
|
|
2850
2850
|
signature?: undefined;
|
|
2851
|
-
primaryOfficeId?: undefined;
|
|
2852
|
-
administrativeAreaId?: undefined;
|
|
2851
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2852
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2853
2853
|
} | {
|
|
2854
|
-
id: string
|
|
2854
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2855
2855
|
type: "user";
|
|
2856
2856
|
role: string;
|
|
2857
2857
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2858
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2858
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2859
2859
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2860
2860
|
};
|
|
2861
2861
|
}>;
|
|
@@ -2889,17 +2889,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2889
2889
|
ctx: Partial<{
|
|
2890
2890
|
token: `Bearer ${string}`;
|
|
2891
2891
|
user: {
|
|
2892
|
-
id: string
|
|
2892
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2893
2893
|
type: "system";
|
|
2894
2894
|
signature?: undefined;
|
|
2895
|
-
primaryOfficeId?: undefined;
|
|
2896
|
-
administrativeAreaId?: undefined;
|
|
2895
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2896
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2897
2897
|
} | {
|
|
2898
|
-
id: string
|
|
2898
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2899
2899
|
type: "user";
|
|
2900
2900
|
role: string;
|
|
2901
2901
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2902
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2902
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2903
2903
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2904
2904
|
};
|
|
2905
2905
|
}>;
|
|
@@ -2934,17 +2934,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2934
2934
|
ctx: Partial<{
|
|
2935
2935
|
token: `Bearer ${string}`;
|
|
2936
2936
|
user: {
|
|
2937
|
-
id: string
|
|
2937
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2938
2938
|
type: "system";
|
|
2939
2939
|
signature?: undefined;
|
|
2940
|
-
primaryOfficeId?: undefined;
|
|
2941
|
-
administrativeAreaId?: undefined;
|
|
2940
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2941
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2942
2942
|
} | {
|
|
2943
|
-
id: string
|
|
2943
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2944
2944
|
type: "user";
|
|
2945
2945
|
role: string;
|
|
2946
2946
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2947
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2947
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2948
2948
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2949
2949
|
};
|
|
2950
2950
|
}>;
|
|
@@ -3952,17 +3952,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3952
3952
|
ctx: Partial<{
|
|
3953
3953
|
token: `Bearer ${string}`;
|
|
3954
3954
|
user: {
|
|
3955
|
-
id: string
|
|
3955
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3956
3956
|
type: "system";
|
|
3957
3957
|
signature?: undefined;
|
|
3958
|
-
primaryOfficeId?: undefined;
|
|
3959
|
-
administrativeAreaId?: undefined;
|
|
3958
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3959
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3960
3960
|
} | {
|
|
3961
|
-
id: string
|
|
3961
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3962
3962
|
type: "user";
|
|
3963
3963
|
role: string;
|
|
3964
3964
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3965
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3965
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3966
3966
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3967
3967
|
};
|
|
3968
3968
|
}>;
|
|
@@ -3973,7 +3973,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3973
3973
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
3974
3974
|
input: string;
|
|
3975
3975
|
output: {
|
|
3976
|
-
id: string
|
|
3976
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3977
3977
|
name: {
|
|
3978
3978
|
use: string;
|
|
3979
3979
|
given: string[];
|
|
@@ -3984,7 +3984,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3984
3984
|
type: "user";
|
|
3985
3985
|
status: "active" | "pending" | "deactivated";
|
|
3986
3986
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3987
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3987
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3988
3988
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3989
3989
|
device?: string | undefined;
|
|
3990
3990
|
fullHonorificName?: string | undefined;
|
|
@@ -3992,11 +3992,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3992
3992
|
email?: string | undefined;
|
|
3993
3993
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
3994
3994
|
} | {
|
|
3995
|
-
id: string
|
|
3995
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3996
3996
|
name: string;
|
|
3997
3997
|
type: "system";
|
|
3998
|
-
primaryOfficeId?: undefined;
|
|
3999
|
-
administrativeAreaId?: undefined;
|
|
3998
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3999
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4000
4000
|
signature?: undefined;
|
|
4001
4001
|
avatar?: undefined;
|
|
4002
4002
|
fullHonorificName?: string | undefined;
|
|
@@ -4030,7 +4030,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4030
4030
|
data?: Record<string, unknown> | undefined;
|
|
4031
4031
|
};
|
|
4032
4032
|
output: {
|
|
4033
|
-
id: string
|
|
4033
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4034
4034
|
name: {
|
|
4035
4035
|
use: string;
|
|
4036
4036
|
given: string[];
|
|
@@ -4041,7 +4041,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4041
4041
|
type: "user";
|
|
4042
4042
|
status: "active" | "pending" | "deactivated";
|
|
4043
4043
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4044
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4044
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4045
4045
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4046
4046
|
device?: string | undefined;
|
|
4047
4047
|
fullHonorificName?: string | undefined;
|
|
@@ -4049,23 +4049,23 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4049
4049
|
email?: string | undefined;
|
|
4050
4050
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4051
4051
|
};
|
|
4052
|
-
meta:
|
|
4052
|
+
meta: object;
|
|
4053
4053
|
}>;
|
|
4054
4054
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
4055
4055
|
input: {
|
|
4056
|
-
name
|
|
4056
|
+
name?: {
|
|
4057
4057
|
use: string;
|
|
4058
4058
|
given: string[];
|
|
4059
4059
|
family: string;
|
|
4060
|
-
}[];
|
|
4061
|
-
email: string;
|
|
4062
|
-
role: string;
|
|
4063
|
-
primaryOfficeId: string;
|
|
4060
|
+
}[] | undefined;
|
|
4064
4061
|
username?: string | undefined;
|
|
4062
|
+
email?: string | undefined;
|
|
4065
4063
|
mobile?: string | undefined;
|
|
4066
4064
|
fullHonorificName?: string | undefined;
|
|
4067
4065
|
emailForNotification?: string | undefined;
|
|
4068
4066
|
password?: string | undefined;
|
|
4067
|
+
role?: string | undefined;
|
|
4068
|
+
primaryOfficeId?: string | undefined;
|
|
4069
4069
|
device?: string | undefined;
|
|
4070
4070
|
status?: "active" | "pending" | undefined;
|
|
4071
4071
|
signature?: {
|
|
@@ -4078,7 +4078,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4078
4078
|
id: string;
|
|
4079
4079
|
};
|
|
4080
4080
|
output: {
|
|
4081
|
-
id: string
|
|
4081
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4082
4082
|
name: {
|
|
4083
4083
|
use: string;
|
|
4084
4084
|
given: string[];
|
|
@@ -4089,7 +4089,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4089
4089
|
type: "user";
|
|
4090
4090
|
status: "active" | "pending" | "deactivated";
|
|
4091
4091
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4092
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4092
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4093
4093
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4094
4094
|
device?: string | undefined;
|
|
4095
4095
|
fullHonorificName?: string | undefined;
|
|
@@ -4102,7 +4102,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4102
4102
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
4103
4103
|
input: string[];
|
|
4104
4104
|
output: ({
|
|
4105
|
-
id: string
|
|
4105
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4106
4106
|
name: {
|
|
4107
4107
|
use: string;
|
|
4108
4108
|
given: string[];
|
|
@@ -4113,7 +4113,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4113
4113
|
type: "user";
|
|
4114
4114
|
status: "active" | "pending" | "deactivated";
|
|
4115
4115
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4116
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4116
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4117
4117
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4118
4118
|
device?: string | undefined;
|
|
4119
4119
|
fullHonorificName?: string | undefined;
|
|
@@ -4121,11 +4121,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4121
4121
|
email?: string | undefined;
|
|
4122
4122
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4123
4123
|
} | {
|
|
4124
|
-
id: string
|
|
4124
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4125
4125
|
name: string;
|
|
4126
4126
|
type: "system";
|
|
4127
|
-
primaryOfficeId?: undefined;
|
|
4128
|
-
administrativeAreaId?: undefined;
|
|
4127
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4128
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4129
4129
|
signature?: undefined;
|
|
4130
4130
|
avatar?: undefined;
|
|
4131
4131
|
fullHonorificName?: string | undefined;
|
|
@@ -4141,12 +4141,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4141
4141
|
sortOrder: "desc" | "asc";
|
|
4142
4142
|
username?: string | undefined;
|
|
4143
4143
|
mobile?: string | undefined;
|
|
4144
|
+
email?: string | undefined;
|
|
4144
4145
|
status?: string | undefined;
|
|
4145
4146
|
primaryOfficeId?: string | undefined;
|
|
4146
|
-
|
|
4147
|
+
sortBy?: "createdAt" | "status" | "username" | "firstname" | "surname" | "role" | "email" | undefined;
|
|
4147
4148
|
};
|
|
4148
4149
|
output: ({
|
|
4149
|
-
id: string
|
|
4150
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4150
4151
|
name: {
|
|
4151
4152
|
use: string;
|
|
4152
4153
|
given: string[];
|
|
@@ -4157,7 +4158,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4157
4158
|
type: "user";
|
|
4158
4159
|
status: "active" | "pending" | "deactivated";
|
|
4159
4160
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4160
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4161
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4161
4162
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4162
4163
|
device?: string | undefined;
|
|
4163
4164
|
fullHonorificName?: string | undefined;
|
|
@@ -4165,18 +4166,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4165
4166
|
email?: string | undefined;
|
|
4166
4167
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4167
4168
|
} | {
|
|
4168
|
-
id: string
|
|
4169
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4169
4170
|
name: string;
|
|
4170
4171
|
type: "system";
|
|
4171
|
-
primaryOfficeId?: undefined;
|
|
4172
|
-
administrativeAreaId?: undefined;
|
|
4172
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4173
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4173
4174
|
signature?: undefined;
|
|
4174
4175
|
avatar?: undefined;
|
|
4175
4176
|
fullHonorificName?: string | undefined;
|
|
4176
4177
|
legacyId?: string | undefined;
|
|
4177
4178
|
status?: undefined;
|
|
4178
4179
|
})[];
|
|
4179
|
-
meta:
|
|
4180
|
+
meta: object;
|
|
4180
4181
|
}>;
|
|
4181
4182
|
actions: import("@trpc/server").TRPCQueryProcedure<{
|
|
4182
4183
|
input: {
|
|
@@ -4220,17 +4221,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4220
4221
|
ctx: Partial<{
|
|
4221
4222
|
token: `Bearer ${string}`;
|
|
4222
4223
|
user: {
|
|
4223
|
-
id: string
|
|
4224
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4224
4225
|
type: "system";
|
|
4225
4226
|
signature?: undefined;
|
|
4226
|
-
primaryOfficeId?: undefined;
|
|
4227
|
-
administrativeAreaId?: undefined;
|
|
4227
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4228
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4228
4229
|
} | {
|
|
4229
|
-
id: string
|
|
4230
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4230
4231
|
type: "user";
|
|
4231
4232
|
role: string;
|
|
4232
4233
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4233
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4234
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4234
4235
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4235
4236
|
};
|
|
4236
4237
|
}>;
|
|
@@ -4249,7 +4250,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4249
4250
|
}>>;
|
|
4250
4251
|
changePassword: import("@trpc/server").TRPCMutationProcedure<{
|
|
4251
4252
|
input: {
|
|
4252
|
-
userId: string;
|
|
4253
4253
|
existingPassword: string;
|
|
4254
4254
|
password: string;
|
|
4255
4255
|
};
|
|
@@ -4297,7 +4297,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4297
4297
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4298
4298
|
}>;
|
|
4299
4299
|
activate: import("@trpc/server").TRPCMutationProcedure<{
|
|
4300
|
-
input:
|
|
4300
|
+
input: {
|
|
4301
|
+
userId: string;
|
|
4302
|
+
password: string;
|
|
4303
|
+
securityQNAs: {
|
|
4304
|
+
questionKey: string;
|
|
4305
|
+
answer: string;
|
|
4306
|
+
}[];
|
|
4307
|
+
};
|
|
4301
4308
|
output: void;
|
|
4302
4309
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4303
4310
|
}>;
|
|
@@ -4305,17 +4312,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4305
4312
|
ctx: Partial<{
|
|
4306
4313
|
token: `Bearer ${string}`;
|
|
4307
4314
|
user: {
|
|
4308
|
-
id: string
|
|
4315
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4309
4316
|
type: "system";
|
|
4310
4317
|
signature?: undefined;
|
|
4311
|
-
primaryOfficeId?: undefined;
|
|
4312
|
-
administrativeAreaId?: undefined;
|
|
4318
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4319
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4313
4320
|
} | {
|
|
4314
|
-
id: string
|
|
4321
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4315
4322
|
type: "user";
|
|
4316
4323
|
role: string;
|
|
4317
4324
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4318
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4325
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4319
4326
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4320
4327
|
};
|
|
4321
4328
|
}>;
|
|
@@ -4598,17 +4605,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4598
4605
|
ctx: Partial<{
|
|
4599
4606
|
token: `Bearer ${string}`;
|
|
4600
4607
|
user: {
|
|
4601
|
-
id: string
|
|
4608
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4602
4609
|
type: "system";
|
|
4603
4610
|
signature?: undefined;
|
|
4604
|
-
primaryOfficeId?: undefined;
|
|
4605
|
-
administrativeAreaId?: undefined;
|
|
4611
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4612
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4606
4613
|
} | {
|
|
4607
|
-
id: string
|
|
4614
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4608
4615
|
type: "user";
|
|
4609
4616
|
role: string;
|
|
4610
4617
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4611
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4618
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4612
4619
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4613
4620
|
};
|
|
4614
4621
|
}>;
|
|
@@ -4631,7 +4638,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4631
4638
|
locationType: string | null;
|
|
4632
4639
|
externalId?: string | null | undefined;
|
|
4633
4640
|
}[];
|
|
4634
|
-
meta:
|
|
4641
|
+
meta: object;
|
|
4635
4642
|
}>;
|
|
4636
4643
|
set: import("@trpc/server").TRPCMutationProcedure<{
|
|
4637
4644
|
input: {
|
|
@@ -4643,7 +4650,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4643
4650
|
externalId?: string | null | undefined;
|
|
4644
4651
|
}[];
|
|
4645
4652
|
output: void;
|
|
4646
|
-
meta:
|
|
4653
|
+
meta: object;
|
|
4647
4654
|
}>;
|
|
4648
4655
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
4649
4656
|
input: {
|
|
@@ -4671,17 +4678,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4671
4678
|
ctx: Partial<{
|
|
4672
4679
|
token: `Bearer ${string}`;
|
|
4673
4680
|
user: {
|
|
4674
|
-
id: string
|
|
4681
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4675
4682
|
type: "system";
|
|
4676
4683
|
signature?: undefined;
|
|
4677
|
-
primaryOfficeId?: undefined;
|
|
4678
|
-
administrativeAreaId?: undefined;
|
|
4684
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4685
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4679
4686
|
} | {
|
|
4680
|
-
id: string
|
|
4687
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4681
4688
|
type: "user";
|
|
4682
4689
|
role: string;
|
|
4683
4690
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4684
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4691
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4685
4692
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4686
4693
|
};
|
|
4687
4694
|
}>;
|
|
@@ -4693,17 +4700,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4693
4700
|
ctx: Partial<{
|
|
4694
4701
|
token: `Bearer ${string}`;
|
|
4695
4702
|
user: {
|
|
4696
|
-
id: string
|
|
4703
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4697
4704
|
type: "system";
|
|
4698
4705
|
signature?: undefined;
|
|
4699
|
-
primaryOfficeId?: undefined;
|
|
4700
|
-
administrativeAreaId?: undefined;
|
|
4706
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4707
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4701
4708
|
} | {
|
|
4702
|
-
id: string
|
|
4709
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4703
4710
|
type: "user";
|
|
4704
4711
|
role: string;
|
|
4705
4712
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4706
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4713
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4707
4714
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4708
4715
|
};
|
|
4709
4716
|
}>;
|
|
@@ -4756,7 +4763,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4756
4763
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4757
4764
|
type: "within";
|
|
4758
4765
|
location: string | {
|
|
4759
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4766
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4760
4767
|
$location?: string | undefined;
|
|
4761
4768
|
};
|
|
4762
4769
|
} | undefined;
|
|
@@ -4778,7 +4785,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4778
4785
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4779
4786
|
type: "within";
|
|
4780
4787
|
location: string | {
|
|
4781
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4788
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4782
4789
|
$location?: string | undefined;
|
|
4783
4790
|
};
|
|
4784
4791
|
} | undefined;
|
|
@@ -4793,47 +4800,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4793
4800
|
createdAtLocation?: {
|
|
4794
4801
|
type: "within";
|
|
4795
4802
|
location: string | {
|
|
4796
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4803
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4797
4804
|
$location?: string | undefined;
|
|
4798
4805
|
};
|
|
4799
4806
|
} | {
|
|
4800
4807
|
type: "exact";
|
|
4801
4808
|
term: string | {
|
|
4802
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4809
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4803
4810
|
$location?: string | undefined;
|
|
4804
4811
|
};
|
|
4805
4812
|
} | undefined;
|
|
4806
4813
|
updatedAtLocation?: {
|
|
4807
4814
|
type: "within";
|
|
4808
4815
|
location: string | {
|
|
4809
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4816
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4810
4817
|
$location?: string | undefined;
|
|
4811
4818
|
};
|
|
4812
4819
|
} | {
|
|
4813
4820
|
type: "exact";
|
|
4814
4821
|
term: string | {
|
|
4815
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4822
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4816
4823
|
$location?: string | undefined;
|
|
4817
4824
|
};
|
|
4818
4825
|
} | undefined;
|
|
4819
4826
|
updatedByUserRole?: {
|
|
4820
4827
|
type: "exact";
|
|
4821
4828
|
term: string | {
|
|
4822
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4829
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4823
4830
|
$location?: string | undefined;
|
|
4824
4831
|
};
|
|
4825
4832
|
} | undefined;
|
|
4826
4833
|
assignedTo?: {
|
|
4827
4834
|
type: "exact";
|
|
4828
4835
|
term: string | {
|
|
4829
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4836
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4830
4837
|
$location?: string | undefined;
|
|
4831
4838
|
};
|
|
4832
4839
|
} | undefined;
|
|
4833
4840
|
createdBy?: {
|
|
4834
4841
|
type: "exact";
|
|
4835
4842
|
term: string | {
|
|
4836
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4843
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4837
4844
|
$location?: string | undefined;
|
|
4838
4845
|
};
|
|
4839
4846
|
} | undefined;
|
|
@@ -4844,7 +4851,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4844
4851
|
updatedBy?: {
|
|
4845
4852
|
type: "exact";
|
|
4846
4853
|
term: string | {
|
|
4847
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4854
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4848
4855
|
$location?: string | undefined;
|
|
4849
4856
|
};
|
|
4850
4857
|
} | undefined;
|
|
@@ -4894,7 +4901,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4894
4901
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4895
4902
|
type: "within";
|
|
4896
4903
|
location: string | {
|
|
4897
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4904
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4898
4905
|
$location?: string | undefined;
|
|
4899
4906
|
};
|
|
4900
4907
|
} | undefined;
|
|
@@ -4916,7 +4923,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4916
4923
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4917
4924
|
type: "within";
|
|
4918
4925
|
location: string | {
|
|
4919
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4926
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4920
4927
|
$location?: string | undefined;
|
|
4921
4928
|
};
|
|
4922
4929
|
} | undefined;
|
|
@@ -4931,47 +4938,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4931
4938
|
createdAtLocation?: {
|
|
4932
4939
|
type: "within";
|
|
4933
4940
|
location: string | {
|
|
4934
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4941
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4935
4942
|
$location?: string | undefined;
|
|
4936
4943
|
};
|
|
4937
4944
|
} | {
|
|
4938
4945
|
type: "exact";
|
|
4939
4946
|
term: string | {
|
|
4940
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4947
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4941
4948
|
$location?: string | undefined;
|
|
4942
4949
|
};
|
|
4943
4950
|
} | undefined;
|
|
4944
4951
|
updatedAtLocation?: {
|
|
4945
4952
|
type: "within";
|
|
4946
4953
|
location: string | {
|
|
4947
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4954
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4948
4955
|
$location?: string | undefined;
|
|
4949
4956
|
};
|
|
4950
4957
|
} | {
|
|
4951
4958
|
type: "exact";
|
|
4952
4959
|
term: string | {
|
|
4953
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4960
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4954
4961
|
$location?: string | undefined;
|
|
4955
4962
|
};
|
|
4956
4963
|
} | undefined;
|
|
4957
4964
|
updatedByUserRole?: {
|
|
4958
4965
|
type: "exact";
|
|
4959
4966
|
term: string | {
|
|
4960
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4967
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4961
4968
|
$location?: string | undefined;
|
|
4962
4969
|
};
|
|
4963
4970
|
} | undefined;
|
|
4964
4971
|
assignedTo?: {
|
|
4965
4972
|
type: "exact";
|
|
4966
4973
|
term: string | {
|
|
4967
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4974
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4968
4975
|
$location?: string | undefined;
|
|
4969
4976
|
};
|
|
4970
4977
|
} | undefined;
|
|
4971
4978
|
createdBy?: {
|
|
4972
4979
|
type: "exact";
|
|
4973
4980
|
term: string | {
|
|
4974
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4981
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4975
4982
|
$location?: string | undefined;
|
|
4976
4983
|
};
|
|
4977
4984
|
} | undefined;
|
|
@@ -4982,7 +4989,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4982
4989
|
updatedBy?: {
|
|
4983
4990
|
type: "exact";
|
|
4984
4991
|
term: string | {
|
|
4985
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4992
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4986
4993
|
$location?: string | undefined;
|
|
4987
4994
|
};
|
|
4988
4995
|
} | undefined;
|
|
@@ -5033,17 +5040,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5033
5040
|
ctx: Partial<{
|
|
5034
5041
|
token: `Bearer ${string}`;
|
|
5035
5042
|
user: {
|
|
5036
|
-
id: string
|
|
5043
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5037
5044
|
type: "system";
|
|
5038
5045
|
signature?: undefined;
|
|
5039
|
-
primaryOfficeId?: undefined;
|
|
5040
|
-
administrativeAreaId?: undefined;
|
|
5046
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5047
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5041
5048
|
} | {
|
|
5042
|
-
id: string
|
|
5049
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5043
5050
|
type: "user";
|
|
5044
5051
|
role: string;
|
|
5045
5052
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5046
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5053
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5047
5054
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5048
5055
|
};
|
|
5049
5056
|
}>;
|
|
@@ -5074,24 +5081,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5074
5081
|
externalId?: string | null | undefined;
|
|
5075
5082
|
}[];
|
|
5076
5083
|
output: void;
|
|
5077
|
-
meta:
|
|
5084
|
+
meta: object;
|
|
5078
5085
|
}>;
|
|
5079
5086
|
}>>;
|
|
5080
5087
|
integrations: import("@trpc/server").TRPCBuiltRouter<{
|
|
5081
5088
|
ctx: Partial<{
|
|
5082
5089
|
token: `Bearer ${string}`;
|
|
5083
5090
|
user: {
|
|
5084
|
-
id: string
|
|
5091
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5085
5092
|
type: "system";
|
|
5086
5093
|
signature?: undefined;
|
|
5087
|
-
primaryOfficeId?: undefined;
|
|
5088
|
-
administrativeAreaId?: undefined;
|
|
5094
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5095
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5089
5096
|
} | {
|
|
5090
|
-
id: string
|
|
5097
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5091
5098
|
type: "user";
|
|
5092
5099
|
role: string;
|
|
5093
5100
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5094
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5101
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5095
5102
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5096
5103
|
};
|
|
5097
5104
|
}>;
|
|
@@ -5133,7 +5140,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5133
5140
|
scopes: string[];
|
|
5134
5141
|
status: string;
|
|
5135
5142
|
createdAt: string;
|
|
5136
|
-
createdBy: string
|
|
5143
|
+
createdBy: string & import("zod").$brand<"UUID">;
|
|
5137
5144
|
}[];
|
|
5138
5145
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5139
5146
|
}>;
|
|
@@ -5148,7 +5155,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5148
5155
|
status: string;
|
|
5149
5156
|
shaSecret: string | null;
|
|
5150
5157
|
createdAt: string;
|
|
5151
|
-
createdBy: string
|
|
5158
|
+
createdBy: string & import("zod").$brand<"UUID">;
|
|
5152
5159
|
};
|
|
5153
5160
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5154
5161
|
}>;
|
|
@@ -5199,17 +5206,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5199
5206
|
ctx: Partial<{
|
|
5200
5207
|
token: `Bearer ${string}`;
|
|
5201
5208
|
user: {
|
|
5202
|
-
id: string
|
|
5209
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5203
5210
|
type: "system";
|
|
5204
5211
|
signature?: undefined;
|
|
5205
|
-
primaryOfficeId?: undefined;
|
|
5206
|
-
administrativeAreaId?: undefined;
|
|
5212
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5213
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5207
5214
|
} | {
|
|
5208
|
-
id: string
|
|
5215
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5209
5216
|
type: "user";
|
|
5210
5217
|
role: string;
|
|
5211
5218
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5212
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5219
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5213
5220
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5214
5221
|
};
|
|
5215
5222
|
}>;
|
|
@@ -5234,17 +5241,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5234
5241
|
ctx: Partial<{
|
|
5235
5242
|
token: `Bearer ${string}`;
|
|
5236
5243
|
user: {
|
|
5237
|
-
id: string
|
|
5244
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5238
5245
|
type: "system";
|
|
5239
5246
|
signature?: undefined;
|
|
5240
|
-
primaryOfficeId?: undefined;
|
|
5241
|
-
administrativeAreaId?: undefined;
|
|
5247
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5248
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5242
5249
|
} | {
|
|
5243
|
-
id: string
|
|
5250
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5244
5251
|
type: "user";
|
|
5245
5252
|
role: string;
|
|
5246
5253
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5247
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5254
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5248
5255
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5249
5256
|
};
|
|
5250
5257
|
}>;
|
|
@@ -1799,7 +1799,7 @@ declare const LocationInput: z.ZodObject<{
|
|
|
1799
1799
|
}>;
|
|
1800
1800
|
$location: z.ZodOptional<z.ZodString>;
|
|
1801
1801
|
}, z.core.$strip>]>>;
|
|
1802
|
-
configuration: z.ZodObject<{
|
|
1802
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
1803
1803
|
locationTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1804
1804
|
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
1805
1805
|
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
@@ -1856,7 +1856,7 @@ declare const LocationInput: z.ZodObject<{
|
|
|
1856
1856
|
}>;
|
|
1857
1857
|
}, z.core.$strip>]>;
|
|
1858
1858
|
}, z.core.$strip>>;
|
|
1859
|
-
}, z.core.$strip
|
|
1859
|
+
}, z.core.$strip>>;
|
|
1860
1860
|
}, z.core.$strip>;
|
|
1861
1861
|
export type LocationInput = z.infer<typeof LocationInput>;
|
|
1862
1862
|
declare const FileUploadWithOptions: z.ZodObject<{
|
package/dist/events/index.js
CHANGED
|
@@ -2500,7 +2500,7 @@ var LocationInput = BaseField.extend({
|
|
|
2500
2500
|
configuration: import_v43.default.object({
|
|
2501
2501
|
locationTypes: import_v43.default.array(import_v43.default.string()).optional().describe("Types of the locations that are available for selection."),
|
|
2502
2502
|
allowedLocations: AllowedLocations
|
|
2503
|
-
})
|
|
2503
|
+
}).optional()
|
|
2504
2504
|
}).describe("Input field for a location");
|
|
2505
2505
|
var FileUploadWithOptions = BaseField.extend({
|
|
2506
2506
|
type: import_v43.default.literal(FieldType.FILE_WITH_OPTIONS),
|
|
@@ -4574,7 +4574,16 @@ function aggregateActionDeclarations(event2) {
|
|
|
4574
4574
|
if (!requestAction) {
|
|
4575
4575
|
return declaration;
|
|
4576
4576
|
}
|
|
4577
|
-
|
|
4577
|
+
const declarationWithApprovedCorrection = getCompleteActionDeclaration(
|
|
4578
|
+
declaration,
|
|
4579
|
+
event2,
|
|
4580
|
+
requestAction
|
|
4581
|
+
);
|
|
4582
|
+
return getCompleteActionDeclaration(
|
|
4583
|
+
declarationWithApprovedCorrection,
|
|
4584
|
+
event2,
|
|
4585
|
+
action
|
|
4586
|
+
);
|
|
4578
4587
|
}
|
|
4579
4588
|
return getCompleteActionDeclaration(declaration, event2, action);
|
|
4580
4589
|
}, {});
|
|
@@ -10013,7 +10022,8 @@ function userDeserializer(serializedUserField, user2) {
|
|
|
10013
10022
|
`Deserializer for ${serializedUserField.$userField} is not implemented yet`
|
|
10014
10023
|
);
|
|
10015
10024
|
}
|
|
10016
|
-
|
|
10025
|
+
const value = user2[serializedUserField.$userField];
|
|
10026
|
+
return typeof value === "string" ? value : void 0;
|
|
10017
10027
|
}
|
|
10018
10028
|
function isDefined(value) {
|
|
10019
10029
|
return value !== void 0;
|
|
@@ -1992,7 +1992,7 @@ var LocationInput = BaseField.extend({
|
|
|
1992
1992
|
configuration: import_v43.default.object({
|
|
1993
1993
|
locationTypes: import_v43.default.array(import_v43.default.string()).optional().describe("Types of the locations that are available for selection."),
|
|
1994
1994
|
allowedLocations: AllowedLocations
|
|
1995
|
-
})
|
|
1995
|
+
}).optional()
|
|
1996
1996
|
}).describe("Input field for a location");
|
|
1997
1997
|
var FileUploadWithOptions = BaseField.extend({
|
|
1998
1998
|
type: import_v43.default.literal(FieldType.FILE_WITH_OPTIONS),
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|