@nexeraid/identity-schemas 2.7.0-dev → 2.8.0-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.
Files changed (49) hide show
  1. package/dist/{customers.schema-25c9bc0a.esm.js → customers.schema-0bfe7ed2.esm.js} +1 -1
  2. package/dist/{customers.schema-7ac300ea.cjs.dev.js → customers.schema-1bf4fe64.cjs.dev.js} +1 -1
  3. package/dist/{customers.schema-a484549e.cjs.prod.js → customers.schema-80e163e9.cjs.prod.js} +1 -1
  4. package/dist/declarations/src/identity/app-requests.schema.d.ts +109 -104
  5. package/dist/declarations/src/identity/app-requests.schema.d.ts.map +1 -1
  6. package/dist/declarations/src/identity/identity-v2.schema.d.ts +25 -24
  7. package/dist/declarations/src/identity/identity-v2.schema.d.ts.map +1 -1
  8. package/dist/declarations/src/identity/index.d.ts +1 -2
  9. package/dist/declarations/src/identity/index.d.ts.map +1 -1
  10. package/dist/declarations/src/identity/kyc.schema.d.ts +31 -194
  11. package/dist/declarations/src/identity/kyc.schema.d.ts.map +1 -1
  12. package/dist/declarations/src/identity/query.schema.d.ts +178 -0
  13. package/dist/declarations/src/identity/query.schema.d.ts.map +1 -1
  14. package/dist/declarations/src/identity/scenario.schema.d.ts +1180 -0
  15. package/dist/declarations/src/identity/scenario.schema.d.ts.map +1 -0
  16. package/dist/declarations/src/identity/zkps.schema.d.ts +0 -744
  17. package/dist/declarations/src/identity/zkps.schema.d.ts.map +1 -1
  18. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +63 -60
  19. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts.map +1 -1
  20. package/dist/{frontend-utilities.schema-2ad117b9.cjs.prod.js → frontend-utilities.schema-63c0c3ec.cjs.prod.js} +1 -1
  21. package/dist/{frontend-utilities.schema-a0cf242f.cjs.dev.js → frontend-utilities.schema-7ec52bb3.cjs.dev.js} +1 -1
  22. package/dist/{frontend-utilities.schema-3e61e949.esm.js → frontend-utilities.schema-c53dbf36.esm.js} +1 -1
  23. package/dist/{identity-api.schema-08b1e63d.cjs.dev.js → identity-api.schema-725ecd1d.cjs.prod.js} +357 -437
  24. package/dist/{identity-api.schema-a01dae12.esm.js → identity-api.schema-a3f556f3.esm.js} +351 -424
  25. package/dist/{identity-api.schema-1b5f26e1.cjs.prod.js → identity-api.schema-e1fe9b0e.cjs.dev.js} +357 -437
  26. package/dist/nexeraid-identity-schemas.cjs.dev.js +10 -17
  27. package/dist/nexeraid-identity-schemas.cjs.prod.js +10 -17
  28. package/dist/nexeraid-identity-schemas.esm.js +4 -4
  29. package/dist/package.json +1 -1
  30. package/dist/{transaction.schema-3ac3062a.cjs.prod.js → transaction.schema-1534b40f.cjs.prod.js} +1 -1
  31. package/dist/{transaction.schema-1e7e4f0c.esm.js → transaction.schema-221579a3.esm.js} +1 -1
  32. package/dist/{transaction.schema-c69db067.cjs.dev.js → transaction.schema-4195655f.cjs.dev.js} +1 -1
  33. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +8 -15
  34. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +8 -15
  35. package/identity/dist/nexeraid-identity-schemas-identity.esm.js +1 -1
  36. package/package.json +1 -1
  37. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +2 -2
  38. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +2 -2
  39. package/providers/dist/nexeraid-identity-schemas-providers.esm.js +2 -2
  40. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2 -2
  41. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2 -2
  42. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2 -2
  43. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +4 -4
  44. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +4 -4
  45. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +4 -4
  46. package/dist/declarations/src/identity/challenge-query.schema.d.ts +0 -1246
  47. package/dist/declarations/src/identity/challenge-query.schema.d.ts.map +0 -1
  48. package/dist/declarations/src/identity/execute-scenario.schema.d.ts +0 -136
  49. package/dist/declarations/src/identity/execute-scenario.schema.d.ts.map +0 -1
