@nexeraid/identity-schemas 2.1.4-staging → 2.1.6-dev

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.
@@ -50,9 +50,9 @@ export declare const BeneficiaryVerificationStatus: z.ZodObject<{
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  name: string;
52
52
  customerId: string;
53
- externalUserId: string;
54
53
  applicantId: string;
55
54
  levelName: string;
55
+ externalUserId: string;
56
56
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
57
57
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
58
58
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -60,9 +60,9 @@ export declare const BeneficiaryVerificationStatus: z.ZodObject<{
60
60
  }, {
61
61
  name: string;
62
62
  customerId: string;
63
- externalUserId: string;
64
63
  applicantId: string;
65
64
  levelName: string;
65
+ externalUserId: string;
66
66
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
67
67
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
68
68
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -82,9 +82,9 @@ export declare const BeneficiaryVerificationStatusArray: z.ZodArray<z.ZodObject<
82
82
  }, "strip", z.ZodTypeAny, {
83
83
  name: string;
84
84
  customerId: string;
85
- externalUserId: string;
86
85
  applicantId: string;
87
86
  levelName: string;
87
+ externalUserId: string;
88
88
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
89
89
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
90
90
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -92,9 +92,9 @@ export declare const BeneficiaryVerificationStatusArray: z.ZodArray<z.ZodObject<
92
92
  }, {
93
93
  name: string;
94
94
  customerId: string;
95
- externalUserId: string;
96
95
  applicantId: string;
97
96
  levelName: string;
97
+ externalUserId: string;
98
98
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
99
99
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
100
100
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -126,9 +126,9 @@ export declare const SelectKybSession: z.ZodObject<{
126
126
  }, "strip", z.ZodTypeAny, {
127
127
  name: string;
128
128
  customerId: string;
129
- externalUserId: string;
130
129
  applicantId: string;
131
130
  levelName: string;
131
+ externalUserId: string;
132
132
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
133
133
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
134
134
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -136,9 +136,9 @@ export declare const SelectKybSession: z.ZodObject<{
136
136
  }, {
137
137
  name: string;
138
138
  customerId: string;
139
- externalUserId: string;
140
139
  applicantId: string;
141
140
  levelName: string;
141
+ externalUserId: string;
142
142
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
143
143
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
144
144
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -164,9 +164,9 @@ export declare const SelectKybSession: z.ZodObject<{
164
164
  beneficiaries?: {
165
165
  name: string;
166
166
  customerId: string;
167
- externalUserId: string;
168
167
  applicantId: string;
169
168
  levelName: string;
169
+ externalUserId: string;
170
170
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
171
171
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
172
172
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -190,9 +190,9 @@ export declare const SelectKybSession: z.ZodObject<{
190
190
  beneficiaries?: {
191
191
  name: string;
192
192
  customerId: string;
193
- externalUserId: string;
194
193
  applicantId: string;
195
194
  levelName: string;
195
+ externalUserId: string;
196
196
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
197
197
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
198
198
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -233,9 +233,9 @@ export declare const GetKybSessionResponse: z.ZodObject<{
233
233
  }, "strip", z.ZodTypeAny, {
234
234
  name: string;
235
235
  customerId: string;
236
- externalUserId: string;
237
236
  applicantId: string;
238
237
  levelName: string;
238
+ externalUserId: string;
239
239
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
240
240
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
241
241
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -243,9 +243,9 @@ export declare const GetKybSessionResponse: z.ZodObject<{
243
243
  }, {
244
244
  name: string;
245
245
  customerId: string;
246
- externalUserId: string;
247
246
  applicantId: string;
248
247
  levelName: string;
248
+ externalUserId: string;
249
249
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
250
250
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
251
251
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -271,9 +271,9 @@ export declare const GetKybSessionResponse: z.ZodObject<{
271
271
  beneficiaries?: {
272
272
  name: string;
273
273
  customerId: string;
274
- externalUserId: string;
275
274
  applicantId: string;
276
275
  levelName: string;
276
+ externalUserId: string;
277
277
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
278
278
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
279
279
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -297,9 +297,9 @@ export declare const GetKybSessionResponse: z.ZodObject<{
297
297
  beneficiaries?: {
298
298
  name: string;
299
299
  customerId: string;
300
- externalUserId: string;
301
300
  applicantId: string;
302
301
  levelName: string;
302
+ externalUserId: string;
303
303
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | null | undefined;
304
304
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
305
305
  type?: "shareholder" | "ubo" | "representative" | null | undefined;
@@ -337,8 +337,8 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
337
337
  type: "company" | "individual";
338
338
  key: string;
339
339
  createdAt: string;
340
- externalUserId: string;
341
340
  inspectionId: string;
341
+ externalUserId: string;
342
342
  clientId: string;
343
343
  applicantPlatform: string;
344
344
  review: {
@@ -430,8 +430,8 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
430
430
  type: "company" | "individual";
431
431
  key: string;
432
432
  createdAt: string;
433
- externalUserId: string;
434
433
  inspectionId: string;
434
+ externalUserId: string;
435
435
  clientId: string;
436
436
  applicantPlatform: string;
437
437
  review: {
@@ -760,8 +760,8 @@ export declare const SumSubCompanyApplicantSchema: z.ZodObject<{
760
760
  id: string;
761
761
  type: "company" | "individual";
762
762
  createdAt: string;
763
- externalUserId: string;
764
763
  inspectionId: string;
764
+ externalUserId: string;
765
765
  applicantPlatform: string;
766
766
  review: {
767
767
  levelName?: string | undefined;
@@ -824,8 +824,8 @@ export declare const SumSubCompanyApplicantSchema: z.ZodObject<{
824
824
  id: string;
825
825
  type: "company" | "individual";
826
826
  createdAt: string;
827
- externalUserId: string;
828
827
  inspectionId: string;
828
+ externalUserId: string;
829
829
  applicantPlatform: string;
830
830
  review: {
831
831
  levelName?: string | undefined;
@@ -1864,8 +1864,8 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
1864
1864
  type: "company" | "individual";
1865
1865
  key: string;
1866
1866
  createdAt: string;
1867
- externalUserId: string;
1868
1867
  inspectionId: string;
1868
+ externalUserId: string;
1869
1869
  clientId: string;
1870
1870
  applicantPlatform: string;
1871
1871
  review: {
@@ -1957,8 +1957,8 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
1957
1957
  type: "company" | "individual";
1958
1958
  key: string;
1959
1959
  createdAt: string;
1960
- externalUserId: string;
1961
1960
  inspectionId: string;
1961
+ externalUserId: string;
1962
1962
  clientId: string;
1963
1963
  applicantPlatform: string;
1964
1964
  review: {
@@ -2059,8 +2059,8 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
2059
2059
  type: "company" | "individual";
2060
2060
  key: string;
2061
2061
  createdAt: string;
2062
- externalUserId: string;
2063
2062
  inspectionId: string;
2063
+ externalUserId: string;
2064
2064
  clientId: string;
2065
2065
  applicantPlatform: string;
2066
2066
  review: {
@@ -2159,8 +2159,8 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
2159
2159
  type: "company" | "individual";
2160
2160
  key: string;
2161
2161
  createdAt: string;
2162
- externalUserId: string;
2163
2162
  inspectionId: string;
2163
+ externalUserId: string;
2164
2164
  clientId: string;
2165
2165
  applicantPlatform: string;
2166
2166
  review: {
@@ -2493,8 +2493,8 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
2493
2493
  id: string;
2494
2494
  type: "company" | "individual";
2495
2495
  createdAt: string;
2496
- externalUserId: string;
2497
2496
  inspectionId: string;
2497
+ externalUserId: string;
2498
2498
  applicantPlatform: string;
2499
2499
  review: {
2500
2500
  levelName?: string | undefined;
@@ -2557,8 +2557,8 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
2557
2557
  id: string;
2558
2558
  type: "company" | "individual";
2559
2559
  createdAt: string;
2560
- externalUserId: string;
2561
2560
  inspectionId: string;
2561
+ externalUserId: string;
2562
2562
  applicantPlatform: string;
2563
2563
  review: {
2564
2564
  levelName?: string | undefined;
@@ -2629,8 +2629,8 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
2629
2629
  id: string;
2630
2630
  type: "company" | "individual";
2631
2631
  createdAt: string;
2632
- externalUserId: string;
2633
2632
  inspectionId: string;
2633
+ externalUserId: string;
2634
2634
  applicantPlatform: string;
2635
2635
  review: {
2636
2636
  levelName?: string | undefined;
@@ -2700,8 +2700,8 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
2700
2700
  id: string;
2701
2701
  type: "company" | "individual";
2702
2702
  createdAt: string;
2703
- externalUserId: string;
2704
2703
  inspectionId: string;
2704
+ externalUserId: string;
2705
2705
  applicantPlatform: string;
2706
2706
  review: {
2707
2707
  levelName?: string | undefined;
@@ -3054,8 +3054,8 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
3054
3054
  type: "company" | "individual";
3055
3055
  key: string;
3056
3056
  createdAt: string;
3057
- externalUserId: string;
3058
3057
  inspectionId: string;
3058
+ externalUserId: string;
3059
3059
  clientId: string;
3060
3060
  applicantPlatform: string;
3061
3061
  review: {
@@ -3147,8 +3147,8 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
3147
3147
  type: "company" | "individual";
3148
3148
  key: string;
3149
3149
  createdAt: string;
3150
- externalUserId: string;
3151
3150
  inspectionId: string;
3151
+ externalUserId: string;
3152
3152
  clientId: string;
3153
3153
  applicantPlatform: string;
3154
3154
  review: {
@@ -3475,8 +3475,8 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
3475
3475
  id: string;
3476
3476
  type: "company" | "individual";
3477
3477
  createdAt: string;
3478
- externalUserId: string;
3479
3478
  inspectionId: string;
3479
+ externalUserId: string;
3480
3480
  applicantPlatform: string;
3481
3481
  review: {
3482
3482
  levelName?: string | undefined;
@@ -3539,8 +3539,8 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
3539
3539
  id: string;
3540
3540
  type: "company" | "individual";
3541
3541
  createdAt: string;
3542
- externalUserId: string;
3543
3542
  inspectionId: string;
3543
+ externalUserId: string;
3544
3544
  applicantPlatform: string;
3545
3545
  review: {
3546
3546
  levelName?: string | undefined;
@@ -3923,8 +3923,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
3923
3923
  type: "company" | "individual";
3924
3924
  key: string;
3925
3925
  createdAt: string;
3926
- externalUserId: string;
3927
3926
  inspectionId: string;
3927
+ externalUserId: string;
3928
3928
  clientId: string;
3929
3929
  applicantPlatform: string;
3930
3930
  review: {
@@ -4016,8 +4016,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
4016
4016
  type: "company" | "individual";
4017
4017
  key: string;
4018
4018
  createdAt: string;
4019
- externalUserId: string;
4020
4019
  inspectionId: string;
4020
+ externalUserId: string;
4021
4021
  clientId: string;
4022
4022
  applicantPlatform: string;
4023
4023
  review: {
@@ -4344,8 +4344,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
4344
4344
  id: string;
4345
4345
  type: "company" | "individual";
4346
4346
  createdAt: string;
4347
- externalUserId: string;
4348
4347
  inspectionId: string;
4348
+ externalUserId: string;
4349
4349
  applicantPlatform: string;
4350
4350
  review: {
4351
4351
  levelName?: string | undefined;
@@ -4408,8 +4408,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
4408
4408
  id: string;
4409
4409
  type: "company" | "individual";
4410
4410
  createdAt: string;
4411
- externalUserId: string;
4412
4411
  inspectionId: string;
4412
+ externalUserId: string;
4413
4413
  applicantPlatform: string;
4414
4414
  review: {
4415
4415
  levelName?: string | undefined;
@@ -4485,8 +4485,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
4485
4485
  type: "company" | "individual";
4486
4486
  key: string;
4487
4487
  createdAt: string;
4488
- externalUserId: string;
4489
4488
  inspectionId: string;
4489
+ externalUserId: string;
4490
4490
  clientId: string;
4491
4491
  applicantPlatform: string;
4492
4492
  review: {
@@ -4577,8 +4577,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
4577
4577
  id: string;
4578
4578
  type: "company" | "individual";
4579
4579
  createdAt: string;
4580
- externalUserId: string;
4581
4580
  inspectionId: string;
4581
+ externalUserId: string;
4582
4582
  applicantPlatform: string;
4583
4583
  review: {
4584
4584
  levelName?: string | undefined;
@@ -4652,8 +4652,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
4652
4652
  type: "company" | "individual";
4653
4653
  key: string;
4654
4654
  createdAt: string;
4655
- externalUserId: string;
4656
4655
  inspectionId: string;
4656
+ externalUserId: string;
4657
4657
  clientId: string;
4658
4658
  applicantPlatform: string;
4659
4659
  review: {
@@ -4744,8 +4744,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
4744
4744
  id: string;
4745
4745
  type: "company" | "individual";
4746
4746
  createdAt: string;
4747
- externalUserId: string;
4748
4747
  inspectionId: string;
4748
+ externalUserId: string;
4749
4749
  applicantPlatform: string;
4750
4750
  review: {
4751
4751
  levelName?: string | undefined;
@@ -5104,8 +5104,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
5104
5104
  type: "company" | "individual";
5105
5105
  key: string;
5106
5106
  createdAt: string;
5107
- externalUserId: string;
5108
5107
  inspectionId: string;
5108
+ externalUserId: string;
5109
5109
  clientId: string;
5110
5110
  applicantPlatform: string;
5111
5111
  review: {
@@ -5197,8 +5197,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
5197
5197
  type: "company" | "individual";
5198
5198
  key: string;
5199
5199
  createdAt: string;
5200
- externalUserId: string;
5201
5200
  inspectionId: string;
5201
+ externalUserId: string;
5202
5202
  clientId: string;
5203
5203
  applicantPlatform: string;
5204
5204
  review: {
@@ -5525,8 +5525,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
5525
5525
  id: string;
5526
5526
  type: "company" | "individual";
5527
5527
  createdAt: string;
5528
- externalUserId: string;
5529
5528
  inspectionId: string;
5529
+ externalUserId: string;
5530
5530
  applicantPlatform: string;
5531
5531
  review: {
5532
5532
  levelName?: string | undefined;
@@ -5589,8 +5589,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
5589
5589
  id: string;
5590
5590
  type: "company" | "individual";
5591
5591
  createdAt: string;
5592
- externalUserId: string;
5593
5592
  inspectionId: string;
5593
+ externalUserId: string;
5594
5594
  applicantPlatform: string;
5595
5595
  review: {
5596
5596
  levelName?: string | undefined;
@@ -5666,8 +5666,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
5666
5666
  type: "company" | "individual";
5667
5667
  key: string;
5668
5668
  createdAt: string;
5669
- externalUserId: string;
5670
5669
  inspectionId: string;
5670
+ externalUserId: string;
5671
5671
  clientId: string;
5672
5672
  applicantPlatform: string;
5673
5673
  review: {
@@ -5758,8 +5758,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
5758
5758
  id: string;
5759
5759
  type: "company" | "individual";
5760
5760
  createdAt: string;
5761
- externalUserId: string;
5762
5761
  inspectionId: string;
5762
+ externalUserId: string;
5763
5763
  applicantPlatform: string;
5764
5764
  review: {
5765
5765
  levelName?: string | undefined;
@@ -5833,8 +5833,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
5833
5833
  type: "company" | "individual";
5834
5834
  key: string;
5835
5835
  createdAt: string;
5836
- externalUserId: string;
5837
5836
  inspectionId: string;
5837
+ externalUserId: string;
5838
5838
  clientId: string;
5839
5839
  applicantPlatform: string;
5840
5840
  review: {
@@ -5925,8 +5925,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
5925
5925
  id: string;
5926
5926
  type: "company" | "individual";
5927
5927
  createdAt: string;
5928
- externalUserId: string;
5929
5928
  inspectionId: string;
5929
+ externalUserId: string;
5930
5930
  applicantPlatform: string;
5931
5931
  review: {
5932
5932
  levelName?: string | undefined;
@@ -6002,8 +6002,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
6002
6002
  type: "company" | "individual";
6003
6003
  key: string;
6004
6004
  createdAt: string;
6005
- externalUserId: string;
6006
6005
  inspectionId: string;
6006
+ externalUserId: string;
6007
6007
  clientId: string;
6008
6008
  applicantPlatform: string;
6009
6009
  review: {
@@ -6094,8 +6094,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
6094
6094
  id: string;
6095
6095
  type: "company" | "individual";
6096
6096
  createdAt: string;
6097
- externalUserId: string;
6098
6097
  inspectionId: string;
6098
+ externalUserId: string;
6099
6099
  applicantPlatform: string;
6100
6100
  review: {
6101
6101
  levelName?: string | undefined;
@@ -6171,8 +6171,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
6171
6171
  type: "company" | "individual";
6172
6172
  key: string;
6173
6173
  createdAt: string;
6174
- externalUserId: string;
6175
6174
  inspectionId: string;
6175
+ externalUserId: string;
6176
6176
  clientId: string;
6177
6177
  applicantPlatform: string;
6178
6178
  review: {
@@ -6263,8 +6263,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
6263
6263
  id: string;
6264
6264
  type: "company" | "individual";
6265
6265
  createdAt: string;
6266
- externalUserId: string;
6267
6266
  inspectionId: string;
6267
+ externalUserId: string;
6268
6268
  applicantPlatform: string;
6269
6269
  review: {
6270
6270
  levelName?: string | undefined;
@@ -59,13 +59,13 @@ export declare const SumSubWebhookSchema: z.ZodObject<{
59
59
  sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  }, "strip", z.ZodTypeAny, {
61
61
  type: "applicantReviewed" | "applicantCreated" | "applicantPending" | "applicantOnHold" | "applicantPersonalInfoChanged" | "applicantPrechecked" | "applicantDeleted" | "applicantLevelChanged" | "videoIdentStatusChanged" | "applicantReset" | "applicantActionPending" | "applicantActionReviewed" | "applicantActionOnHold" | "applicantTravelRuleStatusChanged" | "applicantWorkflowCompleted" | "applicantTagsChanged";
62
- externalUserId: string;
63
62
  applicantId: string;
64
63
  inspectionId: string;
65
64
  applicantType: "company" | "individual";
66
65
  correlationId: string;
67
66
  levelName: "basic-kyc-level" | "basic-kyc-level+aml" | "liveness-level" | "id+liveness" | "kyc" | "phone-level" | "kyc_video" | "nid-idscan-selfie-por" | "NID - ID Scan + Selfie + POR" | "nid-idscan-selfie" | "NIDKYB" | "selfie" | "ID Scan" | "kyc-video-id+selfie" | "kyc-video-id+selfie+por";
68
67
  sandboxMode: boolean;
68
+ externalUserId: string;
69
69
  reviewStatus: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold";
70
70
  clientId: string;
71
71
  sessionId?: string | null | undefined;
@@ -85,13 +85,13 @@ export declare const SumSubWebhookSchema: z.ZodObject<{
85
85
  }[] | null | undefined;
86
86
  }, {
87
87
  type: "applicantReviewed" | "applicantCreated" | "applicantPending" | "applicantOnHold" | "applicantPersonalInfoChanged" | "applicantPrechecked" | "applicantDeleted" | "applicantLevelChanged" | "videoIdentStatusChanged" | "applicantReset" | "applicantActionPending" | "applicantActionReviewed" | "applicantActionOnHold" | "applicantTravelRuleStatusChanged" | "applicantWorkflowCompleted" | "applicantTagsChanged";
88
- externalUserId: string;
89
88
  applicantId: string;
90
89
  inspectionId: string;
91
90
  applicantType: "company" | "individual";
92
91
  correlationId: string;
93
92
  levelName: "basic-kyc-level" | "basic-kyc-level+aml" | "liveness-level" | "id+liveness" | "kyc" | "phone-level" | "kyc_video" | "nid-idscan-selfie-por" | "NID - ID Scan + Selfie + POR" | "nid-idscan-selfie" | "NIDKYB" | "selfie" | "ID Scan" | "kyc-video-id+selfie" | "kyc-video-id+selfie+por";
94
93
  sandboxMode: boolean;
94
+ externalUserId: string;
95
95
  reviewStatus: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold";
96
96
  clientId: string;
97
97
  sessionId?: string | null | undefined;
@@ -148,11 +148,11 @@ export declare const BaseApplicantActionSchema: z.ZodObject<{
148
148
  }>;
149
149
  }, "strip", z.ZodTypeAny, {
150
150
  type: "applicantReviewed" | "applicantCreated" | "applicantPending" | "applicantOnHold" | "applicantPersonalInfoChanged" | "applicantPrechecked" | "applicantDeleted" | "applicantLevelChanged" | "videoIdentStatusChanged" | "applicantReset" | "applicantActionPending" | "applicantActionReviewed" | "applicantActionOnHold" | "applicantTravelRuleStatusChanged" | "applicantWorkflowCompleted" | "applicantTagsChanged";
151
- externalUserId: string;
152
151
  applicantId: string;
153
152
  inspectionId: string;
154
153
  applicantType: "company" | "individual";
155
154
  correlationId: string;
155
+ externalUserId: string;
156
156
  reviewResult: {
157
157
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | undefined;
158
158
  reviewRejectType?: "FINAL" | "RETRY" | undefined;
@@ -168,11 +168,11 @@ export declare const BaseApplicantActionSchema: z.ZodObject<{
168
168
  externalApplicantActionId: string;
169
169
  }, {
170
170
  type: "applicantReviewed" | "applicantCreated" | "applicantPending" | "applicantOnHold" | "applicantPersonalInfoChanged" | "applicantPrechecked" | "applicantDeleted" | "applicantLevelChanged" | "videoIdentStatusChanged" | "applicantReset" | "applicantActionPending" | "applicantActionReviewed" | "applicantActionOnHold" | "applicantTravelRuleStatusChanged" | "applicantWorkflowCompleted" | "applicantTagsChanged";
171
- externalUserId: string;
172
171
  applicantId: string;
173
172
  inspectionId: string;
174
173
  applicantType: "company" | "individual";
175
174
  correlationId: string;
175
+ externalUserId: string;
176
176
  reviewResult: {
177
177
  reviewAnswer?: "RED" | "YELLOW" | "GREEN" | undefined;
178
178
  reviewRejectType?: "FINAL" | "RETRY" | undefined;
@@ -6,7 +6,7 @@ export declare const AlertWebhookPayload: z.ZodObject<{
6
6
  type: z.ZodEnum<["AML Screening", "IP Screening", "Email Screening", "KYC Drop-off", "Onchain Monitoring", "Fraud", "Transaction Monitoring", "Duplicate"]>;
7
7
  status: z.ZodEnum<["Open", "Under Investigation", "Pending", "Closed", "Escalated"]>;
8
8
  customerId: z.ZodString;
9
- externalUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ externalCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  cmsProjectId: z.ZodOptional<z.ZodString>;
11
11
  createdAt: z.ZodDate;
12
12
  updatedAt: z.ZodDate;
@@ -21,7 +21,7 @@ export declare const AlertWebhookPayload: z.ZodObject<{
21
21
  customerId: string;
22
22
  severity: "Low" | "Medium" | "High";
23
23
  category: "Onboarding" | "Ongoing monitoring";
24
- externalUserId?: string | null | undefined;
24
+ externalCustomerId?: string | null | undefined;
25
25
  cmsProjectId?: string | undefined;
26
26
  deletedBy?: string | null | undefined;
27
27
  deletedAt?: Date | null | undefined;
@@ -34,7 +34,7 @@ export declare const AlertWebhookPayload: z.ZodObject<{
34
34
  customerId: string;
35
35
  severity: "Low" | "Medium" | "High";
36
36
  category: "Onboarding" | "Ongoing monitoring";
37
- externalUserId?: string | null | undefined;
37
+ externalCustomerId?: string | null | undefined;
38
38
  cmsProjectId?: string | undefined;
39
39
  deletedBy?: string | null | undefined;
40
40
  deletedAt?: Date | null | undefined;