@opencrvs/toolkit 2.0.0-rc.e0918cb → 2.0.0-rc.f281551

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.
@@ -2,7 +2,7 @@ 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
8
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -24,7 +24,7 @@ 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
30
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -46,7 +46,7 @@ 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
52
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -92,7 +92,7 @@ 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
98
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1054,7 +1054,7 @@ 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
1060
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1133,7 +1133,7 @@ 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
1139
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1155,7 +1155,7 @@ 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
1161
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1199,7 +1199,7 @@ 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
1205
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1552,7 +1552,7 @@ 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
1558
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1596,7 +1596,7 @@ 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
1602
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1640,7 +1640,7 @@ 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
1646
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1684,7 +1684,7 @@ 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
1690
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1728,7 +1728,7 @@ 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
1734
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -1772,7 +1772,7 @@ 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
1778
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2126,7 +2126,7 @@ 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
2132
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2779,7 +2779,7 @@ 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
2785
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2801,7 +2801,7 @@ 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
2807
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2845,7 +2845,7 @@ 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
2851
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2889,7 +2889,7 @@ 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
2895
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -2934,7 +2934,7 @@ 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
2940
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -3952,7 +3952,7 @@ 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
3958
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -3975,10 +3975,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3975
3975
  output: {
3976
3976
  id: string & import("zod").$brand<"UUID">;
3977
3977
  name: {
3978
- use: string;
3979
- given: string[];
3980
- family: string;
3981
- }[];
3978
+ firstname: string;
3979
+ surname: string;
3980
+ };
3982
3981
  role: string;
3983
3982
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3984
3983
  type: "user";
@@ -3992,7 +3991,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3992
3991
  email?: string | undefined;
3993
3992
  data?: Record<string, import("../commons").FieldValue> | undefined;