@@ -0,0 +1,1180 @@
1
+ import { z } from "zod";
2
+ export declare const ScenarioTypes: readonly ["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"];
3
+ export declare const ScenarioType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
4
+ export type ScenarioType = z.infer<typeof ScenarioType>;
5
+ export declare const BaseQueryResponse: z.ZodObject<{
6
+ result: z.ZodObject<{
7
+ is_valid: z.ZodBoolean;
8
+ reasons: z.ZodArray<z.ZodString, "many">;
9
+ }, "strip", z.ZodTypeAny, {
10
+ is_valid: boolean;
11
+ reasons: string[];
12
+ }, {
13
+ is_valid: boolean;
14
+ reasons: string[];
15
+ }>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ result: {
18
+ is_valid: boolean;
19
+ reasons: string[];
20
+ };
21
+ }, {
22
+ result: {
23
+ is_valid: boolean;
24
+ reasons: string[];
25
+ };
26
+ }>;
27
+ export type BaseQueryResponse = z.infer<typeof BaseQueryResponse>;
28
+ export declare const OffChainZKPRuleResult: z.ZodObject<z.objectUtil.extendShape<{
29
+ result: z.ZodObject<{
30
+ is_valid: z.ZodBoolean;
31
+ reasons: z.ZodArray<z.ZodString, "many">;
32
+ }, "strip", z.ZodTypeAny, {
33
+ is_valid: boolean;
34
+ reasons: string[];
35
+ }, {
36
+ is_valid: boolean;
37
+ reasons: string[];
38
+ }>;
39
+ }, {
40
+ result: z.ZodObject<{
41
+ is_valid: z.ZodBoolean;
42
+ query: z.ZodObject<{
43
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
44
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ attribute: z.ZodString;
46
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
47
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ value: string | number | boolean | string[] | number[];
50
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
51
+ attribute: string;
52
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
53
+ requestId?: number | null | undefined;
54
+ }, {
55
+ value: string | number | boolean | string[] | number[];
56
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
57
+ attribute: string;
58
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
59
+ requestId?: number | null | undefined;
60
+ }>;
61
+ reasons: z.ZodArray<z.ZodString, "many">;
62
+ }, "strip", z.ZodTypeAny, {
63
+ query: {
64
+ value: string | number | boolean | string[] | number[];
65
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
66
+ attribute: string;
67
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
68
+ requestId?: number | null | undefined;
69
+ };
70
+ is_valid: boolean;
71
+ reasons: string[];
72
+ }, {
73
+ query: {
74
+ value: string | number | boolean | string[] | number[];
75
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
76
+ attribute: string;
77
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
78
+ requestId?: number | null | undefined;
79
+ };
80
+ is_valid: boolean;
81
+ reasons: string[];
82
+ }>;
83
+ }>, "strip", z.ZodTypeAny, {
84
+ result: {
85
+ query: {
86
+ value: string | number | boolean | string[] | number[];
87
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
88
+ attribute: string;
89
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
90
+ requestId?: number | null | undefined;
91
+ };
92
+ is_valid: boolean;
93
+ reasons: string[];
94
+ };
95
+ }, {
96
+ result: {
97
+ query: {
98
+ value: string | number | boolean | string[] | number[];
99
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
100
+ attribute: string;
101
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
102
+ requestId?: number | null | undefined;
103
+ };
104
+ is_valid: boolean;
105
+ reasons: string[];
106
+ };
107
+ }>;
108
+ export type OffChainZKPRuleResult = z.infer<typeof OffChainZKPRuleResult>;
109
+ export declare const ExecuteQueryResponse: z.ZodObject<z.objectUtil.extendShape<{
110
+ result: z.ZodObject<{
111
+ is_valid: z.ZodBoolean;
112
+ reasons: z.ZodArray<z.ZodString, "many">;
113
+ }, "strip", z.ZodTypeAny, {
114
+ is_valid: boolean;
115
+ reasons: string[];
116
+ }, {
117
+ is_valid: boolean;
118
+ reasons: string[];
119
+ }>;
120
+ }, {
121
+ executionId: z.ZodString;
122
+ }>, "strip", z.ZodTypeAny, {
123
+ result: {
124
+ is_valid: boolean;
125
+ reasons: string[];
126
+ };
127
+ executionId: string;
128
+ }, {
129
+ result: {
130
+ is_valid: boolean;
131
+ reasons: string[];
132
+ };
133
+ executionId: string;
134
+ }>;
135
+ export declare const RuleEngineResponse: z.ZodObject<{
136
+ objectType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
137
+ objectId: z.ZodString;
138
+ name: z.ZodString;
139
+ address: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `tz${string}`, string>, z.ZodEffects<z.ZodString, `KT1${string}`, string>]>, z.ZodEffects<z.ZodString, string, string>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `cosmos${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `addr${string}`, string>]>>>;
140
+ result: z.ZodObject<z.objectUtil.extendShape<{
141
+ result: z.ZodObject<{
142
+ is_valid: z.ZodBoolean;
143
+ reasons: z.ZodArray<z.ZodString, "many">;
144
+ }, "strip", z.ZodTypeAny, {
145
+ is_valid: boolean;
146
+ reasons: string[];
147
+ }, {
148
+ is_valid: boolean;
149
+ reasons: string[];
150
+ }>;
151
+ }, {
152
+ executionId: z.ZodString;
153
+ }>, "strip", z.ZodTypeAny, {
154
+ result: {
155
+ is_valid: boolean;
156
+ reasons: string[];
157
+ };
158
+ executionId: string;
159
+ }, {
160
+ result: {
161
+ is_valid: boolean;
162
+ reasons: string[];
163
+ };
164
+ executionId: string;
165
+ }>;
166
+ executionId: z.ZodString;
167
+ scenarioId: z.ZodString;
168
+ }, "strip", z.ZodTypeAny, {
169
+ name: string;
170
+ result: {
171
+ result: {
172
+ is_valid: boolean;
173
+ reasons: string[];
174
+ };
175
+ executionId: string;
176
+ };
177
+ executionId: string;
178
+ scenarioId: string;
179
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
180
+ objectId: string;
181
+ address?: string | null | undefined;
182
+ }, {
183
+ name: string;
184
+ result: {
185
+ result: {
186
+ is_valid: boolean;
187
+ reasons: string[];
188
+ };
189
+ executionId: string;
190
+ };
191
+ executionId: string;
192
+ scenarioId: string;
193
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
194
+ objectId: string;
195
+ address?: string | null | undefined;
196
+ }>;
197
+ export type RuleEngineResponse = z.infer<typeof RuleEngineResponse>;
198
+ export declare const ScenarioExecutionResponse: z.ZodArray<z.ZodObject<{
199
+ objectType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
200
+ objectId: z.ZodString;
201
+ name: z.ZodString;
202
+ address: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `tz${string}`, string>, z.ZodEffects<z.ZodString, `KT1${string}`, string>]>, z.ZodEffects<z.ZodString, string, string>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `cosmos${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `addr${string}`, string>]>>>;
203
+ result: z.ZodObject<z.objectUtil.extendShape<{
204
+ result: z.ZodObject<{
205
+ is_valid: z.ZodBoolean;
206
+ reasons: z.ZodArray<z.ZodString, "many">;
207
+ }, "strip", z.ZodTypeAny, {
208
+ is_valid: boolean;
209
+ reasons: string[];
210
+ }, {
211
+ is_valid: boolean;
212
+ reasons: string[];
213
+ }>;
214
+ }, {
215
+ executionId: z.ZodString;
216
+ }>, "strip", z.ZodTypeAny, {
217
+ result: {
218
+ is_valid: boolean;
219
+ reasons: string[];
220
+ };
221
+ executionId: string;
222
+ }, {
223
+ result: {
224
+ is_valid: boolean;
225
+ reasons: string[];
226
+ };
227
+ executionId: string;
228
+ }>;
229
+ executionId: z.ZodString;
230
+ scenarioId: z.ZodString;
231
+ }, "strip", z.ZodTypeAny, {
232
+ name: string;
233
+ result: {
234
+ result: {
235
+ is_valid: boolean;
236
+ reasons: string[];
237
+ };
238
+ executionId: string;
239
+ };
240
+ executionId: string;
241
+ scenarioId: string;
242
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
243
+ objectId: string;
244
+ address?: string | null | undefined;
245
+ }, {
246
+ name: string;
247
+ result: {
248
+ result: {
249
+ is_valid: boolean;
250
+ reasons: string[];
251
+ };
252
+ executionId: string;
253
+ };
254
+ executionId: string;
255
+ scenarioId: string;
256
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
257
+ objectId: string;
258
+ address?: string | null | undefined;
259
+ }>, "many">;
260
+ export type ScenarioExecutionResponse = z.infer<typeof ScenarioExecutionResponse>;
261
+ export declare const RuleResultStatuses: readonly ["valid", "not-valid", "error", "unknown"];
262
+ export declare const RuleResultStatus: z.ZodEnum<["valid", "not-valid", "error", "unknown"]>;
263
+ export type RuleResultStatus = z.infer<typeof RuleResultStatus>;
264
+ export declare const RuleResultStatusLabels: Record<RuleResultStatus, string>;
265
+ export declare const SdkVerificationOutput: z.ZodObject<{
266
+ customerId: z.ZodOptional<z.ZodString>;
267
+ scenarioExecutionId: z.ZodOptional<z.ZodString>;
268
+ status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
269
+ results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
270
+ objectType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
271
+ objectId: z.ZodString;
272
+ name: z.ZodString;
273
+ address: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `tz${string}`, string>, z.ZodEffects<z.ZodString, `KT1${string}`, string>]>, z.ZodEffects<z.ZodString, string, string>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `cosmos${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `addr${string}`, string>]>>>;
274
+ result: z.ZodObject<z.objectUtil.extendShape<{
275
+ result: z.ZodObject<{
276
+ is_valid: z.ZodBoolean;
277
+ reasons: z.ZodArray<z.ZodString, "many">;
278
+ }, "strip", z.ZodTypeAny, {
279
+ is_valid: boolean;
280
+ reasons: string[];
281
+ }, {
282
+ is_valid: boolean;
283
+ reasons: string[];
284
+ }>;
285
+ }, {
286
+ executionId: z.ZodString;
287
+ }>, "strip", z.ZodTypeAny, {
288
+ result: {
289
+ is_valid: boolean;
290
+ reasons: string[];
291
+ };
292
+ executionId: string;
293
+ }, {
294
+ result: {
295
+ is_valid: boolean;
296
+ reasons: string[];
297
+ };
298
+ executionId: string;
299
+ }>;
300
+ executionId: z.ZodString;
301
+ scenarioId: z.ZodString;
302
+ }, "strip", z.ZodTypeAny, {
303
+ name: string;
304
+ result: {
305
+ result: {
306
+ is_valid: boolean;
307
+ reasons: string[];
308
+ };
309
+ executionId: string;
310
+ };
311
+ executionId: string;
312
+ scenarioId: string;
313
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
314
+ objectId: string;
315
+ address?: string | null | undefined;
316
+ }, {
317
+ name: string;
318
+ result: {
319
+ result: {
320
+ is_valid: boolean;
321
+ reasons: string[];
322
+ };
323
+ executionId: string;
324
+ };
325
+ executionId: string;
326
+ scenarioId: string;
327
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
328
+ objectId: string;
329
+ address?: string | null | undefined;
330
+ }>, "many">, "many">>;
331
+ }, "strip", z.ZodTypeAny, {
332
+ status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
333
+ customerId?: string | undefined;
334
+ scenarioExecutionId?: string | undefined;
335
+ results?: {
336
+ name: string;
337
+ result: {
338
+ result: {
339
+ is_valid: boolean;
340
+ reasons: string[];
341
+ };
342
+ executionId: string;
343
+ };
344
+ executionId: string;
345
+ scenarioId: string;
346
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
347
+ objectId: string;
348
+ address?: string | null | undefined;
349
+ }[][] | undefined;
350
+ }, {
351
+ status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
352
+ customerId?: string | undefined;
353
+ scenarioExecutionId?: string | undefined;
354
+ results?: {
355
+ name: string;
356
+ result: {
357
+ result: {
358
+ is_valid: boolean;
359
+ reasons: string[];
360
+ };
361
+ executionId: string;
362
+ };
363
+ executionId: string;
364
+ scenarioId: string;
365
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
366
+ objectId: string;
367
+ address?: string | null | undefined;
368
+ }[][] | undefined;
369
+ }>;
370
+ export type SdkVerificationOutput = z.infer<typeof SdkVerificationOutput>;
371
+ export declare const VerificationSessionStatuses: readonly ["IN_PROGRESS", "COMPLETED", "NOT_STARTED"];
372
+ export declare const VerificationSessionStatus: z.ZodEnum<["IN_PROGRESS", "COMPLETED", "NOT_STARTED"]>;
373
+ export type VerificationSessionStatus = z.infer<typeof VerificationSessionStatus>;
374
+ export declare const VerificationOutput: z.ZodObject<{
375
+ id: z.ZodNullable<z.ZodString>;
376
+ verificationResult: z.ZodNullable<z.ZodObject<{
377
+ customerId: z.ZodOptional<z.ZodString>;
378
+ scenarioExecutionId: z.ZodOptional<z.ZodString>;
379
+ status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
380
+ results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
381
+ objectType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
382
+ objectId: z.ZodString;
383
+ name: z.ZodString;
384
+ address: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `tz${string}`, string>, z.ZodEffects<z.ZodString, `KT1${string}`, string>]>, z.ZodEffects<z.ZodString, string, string>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `cosmos${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `addr${string}`, string>]>>>;
385
+ result: z.ZodObject<z.objectUtil.extendShape<{
386
+ result: z.ZodObject<{
387
+ is_valid: z.ZodBoolean;
388
+ reasons: z.ZodArray<z.ZodString, "many">;
389
+ }, "strip", z.ZodTypeAny, {
390
+ is_valid: boolean;
391
+ reasons: string[];
392
+ }, {
393
+ is_valid: boolean;
394
+ reasons: string[];
395
+ }>;
396
+ }, {
397
+ executionId: z.ZodString;
398
+ }>, "strip", z.ZodTypeAny, {
399
+ result: {
400
+ is_valid: boolean;
401
+ reasons: string[];
402
+ };
403
+ executionId: string;
404
+ }, {
405
+ result: {
406
+ is_valid: boolean;
407
+ reasons: string[];
408
+ };
409
+ executionId: string;
410
+ }>;
411
+ executionId: z.ZodString;
412
+ scenarioId: z.ZodString;
413
+ }, "strip", z.ZodTypeAny, {
414
+ name: string;
415
+ result: {
416
+ result: {
417
+ is_valid: boolean;
418
+ reasons: string[];
419
+ };
420
+ executionId: string;
421
+ };
422
+ executionId: string;
423
+ scenarioId: string;
424
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
425
+ objectId: string;
426
+ address?: string | null | undefined;
427
+ }, {
428
+ name: string;
429
+ result: {
430
+ result: {
431
+ is_valid: boolean;
432
+ reasons: string[];
433
+ };
434
+ executionId: string;
435
+ };
436
+ executionId: string;
437
+ scenarioId: string;
438
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
439
+ objectId: string;
440
+ address?: string | null | undefined;
441
+ }>, "many">, "many">>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
444
+ customerId?: string | undefined;
445
+ scenarioExecutionId?: string | undefined;
446
+ results?: {
447
+ name: string;
448
+ result: {
449
+ result: {
450
+ is_valid: boolean;
451
+ reasons: string[];
452
+ };
453
+ executionId: string;
454
+ };
455
+ executionId: string;
456
+ scenarioId: string;
457
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
458
+ objectId: string;
459
+ address?: string | null | undefined;
460
+ }[][] | undefined;
461
+ }, {
462
+ status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
463
+ customerId?: string | undefined;
464
+ scenarioExecutionId?: string | undefined;
465
+ results?: {
466
+ name: string;
467
+ result: {
468
+ result: {
469
+ is_valid: boolean;
470
+ reasons: string[];
471
+ };
472
+ executionId: string;
473
+ };
474
+ executionId: string;
475
+ scenarioId: string;
476
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
477
+ objectId: string;
478
+ address?: string | null | undefined;
479
+ }[][] | undefined;
480
+ }>>;
481
+ status: z.ZodEnum<["IN_PROGRESS", "COMPLETED", "NOT_STARTED"]>;
482
+ }, "strip", z.ZodTypeAny, {
483
+ id: string | null;
484
+ status: "IN_PROGRESS" | "COMPLETED" | "NOT_STARTED";
485
+ verificationResult: {
486
+ status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
487
+ customerId?: string | undefined;
488
+ scenarioExecutionId?: string | undefined;
489
+ results?: {
490
+ name: string;
491
+ result: {
492
+ result: {
493
+ is_valid: boolean;
494
+ reasons: string[];
495
+ };
496
+ executionId: string;
497
+ };
498
+ executionId: string;
499
+ scenarioId: string;
500
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
501
+ objectId: string;
502
+ address?: string | null | undefined;
503
+ }[][] | undefined;
504
+ } | null;
505
+ }, {
506
+ id: string | null;
507
+ status: "IN_PROGRESS" | "COMPLETED" | "NOT_STARTED";
508
+ verificationResult: {
509
+ status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
510
+ customerId?: string | undefined;
511
+ scenarioExecutionId?: string | undefined;
512
+ results?: {
513
+ name: string;
514
+ result: {
515
+ result: {
516
+ is_valid: boolean;
517
+ reasons: string[];
518
+ };
519
+ executionId: string;
520
+ };
521
+ executionId: string;
522
+ scenarioId: string;
523
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
524
+ objectId: string;
525
+ address?: string | null | undefined;
526
+ }[][] | undefined;
527
+ } | null;
528
+ }>;
529
+ export type VerificationOutput = z.infer<typeof VerificationOutput>;
530
+ export declare const Scenario: z.ZodObject<{
531
+ id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
532
+ name: z.ZodString;
533
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
534
+ queries: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
535
+ type: z.ZodLiteral<"IDInformation">;
536
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
537
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
538
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
539
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
540
+ }, "strip", z.ZodTypeAny, {
541
+ value: string | number | boolean | string[] | number[];
542
+ type: "IDInformation";
543
+ attribute: string;
544
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
545
+ requestId?: number | null | undefined;
546
+ }, {
547
+ value: string | number | boolean | string[] | number[];
548
+ type: "IDInformation";
549
+ attribute: string;
550
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
551
+ requestId?: number | null | undefined;
552
+ }>, z.ZodObject<{
553
+ type: z.ZodLiteral<"IDImage">;
554
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
555
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
556
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
557
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ value: string | number | boolean | string[] | number[];
560
+ type: "IDImage";
561
+ attribute: string;
562
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
563
+ requestId?: number | null | undefined;
564
+ }, {
565
+ value: string | number | boolean | string[] | number[];
566
+ type: "IDImage";
567
+ attribute: string;
568
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
569
+ requestId?: number | null | undefined;
570
+ }>, z.ZodObject<{
571
+ type: z.ZodLiteral<"SelfieImage">;
572
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
573
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
574
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
575
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
576
+ }, "strip", z.ZodTypeAny, {
577
+ value: string | number | boolean | string[] | number[];
578
+ type: "SelfieImage";
579
+ attribute: string;
580
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
581
+ requestId?: number | null | undefined;
582
+ }, {
583
+ value: string | number | boolean | string[] | number[];
584
+ type: "SelfieImage";
585
+ attribute: string;
586
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
587
+ requestId?: number | null | undefined;
588
+ }>, z.ZodObject<{
589
+ type: z.ZodLiteral<"ProofOfResidence">;
590
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
591
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
592
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
593
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ value: string | number | boolean | string[] | number[];
596
+ type: "ProofOfResidence";
597
+ attribute: string;
598
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
599
+ requestId?: number | null | undefined;
600
+ }, {
601
+ value: string | number | boolean | string[] | number[];
602
+ type: "ProofOfResidence";
603
+ attribute: string;
604
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
605
+ requestId?: number | null | undefined;
606
+ }>]>, "many">;
607
+ type: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
608
+ workspaceId: z.ZodString;
609
+ vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
610
+ }, "strip", z.ZodTypeAny, {
611
+ id: `scenario_${string}`;
612
+ type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
613
+ name: string;
614
+ workspaceId: string;
615
+ queries: ({
616
+ value: string | number | boolean | string[] | number[];
617
+ type: "IDInformation";
618
+ attribute: string;
619
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
620
+ requestId?: number | null | undefined;
621
+ } | {
622
+ value: string | number | boolean | string[] | number[];
623
+ type: "IDImage";
624
+ attribute: string;
625
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
626
+ requestId?: number | null | undefined;
627
+ } | {
628
+ value: string | number | boolean | string[] | number[];
629
+ type: "SelfieImage";
630
+ attribute: string;
631
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
632
+ requestId?: number | null | undefined;
633
+ } | {
634
+ value: string | number | boolean | string[] | number[];
635
+ type: "ProofOfResidence";
636
+ attribute: string;
637
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
638
+ requestId?: number | null | undefined;
639
+ })[];
640
+ description?: string | null | undefined;
641
+ vcsIncluded?: ("AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport")[] | null | undefined;
642
+ }, {
643
+ id: `scenario_${string}`;
644
+ type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
645
+ name: string;
646
+ workspaceId: string;
647
+ queries: ({
648
+ value: string | number | boolean | string[] | number[];
649
+ type: "IDInformation";
650
+ attribute: string;
651
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
652
+ requestId?: number | null | undefined;
653
+ } | {
654
+ value: string | number | boolean | string[] | number[];
655
+ type: "IDImage";
656
+ attribute: string;
657
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
658
+ requestId?: number | null | undefined;
659
+ } | {
660
+ value: string | number | boolean | string[] | number[];
661
+ type: "SelfieImage";
662
+ attribute: string;
663
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
664
+ requestId?: number | null | undefined;
665
+ } | {
666
+ value: string | number | boolean | string[] | number[];
667
+ type: "ProofOfResidence";
668
+ attribute: string;
669
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
670
+ requestId?: number | null | undefined;
671
+ })[];
672
+ description?: string | null | undefined;
673
+ vcsIncluded?: string[] | null | undefined;
674
+ }>;
675
+ export declare const AbbreviatedWorkflowScenario: z.ZodObject<z.objectUtil.extendShape<Omit<{
676
+ id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
677
+ name: z.ZodString;
678
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
679
+ queries: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
680
+ type: z.ZodLiteral<"IDInformation">;
681
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
682
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
683
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
684
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ value: string | number | boolean | string[] | number[];
687
+ type: "IDInformation";
688
+ attribute: string;
689
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
690
+ requestId?: number | null | undefined;
691
+ }, {
692
+ value: string | number | boolean | string[] | number[];
693
+ type: "IDInformation";
694
+ attribute: string;
695
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
696
+ requestId?: number | null | undefined;
697
+ }>, z.ZodObject<{
698
+ type: z.ZodLiteral<"IDImage">;
699
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
700
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
701
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
702
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
703
+ }, "strip", z.ZodTypeAny, {
704
+ value: string | number | boolean | string[] | number[];
705
+ type: "IDImage";
706
+ attribute: string;
707
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
708
+ requestId?: number | null | undefined;
709
+ }, {
710
+ value: string | number | boolean | string[] | number[];
711
+ type: "IDImage";
712
+ attribute: string;
713
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
714
+ requestId?: number | null | undefined;
715
+ }>, z.ZodObject<{
716
+ type: z.ZodLiteral<"SelfieImage">;
717
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
718
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
719
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
720
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ value: string | number | boolean | string[] | number[];
723
+ type: "SelfieImage";
724
+ attribute: string;
725
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
726
+ requestId?: number | null | undefined;
727
+ }, {
728
+ value: string | number | boolean | string[] | number[];
729
+ type: "SelfieImage";
730
+ attribute: string;
731
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
732
+ requestId?: number | null | undefined;
733
+ }>, z.ZodObject<{
734
+ type: z.ZodLiteral<"ProofOfResidence">;
735
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
736
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
737
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
738
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
739
+ }, "strip", z.ZodTypeAny, {
740
+ value: string | number | boolean | string[] | number[];
741
+ type: "ProofOfResidence";
742
+ attribute: string;
743
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
744
+ requestId?: number | null | undefined;
745
+ }, {
746
+ value: string | number | boolean | string[] | number[];
747
+ type: "ProofOfResidence";
748
+ attribute: string;
749
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
750
+ requestId?: number | null | undefined;
751
+ }>]>, "many">;
752
+ type: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
753
+ workspaceId: z.ZodString;
754
+ vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
755
+ }, "queries" | "vcsIncluded">, {
756
+ queries: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
757
+ type: z.ZodLiteral<"IDInformation">;
758
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
759
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
760
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
761
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
762
+ }, "strip", z.ZodTypeAny, {
763
+ value: string | number | boolean | string[] | number[];
764
+ type: "IDInformation";
765
+ attribute: string;
766
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
767
+ requestId?: number | null | undefined;
768
+ }, {
769
+ value: string | number | boolean | string[] | number[];
770
+ type: "IDInformation";
771
+ attribute: string;
772
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
773
+ requestId?: number | null | undefined;
774
+ }>, z.ZodObject<{
775
+ type: z.ZodLiteral<"IDImage">;
776
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
777
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
778
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
779
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
780
+ }, "strip", z.ZodTypeAny, {
781
+ value: string | number | boolean | string[] | number[];
782
+ type: "IDImage";
783
+ attribute: string;
784
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
785
+ requestId?: number | null | undefined;
786
+ }, {
787
+ value: string | number | boolean | string[] | number[];
788
+ type: "IDImage";
789
+ attribute: string;
790
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
791
+ requestId?: number | null | undefined;
792
+ }>, z.ZodObject<{
793
+ type: z.ZodLiteral<"SelfieImage">;
794
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
795
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
796
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
797
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
798
+ }, "strip", z.ZodTypeAny, {
799
+ value: string | number | boolean | string[] | number[];
800
+ type: "SelfieImage";
801
+ attribute: string;
802
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
803
+ requestId?: number | null | undefined;
804
+ }, {
805
+ value: string | number | boolean | string[] | number[];
806
+ type: "SelfieImage";
807
+ attribute: string;
808
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
809
+ requestId?: number | null | undefined;
810
+ }>, z.ZodObject<{
811
+ type: z.ZodLiteral<"ProofOfResidence">;
812
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
813
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
814
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
815
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ value: string | number | boolean | string[] | number[];
818
+ type: "ProofOfResidence";
819
+ attribute: string;
820
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
821
+ requestId?: number | null | undefined;
822
+ }, {
823
+ value: string | number | boolean | string[] | number[];
824
+ type: "ProofOfResidence";
825
+ attribute: string;
826
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
827
+ requestId?: number | null | undefined;
828
+ }>]>, "many">;
829
+ }>, "strip", z.ZodTypeAny, {
830
+ id: `scenario_${string}`;
831
+ type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
832
+ name: string;
833
+ workspaceId: string;
834
+ queries: ({
835
+ value: string | number | boolean | string[] | number[];
836
+ type: "IDInformation";
837
+ attribute: string;
838
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
839
+ requestId?: number | null | undefined;
840
+ } | {
841
+ value: string | number | boolean | string[] | number[];
842
+ type: "IDImage";
843
+ attribute: string;
844
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
845
+ requestId?: number | null | undefined;
846
+ } | {
847
+ value: string | number | boolean | string[] | number[];
848
+ type: "SelfieImage";
849
+ attribute: string;
850
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
851
+ requestId?: number | null | undefined;
852
+ } | {
853
+ value: string | number | boolean | string[] | number[];
854
+ type: "ProofOfResidence";
855
+ attribute: string;
856
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
857
+ requestId?: number | null | undefined;
858
+ })[];
859
+ description?: string | null | undefined;
860
+ }, {
861
+ id: `scenario_${string}`;
862
+ type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
863
+ name: string;
864
+ workspaceId: string;
865
+ queries: ({
866
+ value: string | number | boolean | string[] | number[];
867
+ type: "IDInformation";
868
+ attribute: string;
869
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
870
+ requestId?: number | null | undefined;
871
+ } | {
872
+ value: string | number | boolean | string[] | number[];
873
+ type: "IDImage";
874
+ attribute: string;
875
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
876
+ requestId?: number | null | undefined;
877
+ } | {
878
+ value: string | number | boolean | string[] | number[];
879
+ type: "SelfieImage";
880
+ attribute: string;
881
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
882
+ requestId?: number | null | undefined;
883
+ } | {
884
+ value: string | number | boolean | string[] | number[];
885
+ type: "ProofOfResidence";
886
+ attribute: string;
887
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
888
+ requestId?: number | null | undefined;
889
+ })[];
890
+ description?: string | null | undefined;
891
+ }>;
892
+ export declare const TemplateScenario: z.ZodObject<Omit<{
893
+ id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
894
+ name: z.ZodString;
895
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
896
+ queries: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
897
+ type: z.ZodLiteral<"IDInformation">;
898
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
899
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
900
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
901
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
902
+ }, "strip", z.ZodTypeAny, {
903
+ value: string | number | boolean | string[] | number[];
904
+ type: "IDInformation";
905
+ attribute: string;
906
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
907
+ requestId?: number | null | undefined;
908
+ }, {
909
+ value: string | number | boolean | string[] | number[];
910
+ type: "IDInformation";
911
+ attribute: string;
912
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
913
+ requestId?: number | null | undefined;
914
+ }>, z.ZodObject<{
915
+ type: z.ZodLiteral<"IDImage">;
916
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
917
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
918
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
919
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
920
+ }, "strip", z.ZodTypeAny, {
921
+ value: string | number | boolean | string[] | number[];
922
+ type: "IDImage";
923
+ attribute: string;
924
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
925
+ requestId?: number | null | undefined;
926
+ }, {
927
+ value: string | number | boolean | string[] | number[];
928
+ type: "IDImage";
929
+ attribute: string;
930
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
931
+ requestId?: number | null | undefined;
932
+ }>, z.ZodObject<{
933
+ type: z.ZodLiteral<"SelfieImage">;
934
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
935
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
936
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
937
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
938
+ }, "strip", z.ZodTypeAny, {
939
+ value: string | number | boolean | string[] | number[];
940
+ type: "SelfieImage";
941
+ attribute: string;
942
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
943
+ requestId?: number | null | undefined;
944
+ }, {
945
+ value: string | number | boolean | string[] | number[];
946
+ type: "SelfieImage";
947
+ attribute: string;
948
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
949
+ requestId?: number | null | undefined;
950
+ }>, z.ZodObject<{
951
+ type: z.ZodLiteral<"ProofOfResidence">;
952
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
953
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
954
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
955
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
956
+ }, "strip", z.ZodTypeAny, {
957
+ value: string | number | boolean | string[] | number[];
958
+ type: "ProofOfResidence";
959
+ attribute: string;
960
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
961
+ requestId?: number | null | undefined;
962
+ }, {
963
+ value: string | number | boolean | string[] | number[];
964
+ type: "ProofOfResidence";
965
+ attribute: string;
966
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
967
+ requestId?: number | null | undefined;
968
+ }>]>, "many">;
969
+ type: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
970
+ workspaceId: z.ZodString;
971
+ vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
972
+ }, "workspaceId">, "strip", z.ZodTypeAny, {
973
+ id: `scenario_${string}`;
974
+ type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
975
+ name: string;
976
+ queries: ({
977
+ value: string | number | boolean | string[] | number[];
978
+ type: "IDInformation";
979
+ attribute: string;
980
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
981
+ requestId?: number | null | undefined;
982
+ } | {
983
+ value: string | number | boolean | string[] | number[];
984
+ type: "IDImage";
985
+ attribute: string;
986
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
987
+ requestId?: number | null | undefined;
988
+ } | {
989
+ value: string | number | boolean | string[] | number[];
990
+ type: "SelfieImage";
991
+ attribute: string;
992
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
993
+ requestId?: number | null | undefined;
994
+ } | {
995
+ value: string | number | boolean | string[] | number[];
996
+ type: "ProofOfResidence";
997
+ attribute: string;
998
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
999
+ requestId?: number | null | undefined;
1000
+ })[];
1001
+ description?: string | null | undefined;
1002
+ vcsIncluded?: ("AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport")[] | null | undefined;
1003
+ }, {
1004
+ id: `scenario_${string}`;
1005
+ type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
1006
+ name: string;
1007
+ queries: ({
1008
+ value: string | number | boolean | string[] | number[];
1009
+ type: "IDInformation";
1010
+ attribute: string;
1011
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1012
+ requestId?: number | null | undefined;
1013
+ } | {
1014
+ value: string | number | boolean | string[] | number[];
1015
+ type: "IDImage";
1016
+ attribute: string;
1017
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1018
+ requestId?: number | null | undefined;
1019
+ } | {
1020
+ value: string | number | boolean | string[] | number[];
1021
+ type: "SelfieImage";
1022
+ attribute: string;
1023
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1024
+ requestId?: number | null | undefined;
1025
+ } | {
1026
+ value: string | number | boolean | string[] | number[];
1027
+ type: "ProofOfResidence";
1028
+ attribute: string;
1029
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1030
+ requestId?: number | null | undefined;
1031
+ })[];
1032
+ description?: string | null | undefined;
1033
+ vcsIncluded?: string[] | null | undefined;
1034
+ }>;
1035
+ export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
1036
+ id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
1037
+ name: z.ZodString;
1038
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1039
+ queries: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1040
+ type: z.ZodLiteral<"IDInformation">;
1041
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1042
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
1043
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
1044
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
1045
+ }, "strip", z.ZodTypeAny, {
1046
+ value: string | number | boolean | string[] | number[];
1047
+ type: "IDInformation";
1048
+ attribute: string;
1049
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1050
+ requestId?: number | null | undefined;
1051
+ }, {
1052
+ value: string | number | boolean | string[] | number[];
1053
+ type: "IDInformation";
1054
+ attribute: string;
1055
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1056
+ requestId?: number | null | undefined;
1057
+ }>, z.ZodObject<{
1058
+ type: z.ZodLiteral<"IDImage">;
1059
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1060
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
1061
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
1062
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ value: string | number | boolean | string[] | number[];
1065
+ type: "IDImage";
1066
+ attribute: string;
1067
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1068
+ requestId?: number | null | undefined;
1069
+ }, {
1070
+ value: string | number | boolean | string[] | number[];
1071
+ type: "IDImage";
1072
+ attribute: string;
1073
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1074
+ requestId?: number | null | undefined;
1075
+ }>, z.ZodObject<{
1076
+ type: z.ZodLiteral<"SelfieImage">;
1077
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1078
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
1079
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
1080
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
1081
+ }, "strip", z.ZodTypeAny, {
1082
+ value: string | number | boolean | string[] | number[];
1083
+ type: "SelfieImage";
1084
+ attribute: string;
1085
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1086
+ requestId?: number | null | undefined;
1087
+ }, {
1088
+ value: string | number | boolean | string[] | number[];
1089
+ type: "SelfieImage";
1090
+ attribute: string;
1091
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1092
+ requestId?: number | null | undefined;
1093
+ }>, z.ZodObject<{
1094
+ type: z.ZodLiteral<"ProofOfResidence">;
1095
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1096
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
1097
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
1098
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
1099
+ }, "strip", z.ZodTypeAny, {
1100
+ value: string | number | boolean | string[] | number[];
1101
+ type: "ProofOfResidence";
1102
+ attribute: string;
1103
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1104
+ requestId?: number | null | undefined;
1105
+ }, {
1106
+ value: string | number | boolean | string[] | number[];
1107
+ type: "ProofOfResidence";
1108
+ attribute: string;
1109
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1110
+ requestId?: number | null | undefined;
1111
+ }>]>, "many">;
1112
+ type: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
1113
+ workspaceId: z.ZodString;
1114
+ vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
1115
+ }, "workspaceId">, "id">, "strip", z.ZodTypeAny, {
1116
+ type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
1117
+ name: string;
1118
+ queries: ({
1119
+ value: string | number | boolean | string[] | number[];
1120
+ type: "IDInformation";
1121
+ attribute: string;
1122
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1123
+ requestId?: number | null | undefined;
1124
+ } | {
1125
+ value: string | number | boolean | string[] | number[];
1126
+ type: "IDImage";
1127
+ attribute: string;
1128
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1129
+ requestId?: number | null | undefined;
1130
+ } | {
1131
+ value: string | number | boolean | string[] | number[];
1132
+ type: "SelfieImage";
1133
+ attribute: string;
1134
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1135
+ requestId?: number | null | undefined;
1136
+ } | {
1137
+ value: string | number | boolean | string[] | number[];
1138
+ type: "ProofOfResidence";
1139
+ attribute: string;
1140
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1141
+ requestId?: number | null | undefined;
1142
+ })[];
1143
+ description?: string | null | undefined;
1144
+ vcsIncluded?: ("AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport")[] | null | undefined;
1145
+ }, {
1146
+ type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
1147
+ name: string;
1148
+ queries: ({
1149
+ value: string | number | boolean | string[] | number[];
1150
+ type: "IDInformation";
1151
+ attribute: string;
1152
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1153
+ requestId?: number | null | undefined;
1154
+ } | {
1155
+ value: string | number | boolean | string[] | number[];
1156
+ type: "IDImage";
1157
+ attribute: string;
1158
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1159
+ requestId?: number | null | undefined;
1160
+ } | {
1161
+ value: string | number | boolean | string[] | number[];
1162
+ type: "SelfieImage";
1163
+ attribute: string;
1164
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1165
+ requestId?: number | null | undefined;
1166
+ } | {
1167
+ value: string | number | boolean | string[] | number[];
1168
+ type: "ProofOfResidence";
1169
+ attribute: string;
1170
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1171
+ requestId?: number | null | undefined;
1172
+ })[];
1173
+ description?: string | null | undefined;
1174
+ vcsIncluded?: string[] | null | undefined;
1175
+ }>;
1176
+ export type Scenario = z.infer<typeof Scenario>;
1177
+ export type AbbreviatedWorkflowScenario = z.infer<typeof AbbreviatedWorkflowScenario>;
1178
+ export type TemplateScenario = z.infer<typeof TemplateScenario>;
1179
+ export type CreateTemplateScenario = z.infer<typeof CreateTemplateScenario>;
1180
+ //# sourceMappingURL=scenario.schema.d.ts.map