@opencrvs/toolkit 2.0.0-rc.3edb4f4 → 2.0.0-rc.d846143
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/commons/api/router.d.ts +105 -102
- package/dist/commons/events/AuditLog.d.ts +2 -0
- package/dist/commons/notification/UserNotifications.d.ts +15 -0
- package/dist/events/index.js +1 -0
- package/dist/notification/index.js +6 -0
- package/opencrvs-toolkit-2.0.0-rc.d846143.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.0.0-rc.3edb4f4.tgz +0 -0
|
@@ -8,7 +8,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8
8
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
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">;
|
|
@@ -30,7 +30,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30
30
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
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">;
|
|
@@ -52,7 +52,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
52
52
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
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">;
|
|
@@ -98,7 +98,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
98
98
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
99
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">;
|
|
@@ -1060,7 +1060,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1060
1060
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1061
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">;
|
|
@@ -1139,7 +1139,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1139
1139
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1140
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">;
|
|
@@ -1161,7 +1161,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1161
1161
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1162
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">;
|
|
@@ -1205,7 +1205,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1205
1205
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1206
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">;
|
|
@@ -1558,7 +1558,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1558
1558
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1559
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">;
|
|
@@ -1602,7 +1602,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1602
1602
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1603
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">;
|
|
@@ -1646,7 +1646,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1646
1646
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1647
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">;
|
|
@@ -1690,7 +1690,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1690
1690
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1691
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">;
|
|
@@ -1734,7 +1734,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1734
1734
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1735
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">;
|
|
@@ -1778,7 +1778,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1778
1778
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1779
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">;
|
|
@@ -2132,7 +2132,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2132
2132
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2133
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">;
|
|
@@ -2785,7 +2785,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2785
2785
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2786
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">;
|
|
@@ -2807,7 +2807,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2807
2807
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2808
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">;
|
|
@@ -2851,7 +2851,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2851
2851
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2852
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">;
|
|
@@ -2895,7 +2895,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2895
2895
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2896
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">;
|
|
@@ -2940,7 +2940,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2940
2940
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2941
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">;
|
|
@@ -3958,7 +3958,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3958
3958
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3959
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">;
|
|
@@ -3973,12 +3973,11 @@ 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
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
}[];
|
|
3978
|
+
firstname: string;
|
|
3979
|
+
surname: string;
|
|
3980
|
+
};
|
|
3982
3981
|
role: string;
|
|
3983
3982
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3984
3983
|
type: "user";
|
|
@@ -4008,34 +4007,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4008
4007
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
4009
4008
|
input: {
|
|
4010
4009
|
name: {
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
}[];
|
|
4015
|
-
email: string;
|
|
4010
|
+
firstname: string;
|
|
4011
|
+
surname: string;
|
|
4012
|
+
};
|
|
4016
4013
|
role: string;
|
|
4017
4014
|
primaryOfficeId: string;
|
|
4018
|
-
|
|
4019
|
-
mobile?: string | undefined;
|
|
4015
|
+
data?: Record<string, unknown> | undefined;
|
|
4020
4016
|
fullHonorificName?: string | undefined;
|
|
4021
|
-
emailForNotification?: string | undefined;
|
|
4022
|
-
password?: string | undefined;
|
|
4023
4017
|
device?: string | undefined;
|
|
4024
|
-
|
|
4018
|
+
email?: string | undefined;
|
|
4019
|
+
mobile?: string | undefined;
|
|
4020
|
+
username?: undefined;
|
|
4025
4021
|
signature?: {
|
|
4026
4022
|
path: string;
|
|
4027
4023
|
originalFilename: string;
|
|
4028
4024
|
type: string;
|
|
4029
4025
|
} | undefined;
|
|
4030
|
-
data?: Record<string, unknown> | undefined;
|
|
4031
4026
|
};
|
|
4032
4027
|
output: {
|
|
4033
|
-
id: string
|
|
4028
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4034
4029
|
name: {
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
}[];
|
|
4030
|
+
firstname: string;
|
|
4031
|
+
surname: string;
|
|
4032
|
+
};
|
|
4039
4033
|
role: string;
|
|
4040
4034
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4041
4035
|
type: "user";
|
|
@@ -4049,41 +4043,37 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4049
4043
|
email?: string | undefined;
|
|
4050
4044
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4051
4045
|
};
|
|
4052
|
-
meta:
|
|
4046
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4053
4047
|
}>;
|
|
4054
4048
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
4055
4049
|
input: {
|
|
4050
|
+
id: string;
|
|
4051
|
+
data?: Record<string, unknown> | undefined;
|
|
4056
4052
|
name?: {
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
}[] | undefined;
|
|
4061
|
-
username?: string | undefined;
|
|
4062
|
-
email?: string | undefined;
|
|
4063
|
-
mobile?: string | undefined;
|
|
4064
|
-
fullHonorificName?: string | undefined;
|
|
4065
|
-
emailForNotification?: string | undefined;
|
|
4066
|
-
password?: string | undefined;
|
|
4053
|
+
firstname: string;
|
|
4054
|
+
surname: string;
|
|
4055
|
+
} | undefined;
|
|
4067
4056
|
role?: string | undefined;
|
|
4068
|
-
|
|
4057
|
+
fullHonorificName?: string | undefined;
|
|
4069
4058
|
device?: string | undefined;
|
|
4070
|
-
|
|
4059
|
+
primaryOfficeId?: string | undefined;
|
|
4060
|
+
email?: string | undefined;
|
|
4061
|
+
mobile?: string | undefined;
|
|
4071
4062
|
signature?: {
|
|
4072
4063
|
path: string;
|
|
4073
4064
|
originalFilename: string;
|
|
4074
4065
|
type: string;
|
|
4075
4066
|
} | undefined;
|
|
4076
|
-
|
|
4067
|
+
status?: "active" | "deactivated" | undefined;
|
|
4077
4068
|
} & {
|
|
4078
4069
|
id: string;
|
|
4079
4070
|
};
|
|
4080
4071
|
output: {
|
|
4081
|
-
id: string
|
|
4072
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4082
4073
|
name: {
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
}[];
|
|
4074
|
+
firstname: string;
|
|
4075
|
+
surname: string;
|
|
4076
|
+
};
|
|
4087
4077
|
role: string;
|
|
4088
4078
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4089
4079
|
type: "user";
|
|
@@ -4102,12 +4092,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4102
4092
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
4103
4093
|
input: string[];
|
|
4104
4094
|
output: ({
|
|
4105
|
-
id: string
|
|
4095
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4106
4096
|
name: {
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
}[];
|
|
4097
|
+
firstname: string;
|
|
4098
|
+
surname: string;
|
|
4099
|
+
};
|
|
4111
4100
|
role: string;
|
|
4112
4101
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4113
4102
|
type: "user";
|
|
@@ -4147,12 +4136,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4147
4136
|
sortBy?: "createdAt" | "status" | "username" | "firstname" | "surname" | "role" | "email" | undefined;
|
|
4148
4137
|
};
|
|
4149
4138
|
output: ({
|
|
4150
|
-
id: string
|
|
4139
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4151
4140
|
name: {
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
}[];
|
|
4141
|
+
firstname: string;
|
|
4142
|
+
surname: string;
|
|
4143
|
+
};
|
|
4156
4144
|
role: string;
|
|
4157
4145
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4158
4146
|
type: "user";
|
|
@@ -4227,7 +4215,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4227
4215
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4228
4216
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4229
4217
|
} | {
|
|
4230
|
-
id: string
|
|
4218
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4231
4219
|
type: "user";
|
|
4232
4220
|
role: string;
|
|
4233
4221
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -4296,6 +4284,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4296
4284
|
output: void;
|
|
4297
4285
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4298
4286
|
}>;
|
|
4287
|
+
resendInvite: import("@trpc/server").TRPCMutationProcedure<{
|
|
4288
|
+
input: string;
|
|
4289
|
+
output: void;
|
|
4290
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4291
|
+
}>;
|
|
4299
4292
|
activate: import("@trpc/server").TRPCMutationProcedure<{
|
|
4300
4293
|
input: {
|
|
4301
4294
|
userId: string;
|
|
@@ -4308,6 +4301,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4308
4301
|
output: void;
|
|
4309
4302
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4310
4303
|
}>;
|
|
4304
|
+
sendUsernameReminder: import("@trpc/server").TRPCMutationProcedure<{
|
|
4305
|
+
input: string;
|
|
4306
|
+
output: void;
|
|
4307
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4308
|
+
}>;
|
|
4309
|
+
sendResetPasswordInvite: import("@trpc/server").TRPCMutationProcedure<{
|
|
4310
|
+
input: string;
|
|
4311
|
+
output: void;
|
|
4312
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4313
|
+
}>;
|
|
4311
4314
|
audit: import("@trpc/server").TRPCBuiltRouter<{
|
|
4312
4315
|
ctx: Partial<{
|
|
4313
4316
|
token: `Bearer ${string}`;
|
|
@@ -4318,7 +4321,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4318
4321
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4319
4322
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4320
4323
|
} | {
|
|
4321
|
-
id: string
|
|
4324
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4322
4325
|
type: "user";
|
|
4323
4326
|
role: string;
|
|
4324
4327
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -4346,7 +4349,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4346
4349
|
comment?: string | undefined;
|
|
4347
4350
|
};
|
|
4348
4351
|
} | {
|
|
4349
|
-
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4352
|
+
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4350
4353
|
requestData: {
|
|
4351
4354
|
subjectId: string;
|
|
4352
4355
|
};
|
|
@@ -4566,7 +4569,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4566
4569
|
clientId: string;
|
|
4567
4570
|
clientType: "system" | "user";
|
|
4568
4571
|
createdAt: string;
|
|
4569
|
-
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4572
|
+
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4570
4573
|
requestData: {
|
|
4571
4574
|
subjectId: string;
|
|
4572
4575
|
};
|
|
@@ -4611,7 +4614,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4611
4614
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4612
4615
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4613
4616
|
} | {
|
|
4614
|
-
id: string
|
|
4617
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4615
4618
|
type: "user";
|
|
4616
4619
|
role: string;
|
|
4617
4620
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -4684,7 +4687,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4684
4687
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4685
4688
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4686
4689
|
} | {
|
|
4687
|
-
id: string
|
|
4690
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4688
4691
|
type: "user";
|
|
4689
4692
|
role: string;
|
|
4690
4693
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -4706,7 +4709,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4706
4709
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4707
4710
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4708
4711
|
} | {
|
|
4709
|
-
id: string
|
|
4712
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4710
4713
|
type: "user";
|
|
4711
4714
|
role: string;
|
|
4712
4715
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -4763,7 +4766,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4763
4766
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4764
4767
|
type: "within";
|
|
4765
4768
|
location: string | {
|
|
4766
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4769
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4767
4770
|
$location?: string | undefined;
|
|
4768
4771
|
};
|
|
4769
4772
|
} | undefined;
|
|
@@ -4785,7 +4788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4785
4788
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4786
4789
|
type: "within";
|
|
4787
4790
|
location: string | {
|
|
4788
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4791
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4789
4792
|
$location?: string | undefined;
|
|
4790
4793
|
};
|
|
4791
4794
|
} | undefined;
|
|
@@ -4800,47 +4803,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4800
4803
|
createdAtLocation?: {
|
|
4801
4804
|
type: "within";
|
|
4802
4805
|
location: string | {
|
|
4803
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4806
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4804
4807
|
$location?: string | undefined;
|
|
4805
4808
|
};
|
|
4806
4809
|
} | {
|
|
4807
4810
|
type: "exact";
|
|
4808
4811
|
term: string | {
|
|
4809
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4812
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4810
4813
|
$location?: string | undefined;
|
|
4811
4814
|
};
|
|
4812
4815
|
} | undefined;
|
|
4813
4816
|
updatedAtLocation?: {
|
|
4814
4817
|
type: "within";
|
|
4815
4818
|
location: string | {
|
|
4816
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4819
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4817
4820
|
$location?: string | undefined;
|
|
4818
4821
|
};
|
|
4819
4822
|
} | {
|
|
4820
4823
|
type: "exact";
|
|
4821
4824
|
term: string | {
|
|
4822
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4825
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4823
4826
|
$location?: string | undefined;
|
|
4824
4827
|
};
|
|
4825
4828
|
} | undefined;
|
|
4826
4829
|
updatedByUserRole?: {
|
|
4827
4830
|
type: "exact";
|
|
4828
4831
|
term: string | {
|
|
4829
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4832
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4830
4833
|
$location?: string | undefined;
|
|
4831
4834
|
};
|
|
4832
4835
|
} | undefined;
|
|
4833
4836
|
assignedTo?: {
|
|
4834
4837
|
type: "exact";
|
|
4835
4838
|
term: string | {
|
|
4836
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4839
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4837
4840
|
$location?: string | undefined;
|
|
4838
4841
|
};
|
|
4839
4842
|
} | undefined;
|
|
4840
4843
|
createdBy?: {
|
|
4841
4844
|
type: "exact";
|
|
4842
4845
|
term: string | {
|
|
4843
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4846
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4844
4847
|
$location?: string | undefined;
|
|
4845
4848
|
};
|
|
4846
4849
|
} | undefined;
|
|
@@ -4851,7 +4854,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4851
4854
|
updatedBy?: {
|
|
4852
4855
|
type: "exact";
|
|
4853
4856
|
term: string | {
|
|
4854
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4857
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4855
4858
|
$location?: string | undefined;
|
|
4856
4859
|
};
|
|
4857
4860
|
} | undefined;
|
|
@@ -4901,7 +4904,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4901
4904
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4902
4905
|
type: "within";
|
|
4903
4906
|
location: string | {
|
|
4904
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4907
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4905
4908
|
$location?: string | undefined;
|
|
4906
4909
|
};
|
|
4907
4910
|
} | undefined;
|
|
@@ -4923,7 +4926,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4923
4926
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4924
4927
|
type: "within";
|
|
4925
4928
|
location: string | {
|
|
4926
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4929
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4927
4930
|
$location?: string | undefined;
|
|
4928
4931
|
};
|
|
4929
4932
|
} | undefined;
|
|
@@ -4938,47 +4941,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4938
4941
|
createdAtLocation?: {
|
|
4939
4942
|
type: "within";
|
|
4940
4943
|
location: string | {
|
|
4941
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4944
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4942
4945
|
$location?: string | undefined;
|
|
4943
4946
|
};
|
|
4944
4947
|
} | {
|
|
4945
4948
|
type: "exact";
|
|
4946
4949
|
term: string | {
|
|
4947
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4950
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4948
4951
|
$location?: string | undefined;
|
|
4949
4952
|
};
|
|
4950
4953
|
} | undefined;
|
|
4951
4954
|
updatedAtLocation?: {
|
|
4952
4955
|
type: "within";
|
|
4953
4956
|
location: string | {
|
|
4954
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4957
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4955
4958
|
$location?: string | undefined;
|
|
4956
4959
|
};
|
|
4957
4960
|
} | {
|
|
4958
4961
|
type: "exact";
|
|
4959
4962
|
term: string | {
|
|
4960
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4963
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4961
4964
|
$location?: string | undefined;
|
|
4962
4965
|
};
|
|
4963
4966
|
} | undefined;
|
|
4964
4967
|
updatedByUserRole?: {
|
|
4965
4968
|
type: "exact";
|
|
4966
4969
|
term: string | {
|
|
4967
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4970
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4968
4971
|
$location?: string | undefined;
|
|
4969
4972
|
};
|
|
4970
4973
|
} | undefined;
|
|
4971
4974
|
assignedTo?: {
|
|
4972
4975
|
type: "exact";
|
|
4973
4976
|
term: string | {
|
|
4974
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4977
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4975
4978
|
$location?: string | undefined;
|
|
4976
4979
|
};
|
|
4977
4980
|
} | undefined;
|
|
4978
4981
|
createdBy?: {
|
|
4979
4982
|
type: "exact";
|
|
4980
4983
|
term: string | {
|
|
4981
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4984
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4982
4985
|
$location?: string | undefined;
|
|
4983
4986
|
};
|
|
4984
4987
|
} | undefined;
|
|
@@ -4989,7 +4992,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4989
4992
|
updatedBy?: {
|
|
4990
4993
|
type: "exact";
|
|
4991
4994
|
term: string | {
|
|
4992
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4995
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4993
4996
|
$location?: string | undefined;
|
|
4994
4997
|
};
|
|
4995
4998
|
} | undefined;
|
|
@@ -5046,7 +5049,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5046
5049
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5047
5050
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5048
5051
|
} | {
|
|
5049
|
-
id: string
|
|
5052
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5050
5053
|
type: "user";
|
|
5051
5054
|
role: string;
|
|
5052
5055
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -5094,7 +5097,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5094
5097
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5095
5098
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5096
5099
|
} | {
|
|
5097
|
-
id: string
|
|
5100
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5098
5101
|
type: "user";
|
|
5099
5102
|
role: string;
|
|
5100
5103
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -5212,7 +5215,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5212
5215
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5213
5216
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5214
5217
|
} | {
|
|
5215
|
-
id: string
|
|
5218
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5216
5219
|
type: "user";
|
|
5217
5220
|
role: string;
|
|
5218
5221
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -5247,7 +5250,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5247
5250
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5248
5251
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5249
5252
|
} | {
|
|
5250
|
-
id: string
|
|
5253
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5251
5254
|
type: "user";
|
|
5252
5255
|
role: string;
|
|
5253
5256
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -60,6 +60,7 @@ export declare const UserAuditRecordInput: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
60
60
|
"user.password_changed": "user.password_changed";
|
|
61
61
|
"user.password_reset": "user.password_reset";
|
|
62
62
|
"user.password_reset_by_admin": "user.password_reset_by_admin";
|
|
63
|
+
"user.resend_invite": "user.resend_invite";
|
|
63
64
|
"user.username_reminder": "user.username_reminder";
|
|
64
65
|
"user.username_reminder_by_admin": "user.username_reminder_by_admin";
|
|
65
66
|
}>;
|
|
@@ -340,6 +341,7 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
340
341
|
"user.password_changed": "user.password_changed";
|
|
341
342
|
"user.password_reset": "user.password_reset";
|
|
342
343
|
"user.password_reset_by_admin": "user.password_reset_by_admin";
|
|
344
|
+
"user.resend_invite": "user.resend_invite";
|
|
343
345
|
"user.username_reminder": "user.username_reminder";
|
|
344
346
|
"user.username_reminder_by_admin": "user.username_reminder_by_admin";
|
|
345
347
|
}>;
|
|
@@ -5,6 +5,7 @@ export declare const TriggerEvent: {
|
|
|
5
5
|
readonly USERNAME_REMINDER: "username-reminder";
|
|
6
6
|
readonly RESET_PASSWORD: "reset-password";
|
|
7
7
|
readonly RESET_PASSWORD_BY_ADMIN: "reset-password-by-admin";
|
|
8
|
+
readonly RESEND_INVITE: "resend-invite";
|
|
8
9
|
readonly TWO_FA: "2fa";
|
|
9
10
|
readonly ALL_USER_NOTIFICATION: "all-user-notification";
|
|
10
11
|
readonly CHANGE_PHONE_NUMBER: "change-phone-number";
|
|
@@ -112,6 +113,20 @@ export declare const TriggerPayload: {
|
|
|
112
113
|
role: z.ZodString;
|
|
113
114
|
}, z.core.$strip>;
|
|
114
115
|
}, z.core.$strip>;
|
|
116
|
+
readonly "resend-invite": z.ZodObject<{
|
|
117
|
+
recipient: z.ZodObject<{
|
|
118
|
+
name: z.ZodOptional<z.ZodObject<{
|
|
119
|
+
firstname: z.ZodString;
|
|
120
|
+
surname: z.ZodString;
|
|
121
|
+
middlename: z.ZodOptional<z.ZodString>;
|
|
122
|
+
}, z.core.$strip>>;
|
|
123
|
+
mobile: z.ZodOptional<z.ZodString>;
|
|
124
|
+
email: z.ZodOptional<z.ZodString>;
|
|
125
|
+
bcc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
126
|
+
}, z.core.$strip>;
|
|
127
|
+
username: z.ZodString;
|
|
128
|
+
temporaryPassword: z.ZodString;
|
|
129
|
+
}, z.core.$strip>;
|
|
115
130
|
readonly "2fa": z.ZodObject<{
|
|
116
131
|
recipient: z.ZodObject<{
|
|
117
132
|
name: z.ZodOptional<z.ZodObject<{
|
package/dist/events/index.js
CHANGED
|
@@ -520,6 +520,7 @@ var UserSubjectOnlyEntrySchema = AuditLogEntryBase.extend({
|
|
|
520
520
|
"user.password_changed",
|
|
521
521
|
"user.password_reset",
|
|
522
522
|
"user.password_reset_by_admin",
|
|
523
|
+
"user.resend_invite",
|
|
523
524
|
"user.username_reminder",
|
|
524
525
|
"user.username_reminder_by_admin"
|
|
525
526
|
]),
|
|
@@ -6934,6 +6935,7 @@ var TriggerEvent = {
|
|
|
6934
6935
|
USERNAME_REMINDER: "username-reminder",
|
|
6935
6936
|
RESET_PASSWORD: "reset-password",
|
|
6936
6937
|
RESET_PASSWORD_BY_ADMIN: "reset-password-by-admin",
|
|
6938
|
+
RESEND_INVITE: "resend-invite",
|
|
6937
6939
|
TWO_FA: "2fa",
|
|
6938
6940
|
ALL_USER_NOTIFICATION: "all-user-notification",
|
|
6939
6941
|
CHANGE_PHONE_NUMBER: "change-phone-number",
|
|
@@ -6971,6 +6973,10 @@ var TriggerPayload = {
|
|
|
6971
6973
|
role: z44.string()
|
|
6972
6974
|
})
|
|
6973
6975
|
}),
|
|
6976
|
+
[TriggerEvent.RESEND_INVITE]: BasePayload.extend({
|
|
6977
|
+
username: z44.string(),
|
|
6978
|
+
temporaryPassword: z44.string()
|
|
6979
|
+
}),
|
|
6974
6980
|
[TriggerEvent.TWO_FA]: BasePayload.extend({
|
|
6975
6981
|
code: z44.string()
|
|
6976
6982
|
}),
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|