3994
3993
  } | {
3995
- id: string;
3994
+ id: string & import("zod").$brand<"UUID">;
3996
3995
  name: string;
3997
3996
  type: "system";
3998
3997
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4008,10 +4007,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4008
4007
  create: import("@trpc/server").TRPCMutationProcedure<{
4009
4008
  input: {
4010
4009
  name: {
4011
- use: string;
4012
- given: string[];
4013
- family: string;
4014
- }[];
4010
+ firstname: string;
4011
+ surname: string;
4012
+ };
4015
4013
  role: string;
4016
4014
  primaryOfficeId: string;
4017
4015
  data?: Record<string, unknown> | undefined;
@@ -4029,10 +4027,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4029
4027
  output: {
4030
4028
  id: string & import("zod").$brand<"UUID">;
4031
4029
  name: {
4032
- use: string;
4033
- given: string[];
4034
- family: string;
4035
- }[];
4030
+ firstname: string;
4031
+ surname: string;
4032
+ };
4036
4033
  role: string;
4037
4034
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4038
4035
  type: "user";
@@ -4053,10 +4050,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4053
4050
  id: string;
4054
4051
  data?: Record<string, unknown> | undefined;
4055
4052
  name?: {
4056
- use: string;
4057
- given: string[];
4058
- family: string;
4059
- }[] | undefined;
4053
+ firstname: string;
4054
+ surname: string;
4055
+ } | undefined;
4060
4056
  role?: string | undefined;
4061
4057
  fullHonorificName?: string | undefined;
4062
4058
  device?: string | undefined;
@@ -4075,10 +4071,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4075
4071
  output: {
4076
4072
  id: string & import("zod").$brand<"UUID">;
4077
4073
  name: {
4078
- use: string;
4079
- given: string[];
4080
- family: string;
4081
- }[];
4074
+ firstname: string;
4075
+ surname: string;
4076
+ };
4082
4077
  role: string;
4083
4078
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4084
4079
  type: "user";
@@ -4099,10 +4094,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4099
4094
  output: ({
4100
4095
  id: string & import("zod").$brand<"UUID">;
4101
4096
  name: {
4102
- use: string;
4103
- given: string[];
4104
- family: string;
4105
- }[];
4097
+ firstname: string;
4098
+ surname: string;
4099
+ };
4106
4100
  role: string;
4107
4101
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4108
4102
  type: "user";
@@ -4116,7 +4110,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4116
4110
  email?: string | undefined;
4117
4111
  data?: Record<string, import("../commons").FieldValue> | undefined;
4118
4112
  } | {
4119
- id: string;
4113
+ id: string & import("zod").$brand<"UUID">;
4120
4114
  name: string;
4121
4115
  type: "system";
4122
4116
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4144,10 +4138,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4144
4138
  output: ({
4145
4139
  id: string & import("zod").$brand<"UUID">;
4146
4140
  name: {
4147
- use: string;
4148
- given: string[];
4149
- family: string;
4150
- }[];
4141
+ firstname: string;
4142
+ surname: string;
4143
+ };
4151
4144
  role: string;
4152
4145
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4153
4146
  type: "user";
@@ -4161,7 +4154,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4161
4154
  email?: string | undefined;
4162
4155
  data?: Record<string, import("../commons").FieldValue> | undefined;
4163
4156
  } | {
4164
- id: string;
4157
+ id: string & import("zod").$brand<"UUID">;
4165
4158
  name: string;
4166
4159
  type: "system";
4167
4160
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4216,7 +4209,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4216
4209
  ctx: Partial<{
4217
4210
  token: `Bearer ${string}`;
4218
4211
  user: {
4219
- id: string;
4212
+ id: string & import("zod").$brand<"UUID">;
4220
4213
  type: "system";
4221
4214
  signature?: undefined;
4222
4215
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4291,6 +4284,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4291
4284
  output: void;
4292
4285
  meta: import("trpc-to-openapi").OpenApiMeta;
4293
4286
  }>;
4287
+ resendInvite: import("@trpc/server").TRPCMutationProcedure<{
4288
+ input: string;
4289
+ output: void;
4290
+ meta: import("trpc-to-openapi").OpenApiMeta;
4291
+ }>;
4294
4292
  activate: import("@trpc/server").TRPCMutationProcedure<{
4295
4293
  input: {
4296
4294
  userId: string;
@@ -4308,11 +4306,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4308
4306
  output: void;
4309
4307
  meta: import("trpc-to-openapi").OpenApiMeta;
4310
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}`;
4314
4317
  user: {
4315
- id: string;
4318
+ id: string & import("zod").$brand<"UUID">;
4316
4319
  type: "system";
4317
4320
  signature?: undefined;
4318
4321
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -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
  };
@@ -4605,7 +4608,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4605
4608
  ctx: Partial<{
4606
4609
  token: `Bearer ${string}`;
4607
4610
  user: {
4608
- id: string;
4611
+ id: string & import("zod").$brand<"UUID">;
4609
4612
  type: "system";
4610
4613
  signature?: undefined;
4611
4614
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4678,7 +4681,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4678
4681
  ctx: Partial<{
4679
4682
  token: `Bearer ${string}`;
4680
4683
  user: {
4681
- id: string;
4684
+ id: string & import("zod").$brand<"UUID">;
4682
4685
  type: "system";
4683
4686
  signature?: undefined;
4684
4687
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -4700,7 +4703,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4700
4703
  ctx: Partial<{
4701
4704
  token: `Bearer ${string}`;
4702
4705
  user: {
4703
- id: string;
4706
+ id: string & import("zod").$brand<"UUID">;
4704
4707
  type: "system";
4705
4708
  signature?: undefined;
4706
4709
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -5040,7 +5043,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5040
5043
  ctx: Partial<{
5041
5044
  token: `Bearer ${string}`;
5042
5045
  user: {
5043
- id: string;
5046
+ id: string & import("zod").$brand<"UUID">;
5044
5047
  type: "system";
5045
5048
  signature?: undefined;
5046
5049
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -5088,7 +5091,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5088
5091
  ctx: Partial<{
5089
5092
  token: `Bearer ${string}`;
5090
5093
  user: {
5091
- id: string;
5094
+ id: string & import("zod").$brand<"UUID">;
5092
5095
  type: "system";
5093
5096
  signature?: undefined;
5094
5097
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -5140,7 +5143,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5140
5143
  scopes: string[];
5141
5144
  status: string;
5142
5145
  createdAt: string;
5143
- createdBy: string;
5146
+ createdBy: string & import("zod").$brand<"UUID">;
5144
5147
  }[];
5145
5148
  meta: import("trpc-to-openapi").OpenApiMeta;
5146
5149
  }>;
@@ -5155,7 +5158,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5155
5158
  status: string;
5156
5159
  shaSecret: string | null;
5157
5160
  createdAt: string;
5158
- createdBy: string;
5161
+ createdBy: string & import("zod").$brand<"UUID">;
5159
5162
  };
5160
5163
  meta: import("trpc-to-openapi").OpenApiMeta;
5161
5164
  }>;
@@ -5206,7 +5209,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5206
5209
  ctx: Partial<{
5207
5210
  token: `Bearer ${string}`;
5208
5211
  user: {
5209
- id: string;
5212
+ id: string & import("zod").$brand<"UUID">;
5210
5213
  type: "system";
5211
5214
  signature?: undefined;
5212
5215
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -5241,7 +5244,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5241
5244
  ctx: Partial<{
5242
5245
  token: `Bearer ${string}`;
5243
5246
  user: {
5244
- id: string;
5247
+ id: string & import("zod").$brand<"UUID">;
5245
5248
  type: "system";
5246
5249
  signature?: undefined;
5247
5250
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
@@ -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<{
@@ -938,6 +938,7 @@ var UserSubjectOnlyEntrySchema = AuditLogEntryBase.extend({
938
938
  "user.password_changed",
939
939
  "user.password_reset",
940
940
  "user.password_reset_by_admin",
941
+ "user.resend_invite",
941
942
  "user.username_reminder",
942
943
  "user.username_reminder_by_admin"
943
944
  ]),
@@ -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
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.0.0-rc.e0918cb",
3
+ "version": "2.0.0-rc.f281551",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {