@nexeraid/identity-schemas 1.12.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 (97) hide show
  1. package/README.md +26 -0
  2. package/dist/declarations/src/blockchain.schema.d.ts +93 -0
  3. package/dist/declarations/src/blockchain.schema.d.ts.map +1 -0
  4. package/dist/declarations/src/config.schema.d.ts +128 -0
  5. package/dist/declarations/src/config.schema.d.ts.map +1 -0
  6. package/dist/declarations/src/countries.schema.d.ts +11 -0
  7. package/dist/declarations/src/countries.schema.d.ts.map +1 -0
  8. package/dist/declarations/src/credential-storage.schema.d.ts +138 -0
  9. package/dist/declarations/src/credential-storage.schema.d.ts.map +1 -0
  10. package/dist/declarations/src/identity/app-requests.schema.d.ts +4092 -0
  11. package/dist/declarations/src/identity/app-requests.schema.d.ts.map +1 -0
  12. package/dist/declarations/src/identity/challenge-query.schema.d.ts +1109 -0
  13. package/dist/declarations/src/identity/challenge-query.schema.d.ts.map +1 -0
  14. package/dist/declarations/src/identity/execute-scenario.schema.d.ts +135 -0
  15. package/dist/declarations/src/identity/execute-scenario.schema.d.ts.map +1 -0
  16. package/dist/declarations/src/identity/get-started.schema.d.ts +19 -0
  17. package/dist/declarations/src/identity/get-started.schema.d.ts.map +1 -0
  18. package/dist/declarations/src/identity/host-requests.schema.d.ts +2721 -0
  19. package/dist/declarations/src/identity/host-requests.schema.d.ts.map +1 -0
  20. package/dist/declarations/src/identity/index.d.ts +12 -0
  21. package/dist/declarations/src/identity/index.d.ts.map +1 -0
  22. package/dist/declarations/src/identity/kyc.schema.d.ts +2593 -0
  23. package/dist/declarations/src/identity/kyc.schema.d.ts.map +1 -0
  24. package/dist/declarations/src/identity/polygon-id.schema.d.ts +425 -0
  25. package/dist/declarations/src/identity/polygon-id.schema.d.ts.map +1 -0
  26. package/dist/declarations/src/identity/query.schema.d.ts +526 -0
  27. package/dist/declarations/src/identity/query.schema.d.ts.map +1 -0
  28. package/dist/declarations/src/identity/txAuthData.schema.d.ts +62 -0
  29. package/dist/declarations/src/identity/txAuthData.schema.d.ts.map +1 -0
  30. package/dist/declarations/src/identity/txAuthDataTezos.schema.d.ts +56 -0
  31. package/dist/declarations/src/identity/txAuthDataTezos.schema.d.ts.map +1 -0
  32. package/dist/declarations/src/identity/zkps.schema.d.ts +962 -0
  33. package/dist/declarations/src/identity/zkps.schema.d.ts.map +1 -0
  34. package/dist/declarations/src/index.d.ts +5 -0
  35. package/dist/declarations/src/index.d.ts.map +1 -0
  36. package/dist/declarations/src/verifiable-credentials/GenericVerifiableCredentialSchema.d.ts +95 -0
  37. package/dist/declarations/src/verifiable-credentials/GenericVerifiableCredentialSchema.d.ts.map +1 -0
  38. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/ID3CredentialSubjectSchema.d.ts +2839 -0
  39. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/ID3CredentialSubjectSchema.d.ts.map +1 -0
  40. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanCredentialSubjectSchema.d.ts +163 -0
  41. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanCredentialSubjectSchema.d.ts.map +1 -0
  42. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanPassportCredentialSubjectSchema.d.ts +21 -0
  43. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanPassportCredentialSubjectSchema.d.ts.map +1 -0
  44. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanSelfieCredentialSubjectSchema.d.ts +21 -0
  45. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanSelfieCredentialSubjectSchema.d.ts.map +1 -0
  46. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_AMLScreeningsResultsCredentialSubjectSchema.d.ts +2692 -0
  47. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_AMLScreeningsResultsCredentialSubjectSchema.d.ts.map +1 -0
  48. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_IDImageCredentialSubjectSchema.d.ts +24 -0
  49. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_IDImageCredentialSubjectSchema.d.ts.map +1 -0
  50. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_IDInformationCredentialSubjectSchema.d.ts +258 -0
  51. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_IDInformationCredentialSubjectSchema.d.ts.map +1 -0
  52. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_ProofOfResidenceCredentialSubjectSchema.d.ts +39 -0
  53. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_ProofOfResidenceCredentialSubjectSchema.d.ts.map +1 -0
  54. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_SelfieImageCredentialSubjectSchema.d.ts +21 -0
  55. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_SelfieImageCredentialSubjectSchema.d.ts.map +1 -0
  56. package/dist/declarations/src/verifiable-credentials/cleanObject.d.ts +12 -0
  57. package/dist/declarations/src/verifiable-credentials/cleanObject.d.ts.map +1 -0
  58. package/dist/declarations/src/verifiable-credentials/frontend-utilities.schema.d.ts +16 -0
  59. package/dist/declarations/src/verifiable-credentials/frontend-utilities.schema.d.ts.map +1 -0
  60. package/dist/declarations/src/verifiable-credentials/general-vc-typing.schema.d.ts +5978 -0
  61. package/dist/declarations/src/verifiable-credentials/general-vc-typing.schema.d.ts.map +1 -0
  62. package/dist/declarations/src/verifiable-credentials/generated/IDImageCredentialSubjectSchema.d.ts +48 -0
  63. package/dist/declarations/src/verifiable-credentials/generated/IDImageCredentialSubjectSchema.d.ts.map +1 -0
  64. package/dist/declarations/src/verifiable-credentials/generated/IDInformationCredentialSubjectSchema.d.ts +96 -0
  65. package/dist/declarations/src/verifiable-credentials/generated/IDInformationCredentialSubjectSchema.d.ts.map +1 -0
  66. package/dist/declarations/src/verifiable-credentials/generated/ProofOfResidenceCredentialSubjectSchema.d.ts +48 -0
  67. package/dist/declarations/src/verifiable-credentials/generated/ProofOfResidenceCredentialSubjectSchema.d.ts.map +1 -0
  68. package/dist/declarations/src/verifiable-credentials/generated/SelfieImageCredentialSubjectSchema.d.ts +39 -0
  69. package/dist/declarations/src/verifiable-credentials/generated/SelfieImageCredentialSubjectSchema.d.ts.map +1 -0
  70. package/dist/declarations/src/verifiable-credentials/index.d.ts +56 -0
  71. package/dist/declarations/src/verifiable-credentials/index.d.ts.map +1 -0
  72. package/dist/declarations/src/verifiable-credentials/vc-utils.schema.d.ts +8 -0
  73. package/dist/declarations/src/verifiable-credentials/vc-utils.schema.d.ts.map +1 -0
  74. package/dist/declarations/src/verifiable-credentials/vc_json_schema_map.d.ts +127 -0
  75. package/dist/declarations/src/verifiable-credentials/vc_json_schema_map.d.ts.map +1 -0
  76. package/dist/nexeraid-identity-schemas.cjs.d.ts +2 -0
  77. package/dist/nexeraid-identity-schemas.cjs.dev.js +110 -0
  78. package/dist/nexeraid-identity-schemas.cjs.js +7 -0
  79. package/dist/nexeraid-identity-schemas.cjs.prod.js +110 -0
  80. package/dist/nexeraid-identity-schemas.esm.js +40 -0
  81. package/dist/package.json +72 -0
  82. package/dist/txAuthDataTezos.schema-92a60696.cjs.prod.js +2995 -0
  83. package/dist/txAuthDataTezos.schema-a6ddf460.esm.js +2775 -0
  84. package/dist/txAuthDataTezos.schema-ad3b7592.cjs.dev.js +2995 -0
  85. package/identity/dist/nexeraid-identity-schemas-identity.cjs.d.ts +2 -0
  86. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +141 -0
  87. package/identity/dist/nexeraid-identity-schemas-identity.cjs.js +7 -0
  88. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +141 -0
  89. package/identity/dist/nexeraid-identity-schemas-identity.esm.js +2 -0
  90. package/identity/package.json +4 -0
  91. package/package.json +71 -0
  92. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.d.ts +2 -0
  93. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2158 -0
  94. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.js +7 -0
  95. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2158 -0
  96. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2126 -0
  97. package/verifiable-credentials/package.json +4 -0
@@ -0,0 +1,4092 @@
1
+ import { z } from "zod";
2
+ export declare const ScenarioAuthorizationData: z.ZodObject<{
3
+ executionId: z.ZodString;
4
+ sessionId: z.ZodString;
5
+ projectId: z.ZodString;
6
+ address: 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>]>;
7
+ status: z.ZodEnum<["pending", "authorised", "unauthorised"]>;
8
+ scenarioId: z.ZodString;
9
+ scenarioName: z.ZodString;
10
+ requestMessage: z.ZodObject<{
11
+ id: z.ZodString;
12
+ typ: z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>;
13
+ type: z.ZodString;
14
+ thid: z.ZodOptional<z.ZodString>;
15
+ body: z.ZodObject<{
16
+ callbackUrl: z.ZodString;
17
+ reason: z.ZodOptional<z.ZodString>;
18
+ did_doc: z.ZodOptional<z.ZodAny>;
19
+ message: z.ZodOptional<z.ZodString>;
20
+ scope: z.ZodArray<z.ZodObject<{
21
+ id: z.ZodNumber;
22
+ circuitId: z.ZodString;
23
+ optional: z.ZodOptional<z.ZodBoolean>;
24
+ query: z.ZodRecord<z.ZodString, z.ZodAny>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ id: number;
27
+ circuitId: string;
28
+ query: Record<string, any>;
29
+ optional?: boolean | undefined;
30
+ }, {
31
+ id: number;
32
+ circuitId: string;
33
+ query: Record<string, any>;
34
+ optional?: boolean | undefined;
35
+ }>, "many">;
36
+ }, "strip", z.ZodTypeAny, {
37
+ callbackUrl: string;
38
+ scope: {
39
+ id: number;
40
+ circuitId: string;
41
+ query: Record<string, any>;
42
+ optional?: boolean | undefined;
43
+ }[];
44
+ message?: string | undefined;
45
+ reason?: string | undefined;
46
+ did_doc?: any;
47
+ }, {
48
+ callbackUrl: string;
49
+ scope: {
50
+ id: number;
51
+ circuitId: string;
52
+ query: Record<string, any>;
53
+ optional?: boolean | undefined;
54
+ }[];
55
+ message?: string | undefined;
56
+ reason?: string | undefined;
57
+ did_doc?: any;
58
+ }>;
59
+ from: z.ZodString;
60
+ to: z.ZodOptional<z.ZodString>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ id: string;
63
+ type: string;
64
+ typ: import("./polygon-id.schema.js").MediaType;
65
+ body: {
66
+ callbackUrl: string;
67
+ scope: {
68
+ id: number;
69
+ circuitId: string;
70
+ query: Record<string, any>;
71
+ optional?: boolean | undefined;
72
+ }[];
73
+ message?: string | undefined;
74
+ reason?: string | undefined;
75
+ did_doc?: any;
76
+ };
77
+ from: string;
78
+ thid?: string | undefined;
79
+ to?: string | undefined;
80
+ }, {
81
+ id: string;
82
+ type: string;
83
+ typ: import("./polygon-id.schema.js").MediaType;
84
+ body: {
85
+ callbackUrl: string;
86
+ scope: {
87
+ id: number;
88
+ circuitId: string;
89
+ query: Record<string, any>;
90
+ optional?: boolean | undefined;
91
+ }[];
92
+ message?: string | undefined;
93
+ reason?: string | undefined;
94
+ did_doc?: any;
95
+ };
96
+ from: string;
97
+ thid?: string | undefined;
98
+ to?: string | undefined;
99
+ }>;
100
+ responseMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
101
+ id: z.ZodString;
102
+ typ: z.ZodOptional<z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>>;
103
+ type: z.ZodString;
104
+ thid: z.ZodOptional<z.ZodString>;
105
+ body: z.ZodObject<{
106
+ did_doc: z.ZodOptional<z.ZodAny>;
107
+ message: z.ZodOptional<z.ZodString>;
108
+ scope: z.ZodArray<z.ZodObject<{
109
+ id: z.ZodNumber;
110
+ circuitId: z.ZodString;
111
+ vp: z.ZodOptional<z.ZodAny>;
112
+ proof: z.ZodObject<{
113
+ pi_a: z.ZodArray<z.ZodString, "many">;
114
+ pi_b: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
115
+ pi_c: z.ZodArray<z.ZodString, "many">;
116
+ protocol: z.ZodString;
117
+ curve: z.ZodOptional<z.ZodString>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ pi_a: string[];
120
+ pi_b: string[][];
121
+ pi_c: string[];
122
+ protocol: string;
123
+ curve?: string | undefined;
124
+ }, {
125
+ pi_a: string[];
126
+ pi_b: string[][];
127
+ pi_c: string[];
128
+ protocol: string;
129
+ curve?: string | undefined;
130
+ }>;
131
+ pub_signals: z.ZodArray<z.ZodString, "many">;
132
+ }, "strip", z.ZodTypeAny, {
133
+ id: number;
134
+ proof: {
135
+ pi_a: string[];
136
+ pi_b: string[][];
137
+ pi_c: string[];
138
+ protocol: string;
139
+ curve?: string | undefined;
140
+ };
141
+ circuitId: string;
142
+ pub_signals: string[];
143
+ vp?: any;
144
+ }, {
145
+ id: number;
146
+ proof: {
147
+ pi_a: string[];
148
+ pi_b: string[][];
149
+ pi_c: string[];
150
+ protocol: string;
151
+ curve?: string | undefined;
152
+ };
153
+ circuitId: string;
154
+ pub_signals: string[];
155
+ vp?: any;
156
+ }>, "many">;
157
+ }, "strip", z.ZodTypeAny, {
158
+ scope: {
159
+ id: number;
160
+ proof: {
161
+ pi_a: string[];
162
+ pi_b: string[][];
163
+ pi_c: string[];
164
+ protocol: string;
165
+ curve?: string | undefined;
166
+ };
167
+ circuitId: string;
168
+ pub_signals: string[];
169
+ vp?: any;
170
+ }[];
171
+ message?: string | undefined;
172
+ did_doc?: any;
173
+ }, {
174
+ scope: {
175
+ id: number;
176
+ proof: {
177
+ pi_a: string[];
178
+ pi_b: string[][];
179
+ pi_c: string[];
180
+ protocol: string;
181
+ curve?: string | undefined;
182
+ };
183
+ circuitId: string;
184
+ pub_signals: string[];
185
+ vp?: any;
186
+ }[];
187
+ message?: string | undefined;
188
+ did_doc?: any;
189
+ }>;
190
+ from: z.ZodOptional<z.ZodString>;
191
+ to: z.ZodOptional<z.ZodString>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ id: string;
194
+ type: string;
195
+ body: {
196
+ scope: {
197
+ id: number;
198
+ proof: {
199
+ pi_a: string[];
200
+ pi_b: string[][];
201
+ pi_c: string[];
202
+ protocol: string;
203
+ curve?: string | undefined;
204
+ };
205
+ circuitId: string;
206
+ pub_signals: string[];
207
+ vp?: any;
208
+ }[];
209
+ message?: string | undefined;
210
+ did_doc?: any;
211
+ };
212
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
213
+ thid?: string | undefined;
214
+ from?: string | undefined;
215
+ to?: string | undefined;
216
+ }, {
217
+ id: string;
218
+ type: string;
219
+ body: {
220
+ scope: {
221
+ id: number;
222
+ proof: {
223
+ pi_a: string[];
224
+ pi_b: string[][];
225
+ pi_c: string[];
226
+ protocol: string;
227
+ curve?: string | undefined;
228
+ };
229
+ circuitId: string;
230
+ pub_signals: string[];
231
+ vp?: any;
232
+ }[];
233
+ message?: string | undefined;
234
+ did_doc?: any;
235
+ };
236
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
237
+ thid?: string | undefined;
238
+ from?: string | undefined;
239
+ to?: string | undefined;
240
+ }>>>;
241
+ verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
+ query: z.ZodObject<{
243
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
244
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
245
+ attribute: z.ZodString;
246
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
247
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ value: string | number | boolean | (string | number)[];
250
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
251
+ attribute: string;
252
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
253
+ requestId?: number | null | undefined;
254
+ }, {
255
+ value: string | number | boolean | (string | number)[];
256
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
257
+ attribute: string;
258
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
259
+ requestId?: number | null | undefined;
260
+ }>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ status: "pending" | "authorised" | "unauthorised";
263
+ address: string;
264
+ executionId: string;
265
+ sessionId: string;
266
+ projectId: string;
267
+ scenarioId: string;
268
+ scenarioName: string;
269
+ query: {
270
+ value: string | number | boolean | (string | number)[];
271
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
272
+ attribute: string;
273
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
274
+ requestId?: number | null | undefined;
275
+ };
276
+ requestMessage: {
277
+ id: string;
278
+ type: string;
279
+ typ: import("./polygon-id.schema.js").MediaType;
280
+ body: {
281
+ callbackUrl: string;
282
+ scope: {
283
+ id: number;
284
+ circuitId: string;
285
+ query: Record<string, any>;
286
+ optional?: boolean | undefined;
287
+ }[];
288
+ message?: string | undefined;
289
+ reason?: string | undefined;
290
+ did_doc?: any;
291
+ };
292
+ from: string;
293
+ thid?: string | undefined;
294
+ to?: string | undefined;
295
+ };
296
+ responseMessage?: {
297
+ id: string;
298
+ type: string;
299
+ body: {
300
+ scope: {
301
+ id: number;
302
+ proof: {
303
+ pi_a: string[];
304
+ pi_b: string[][];
305
+ pi_c: string[];
306
+ protocol: string;
307
+ curve?: string | undefined;
308
+ };
309
+ circuitId: string;
310
+ pub_signals: string[];
311
+ vp?: any;
312
+ }[];
313
+ message?: string | undefined;
314
+ did_doc?: any;
315
+ };
316
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
317
+ thid?: string | undefined;
318
+ from?: string | undefined;
319
+ to?: string | undefined;
320
+ } | null | undefined;
321
+ verificationError?: string | null | undefined;
322
+ }, {
323
+ status: "pending" | "authorised" | "unauthorised";
324
+ address: string;
325
+ executionId: string;
326
+ sessionId: string;
327
+ projectId: string;
328
+ scenarioId: string;
329
+ scenarioName: string;
330
+ query: {
331
+ value: string | number | boolean | (string | number)[];
332
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
333
+ attribute: string;
334
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
335
+ requestId?: number | null | undefined;
336
+ };
337
+ requestMessage: {
338
+ id: string;
339
+ type: string;
340
+ typ: import("./polygon-id.schema.js").MediaType;
341
+ body: {
342
+ callbackUrl: string;
343
+ scope: {
344
+ id: number;
345
+ circuitId: string;
346
+ query: Record<string, any>;
347
+ optional?: boolean | undefined;
348
+ }[];
349
+ message?: string | undefined;
350
+ reason?: string | undefined;
351
+ did_doc?: any;
352
+ };
353
+ from: string;
354
+ thid?: string | undefined;
355
+ to?: string | undefined;
356
+ };
357
+ responseMessage?: {
358
+ id: string;
359
+ type: string;
360
+ body: {
361
+ scope: {
362
+ id: number;
363
+ proof: {
364
+ pi_a: string[];
365
+ pi_b: string[][];
366
+ pi_c: string[];
367
+ protocol: string;
368
+ curve?: string | undefined;
369
+ };
370
+ circuitId: string;
371
+ pub_signals: string[];
372
+ vp?: any;
373
+ }[];
374
+ message?: string | undefined;
375
+ did_doc?: any;
376
+ };
377
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
378
+ thid?: string | undefined;
379
+ from?: string | undefined;
380
+ to?: string | undefined;
381
+ } | null | undefined;
382
+ verificationError?: string | null | undefined;
383
+ }>;
384
+ export type ScenarioAuthorizationData = z.infer<typeof ScenarioAuthorizationData>;
385
+ export declare const SdkVerificationResponseSchema: z.ZodObject<{
386
+ customerId: z.ZodString;
387
+ scenarioExecutionId: z.ZodString;
388
+ status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]>;
389
+ results: z.ZodArray<z.ZodArray<z.ZodObject<{
390
+ objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
391
+ objectId: z.ZodString;
392
+ name: z.ZodString;
393
+ address: z.ZodString;
394
+ result: z.ZodObject<{
395
+ result: z.ZodObject<{
396
+ is_valid: z.ZodBoolean;
397
+ reasons: z.ZodArray<z.ZodUnknown, "many">;
398
+ }, "strip", z.ZodTypeAny, {
399
+ is_valid: boolean;
400
+ reasons: unknown[];
401
+ }, {
402
+ is_valid: boolean;
403
+ reasons: unknown[];
404
+ }>;
405
+ executionId: z.ZodString;
406
+ }, "strip", z.ZodTypeAny, {
407
+ result: {
408
+ is_valid: boolean;
409
+ reasons: unknown[];
410
+ };
411
+ executionId: string;
412
+ }, {
413
+ result: {
414
+ is_valid: boolean;
415
+ reasons: unknown[];
416
+ };
417
+ executionId: string;
418
+ }>;
419
+ executionId: z.ZodString;
420
+ scenarioId: z.ZodString;
421
+ }, "strip", z.ZodTypeAny, {
422
+ name: string;
423
+ result: {
424
+ result: {
425
+ is_valid: boolean;
426
+ reasons: unknown[];
427
+ };
428
+ executionId: string;
429
+ };
430
+ address: string;
431
+ executionId: string;
432
+ scenarioId: string;
433
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
434
+ objectId: string;
435
+ }, {
436
+ name: string;
437
+ result: {
438
+ result: {
439
+ is_valid: boolean;
440
+ reasons: unknown[];
441
+ };
442
+ executionId: string;
443
+ };
444
+ address: string;
445
+ executionId: string;
446
+ scenarioId: string;
447
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
448
+ objectId: string;
449
+ }>, "many">, "many">;
450
+ }, "strip", z.ZodTypeAny, {
451
+ status: "valid" | "unknown" | "not-valid" | "error";
452
+ customerId: string;
453
+ scenarioExecutionId: string;
454
+ results: {
455
+ name: string;
456
+ result: {
457
+ result: {
458
+ is_valid: boolean;
459
+ reasons: unknown[];
460
+ };
461
+ executionId: string;
462
+ };
463
+ address: string;
464
+ executionId: string;
465
+ scenarioId: string;
466
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
467
+ objectId: string;
468
+ }[][];
469
+ }, {
470
+ status: "valid" | "unknown" | "not-valid" | "error";
471
+ customerId: string;
472
+ scenarioExecutionId: string;
473
+ results: {
474
+ name: string;
475
+ result: {
476
+ result: {
477
+ is_valid: boolean;
478
+ reasons: unknown[];
479
+ };
480
+ executionId: string;
481
+ };
482
+ address: string;
483
+ executionId: string;
484
+ scenarioId: string;
485
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
486
+ objectId: string;
487
+ }[][];
488
+ }>;
489
+ export type SdkVerificationResponseSchema = z.infer<typeof SdkVerificationResponseSchema>;
490
+ export declare const CloseScreenNotification: z.ZodObject<{
491
+ type: z.ZodLiteral<"closeScreen">;
492
+ identifier: z.ZodString;
493
+ data: z.ZodUndefined;
494
+ }, "strip", z.ZodTypeAny, {
495
+ type: "closeScreen";
496
+ identifier: string;
497
+ data?: undefined;
498
+ }, {
499
+ type: "closeScreen";
500
+ identifier: string;
501
+ data?: undefined;
502
+ }>;
503
+ export declare const KycCompletionData: z.ZodArray<z.ZodObject<{
504
+ issuer: z.ZodString;
505
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
506
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
507
+ }, "strip", z.ZodAny, z.objectOutputType<{
508
+ issuer: z.ZodString;
509
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
510
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
511
+ }, z.ZodAny, "strip">, z.objectInputType<{
512
+ issuer: z.ZodString;
513
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
514
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
515
+ }, z.ZodAny, "strip">>, "many">;
516
+ export declare const KycCompletionNotification: z.ZodObject<{
517
+ type: z.ZodLiteral<"kycCompletion">;
518
+ identifier: z.ZodString;
519
+ data: z.ZodArray<z.ZodObject<{
520
+ issuer: z.ZodString;
521
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
522
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
523
+ }, "strip", z.ZodAny, z.objectOutputType<{
524
+ issuer: z.ZodString;
525
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
526
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
527
+ }, z.ZodAny, "strip">, z.objectInputType<{
528
+ issuer: z.ZodString;
529
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
530
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
531
+ }, z.ZodAny, "strip">>, "many">;
532
+ }, "strip", z.ZodTypeAny, {
533
+ type: "kycCompletion";
534
+ data: z.objectOutputType<{
535
+ issuer: z.ZodString;
536
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
537
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
538
+ }, z.ZodAny, "strip">[];
539
+ identifier: string;
540
+ }, {
541
+ type: "kycCompletion";
542
+ data: z.objectInputType<{
543
+ issuer: z.ZodString;
544
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
545
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
546
+ }, z.ZodAny, "strip">[];
547
+ identifier: string;
548
+ }>;
549
+ export declare const RuleEngineScenarioExecutionData: z.ZodObject<{
550
+ type: z.ZodLiteral<"RuleEngineScenarioExecution">;
551
+ data: z.ZodObject<{
552
+ customerId: z.ZodString;
553
+ scenarioExecutionId: z.ZodString;
554
+ status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]>;
555
+ results: z.ZodArray<z.ZodArray<z.ZodObject<{
556
+ objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
557
+ objectId: z.ZodString;
558
+ name: z.ZodString;
559
+ address: z.ZodString;
560
+ result: z.ZodObject<{
561
+ result: z.ZodObject<{
562
+ is_valid: z.ZodBoolean;
563
+ reasons: z.ZodArray<z.ZodUnknown, "many">;
564
+ }, "strip", z.ZodTypeAny, {
565
+ is_valid: boolean;
566
+ reasons: unknown[];
567
+ }, {
568
+ is_valid: boolean;
569
+ reasons: unknown[];
570
+ }>;
571
+ executionId: z.ZodString;
572
+ }, "strip", z.ZodTypeAny, {
573
+ result: {
574
+ is_valid: boolean;
575
+ reasons: unknown[];
576
+ };
577
+ executionId: string;
578
+ }, {
579
+ result: {
580
+ is_valid: boolean;
581
+ reasons: unknown[];
582
+ };
583
+ executionId: string;
584
+ }>;
585
+ executionId: z.ZodString;
586
+ scenarioId: z.ZodString;
587
+ }, "strip", z.ZodTypeAny, {
588
+ name: string;
589
+ result: {
590
+ result: {
591
+ is_valid: boolean;
592
+ reasons: unknown[];
593
+ };
594
+ executionId: string;
595
+ };
596
+ address: string;
597
+ executionId: string;
598
+ scenarioId: string;
599
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
600
+ objectId: string;
601
+ }, {
602
+ name: string;
603
+ result: {
604
+ result: {
605
+ is_valid: boolean;
606
+ reasons: unknown[];
607
+ };
608
+ executionId: string;
609
+ };
610
+ address: string;
611
+ executionId: string;
612
+ scenarioId: string;
613
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
614
+ objectId: string;
615
+ }>, "many">, "many">;
616
+ }, "strip", z.ZodTypeAny, {
617
+ status: "valid" | "unknown" | "not-valid" | "error";
618
+ customerId: string;
619
+ scenarioExecutionId: string;
620
+ results: {
621
+ name: string;
622
+ result: {
623
+ result: {
624
+ is_valid: boolean;
625
+ reasons: unknown[];
626
+ };
627
+ executionId: string;
628
+ };
629
+ address: string;
630
+ executionId: string;
631
+ scenarioId: string;
632
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
633
+ objectId: string;
634
+ }[][];
635
+ }, {
636
+ status: "valid" | "unknown" | "not-valid" | "error";
637
+ customerId: string;
638
+ scenarioExecutionId: string;
639
+ results: {
640
+ name: string;
641
+ result: {
642
+ result: {
643
+ is_valid: boolean;
644
+ reasons: unknown[];
645
+ };
646
+ executionId: string;
647
+ };
648
+ address: string;
649
+ executionId: string;
650
+ scenarioId: string;
651
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
652
+ objectId: string;
653
+ }[][];
654
+ }>;
655
+ }, "strip", z.ZodTypeAny, {
656
+ type: "RuleEngineScenarioExecution";
657
+ data: {
658
+ status: "valid" | "unknown" | "not-valid" | "error";
659
+ customerId: string;
660
+ scenarioExecutionId: string;
661
+ results: {
662
+ name: string;
663
+ result: {
664
+ result: {
665
+ is_valid: boolean;
666
+ reasons: unknown[];
667
+ };
668
+ executionId: string;
669
+ };
670
+ address: string;
671
+ executionId: string;
672
+ scenarioId: string;
673
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
674
+ objectId: string;
675
+ }[][];
676
+ };
677
+ }, {
678
+ type: "RuleEngineScenarioExecution";
679
+ data: {
680
+ status: "valid" | "unknown" | "not-valid" | "error";
681
+ customerId: string;
682
+ scenarioExecutionId: string;
683
+ results: {
684
+ name: string;
685
+ result: {
686
+ result: {
687
+ is_valid: boolean;
688
+ reasons: unknown[];
689
+ };
690
+ executionId: string;
691
+ };
692
+ address: string;
693
+ executionId: string;
694
+ scenarioId: string;
695
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
696
+ objectId: string;
697
+ }[][];
698
+ };
699
+ }>;
700
+ export declare const OffChainScenarioExecutionData: z.ZodObject<{
701
+ type: z.ZodLiteral<"OffChainScenarioExecution">;
702
+ data: z.ZodArray<z.ZodObject<{
703
+ executionId: z.ZodString;
704
+ sessionId: z.ZodString;
705
+ projectId: z.ZodString;
706
+ address: 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>]>;
707
+ status: z.ZodEnum<["pending", "authorised", "unauthorised"]>;
708
+ scenarioId: z.ZodString;
709
+ scenarioName: z.ZodString;
710
+ requestMessage: z.ZodObject<{
711
+ id: z.ZodString;
712
+ typ: z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>;
713
+ type: z.ZodString;
714
+ thid: z.ZodOptional<z.ZodString>;
715
+ body: z.ZodObject<{
716
+ callbackUrl: z.ZodString;
717
+ reason: z.ZodOptional<z.ZodString>;
718
+ did_doc: z.ZodOptional<z.ZodAny>;
719
+ message: z.ZodOptional<z.ZodString>;
720
+ scope: z.ZodArray<z.ZodObject<{
721
+ id: z.ZodNumber;
722
+ circuitId: z.ZodString;
723
+ optional: z.ZodOptional<z.ZodBoolean>;
724
+ query: z.ZodRecord<z.ZodString, z.ZodAny>;
725
+ }, "strip", z.ZodTypeAny, {
726
+ id: number;
727
+ circuitId: string;
728
+ query: Record<string, any>;
729
+ optional?: boolean | undefined;
730
+ }, {
731
+ id: number;
732
+ circuitId: string;
733
+ query: Record<string, any>;
734
+ optional?: boolean | undefined;
735
+ }>, "many">;
736
+ }, "strip", z.ZodTypeAny, {
737
+ callbackUrl: string;
738
+ scope: {
739
+ id: number;
740
+ circuitId: string;
741
+ query: Record<string, any>;
742
+ optional?: boolean | undefined;
743
+ }[];
744
+ message?: string | undefined;
745
+ reason?: string | undefined;
746
+ did_doc?: any;
747
+ }, {
748
+ callbackUrl: string;
749
+ scope: {
750
+ id: number;
751
+ circuitId: string;
752
+ query: Record<string, any>;
753
+ optional?: boolean | undefined;
754
+ }[];
755
+ message?: string | undefined;
756
+ reason?: string | undefined;
757
+ did_doc?: any;
758
+ }>;
759
+ from: z.ZodString;
760
+ to: z.ZodOptional<z.ZodString>;
761
+ }, "strip", z.ZodTypeAny, {
762
+ id: string;
763
+ type: string;
764
+ typ: import("./polygon-id.schema.js").MediaType;
765
+ body: {
766
+ callbackUrl: string;
767
+ scope: {
768
+ id: number;
769
+ circuitId: string;
770
+ query: Record<string, any>;
771
+ optional?: boolean | undefined;
772
+ }[];
773
+ message?: string | undefined;
774
+ reason?: string | undefined;
775
+ did_doc?: any;
776
+ };
777
+ from: string;
778
+ thid?: string | undefined;
779
+ to?: string | undefined;
780
+ }, {
781
+ id: string;
782
+ type: string;
783
+ typ: import("./polygon-id.schema.js").MediaType;
784
+ body: {
785
+ callbackUrl: string;
786
+ scope: {
787
+ id: number;
788
+ circuitId: string;
789
+ query: Record<string, any>;
790
+ optional?: boolean | undefined;
791
+ }[];
792
+ message?: string | undefined;
793
+ reason?: string | undefined;
794
+ did_doc?: any;
795
+ };
796
+ from: string;
797
+ thid?: string | undefined;
798
+ to?: string | undefined;
799
+ }>;
800
+ responseMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
801
+ id: z.ZodString;
802
+ typ: z.ZodOptional<z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>>;
803
+ type: z.ZodString;
804
+ thid: z.ZodOptional<z.ZodString>;
805
+ body: z.ZodObject<{
806
+ did_doc: z.ZodOptional<z.ZodAny>;
807
+ message: z.ZodOptional<z.ZodString>;
808
+ scope: z.ZodArray<z.ZodObject<{
809
+ id: z.ZodNumber;
810
+ circuitId: z.ZodString;
811
+ vp: z.ZodOptional<z.ZodAny>;
812
+ proof: z.ZodObject<{
813
+ pi_a: z.ZodArray<z.ZodString, "many">;
814
+ pi_b: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
815
+ pi_c: z.ZodArray<z.ZodString, "many">;
816
+ protocol: z.ZodString;
817
+ curve: z.ZodOptional<z.ZodString>;
818
+ }, "strip", z.ZodTypeAny, {
819
+ pi_a: string[];
820
+ pi_b: string[][];
821
+ pi_c: string[];
822
+ protocol: string;
823
+ curve?: string | undefined;
824
+ }, {
825
+ pi_a: string[];
826
+ pi_b: string[][];
827
+ pi_c: string[];
828
+ protocol: string;
829
+ curve?: string | undefined;
830
+ }>;
831
+ pub_signals: z.ZodArray<z.ZodString, "many">;
832
+ }, "strip", z.ZodTypeAny, {
833
+ id: number;
834
+ proof: {
835
+ pi_a: string[];
836
+ pi_b: string[][];
837
+ pi_c: string[];
838
+ protocol: string;
839
+ curve?: string | undefined;
840
+ };
841
+ circuitId: string;
842
+ pub_signals: string[];
843
+ vp?: any;
844
+ }, {
845
+ id: number;
846
+ proof: {
847
+ pi_a: string[];
848
+ pi_b: string[][];
849
+ pi_c: string[];
850
+ protocol: string;
851
+ curve?: string | undefined;
852
+ };
853
+ circuitId: string;
854
+ pub_signals: string[];
855
+ vp?: any;
856
+ }>, "many">;
857
+ }, "strip", z.ZodTypeAny, {
858
+ scope: {
859
+ id: number;
860
+ proof: {
861
+ pi_a: string[];
862
+ pi_b: string[][];
863
+ pi_c: string[];
864
+ protocol: string;
865
+ curve?: string | undefined;
866
+ };
867
+ circuitId: string;
868
+ pub_signals: string[];
869
+ vp?: any;
870
+ }[];
871
+ message?: string | undefined;
872
+ did_doc?: any;
873
+ }, {
874
+ scope: {
875
+ id: number;
876
+ proof: {
877
+ pi_a: string[];
878
+ pi_b: string[][];
879
+ pi_c: string[];
880
+ protocol: string;
881
+ curve?: string | undefined;
882
+ };
883
+ circuitId: string;
884
+ pub_signals: string[];
885
+ vp?: any;
886
+ }[];
887
+ message?: string | undefined;
888
+ did_doc?: any;
889
+ }>;
890
+ from: z.ZodOptional<z.ZodString>;
891
+ to: z.ZodOptional<z.ZodString>;
892
+ }, "strip", z.ZodTypeAny, {
893
+ id: string;
894
+ type: string;
895
+ body: {
896
+ scope: {
897
+ id: number;
898
+ proof: {
899
+ pi_a: string[];
900
+ pi_b: string[][];
901
+ pi_c: string[];
902
+ protocol: string;
903
+ curve?: string | undefined;
904
+ };
905
+ circuitId: string;
906
+ pub_signals: string[];
907
+ vp?: any;
908
+ }[];
909
+ message?: string | undefined;
910
+ did_doc?: any;
911
+ };
912
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
913
+ thid?: string | undefined;
914
+ from?: string | undefined;
915
+ to?: string | undefined;
916
+ }, {
917
+ id: string;
918
+ type: string;
919
+ body: {
920
+ scope: {
921
+ id: number;
922
+ proof: {
923
+ pi_a: string[];
924
+ pi_b: string[][];
925
+ pi_c: string[];
926
+ protocol: string;
927
+ curve?: string | undefined;
928
+ };
929
+ circuitId: string;
930
+ pub_signals: string[];
931
+ vp?: any;
932
+ }[];
933
+ message?: string | undefined;
934
+ did_doc?: any;
935
+ };
936
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
937
+ thid?: string | undefined;
938
+ from?: string | undefined;
939
+ to?: string | undefined;
940
+ }>>>;
941
+ verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
942
+ query: z.ZodObject<{
943
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
944
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
945
+ attribute: z.ZodString;
946
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
947
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
948
+ }, "strip", z.ZodTypeAny, {
949
+ value: string | number | boolean | (string | number)[];
950
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
951
+ attribute: string;
952
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
953
+ requestId?: number | null | undefined;
954
+ }, {
955
+ value: string | number | boolean | (string | number)[];
956
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
957
+ attribute: string;
958
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
959
+ requestId?: number | null | undefined;
960
+ }>;
961
+ }, "strip", z.ZodTypeAny, {
962
+ status: "pending" | "authorised" | "unauthorised";
963
+ address: string;
964
+ executionId: string;
965
+ sessionId: string;
966
+ projectId: string;
967
+ scenarioId: string;
968
+ scenarioName: string;
969
+ query: {
970
+ value: string | number | boolean | (string | number)[];
971
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
972
+ attribute: string;
973
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
974
+ requestId?: number | null | undefined;
975
+ };
976
+ requestMessage: {
977
+ id: string;
978
+ type: string;
979
+ typ: import("./polygon-id.schema.js").MediaType;
980
+ body: {
981
+ callbackUrl: string;
982
+ scope: {
983
+ id: number;
984
+ circuitId: string;
985
+ query: Record<string, any>;
986
+ optional?: boolean | undefined;
987
+ }[];
988
+ message?: string | undefined;
989
+ reason?: string | undefined;
990
+ did_doc?: any;
991
+ };
992
+ from: string;
993
+ thid?: string | undefined;
994
+ to?: string | undefined;
995
+ };
996
+ responseMessage?: {
997
+ id: string;
998
+ type: string;
999
+ body: {
1000
+ scope: {
1001
+ id: number;
1002
+ proof: {
1003
+ pi_a: string[];
1004
+ pi_b: string[][];
1005
+ pi_c: string[];
1006
+ protocol: string;
1007
+ curve?: string | undefined;
1008
+ };
1009
+ circuitId: string;
1010
+ pub_signals: string[];
1011
+ vp?: any;
1012
+ }[];
1013
+ message?: string | undefined;
1014
+ did_doc?: any;
1015
+ };
1016
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1017
+ thid?: string | undefined;
1018
+ from?: string | undefined;
1019
+ to?: string | undefined;
1020
+ } | null | undefined;
1021
+ verificationError?: string | null | undefined;
1022
+ }, {
1023
+ status: "pending" | "authorised" | "unauthorised";
1024
+ address: string;
1025
+ executionId: string;
1026
+ sessionId: string;
1027
+ projectId: string;
1028
+ scenarioId: string;
1029
+ scenarioName: string;
1030
+ query: {
1031
+ value: string | number | boolean | (string | number)[];
1032
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1033
+ attribute: string;
1034
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1035
+ requestId?: number | null | undefined;
1036
+ };
1037
+ requestMessage: {
1038
+ id: string;
1039
+ type: string;
1040
+ typ: import("./polygon-id.schema.js").MediaType;
1041
+ body: {
1042
+ callbackUrl: string;
1043
+ scope: {
1044
+ id: number;
1045
+ circuitId: string;
1046
+ query: Record<string, any>;
1047
+ optional?: boolean | undefined;
1048
+ }[];
1049
+ message?: string | undefined;
1050
+ reason?: string | undefined;
1051
+ did_doc?: any;
1052
+ };
1053
+ from: string;
1054
+ thid?: string | undefined;
1055
+ to?: string | undefined;
1056
+ };
1057
+ responseMessage?: {
1058
+ id: string;
1059
+ type: string;
1060
+ body: {
1061
+ scope: {
1062
+ id: number;
1063
+ proof: {
1064
+ pi_a: string[];
1065
+ pi_b: string[][];
1066
+ pi_c: string[];
1067
+ protocol: string;
1068
+ curve?: string | undefined;
1069
+ };
1070
+ circuitId: string;
1071
+ pub_signals: string[];
1072
+ vp?: any;
1073
+ }[];
1074
+ message?: string | undefined;
1075
+ did_doc?: any;
1076
+ };
1077
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1078
+ thid?: string | undefined;
1079
+ from?: string | undefined;
1080
+ to?: string | undefined;
1081
+ } | null | undefined;
1082
+ verificationError?: string | null | undefined;
1083
+ }>, "many">;
1084
+ }, "strip", z.ZodTypeAny, {
1085
+ type: "OffChainScenarioExecution";
1086
+ data: {
1087
+ status: "pending" | "authorised" | "unauthorised";
1088
+ address: string;
1089
+ executionId: string;
1090
+ sessionId: string;
1091
+ projectId: string;
1092
+ scenarioId: string;
1093
+ scenarioName: string;
1094
+ query: {
1095
+ value: string | number | boolean | (string | number)[];
1096
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1097
+ attribute: string;
1098
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1099
+ requestId?: number | null | undefined;
1100
+ };
1101
+ requestMessage: {
1102
+ id: string;
1103
+ type: string;
1104
+ typ: import("./polygon-id.schema.js").MediaType;
1105
+ body: {
1106
+ callbackUrl: string;
1107
+ scope: {
1108
+ id: number;
1109
+ circuitId: string;
1110
+ query: Record<string, any>;
1111
+ optional?: boolean | undefined;
1112
+ }[];
1113
+ message?: string | undefined;
1114
+ reason?: string | undefined;
1115
+ did_doc?: any;
1116
+ };
1117
+ from: string;
1118
+ thid?: string | undefined;
1119
+ to?: string | undefined;
1120
+ };
1121
+ responseMessage?: {
1122
+ id: string;
1123
+ type: string;
1124
+ body: {
1125
+ scope: {
1126
+ id: number;
1127
+ proof: {
1128
+ pi_a: string[];
1129
+ pi_b: string[][];
1130
+ pi_c: string[];
1131
+ protocol: string;
1132
+ curve?: string | undefined;
1133
+ };
1134
+ circuitId: string;
1135
+ pub_signals: string[];
1136
+ vp?: any;
1137
+ }[];
1138
+ message?: string | undefined;
1139
+ did_doc?: any;
1140
+ };
1141
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1142
+ thid?: string | undefined;
1143
+ from?: string | undefined;
1144
+ to?: string | undefined;
1145
+ } | null | undefined;
1146
+ verificationError?: string | null | undefined;
1147
+ }[];
1148
+ }, {
1149
+ type: "OffChainScenarioExecution";
1150
+ data: {
1151
+ status: "pending" | "authorised" | "unauthorised";
1152
+ address: string;
1153
+ executionId: string;
1154
+ sessionId: string;
1155
+ projectId: string;
1156
+ scenarioId: string;
1157
+ scenarioName: string;
1158
+ query: {
1159
+ value: string | number | boolean | (string | number)[];
1160
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1161
+ attribute: string;
1162
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1163
+ requestId?: number | null | undefined;
1164
+ };
1165
+ requestMessage: {
1166
+ id: string;
1167
+ type: string;
1168
+ typ: import("./polygon-id.schema.js").MediaType;
1169
+ body: {
1170
+ callbackUrl: string;
1171
+ scope: {
1172
+ id: number;
1173
+ circuitId: string;
1174
+ query: Record<string, any>;
1175
+ optional?: boolean | undefined;
1176
+ }[];
1177
+ message?: string | undefined;
1178
+ reason?: string | undefined;
1179
+ did_doc?: any;
1180
+ };
1181
+ from: string;
1182
+ thid?: string | undefined;
1183
+ to?: string | undefined;
1184
+ };
1185
+ responseMessage?: {
1186
+ id: string;
1187
+ type: string;
1188
+ body: {
1189
+ scope: {
1190
+ id: number;
1191
+ proof: {
1192
+ pi_a: string[];
1193
+ pi_b: string[][];
1194
+ pi_c: string[];
1195
+ protocol: string;
1196
+ curve?: string | undefined;
1197
+ };
1198
+ circuitId: string;
1199
+ pub_signals: string[];
1200
+ vp?: any;
1201
+ }[];
1202
+ message?: string | undefined;
1203
+ did_doc?: any;
1204
+ };
1205
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1206
+ thid?: string | undefined;
1207
+ from?: string | undefined;
1208
+ to?: string | undefined;
1209
+ } | null | undefined;
1210
+ verificationError?: string | null | undefined;
1211
+ }[];
1212
+ }>;
1213
+ export declare const OnChainScenarioExecutionData: z.ZodObject<{
1214
+ type: z.ZodLiteral<"OnChainScenarioExecution">;
1215
+ data: z.ZodAny;
1216
+ }, "strip", z.ZodTypeAny, {
1217
+ type: "OnChainScenarioExecution";
1218
+ data?: any;
1219
+ }, {
1220
+ type: "OnChainScenarioExecution";
1221
+ data?: any;
1222
+ }>;
1223
+ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
1224
+ type: z.ZodLiteral<"RuleEngineScenarioExecution">;
1225
+ data: z.ZodObject<{
1226
+ customerId: z.ZodString;
1227
+ scenarioExecutionId: z.ZodString;
1228
+ status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]>;
1229
+ results: z.ZodArray<z.ZodArray<z.ZodObject<{
1230
+ objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
1231
+ objectId: z.ZodString;
1232
+ name: z.ZodString;
1233
+ address: z.ZodString;
1234
+ result: z.ZodObject<{
1235
+ result: z.ZodObject<{
1236
+ is_valid: z.ZodBoolean;
1237
+ reasons: z.ZodArray<z.ZodUnknown, "many">;
1238
+ }, "strip", z.ZodTypeAny, {
1239
+ is_valid: boolean;
1240
+ reasons: unknown[];
1241
+ }, {
1242
+ is_valid: boolean;
1243
+ reasons: unknown[];
1244
+ }>;
1245
+ executionId: z.ZodString;
1246
+ }, "strip", z.ZodTypeAny, {
1247
+ result: {
1248
+ is_valid: boolean;
1249
+ reasons: unknown[];
1250
+ };
1251
+ executionId: string;
1252
+ }, {
1253
+ result: {
1254
+ is_valid: boolean;
1255
+ reasons: unknown[];
1256
+ };
1257
+ executionId: string;
1258
+ }>;
1259
+ executionId: z.ZodString;
1260
+ scenarioId: z.ZodString;
1261
+ }, "strip", z.ZodTypeAny, {
1262
+ name: string;
1263
+ result: {
1264
+ result: {
1265
+ is_valid: boolean;
1266
+ reasons: unknown[];
1267
+ };
1268
+ executionId: string;
1269
+ };
1270
+ address: string;
1271
+ executionId: string;
1272
+ scenarioId: string;
1273
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1274
+ objectId: string;
1275
+ }, {
1276
+ name: string;
1277
+ result: {
1278
+ result: {
1279
+ is_valid: boolean;
1280
+ reasons: unknown[];
1281
+ };
1282
+ executionId: string;
1283
+ };
1284
+ address: string;
1285
+ executionId: string;
1286
+ scenarioId: string;
1287
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1288
+ objectId: string;
1289
+ }>, "many">, "many">;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ status: "valid" | "unknown" | "not-valid" | "error";
1292
+ customerId: string;
1293
+ scenarioExecutionId: string;
1294
+ results: {
1295
+ name: string;
1296
+ result: {
1297
+ result: {
1298
+ is_valid: boolean;
1299
+ reasons: unknown[];
1300
+ };
1301
+ executionId: string;
1302
+ };
1303
+ address: string;
1304
+ executionId: string;
1305
+ scenarioId: string;
1306
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1307
+ objectId: string;
1308
+ }[][];
1309
+ }, {
1310
+ status: "valid" | "unknown" | "not-valid" | "error";
1311
+ customerId: string;
1312
+ scenarioExecutionId: string;
1313
+ results: {
1314
+ name: string;
1315
+ result: {
1316
+ result: {
1317
+ is_valid: boolean;
1318
+ reasons: unknown[];
1319
+ };
1320
+ executionId: string;
1321
+ };
1322
+ address: string;
1323
+ executionId: string;
1324
+ scenarioId: string;
1325
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1326
+ objectId: string;
1327
+ }[][];
1328
+ }>;
1329
+ }, "strip", z.ZodTypeAny, {
1330
+ type: "RuleEngineScenarioExecution";
1331
+ data: {
1332
+ status: "valid" | "unknown" | "not-valid" | "error";
1333
+ customerId: string;
1334
+ scenarioExecutionId: string;
1335
+ results: {
1336
+ name: string;
1337
+ result: {
1338
+ result: {
1339
+ is_valid: boolean;
1340
+ reasons: unknown[];
1341
+ };
1342
+ executionId: string;
1343
+ };
1344
+ address: string;
1345
+ executionId: string;
1346
+ scenarioId: string;
1347
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1348
+ objectId: string;
1349
+ }[][];
1350
+ };
1351
+ }, {
1352
+ type: "RuleEngineScenarioExecution";
1353
+ data: {
1354
+ status: "valid" | "unknown" | "not-valid" | "error";
1355
+ customerId: string;
1356
+ scenarioExecutionId: string;
1357
+ results: {
1358
+ name: string;
1359
+ result: {
1360
+ result: {
1361
+ is_valid: boolean;
1362
+ reasons: unknown[];
1363
+ };
1364
+ executionId: string;
1365
+ };
1366
+ address: string;
1367
+ executionId: string;
1368
+ scenarioId: string;
1369
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1370
+ objectId: string;
1371
+ }[][];
1372
+ };
1373
+ }>, z.ZodObject<{
1374
+ type: z.ZodLiteral<"OffChainScenarioExecution">;
1375
+ data: z.ZodArray<z.ZodObject<{
1376
+ executionId: z.ZodString;
1377
+ sessionId: z.ZodString;
1378
+ projectId: z.ZodString;
1379
+ address: 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>]>;
1380
+ status: z.ZodEnum<["pending", "authorised", "unauthorised"]>;
1381
+ scenarioId: z.ZodString;
1382
+ scenarioName: z.ZodString;
1383
+ requestMessage: z.ZodObject<{
1384
+ id: z.ZodString;
1385
+ typ: z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>;
1386
+ type: z.ZodString;
1387
+ thid: z.ZodOptional<z.ZodString>;
1388
+ body: z.ZodObject<{
1389
+ callbackUrl: z.ZodString;
1390
+ reason: z.ZodOptional<z.ZodString>;
1391
+ did_doc: z.ZodOptional<z.ZodAny>;
1392
+ message: z.ZodOptional<z.ZodString>;
1393
+ scope: z.ZodArray<z.ZodObject<{
1394
+ id: z.ZodNumber;
1395
+ circuitId: z.ZodString;
1396
+ optional: z.ZodOptional<z.ZodBoolean>;
1397
+ query: z.ZodRecord<z.ZodString, z.ZodAny>;
1398
+ }, "strip", z.ZodTypeAny, {
1399
+ id: number;
1400
+ circuitId: string;
1401
+ query: Record<string, any>;
1402
+ optional?: boolean | undefined;
1403
+ }, {
1404
+ id: number;
1405
+ circuitId: string;
1406
+ query: Record<string, any>;
1407
+ optional?: boolean | undefined;
1408
+ }>, "many">;
1409
+ }, "strip", z.ZodTypeAny, {
1410
+ callbackUrl: string;
1411
+ scope: {
1412
+ id: number;
1413
+ circuitId: string;
1414
+ query: Record<string, any>;
1415
+ optional?: boolean | undefined;
1416
+ }[];
1417
+ message?: string | undefined;
1418
+ reason?: string | undefined;
1419
+ did_doc?: any;
1420
+ }, {
1421
+ callbackUrl: string;
1422
+ scope: {
1423
+ id: number;
1424
+ circuitId: string;
1425
+ query: Record<string, any>;
1426
+ optional?: boolean | undefined;
1427
+ }[];
1428
+ message?: string | undefined;
1429
+ reason?: string | undefined;
1430
+ did_doc?: any;
1431
+ }>;
1432
+ from: z.ZodString;
1433
+ to: z.ZodOptional<z.ZodString>;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ id: string;
1436
+ type: string;
1437
+ typ: import("./polygon-id.schema.js").MediaType;
1438
+ body: {
1439
+ callbackUrl: string;
1440
+ scope: {
1441
+ id: number;
1442
+ circuitId: string;
1443
+ query: Record<string, any>;
1444
+ optional?: boolean | undefined;
1445
+ }[];
1446
+ message?: string | undefined;
1447
+ reason?: string | undefined;
1448
+ did_doc?: any;
1449
+ };
1450
+ from: string;
1451
+ thid?: string | undefined;
1452
+ to?: string | undefined;
1453
+ }, {
1454
+ id: string;
1455
+ type: string;
1456
+ typ: import("./polygon-id.schema.js").MediaType;
1457
+ body: {
1458
+ callbackUrl: string;
1459
+ scope: {
1460
+ id: number;
1461
+ circuitId: string;
1462
+ query: Record<string, any>;
1463
+ optional?: boolean | undefined;
1464
+ }[];
1465
+ message?: string | undefined;
1466
+ reason?: string | undefined;
1467
+ did_doc?: any;
1468
+ };
1469
+ from: string;
1470
+ thid?: string | undefined;
1471
+ to?: string | undefined;
1472
+ }>;
1473
+ responseMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1474
+ id: z.ZodString;
1475
+ typ: z.ZodOptional<z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>>;
1476
+ type: z.ZodString;
1477
+ thid: z.ZodOptional<z.ZodString>;
1478
+ body: z.ZodObject<{
1479
+ did_doc: z.ZodOptional<z.ZodAny>;
1480
+ message: z.ZodOptional<z.ZodString>;
1481
+ scope: z.ZodArray<z.ZodObject<{
1482
+ id: z.ZodNumber;
1483
+ circuitId: z.ZodString;
1484
+ vp: z.ZodOptional<z.ZodAny>;
1485
+ proof: z.ZodObject<{
1486
+ pi_a: z.ZodArray<z.ZodString, "many">;
1487
+ pi_b: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
1488
+ pi_c: z.ZodArray<z.ZodString, "many">;
1489
+ protocol: z.ZodString;
1490
+ curve: z.ZodOptional<z.ZodString>;
1491
+ }, "strip", z.ZodTypeAny, {
1492
+ pi_a: string[];
1493
+ pi_b: string[][];
1494
+ pi_c: string[];
1495
+ protocol: string;
1496
+ curve?: string | undefined;
1497
+ }, {
1498
+ pi_a: string[];
1499
+ pi_b: string[][];
1500
+ pi_c: string[];
1501
+ protocol: string;
1502
+ curve?: string | undefined;
1503
+ }>;
1504
+ pub_signals: z.ZodArray<z.ZodString, "many">;
1505
+ }, "strip", z.ZodTypeAny, {
1506
+ id: number;
1507
+ proof: {
1508
+ pi_a: string[];
1509
+ pi_b: string[][];
1510
+ pi_c: string[];
1511
+ protocol: string;
1512
+ curve?: string | undefined;
1513
+ };
1514
+ circuitId: string;
1515
+ pub_signals: string[];
1516
+ vp?: any;
1517
+ }, {
1518
+ id: number;
1519
+ proof: {
1520
+ pi_a: string[];
1521
+ pi_b: string[][];
1522
+ pi_c: string[];
1523
+ protocol: string;
1524
+ curve?: string | undefined;
1525
+ };
1526
+ circuitId: string;
1527
+ pub_signals: string[];
1528
+ vp?: any;
1529
+ }>, "many">;
1530
+ }, "strip", z.ZodTypeAny, {
1531
+ scope: {
1532
+ id: number;
1533
+ proof: {
1534
+ pi_a: string[];
1535
+ pi_b: string[][];
1536
+ pi_c: string[];
1537
+ protocol: string;
1538
+ curve?: string | undefined;
1539
+ };
1540
+ circuitId: string;
1541
+ pub_signals: string[];
1542
+ vp?: any;
1543
+ }[];
1544
+ message?: string | undefined;
1545
+ did_doc?: any;
1546
+ }, {
1547
+ scope: {
1548
+ id: number;
1549
+ proof: {
1550
+ pi_a: string[];
1551
+ pi_b: string[][];
1552
+ pi_c: string[];
1553
+ protocol: string;
1554
+ curve?: string | undefined;
1555
+ };
1556
+ circuitId: string;
1557
+ pub_signals: string[];
1558
+ vp?: any;
1559
+ }[];
1560
+ message?: string | undefined;
1561
+ did_doc?: any;
1562
+ }>;
1563
+ from: z.ZodOptional<z.ZodString>;
1564
+ to: z.ZodOptional<z.ZodString>;
1565
+ }, "strip", z.ZodTypeAny, {
1566
+ id: string;
1567
+ type: string;
1568
+ body: {
1569
+ scope: {
1570
+ id: number;
1571
+ proof: {
1572
+ pi_a: string[];
1573
+ pi_b: string[][];
1574
+ pi_c: string[];
1575
+ protocol: string;
1576
+ curve?: string | undefined;
1577
+ };
1578
+ circuitId: string;
1579
+ pub_signals: string[];
1580
+ vp?: any;
1581
+ }[];
1582
+ message?: string | undefined;
1583
+ did_doc?: any;
1584
+ };
1585
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1586
+ thid?: string | undefined;
1587
+ from?: string | undefined;
1588
+ to?: string | undefined;
1589
+ }, {
1590
+ id: string;
1591
+ type: string;
1592
+ body: {
1593
+ scope: {
1594
+ id: number;
1595
+ proof: {
1596
+ pi_a: string[];
1597
+ pi_b: string[][];
1598
+ pi_c: string[];
1599
+ protocol: string;
1600
+ curve?: string | undefined;
1601
+ };
1602
+ circuitId: string;
1603
+ pub_signals: string[];
1604
+ vp?: any;
1605
+ }[];
1606
+ message?: string | undefined;
1607
+ did_doc?: any;
1608
+ };
1609
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1610
+ thid?: string | undefined;
1611
+ from?: string | undefined;
1612
+ to?: string | undefined;
1613
+ }>>>;
1614
+ verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1615
+ query: z.ZodObject<{
1616
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
1617
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1618
+ attribute: z.ZodString;
1619
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
1620
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
1621
+ }, "strip", z.ZodTypeAny, {
1622
+ value: string | number | boolean | (string | number)[];
1623
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1624
+ attribute: string;
1625
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1626
+ requestId?: number | null | undefined;
1627
+ }, {
1628
+ value: string | number | boolean | (string | number)[];
1629
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1630
+ attribute: string;
1631
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1632
+ requestId?: number | null | undefined;
1633
+ }>;
1634
+ }, "strip", z.ZodTypeAny, {
1635
+ status: "pending" | "authorised" | "unauthorised";
1636
+ address: string;
1637
+ executionId: string;
1638
+ sessionId: string;
1639
+ projectId: string;
1640
+ scenarioId: string;
1641
+ scenarioName: string;
1642
+ query: {
1643
+ value: string | number | boolean | (string | number)[];
1644
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1645
+ attribute: string;
1646
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1647
+ requestId?: number | null | undefined;
1648
+ };
1649
+ requestMessage: {
1650
+ id: string;
1651
+ type: string;
1652
+ typ: import("./polygon-id.schema.js").MediaType;
1653
+ body: {
1654
+ callbackUrl: string;
1655
+ scope: {
1656
+ id: number;
1657
+ circuitId: string;
1658
+ query: Record<string, any>;
1659
+ optional?: boolean | undefined;
1660
+ }[];
1661
+ message?: string | undefined;
1662
+ reason?: string | undefined;
1663
+ did_doc?: any;
1664
+ };
1665
+ from: string;
1666
+ thid?: string | undefined;
1667
+ to?: string | undefined;
1668
+ };
1669
+ responseMessage?: {
1670
+ id: string;
1671
+ type: string;
1672
+ body: {
1673
+ scope: {
1674
+ id: number;
1675
+ proof: {
1676
+ pi_a: string[];
1677
+ pi_b: string[][];
1678
+ pi_c: string[];
1679
+ protocol: string;
1680
+ curve?: string | undefined;
1681
+ };
1682
+ circuitId: string;
1683
+ pub_signals: string[];
1684
+ vp?: any;
1685
+ }[];
1686
+ message?: string | undefined;
1687
+ did_doc?: any;
1688
+ };
1689
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1690
+ thid?: string | undefined;
1691
+ from?: string | undefined;
1692
+ to?: string | undefined;
1693
+ } | null | undefined;
1694
+ verificationError?: string | null | undefined;
1695
+ }, {
1696
+ status: "pending" | "authorised" | "unauthorised";
1697
+ address: string;
1698
+ executionId: string;
1699
+ sessionId: string;
1700
+ projectId: string;
1701
+ scenarioId: string;
1702
+ scenarioName: string;
1703
+ query: {
1704
+ value: string | number | boolean | (string | number)[];
1705
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1706
+ attribute: string;
1707
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1708
+ requestId?: number | null | undefined;
1709
+ };
1710
+ requestMessage: {
1711
+ id: string;
1712
+ type: string;
1713
+ typ: import("./polygon-id.schema.js").MediaType;
1714
+ body: {
1715
+ callbackUrl: string;
1716
+ scope: {
1717
+ id: number;
1718
+ circuitId: string;
1719
+ query: Record<string, any>;
1720
+ optional?: boolean | undefined;
1721
+ }[];
1722
+ message?: string | undefined;
1723
+ reason?: string | undefined;
1724
+ did_doc?: any;
1725
+ };
1726
+ from: string;
1727
+ thid?: string | undefined;
1728
+ to?: string | undefined;
1729
+ };
1730
+ responseMessage?: {
1731
+ id: string;
1732
+ type: string;
1733
+ body: {
1734
+ scope: {
1735
+ id: number;
1736
+ proof: {
1737
+ pi_a: string[];
1738
+ pi_b: string[][];
1739
+ pi_c: string[];
1740
+ protocol: string;
1741
+ curve?: string | undefined;
1742
+ };
1743
+ circuitId: string;
1744
+ pub_signals: string[];
1745
+ vp?: any;
1746
+ }[];
1747
+ message?: string | undefined;
1748
+ did_doc?: any;
1749
+ };
1750
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1751
+ thid?: string | undefined;
1752
+ from?: string | undefined;
1753
+ to?: string | undefined;
1754
+ } | null | undefined;
1755
+ verificationError?: string | null | undefined;
1756
+ }>, "many">;
1757
+ }, "strip", z.ZodTypeAny, {
1758
+ type: "OffChainScenarioExecution";
1759
+ data: {
1760
+ status: "pending" | "authorised" | "unauthorised";
1761
+ address: string;
1762
+ executionId: string;
1763
+ sessionId: string;
1764
+ projectId: string;
1765
+ scenarioId: string;
1766
+ scenarioName: string;
1767
+ query: {
1768
+ value: string | number | boolean | (string | number)[];
1769
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1770
+ attribute: string;
1771
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1772
+ requestId?: number | null | undefined;
1773
+ };
1774
+ requestMessage: {
1775
+ id: string;
1776
+ type: string;
1777
+ typ: import("./polygon-id.schema.js").MediaType;
1778
+ body: {
1779
+ callbackUrl: string;
1780
+ scope: {
1781
+ id: number;
1782
+ circuitId: string;
1783
+ query: Record<string, any>;
1784
+ optional?: boolean | undefined;
1785
+ }[];
1786
+ message?: string | undefined;
1787
+ reason?: string | undefined;
1788
+ did_doc?: any;
1789
+ };
1790
+ from: string;
1791
+ thid?: string | undefined;
1792
+ to?: string | undefined;
1793
+ };
1794
+ responseMessage?: {
1795
+ id: string;
1796
+ type: string;
1797
+ body: {
1798
+ scope: {
1799
+ id: number;
1800
+ proof: {
1801
+ pi_a: string[];
1802
+ pi_b: string[][];
1803
+ pi_c: string[];
1804
+ protocol: string;
1805
+ curve?: string | undefined;
1806
+ };
1807
+ circuitId: string;
1808
+ pub_signals: string[];
1809
+ vp?: any;
1810
+ }[];
1811
+ message?: string | undefined;
1812
+ did_doc?: any;
1813
+ };
1814
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1815
+ thid?: string | undefined;
1816
+ from?: string | undefined;
1817
+ to?: string | undefined;
1818
+ } | null | undefined;
1819
+ verificationError?: string | null | undefined;
1820
+ }[];
1821
+ }, {
1822
+ type: "OffChainScenarioExecution";
1823
+ data: {
1824
+ status: "pending" | "authorised" | "unauthorised";
1825
+ address: string;
1826
+ executionId: string;
1827
+ sessionId: string;
1828
+ projectId: string;
1829
+ scenarioId: string;
1830
+ scenarioName: string;
1831
+ query: {
1832
+ value: string | number | boolean | (string | number)[];
1833
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1834
+ attribute: string;
1835
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1836
+ requestId?: number | null | undefined;
1837
+ };
1838
+ requestMessage: {
1839
+ id: string;
1840
+ type: string;
1841
+ typ: import("./polygon-id.schema.js").MediaType;
1842
+ body: {
1843
+ callbackUrl: string;
1844
+ scope: {
1845
+ id: number;
1846
+ circuitId: string;
1847
+ query: Record<string, any>;
1848
+ optional?: boolean | undefined;
1849
+ }[];
1850
+ message?: string | undefined;
1851
+ reason?: string | undefined;
1852
+ did_doc?: any;
1853
+ };
1854
+ from: string;
1855
+ thid?: string | undefined;
1856
+ to?: string | undefined;
1857
+ };
1858
+ responseMessage?: {
1859
+ id: string;
1860
+ type: string;
1861
+ body: {
1862
+ scope: {
1863
+ id: number;
1864
+ proof: {
1865
+ pi_a: string[];
1866
+ pi_b: string[][];
1867
+ pi_c: string[];
1868
+ protocol: string;
1869
+ curve?: string | undefined;
1870
+ };
1871
+ circuitId: string;
1872
+ pub_signals: string[];
1873
+ vp?: any;
1874
+ }[];
1875
+ message?: string | undefined;
1876
+ did_doc?: any;
1877
+ };
1878
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1879
+ thid?: string | undefined;
1880
+ from?: string | undefined;
1881
+ to?: string | undefined;
1882
+ } | null | undefined;
1883
+ verificationError?: string | null | undefined;
1884
+ }[];
1885
+ }>, z.ZodObject<{
1886
+ type: z.ZodLiteral<"OnChainScenarioExecution">;
1887
+ data: z.ZodAny;
1888
+ }, "strip", z.ZodTypeAny, {
1889
+ type: "OnChainScenarioExecution";
1890
+ data?: any;
1891
+ }, {
1892
+ type: "OnChainScenarioExecution";
1893
+ data?: any;
1894
+ }>]>;
1895
+ export declare const ScenarioExecutionNotification: z.ZodObject<{
1896
+ type: z.ZodLiteral<"scenarioExecution">;
1897
+ identifier: z.ZodString;
1898
+ data: z.ZodUnion<[z.ZodObject<{
1899
+ type: z.ZodLiteral<"RuleEngineScenarioExecution">;
1900
+ data: z.ZodObject<{
1901
+ customerId: z.ZodString;
1902
+ scenarioExecutionId: z.ZodString;
1903
+ status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]>;
1904
+ results: z.ZodArray<z.ZodArray<z.ZodObject<{
1905
+ objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
1906
+ objectId: z.ZodString;
1907
+ name: z.ZodString;
1908
+ address: z.ZodString;
1909
+ result: z.ZodObject<{
1910
+ result: z.ZodObject<{
1911
+ is_valid: z.ZodBoolean;
1912
+ reasons: z.ZodArray<z.ZodUnknown, "many">;
1913
+ }, "strip", z.ZodTypeAny, {
1914
+ is_valid: boolean;
1915
+ reasons: unknown[];
1916
+ }, {
1917
+ is_valid: boolean;
1918
+ reasons: unknown[];
1919
+ }>;
1920
+ executionId: z.ZodString;
1921
+ }, "strip", z.ZodTypeAny, {
1922
+ result: {
1923
+ is_valid: boolean;
1924
+ reasons: unknown[];
1925
+ };
1926
+ executionId: string;
1927
+ }, {
1928
+ result: {
1929
+ is_valid: boolean;
1930
+ reasons: unknown[];
1931
+ };
1932
+ executionId: string;
1933
+ }>;
1934
+ executionId: z.ZodString;
1935
+ scenarioId: z.ZodString;
1936
+ }, "strip", z.ZodTypeAny, {
1937
+ name: string;
1938
+ result: {
1939
+ result: {
1940
+ is_valid: boolean;
1941
+ reasons: unknown[];
1942
+ };
1943
+ executionId: string;
1944
+ };
1945
+ address: string;
1946
+ executionId: string;
1947
+ scenarioId: string;
1948
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1949
+ objectId: string;
1950
+ }, {
1951
+ name: string;
1952
+ result: {
1953
+ result: {
1954
+ is_valid: boolean;
1955
+ reasons: unknown[];
1956
+ };
1957
+ executionId: string;
1958
+ };
1959
+ address: string;
1960
+ executionId: string;
1961
+ scenarioId: string;
1962
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1963
+ objectId: string;
1964
+ }>, "many">, "many">;
1965
+ }, "strip", z.ZodTypeAny, {
1966
+ status: "valid" | "unknown" | "not-valid" | "error";
1967
+ customerId: string;
1968
+ scenarioExecutionId: string;
1969
+ results: {
1970
+ name: string;
1971
+ result: {
1972
+ result: {
1973
+ is_valid: boolean;
1974
+ reasons: unknown[];
1975
+ };
1976
+ executionId: string;
1977
+ };
1978
+ address: string;
1979
+ executionId: string;
1980
+ scenarioId: string;
1981
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1982
+ objectId: string;
1983
+ }[][];
1984
+ }, {
1985
+ status: "valid" | "unknown" | "not-valid" | "error";
1986
+ customerId: string;
1987
+ scenarioExecutionId: string;
1988
+ results: {
1989
+ name: string;
1990
+ result: {
1991
+ result: {
1992
+ is_valid: boolean;
1993
+ reasons: unknown[];
1994
+ };
1995
+ executionId: string;
1996
+ };
1997
+ address: string;
1998
+ executionId: string;
1999
+ scenarioId: string;
2000
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
2001
+ objectId: string;
2002
+ }[][];
2003
+ }>;
2004
+ }, "strip", z.ZodTypeAny, {
2005
+ type: "RuleEngineScenarioExecution";
2006
+ data: {
2007
+ status: "valid" | "unknown" | "not-valid" | "error";
2008
+ customerId: string;
2009
+ scenarioExecutionId: string;
2010
+ results: {
2011
+ name: string;
2012
+ result: {
2013
+ result: {
2014
+ is_valid: boolean;
2015
+ reasons: unknown[];
2016
+ };
2017
+ executionId: string;
2018
+ };
2019
+ address: string;
2020
+ executionId: string;
2021
+ scenarioId: string;
2022
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
2023
+ objectId: string;
2024
+ }[][];
2025
+ };
2026
+ }, {
2027
+ type: "RuleEngineScenarioExecution";
2028
+ data: {
2029
+ status: "valid" | "unknown" | "not-valid" | "error";
2030
+ customerId: string;
2031
+ scenarioExecutionId: string;
2032
+ results: {
2033
+ name: string;
2034
+ result: {
2035
+ result: {
2036
+ is_valid: boolean;
2037
+ reasons: unknown[];
2038
+ };
2039
+ executionId: string;
2040
+ };
2041
+ address: string;
2042
+ executionId: string;
2043
+ scenarioId: string;
2044
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
2045
+ objectId: string;
2046
+ }[][];
2047
+ };
2048
+ }>, z.ZodObject<{
2049
+ type: z.ZodLiteral<"OffChainScenarioExecution">;
2050
+ data: z.ZodArray<z.ZodObject<{
2051
+ executionId: z.ZodString;
2052
+ sessionId: z.ZodString;
2053
+ projectId: z.ZodString;
2054
+ address: 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>]>;
2055
+ status: z.ZodEnum<["pending", "authorised", "unauthorised"]>;
2056
+ scenarioId: z.ZodString;
2057
+ scenarioName: z.ZodString;
2058
+ requestMessage: z.ZodObject<{
2059
+ id: z.ZodString;
2060
+ typ: z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>;
2061
+ type: z.ZodString;
2062
+ thid: z.ZodOptional<z.ZodString>;
2063
+ body: z.ZodObject<{
2064
+ callbackUrl: z.ZodString;
2065
+ reason: z.ZodOptional<z.ZodString>;
2066
+ did_doc: z.ZodOptional<z.ZodAny>;
2067
+ message: z.ZodOptional<z.ZodString>;
2068
+ scope: z.ZodArray<z.ZodObject<{
2069
+ id: z.ZodNumber;
2070
+ circuitId: z.ZodString;
2071
+ optional: z.ZodOptional<z.ZodBoolean>;
2072
+ query: z.ZodRecord<z.ZodString, z.ZodAny>;
2073
+ }, "strip", z.ZodTypeAny, {
2074
+ id: number;
2075
+ circuitId: string;
2076
+ query: Record<string, any>;
2077
+ optional?: boolean | undefined;
2078
+ }, {
2079
+ id: number;
2080
+ circuitId: string;
2081
+ query: Record<string, any>;
2082
+ optional?: boolean | undefined;
2083
+ }>, "many">;
2084
+ }, "strip", z.ZodTypeAny, {
2085
+ callbackUrl: string;
2086
+ scope: {
2087
+ id: number;
2088
+ circuitId: string;
2089
+ query: Record<string, any>;
2090
+ optional?: boolean | undefined;
2091
+ }[];
2092
+ message?: string | undefined;
2093
+ reason?: string | undefined;
2094
+ did_doc?: any;
2095
+ }, {
2096
+ callbackUrl: string;
2097
+ scope: {
2098
+ id: number;
2099
+ circuitId: string;
2100
+ query: Record<string, any>;
2101
+ optional?: boolean | undefined;
2102
+ }[];
2103
+ message?: string | undefined;
2104
+ reason?: string | undefined;
2105
+ did_doc?: any;
2106
+ }>;
2107
+ from: z.ZodString;
2108
+ to: z.ZodOptional<z.ZodString>;
2109
+ }, "strip", z.ZodTypeAny, {
2110
+ id: string;
2111
+ type: string;
2112
+ typ: import("./polygon-id.schema.js").MediaType;
2113
+ body: {
2114
+ callbackUrl: string;
2115
+ scope: {
2116
+ id: number;
2117
+ circuitId: string;
2118
+ query: Record<string, any>;
2119
+ optional?: boolean | undefined;
2120
+ }[];
2121
+ message?: string | undefined;
2122
+ reason?: string | undefined;
2123
+ did_doc?: any;
2124
+ };
2125
+ from: string;
2126
+ thid?: string | undefined;
2127
+ to?: string | undefined;
2128
+ }, {
2129
+ id: string;
2130
+ type: string;
2131
+ typ: import("./polygon-id.schema.js").MediaType;
2132
+ body: {
2133
+ callbackUrl: string;
2134
+ scope: {
2135
+ id: number;
2136
+ circuitId: string;
2137
+ query: Record<string, any>;
2138
+ optional?: boolean | undefined;
2139
+ }[];
2140
+ message?: string | undefined;
2141
+ reason?: string | undefined;
2142
+ did_doc?: any;
2143
+ };
2144
+ from: string;
2145
+ thid?: string | undefined;
2146
+ to?: string | undefined;
2147
+ }>;
2148
+ responseMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2149
+ id: z.ZodString;
2150
+ typ: z.ZodOptional<z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>>;
2151
+ type: z.ZodString;
2152
+ thid: z.ZodOptional<z.ZodString>;
2153
+ body: z.ZodObject<{
2154
+ did_doc: z.ZodOptional<z.ZodAny>;
2155
+ message: z.ZodOptional<z.ZodString>;
2156
+ scope: z.ZodArray<z.ZodObject<{
2157
+ id: z.ZodNumber;
2158
+ circuitId: z.ZodString;
2159
+ vp: z.ZodOptional<z.ZodAny>;
2160
+ proof: z.ZodObject<{
2161
+ pi_a: z.ZodArray<z.ZodString, "many">;
2162
+ pi_b: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
2163
+ pi_c: z.ZodArray<z.ZodString, "many">;
2164
+ protocol: z.ZodString;
2165
+ curve: z.ZodOptional<z.ZodString>;
2166
+ }, "strip", z.ZodTypeAny, {
2167
+ pi_a: string[];
2168
+ pi_b: string[][];
2169
+ pi_c: string[];
2170
+ protocol: string;
2171
+ curve?: string | undefined;
2172
+ }, {
2173
+ pi_a: string[];
2174
+ pi_b: string[][];
2175
+ pi_c: string[];
2176
+ protocol: string;
2177
+ curve?: string | undefined;
2178
+ }>;
2179
+ pub_signals: z.ZodArray<z.ZodString, "many">;
2180
+ }, "strip", z.ZodTypeAny, {
2181
+ id: number;
2182
+ proof: {
2183
+ pi_a: string[];
2184
+ pi_b: string[][];
2185
+ pi_c: string[];
2186
+ protocol: string;
2187
+ curve?: string | undefined;
2188
+ };
2189
+ circuitId: string;
2190
+ pub_signals: string[];
2191
+ vp?: any;
2192
+ }, {
2193
+ id: number;
2194
+ proof: {
2195
+ pi_a: string[];
2196
+ pi_b: string[][];
2197
+ pi_c: string[];
2198
+ protocol: string;
2199
+ curve?: string | undefined;
2200
+ };
2201
+ circuitId: string;
2202
+ pub_signals: string[];
2203
+ vp?: any;
2204
+ }>, "many">;
2205
+ }, "strip", z.ZodTypeAny, {
2206
+ scope: {
2207
+ id: number;
2208
+ proof: {
2209
+ pi_a: string[];
2210
+ pi_b: string[][];
2211
+ pi_c: string[];
2212
+ protocol: string;
2213
+ curve?: string | undefined;
2214
+ };
2215
+ circuitId: string;
2216
+ pub_signals: string[];
2217
+ vp?: any;
2218
+ }[];
2219
+ message?: string | undefined;
2220
+ did_doc?: any;
2221
+ }, {
2222
+ scope: {
2223
+ id: number;
2224
+ proof: {
2225
+ pi_a: string[];
2226
+ pi_b: string[][];
2227
+ pi_c: string[];
2228
+ protocol: string;
2229
+ curve?: string | undefined;
2230
+ };
2231
+ circuitId: string;
2232
+ pub_signals: string[];
2233
+ vp?: any;
2234
+ }[];
2235
+ message?: string | undefined;
2236
+ did_doc?: any;
2237
+ }>;
2238
+ from: z.ZodOptional<z.ZodString>;
2239
+ to: z.ZodOptional<z.ZodString>;
2240
+ }, "strip", z.ZodTypeAny, {
2241
+ id: string;
2242
+ type: string;
2243
+ body: {
2244
+ scope: {
2245
+ id: number;
2246
+ proof: {
2247
+ pi_a: string[];
2248
+ pi_b: string[][];
2249
+ pi_c: string[];
2250
+ protocol: string;
2251
+ curve?: string | undefined;
2252
+ };
2253
+ circuitId: string;
2254
+ pub_signals: string[];
2255
+ vp?: any;
2256
+ }[];
2257
+ message?: string | undefined;
2258
+ did_doc?: any;
2259
+ };
2260
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
2261
+ thid?: string | undefined;
2262
+ from?: string | undefined;
2263
+ to?: string | undefined;
2264
+ }, {
2265
+ id: string;
2266
+ type: string;
2267
+ body: {
2268
+ scope: {
2269
+ id: number;
2270
+ proof: {
2271
+ pi_a: string[];
2272
+ pi_b: string[][];
2273
+ pi_c: string[];
2274
+ protocol: string;
2275
+ curve?: string | undefined;
2276
+ };
2277
+ circuitId: string;
2278
+ pub_signals: string[];
2279
+ vp?: any;
2280
+ }[];
2281
+ message?: string | undefined;
2282
+ did_doc?: any;
2283
+ };
2284
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
2285
+ thid?: string | undefined;
2286
+ from?: string | undefined;
2287
+ to?: string | undefined;
2288
+ }>>>;
2289
+ verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2290
+ query: z.ZodObject<{
2291
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
2292
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2293
+ attribute: z.ZodString;
2294
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
2295
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
2296
+ }, "strip", z.ZodTypeAny, {
2297
+ value: string | number | boolean | (string | number)[];
2298
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2299
+ attribute: string;
2300
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2301
+ requestId?: number | null | undefined;
2302
+ }, {
2303
+ value: string | number | boolean | (string | number)[];
2304
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2305
+ attribute: string;
2306
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2307
+ requestId?: number | null | undefined;
2308
+ }>;
2309
+ }, "strip", z.ZodTypeAny, {
2310
+ status: "pending" | "authorised" | "unauthorised";
2311
+ address: string;
2312
+ executionId: string;
2313
+ sessionId: string;
2314
+ projectId: string;
2315
+ scenarioId: string;
2316
+ scenarioName: string;
2317
+ query: {
2318
+ value: string | number | boolean | (string | number)[];
2319
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2320
+ attribute: string;
2321
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2322
+ requestId?: number | null | undefined;
2323
+ };
2324
+ requestMessage: {
2325
+ id: string;
2326
+ type: string;
2327
+ typ: import("./polygon-id.schema.js").MediaType;
2328
+ body: {
2329
+ callbackUrl: string;
2330
+ scope: {
2331
+ id: number;
2332
+ circuitId: string;
2333
+ query: Record<string, any>;
2334
+ optional?: boolean | undefined;
2335
+ }[];
2336
+ message?: string | undefined;
2337
+ reason?: string | undefined;
2338
+ did_doc?: any;
2339
+ };
2340
+ from: string;
2341
+ thid?: string | undefined;
2342
+ to?: string | undefined;
2343
+ };
2344
+ responseMessage?: {
2345
+ id: string;
2346
+ type: string;
2347
+ body: {
2348
+ scope: {
2349
+ id: number;
2350
+ proof: {
2351
+ pi_a: string[];
2352
+ pi_b: string[][];
2353
+ pi_c: string[];
2354
+ protocol: string;
2355
+ curve?: string | undefined;
2356
+ };
2357
+ circuitId: string;
2358
+ pub_signals: string[];
2359
+ vp?: any;
2360
+ }[];
2361
+ message?: string | undefined;
2362
+ did_doc?: any;
2363
+ };
2364
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
2365
+ thid?: string | undefined;
2366
+ from?: string | undefined;
2367
+ to?: string | undefined;
2368
+ } | null | undefined;
2369
+ verificationError?: string | null | undefined;
2370
+ }, {
2371
+ status: "pending" | "authorised" | "unauthorised";
2372
+ address: string;
2373
+ executionId: string;
2374
+ sessionId: string;
2375
+ projectId: string;
2376
+ scenarioId: string;
2377
+ scenarioName: string;
2378
+ query: {
2379
+ value: string | number | boolean | (string | number)[];
2380
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2381
+ attribute: string;
2382
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2383
+ requestId?: number | null | undefined;
2384
+ };
2385
+ requestMessage: {
2386
+ id: string;
2387
+ type: string;
2388
+ typ: import("./polygon-id.schema.js").MediaType;
2389
+ body: {
2390
+ callbackUrl: string;
2391
+ scope: {
2392
+ id: number;
2393
+ circuitId: string;
2394
+ query: Record<string, any>;
2395
+ optional?: boolean | undefined;
2396
+ }[];
2397
+ message?: string | undefined;
2398
+ reason?: string | undefined;
2399
+ did_doc?: any;
2400
+ };
2401
+ from: string;
2402
+ thid?: string | undefined;
2403
+ to?: string | undefined;
2404
+ };
2405
+ responseMessage?: {
2406
+ id: string;
2407
+ type: string;
2408
+ body: {
2409
+ scope: {
2410
+ id: number;
2411
+ proof: {
2412
+ pi_a: string[];
2413
+ pi_b: string[][];
2414
+ pi_c: string[];
2415
+ protocol: string;
2416
+ curve?: string | undefined;
2417
+ };
2418
+ circuitId: string;
2419
+ pub_signals: string[];
2420
+ vp?: any;
2421
+ }[];
2422
+ message?: string | undefined;
2423
+ did_doc?: any;
2424
+ };
2425
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
2426
+ thid?: string | undefined;
2427
+ from?: string | undefined;
2428
+ to?: string | undefined;
2429
+ } | null | undefined;
2430
+ verificationError?: string | null | undefined;
2431
+ }>, "many">;
2432
+ }, "strip", z.ZodTypeAny, {
2433
+ type: "OffChainScenarioExecution";
2434
+ data: {
2435
+ status: "pending" | "authorised" | "unauthorised";
2436
+ address: string;
2437
+ executionId: string;
2438
+ sessionId: string;
2439
+ projectId: string;
2440
+ scenarioId: string;
2441
+ scenarioName: string;
2442
+ query: {
2443
+ value: string | number | boolean | (string | number)[];
2444
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2445
+ attribute: string;
2446
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2447
+ requestId?: number | null | undefined;
2448
+ };
2449
+ requestMessage: {
2450
+ id: string;
2451
+ type: string;
2452
+ typ: import("./polygon-id.schema.js").MediaType;
2453
+ body: {
2454
+ callbackUrl: string;
2455
+ scope: {
2456
+ id: number;
2457
+ circuitId: string;
2458
+ query: Record<string, any>;
2459
+ optional?: boolean | undefined;
2460
+ }[];
2461
+ message?: string | undefined;
2462
+ reason?: string | undefined;
2463
+ did_doc?: any;
2464
+ };
2465
+ from: string;
2466
+ thid?: string | undefined;
2467
+ to?: string | undefined;
2468
+ };
2469
+ responseMessage?: {
2470
+ id: string;
2471
+ type: string;
2472
+ body: {
2473
+ scope: {
2474
+ id: number;
2475
+ proof: {
2476
+ pi_a: string[];
2477
+ pi_b: string[][];
2478
+ pi_c: string[];
2479
+ protocol: string;
2480
+ curve?: string | undefined;
2481
+ };
2482
+ circuitId: string;
2483
+ pub_signals: string[];
2484
+ vp?: any;
2485
+ }[];
2486
+ message?: string | undefined;
2487
+ did_doc?: any;
2488
+ };
2489
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
2490
+ thid?: string | undefined;
2491
+ from?: string | undefined;
2492
+ to?: string | undefined;
2493
+ } | null | undefined;
2494
+ verificationError?: string | null | undefined;
2495
+ }[];
2496
+ }, {
2497
+ type: "OffChainScenarioExecution";
2498
+ data: {
2499
+ status: "pending" | "authorised" | "unauthorised";
2500
+ address: string;
2501
+ executionId: string;
2502
+ sessionId: string;
2503
+ projectId: string;
2504
+ scenarioId: string;
2505
+ scenarioName: string;
2506
+ query: {
2507
+ value: string | number | boolean | (string | number)[];
2508
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2509
+ attribute: string;
2510
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2511
+ requestId?: number | null | undefined;
2512
+ };
2513
+ requestMessage: {
2514
+ id: string;
2515
+ type: string;
2516
+ typ: import("./polygon-id.schema.js").MediaType;
2517
+ body: {
2518
+ callbackUrl: string;
2519
+ scope: {
2520
+ id: number;
2521
+ circuitId: string;
2522
+ query: Record<string, any>;
2523
+ optional?: boolean | undefined;
2524
+ }[];
2525
+ message?: string | undefined;
2526
+ reason?: string | undefined;
2527
+ did_doc?: any;
2528
+ };
2529
+ from: string;
2530
+ thid?: string | undefined;
2531
+ to?: string | undefined;
2532
+ };
2533
+ responseMessage?: {
2534
+ id: string;
2535
+ type: string;
2536
+ body: {
2537
+ scope: {
2538
+ id: number;
2539
+ proof: {
2540
+ pi_a: string[];
2541
+ pi_b: string[][];
2542
+ pi_c: string[];
2543
+ protocol: string;
2544
+ curve?: string | undefined;
2545
+ };
2546
+ circuitId: string;
2547
+ pub_signals: string[];
2548
+ vp?: any;
2549
+ }[];
2550
+ message?: string | undefined;
2551
+ did_doc?: any;
2552
+ };
2553
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
2554
+ thid?: string | undefined;
2555
+ from?: string | undefined;
2556
+ to?: string | undefined;
2557
+ } | null | undefined;
2558
+ verificationError?: string | null | undefined;
2559
+ }[];
2560
+ }>, z.ZodObject<{
2561
+ type: z.ZodLiteral<"OnChainScenarioExecution">;
2562
+ data: z.ZodAny;
2563
+ }, "strip", z.ZodTypeAny, {
2564
+ type: "OnChainScenarioExecution";
2565
+ data?: any;
2566
+ }, {
2567
+ type: "OnChainScenarioExecution";
2568
+ data?: any;
2569
+ }>]>;
2570
+ }, "strip", z.ZodTypeAny, {
2571
+ type: "scenarioExecution";
2572
+ data: {
2573
+ type: "RuleEngineScenarioExecution";
2574
+ data: {
2575
+ status: "valid" | "unknown" | "not-valid" | "error";
2576
+ customerId: string;
2577
+ scenarioExecutionId: string;
2578
+ results: {
2579
+ name: string;
2580
+ result: {
2581
+ result: {
2582
+ is_valid: boolean;
2583
+ reasons: unknown[];
2584
+ };
2585
+ executionId: string;
2586
+ };
2587
+ address: string;
2588
+ executionId: string;
2589
+ scenarioId: string;
2590
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
2591
+ objectId: string;
2592
+ }[][];
2593
+ };
2594
+ } | {
2595
+ type: "OffChainScenarioExecution";
2596
+ data: {
2597
+ status: "pending" | "authorised" | "unauthorised";
2598
+ address: string;
2599
+ executionId: string;
2600
+ sessionId: string;
2601
+ projectId: string;
2602
+ scenarioId: string;
2603
+ scenarioName: string;
2604
+ query: {
2605
+ value: string | number | boolean | (string | number)[];
2606
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2607
+ attribute: string;
2608
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2609
+ requestId?: number | null | undefined;
2610
+ };
2611
+ requestMessage: {
2612
+ id: string;
2613
+ type: string;
2614
+ typ: import("./polygon-id.schema.js").MediaType;
2615
+ body: {
2616
+ callbackUrl: string;
2617
+ scope: {
2618
+ id: number;
2619
+ circuitId: string;
2620
+ query: Record<string, any>;
2621
+ optional?: boolean | undefined;
2622
+ }[];
2623
+ message?: string | undefined;
2624
+ reason?: string | undefined;
2625
+ did_doc?: any;
2626
+ };
2627
+ from: string;
2628
+ thid?: string | undefined;
2629
+ to?: string | undefined;
2630
+ };
2631
+ responseMessage?: {
2632
+ id: string;
2633
+ type: string;
2634
+ body: {
2635
+ scope: {
2636
+ id: number;
2637
+ proof: {
2638
+ pi_a: string[];
2639
+ pi_b: string[][];
2640
+ pi_c: string[];
2641
+ protocol: string;
2642
+ curve?: string | undefined;
2643
+ };
2644
+ circuitId: string;
2645
+ pub_signals: string[];
2646
+ vp?: any;
2647
+ }[];
2648
+ message?: string | undefined;
2649
+ did_doc?: any;
2650
+ };
2651
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
2652
+ thid?: string | undefined;
2653
+ from?: string | undefined;
2654
+ to?: string | undefined;
2655
+ } | null | undefined;
2656
+ verificationError?: string | null | undefined;
2657
+ }[];
2658
+ } | {
2659
+ type: "OnChainScenarioExecution";
2660
+ data?: any;
2661
+ };
2662
+ identifier: string;
2663
+ }, {
2664
+ type: "scenarioExecution";
2665
+ data: {
2666
+ type: "RuleEngineScenarioExecution";
2667
+ data: {
2668
+ status: "valid" | "unknown" | "not-valid" | "error";
2669
+ customerId: string;
2670
+ scenarioExecutionId: string;
2671
+ results: {
2672
+ name: string;
2673
+ result: {
2674
+ result: {
2675
+ is_valid: boolean;
2676
+ reasons: unknown[];
2677
+ };
2678
+ executionId: string;
2679
+ };
2680
+ address: string;
2681
+ executionId: string;
2682
+ scenarioId: string;
2683
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
2684
+ objectId: string;
2685
+ }[][];
2686
+ };
2687
+ } | {
2688
+ type: "OffChainScenarioExecution";
2689
+ data: {
2690
+ status: "pending" | "authorised" | "unauthorised";
2691
+ address: string;
2692
+ executionId: string;
2693
+ sessionId: string;
2694
+ projectId: string;
2695
+ scenarioId: string;
2696
+ scenarioName: string;
2697
+ query: {
2698
+ value: string | number | boolean | (string | number)[];
2699
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2700
+ attribute: string;
2701
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2702
+ requestId?: number | null | undefined;
2703
+ };
2704
+ requestMessage: {
2705
+ id: string;
2706
+ type: string;
2707
+ typ: import("./polygon-id.schema.js").MediaType;
2708
+ body: {
2709
+ callbackUrl: string;
2710
+ scope: {
2711
+ id: number;
2712
+ circuitId: string;
2713
+ query: Record<string, any>;
2714
+ optional?: boolean | undefined;
2715
+ }[];
2716
+ message?: string | undefined;
2717
+ reason?: string | undefined;
2718
+ did_doc?: any;
2719
+ };
2720
+ from: string;
2721
+ thid?: string | undefined;
2722
+ to?: string | undefined;
2723
+ };
2724
+ responseMessage?: {
2725
+ id: string;
2726
+ type: string;
2727
+ body: {
2728
+ scope: {
2729
+ id: number;
2730
+ proof: {
2731
+ pi_a: string[];
2732
+ pi_b: string[][];
2733
+ pi_c: string[];
2734
+ protocol: string;
2735
+ curve?: string | undefined;
2736
+ };
2737
+ circuitId: string;
2738
+ pub_signals: string[];
2739
+ vp?: any;
2740
+ }[];
2741
+ message?: string | undefined;
2742
+ did_doc?: any;
2743
+ };
2744
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
2745
+ thid?: string | undefined;
2746
+ from?: string | undefined;
2747
+ to?: string | undefined;
2748
+ } | null | undefined;
2749
+ verificationError?: string | null | undefined;
2750
+ }[];
2751
+ } | {
2752
+ type: "OnChainScenarioExecution";
2753
+ data?: any;
2754
+ };
2755
+ identifier: string;
2756
+ }>;
2757
+ export declare const IsVerifiedNotification: z.ZodObject<{
2758
+ type: z.ZodLiteral<"isVerifiedNotification">;
2759
+ identifier: z.ZodString;
2760
+ isVerified: z.ZodBoolean;
2761
+ }, "strip", z.ZodTypeAny, {
2762
+ type: "isVerifiedNotification";
2763
+ identifier: string;
2764
+ isVerified: boolean;
2765
+ }, {
2766
+ type: "isVerifiedNotification";
2767
+ identifier: string;
2768
+ isVerified: boolean;
2769
+ }>;
2770
+ export declare const PolygonIdInitialized: z.ZodObject<{
2771
+ type: z.ZodLiteral<"polygonIdInitialized">;
2772
+ identifier: z.ZodString;
2773
+ data: z.ZodString;
2774
+ }, "strip", z.ZodTypeAny, {
2775
+ type: "polygonIdInitialized";
2776
+ data: string;
2777
+ identifier: string;
2778
+ }, {
2779
+ type: "polygonIdInitialized";
2780
+ data: string;
2781
+ identifier: string;
2782
+ }>;
2783
+ export declare const OcvSdkInitialized: z.ZodObject<{
2784
+ type: z.ZodLiteral<"ocvSdkInitialized">;
2785
+ identifier: z.ZodString;
2786
+ }, "strip", z.ZodTypeAny, {
2787
+ type: "ocvSdkInitialized";
2788
+ identifier: string;
2789
+ }, {
2790
+ type: "ocvSdkInitialized";
2791
+ identifier: string;
2792
+ }>;
2793
+ export declare const StartCompletedNotification: z.ZodObject<{
2794
+ type: z.ZodLiteral<"startCompletedNotification">;
2795
+ identifier: z.ZodString;
2796
+ }, "strip", z.ZodTypeAny, {
2797
+ type: "startCompletedNotification";
2798
+ identifier: string;
2799
+ }, {
2800
+ type: "startCompletedNotification";
2801
+ identifier: string;
2802
+ }>;
2803
+ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
2804
+ type: z.ZodLiteral<"closeScreen">;
2805
+ identifier: z.ZodString;
2806
+ data: z.ZodUndefined;
2807
+ }, "strip", z.ZodTypeAny, {
2808
+ type: "closeScreen";
2809
+ identifier: string;
2810
+ data?: undefined;
2811
+ }, {
2812
+ type: "closeScreen";
2813
+ identifier: string;
2814
+ data?: undefined;
2815
+ }>, z.ZodObject<{
2816
+ type: z.ZodLiteral<"polygonIdInitialized">;
2817
+ identifier: z.ZodString;
2818
+ data: z.ZodString;
2819
+ }, "strip", z.ZodTypeAny, {
2820
+ type: "polygonIdInitialized";
2821
+ data: string;
2822
+ identifier: string;
2823
+ }, {
2824
+ type: "polygonIdInitialized";
2825
+ data: string;
2826
+ identifier: string;
2827
+ }>, z.ZodObject<{
2828
+ type: z.ZodLiteral<"ocvSdkInitialized">;
2829
+ identifier: z.ZodString;
2830
+ }, "strip", z.ZodTypeAny, {
2831
+ type: "ocvSdkInitialized";
2832
+ identifier: string;
2833
+ }, {
2834
+ type: "ocvSdkInitialized";
2835
+ identifier: string;
2836
+ }>, z.ZodObject<{
2837
+ type: z.ZodLiteral<"startCompletedNotification">;
2838
+ identifier: z.ZodString;
2839
+ }, "strip", z.ZodTypeAny, {
2840
+ type: "startCompletedNotification";
2841
+ identifier: string;
2842
+ }, {
2843
+ type: "startCompletedNotification";
2844
+ identifier: string;
2845
+ }>, z.ZodObject<{
2846
+ type: z.ZodLiteral<"kycCompletion">;
2847
+ identifier: z.ZodString;
2848
+ data: z.ZodArray<z.ZodObject<{
2849
+ issuer: z.ZodString;
2850
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
2851
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2852
+ }, "strip", z.ZodAny, z.objectOutputType<{
2853
+ issuer: z.ZodString;
2854
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
2855
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2856
+ }, z.ZodAny, "strip">, z.objectInputType<{
2857
+ issuer: z.ZodString;
2858
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
2859
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2860
+ }, z.ZodAny, "strip">>, "many">;
2861
+ }, "strip", z.ZodTypeAny, {
2862
+ type: "kycCompletion";
2863
+ data: z.objectOutputType<{
2864
+ issuer: z.ZodString;
2865
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
2866
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2867
+ }, z.ZodAny, "strip">[];
2868
+ identifier: string;
2869
+ }, {
2870
+ type: "kycCompletion";
2871
+ data: z.objectInputType<{
2872
+ issuer: z.ZodString;
2873
+ type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>]>, "many">;
2874
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2875
+ }, z.ZodAny, "strip">[];
2876
+ identifier: string;
2877
+ }>, z.ZodObject<{
2878
+ type: z.ZodLiteral<"scenarioExecution">;
2879
+ identifier: z.ZodString;
2880
+ data: z.ZodUnion<[z.ZodObject<{
2881
+ type: z.ZodLiteral<"RuleEngineScenarioExecution">;
2882
+ data: z.ZodObject<{
2883
+ customerId: z.ZodString;
2884
+ scenarioExecutionId: z.ZodString;
2885
+ status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]>;
2886
+ results: z.ZodArray<z.ZodArray<z.ZodObject<{
2887
+ objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
2888
+ objectId: z.ZodString;
2889
+ name: z.ZodString;
2890
+ address: z.ZodString;
2891
+ result: z.ZodObject<{
2892
+ result: z.ZodObject<{
2893
+ is_valid: z.ZodBoolean;
2894
+ reasons: z.ZodArray<z.ZodUnknown, "many">;
2895
+ }, "strip", z.ZodTypeAny, {
2896
+ is_valid: boolean;
2897
+ reasons: unknown[];
2898
+ }, {
2899
+ is_valid: boolean;
2900
+ reasons: unknown[];
2901
+ }>;
2902
+ executionId: z.ZodString;
2903
+ }, "strip", z.ZodTypeAny, {
2904
+ result: {
2905
+ is_valid: boolean;
2906
+ reasons: unknown[];
2907
+ };
2908
+ executionId: string;
2909
+ }, {
2910
+ result: {
2911
+ is_valid: boolean;
2912
+ reasons: unknown[];
2913
+ };
2914
+ executionId: string;
2915
+ }>;
2916
+ executionId: z.ZodString;
2917
+ scenarioId: z.ZodString;
2918
+ }, "strip", z.ZodTypeAny, {
2919
+ name: string;
2920
+ result: {
2921
+ result: {
2922
+ is_valid: boolean;
2923
+ reasons: unknown[];
2924
+ };
2925
+ executionId: string;
2926
+ };
2927
+ address: string;
2928
+ executionId: string;
2929
+ scenarioId: string;
2930
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
2931
+ objectId: string;
2932
+ }, {
2933
+ name: string;
2934
+ result: {
2935
+ result: {
2936
+ is_valid: boolean;
2937
+ reasons: unknown[];
2938
+ };
2939
+ executionId: string;
2940
+ };
2941
+ address: string;
2942
+ executionId: string;
2943
+ scenarioId: string;
2944
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
2945
+ objectId: string;
2946
+ }>, "many">, "many">;
2947
+ }, "strip", z.ZodTypeAny, {
2948
+ status: "valid" | "unknown" | "not-valid" | "error";
2949
+ customerId: string;
2950
+ scenarioExecutionId: string;
2951
+ results: {
2952
+ name: string;
2953
+ result: {
2954
+ result: {
2955
+ is_valid: boolean;
2956
+ reasons: unknown[];
2957
+ };
2958
+ executionId: string;
2959
+ };
2960
+ address: string;
2961
+ executionId: string;
2962
+ scenarioId: string;
2963
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
2964
+ objectId: string;
2965
+ }[][];
2966
+ }, {
2967
+ status: "valid" | "unknown" | "not-valid" | "error";
2968
+ customerId: string;
2969
+ scenarioExecutionId: string;
2970
+ results: {
2971
+ name: string;
2972
+ result: {
2973
+ result: {
2974
+ is_valid: boolean;
2975
+ reasons: unknown[];
2976
+ };
2977
+ executionId: string;
2978
+ };
2979
+ address: string;
2980
+ executionId: string;
2981
+ scenarioId: string;
2982
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
2983
+ objectId: string;
2984
+ }[][];
2985
+ }>;
2986
+ }, "strip", z.ZodTypeAny, {
2987
+ type: "RuleEngineScenarioExecution";
2988
+ data: {
2989
+ status: "valid" | "unknown" | "not-valid" | "error";
2990
+ customerId: string;
2991
+ scenarioExecutionId: string;
2992
+ results: {
2993
+ name: string;
2994
+ result: {
2995
+ result: {
2996
+ is_valid: boolean;
2997
+ reasons: unknown[];
2998
+ };
2999
+ executionId: string;
3000
+ };
3001
+ address: string;
3002
+ executionId: string;
3003
+ scenarioId: string;
3004
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
3005
+ objectId: string;
3006
+ }[][];
3007
+ };
3008
+ }, {
3009
+ type: "RuleEngineScenarioExecution";
3010
+ data: {
3011
+ status: "valid" | "unknown" | "not-valid" | "error";
3012
+ customerId: string;
3013
+ scenarioExecutionId: string;
3014
+ results: {
3015
+ name: string;
3016
+ result: {
3017
+ result: {
3018
+ is_valid: boolean;
3019
+ reasons: unknown[];
3020
+ };
3021
+ executionId: string;
3022
+ };
3023
+ address: string;
3024
+ executionId: string;
3025
+ scenarioId: string;
3026
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
3027
+ objectId: string;
3028
+ }[][];
3029
+ };
3030
+ }>, z.ZodObject<{
3031
+ type: z.ZodLiteral<"OffChainScenarioExecution">;
3032
+ data: z.ZodArray<z.ZodObject<{
3033
+ executionId: z.ZodString;
3034
+ sessionId: z.ZodString;
3035
+ projectId: z.ZodString;
3036
+ address: 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>]>;
3037
+ status: z.ZodEnum<["pending", "authorised", "unauthorised"]>;
3038
+ scenarioId: z.ZodString;
3039
+ scenarioName: z.ZodString;
3040
+ requestMessage: z.ZodObject<{
3041
+ id: z.ZodString;
3042
+ typ: z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>;
3043
+ type: z.ZodString;
3044
+ thid: z.ZodOptional<z.ZodString>;
3045
+ body: z.ZodObject<{
3046
+ callbackUrl: z.ZodString;
3047
+ reason: z.ZodOptional<z.ZodString>;
3048
+ did_doc: z.ZodOptional<z.ZodAny>;
3049
+ message: z.ZodOptional<z.ZodString>;
3050
+ scope: z.ZodArray<z.ZodObject<{
3051
+ id: z.ZodNumber;
3052
+ circuitId: z.ZodString;
3053
+ optional: z.ZodOptional<z.ZodBoolean>;
3054
+ query: z.ZodRecord<z.ZodString, z.ZodAny>;
3055
+ }, "strip", z.ZodTypeAny, {
3056
+ id: number;
3057
+ circuitId: string;
3058
+ query: Record<string, any>;
3059
+ optional?: boolean | undefined;
3060
+ }, {
3061
+ id: number;
3062
+ circuitId: string;
3063
+ query: Record<string, any>;
3064
+ optional?: boolean | undefined;
3065
+ }>, "many">;
3066
+ }, "strip", z.ZodTypeAny, {
3067
+ callbackUrl: string;
3068
+ scope: {
3069
+ id: number;
3070
+ circuitId: string;
3071
+ query: Record<string, any>;
3072
+ optional?: boolean | undefined;
3073
+ }[];
3074
+ message?: string | undefined;
3075
+ reason?: string | undefined;
3076
+ did_doc?: any;
3077
+ }, {
3078
+ callbackUrl: string;
3079
+ scope: {
3080
+ id: number;
3081
+ circuitId: string;
3082
+ query: Record<string, any>;
3083
+ optional?: boolean | undefined;
3084
+ }[];
3085
+ message?: string | undefined;
3086
+ reason?: string | undefined;
3087
+ did_doc?: any;
3088
+ }>;
3089
+ from: z.ZodString;
3090
+ to: z.ZodOptional<z.ZodString>;
3091
+ }, "strip", z.ZodTypeAny, {
3092
+ id: string;
3093
+ type: string;
3094
+ typ: import("./polygon-id.schema.js").MediaType;
3095
+ body: {
3096
+ callbackUrl: string;
3097
+ scope: {
3098
+ id: number;
3099
+ circuitId: string;
3100
+ query: Record<string, any>;
3101
+ optional?: boolean | undefined;
3102
+ }[];
3103
+ message?: string | undefined;
3104
+ reason?: string | undefined;
3105
+ did_doc?: any;
3106
+ };
3107
+ from: string;
3108
+ thid?: string | undefined;
3109
+ to?: string | undefined;
3110
+ }, {
3111
+ id: string;
3112
+ type: string;
3113
+ typ: import("./polygon-id.schema.js").MediaType;
3114
+ body: {
3115
+ callbackUrl: string;
3116
+ scope: {
3117
+ id: number;
3118
+ circuitId: string;
3119
+ query: Record<string, any>;
3120
+ optional?: boolean | undefined;
3121
+ }[];
3122
+ message?: string | undefined;
3123
+ reason?: string | undefined;
3124
+ did_doc?: any;
3125
+ };
3126
+ from: string;
3127
+ thid?: string | undefined;
3128
+ to?: string | undefined;
3129
+ }>;
3130
+ responseMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3131
+ id: z.ZodString;
3132
+ typ: z.ZodOptional<z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>>;
3133
+ type: z.ZodString;
3134
+ thid: z.ZodOptional<z.ZodString>;
3135
+ body: z.ZodObject<{
3136
+ did_doc: z.ZodOptional<z.ZodAny>;
3137
+ message: z.ZodOptional<z.ZodString>;
3138
+ scope: z.ZodArray<z.ZodObject<{
3139
+ id: z.ZodNumber;
3140
+ circuitId: z.ZodString;
3141
+ vp: z.ZodOptional<z.ZodAny>;
3142
+ proof: z.ZodObject<{
3143
+ pi_a: z.ZodArray<z.ZodString, "many">;
3144
+ pi_b: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
3145
+ pi_c: z.ZodArray<z.ZodString, "many">;
3146
+ protocol: z.ZodString;
3147
+ curve: z.ZodOptional<z.ZodString>;
3148
+ }, "strip", z.ZodTypeAny, {
3149
+ pi_a: string[];
3150
+ pi_b: string[][];
3151
+ pi_c: string[];
3152
+ protocol: string;
3153
+ curve?: string | undefined;
3154
+ }, {
3155
+ pi_a: string[];
3156
+ pi_b: string[][];
3157
+ pi_c: string[];
3158
+ protocol: string;
3159
+ curve?: string | undefined;
3160
+ }>;
3161
+ pub_signals: z.ZodArray<z.ZodString, "many">;
3162
+ }, "strip", z.ZodTypeAny, {
3163
+ id: number;
3164
+ proof: {
3165
+ pi_a: string[];
3166
+ pi_b: string[][];
3167
+ pi_c: string[];
3168
+ protocol: string;
3169
+ curve?: string | undefined;
3170
+ };
3171
+ circuitId: string;
3172
+ pub_signals: string[];
3173
+ vp?: any;
3174
+ }, {
3175
+ id: number;
3176
+ proof: {
3177
+ pi_a: string[];
3178
+ pi_b: string[][];
3179
+ pi_c: string[];
3180
+ protocol: string;
3181
+ curve?: string | undefined;
3182
+ };
3183
+ circuitId: string;
3184
+ pub_signals: string[];
3185
+ vp?: any;
3186
+ }>, "many">;
3187
+ }, "strip", z.ZodTypeAny, {
3188
+ scope: {
3189
+ id: number;
3190
+ proof: {
3191
+ pi_a: string[];
3192
+ pi_b: string[][];
3193
+ pi_c: string[];
3194
+ protocol: string;
3195
+ curve?: string | undefined;
3196
+ };
3197
+ circuitId: string;
3198
+ pub_signals: string[];
3199
+ vp?: any;
3200
+ }[];
3201
+ message?: string | undefined;
3202
+ did_doc?: any;
3203
+ }, {
3204
+ scope: {
3205
+ id: number;
3206
+ proof: {
3207
+ pi_a: string[];
3208
+ pi_b: string[][];
3209
+ pi_c: string[];
3210
+ protocol: string;
3211
+ curve?: string | undefined;
3212
+ };
3213
+ circuitId: string;
3214
+ pub_signals: string[];
3215
+ vp?: any;
3216
+ }[];
3217
+ message?: string | undefined;
3218
+ did_doc?: any;
3219
+ }>;
3220
+ from: z.ZodOptional<z.ZodString>;
3221
+ to: z.ZodOptional<z.ZodString>;
3222
+ }, "strip", z.ZodTypeAny, {
3223
+ id: string;
3224
+ type: string;
3225
+ body: {
3226
+ scope: {
3227
+ id: number;
3228
+ proof: {
3229
+ pi_a: string[];
3230
+ pi_b: string[][];
3231
+ pi_c: string[];
3232
+ protocol: string;
3233
+ curve?: string | undefined;
3234
+ };
3235
+ circuitId: string;
3236
+ pub_signals: string[];
3237
+ vp?: any;
3238
+ }[];
3239
+ message?: string | undefined;
3240
+ did_doc?: any;
3241
+ };
3242
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
3243
+ thid?: string | undefined;
3244
+ from?: string | undefined;
3245
+ to?: string | undefined;
3246
+ }, {
3247
+ id: string;
3248
+ type: string;
3249
+ body: {
3250
+ scope: {
3251
+ id: number;
3252
+ proof: {
3253
+ pi_a: string[];
3254
+ pi_b: string[][];
3255
+ pi_c: string[];
3256
+ protocol: string;
3257
+ curve?: string | undefined;
3258
+ };
3259
+ circuitId: string;
3260
+ pub_signals: string[];
3261
+ vp?: any;
3262
+ }[];
3263
+ message?: string | undefined;
3264
+ did_doc?: any;
3265
+ };
3266
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
3267
+ thid?: string | undefined;
3268
+ from?: string | undefined;
3269
+ to?: string | undefined;
3270
+ }>>>;
3271
+ verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3272
+ query: z.ZodObject<{
3273
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
3274
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3275
+ attribute: z.ZodString;
3276
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
3277
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
3278
+ }, "strip", z.ZodTypeAny, {
3279
+ value: string | number | boolean | (string | number)[];
3280
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
3281
+ attribute: string;
3282
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
3283
+ requestId?: number | null | undefined;
3284
+ }, {
3285
+ value: string | number | boolean | (string | number)[];
3286
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
3287
+ attribute: string;
3288
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
3289
+ requestId?: number | null | undefined;
3290
+ }>;
3291
+ }, "strip", z.ZodTypeAny, {
3292
+ status: "pending" | "authorised" | "unauthorised";
3293
+ address: string;
3294
+ executionId: string;
3295
+ sessionId: string;
3296
+ projectId: string;
3297
+ scenarioId: string;
3298
+ scenarioName: string;
3299
+ query: {
3300
+ value: string | number | boolean | (string | number)[];
3301
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
3302
+ attribute: string;
3303
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
3304
+ requestId?: number | null | undefined;
3305
+ };
3306
+ requestMessage: {
3307
+ id: string;
3308
+ type: string;
3309
+ typ: import("./polygon-id.schema.js").MediaType;
3310
+ body: {
3311
+ callbackUrl: string;
3312
+ scope: {
3313
+ id: number;
3314
+ circuitId: string;
3315
+ query: Record<string, any>;
3316
+ optional?: boolean | undefined;
3317
+ }[];
3318
+ message?: string | undefined;
3319
+ reason?: string | undefined;
3320
+ did_doc?: any;
3321
+ };
3322
+ from: string;
3323
+ thid?: string | undefined;
3324
+ to?: string | undefined;
3325
+ };
3326
+ responseMessage?: {
3327
+ id: string;
3328
+ type: string;
3329
+ body: {
3330
+ scope: {
3331
+ id: number;
3332
+ proof: {
3333
+ pi_a: string[];
3334
+ pi_b: string[][];
3335
+ pi_c: string[];
3336
+ protocol: string;
3337
+ curve?: string | undefined;
3338
+ };
3339
+ circuitId: string;
3340
+ pub_signals: string[];
3341
+ vp?: any;
3342
+ }[];
3343
+ message?: string | undefined;
3344
+ did_doc?: any;
3345
+ };
3346
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
3347
+ thid?: string | undefined;
3348
+ from?: string | undefined;
3349
+ to?: string | undefined;
3350
+ } | null | undefined;
3351
+ verificationError?: string | null | undefined;
3352
+ }, {
3353
+ status: "pending" | "authorised" | "unauthorised";
3354
+ address: string;
3355
+ executionId: string;
3356
+ sessionId: string;
3357
+ projectId: string;
3358
+ scenarioId: string;
3359
+ scenarioName: string;
3360
+ query: {
3361
+ value: string | number | boolean | (string | number)[];
3362
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
3363
+ attribute: string;
3364
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
3365
+ requestId?: number | null | undefined;
3366
+ };
3367
+ requestMessage: {
3368
+ id: string;
3369
+ type: string;
3370
+ typ: import("./polygon-id.schema.js").MediaType;
3371
+ body: {
3372
+ callbackUrl: string;
3373
+ scope: {
3374
+ id: number;
3375
+ circuitId: string;
3376
+ query: Record<string, any>;
3377
+ optional?: boolean | undefined;
3378
+ }[];
3379
+ message?: string | undefined;
3380
+ reason?: string | undefined;
3381
+ did_doc?: any;
3382
+ };
3383
+ from: string;
3384
+ thid?: string | undefined;
3385
+ to?: string | undefined;
3386
+ };
3387
+ responseMessage?: {
3388
+ id: string;
3389
+ type: string;
3390
+ body: {
3391
+ scope: {
3392
+ id: number;
3393
+ proof: {
3394
+ pi_a: string[];
3395
+ pi_b: string[][];
3396
+ pi_c: string[];
3397
+ protocol: string;
3398
+ curve?: string | undefined;
3399
+ };
3400
+ circuitId: string;
3401
+ pub_signals: string[];
3402
+ vp?: any;
3403
+ }[];
3404
+ message?: string | undefined;
3405
+ did_doc?: any;
3406
+ };
3407
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
3408
+ thid?: string | undefined;
3409
+ from?: string | undefined;
3410
+ to?: string | undefined;
3411
+ } | null | undefined;
3412
+ verificationError?: string | null | undefined;
3413
+ }>, "many">;
3414
+ }, "strip", z.ZodTypeAny, {
3415
+ type: "OffChainScenarioExecution";
3416
+ data: {
3417
+ status: "pending" | "authorised" | "unauthorised";
3418
+ address: string;
3419
+ executionId: string;
3420
+ sessionId: string;
3421
+ projectId: string;
3422
+ scenarioId: string;
3423
+ scenarioName: string;
3424
+ query: {
3425
+ value: string | number | boolean | (string | number)[];
3426
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
3427
+ attribute: string;
3428
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
3429
+ requestId?: number | null | undefined;
3430
+ };
3431
+ requestMessage: {
3432
+ id: string;
3433
+ type: string;
3434
+ typ: import("./polygon-id.schema.js").MediaType;
3435
+ body: {
3436
+ callbackUrl: string;
3437
+ scope: {
3438
+ id: number;
3439
+ circuitId: string;
3440
+ query: Record<string, any>;
3441
+ optional?: boolean | undefined;
3442
+ }[];
3443
+ message?: string | undefined;
3444
+ reason?: string | undefined;
3445
+ did_doc?: any;
3446
+ };
3447
+ from: string;
3448
+ thid?: string | undefined;
3449
+ to?: string | undefined;
3450
+ };
3451
+ responseMessage?: {
3452
+ id: string;
3453
+ type: string;
3454
+ body: {
3455
+ scope: {
3456
+ id: number;
3457
+ proof: {
3458
+ pi_a: string[];
3459
+ pi_b: string[][];
3460
+ pi_c: string[];
3461
+ protocol: string;
3462
+ curve?: string | undefined;
3463
+ };
3464
+ circuitId: string;
3465
+ pub_signals: string[];
3466
+ vp?: any;
3467
+ }[];
3468
+ message?: string | undefined;
3469
+ did_doc?: any;
3470
+ };
3471
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
3472
+ thid?: string | undefined;
3473
+ from?: string | undefined;
3474
+ to?: string | undefined;
3475
+ } | null | undefined;
3476
+ verificationError?: string | null | undefined;
3477
+ }[];
3478
+ }, {
3479
+ type: "OffChainScenarioExecution";
3480
+ data: {
3481
+ status: "pending" | "authorised" | "unauthorised";
3482
+ address: string;
3483
+ executionId: string;
3484
+ sessionId: string;
3485
+ projectId: string;
3486
+ scenarioId: string;
3487
+ scenarioName: string;
3488
+ query: {
3489
+ value: string | number | boolean | (string | number)[];
3490
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
3491
+ attribute: string;
3492
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
3493
+ requestId?: number | null | undefined;
3494
+ };
3495
+ requestMessage: {
3496
+ id: string;
3497
+ type: string;
3498
+ typ: import("./polygon-id.schema.js").MediaType;
3499
+ body: {
3500
+ callbackUrl: string;
3501
+ scope: {
3502
+ id: number;
3503
+ circuitId: string;
3504
+ query: Record<string, any>;
3505
+ optional?: boolean | undefined;
3506
+ }[];
3507
+ message?: string | undefined;
3508
+ reason?: string | undefined;
3509
+ did_doc?: any;
3510
+ };
3511
+ from: string;
3512
+ thid?: string | undefined;
3513
+ to?: string | undefined;
3514
+ };
3515
+ responseMessage?: {
3516
+ id: string;
3517
+ type: string;
3518
+ body: {
3519
+ scope: {
3520
+ id: number;
3521
+ proof: {
3522
+ pi_a: string[];
3523
+ pi_b: string[][];
3524
+ pi_c: string[];
3525
+ protocol: string;
3526
+ curve?: string | undefined;
3527
+ };
3528
+ circuitId: string;
3529
+ pub_signals: string[];
3530
+ vp?: any;
3531
+ }[];
3532
+ message?: string | undefined;
3533
+ did_doc?: any;
3534
+ };
3535
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
3536
+ thid?: string | undefined;
3537
+ from?: string | undefined;
3538
+ to?: string | undefined;
3539
+ } | null | undefined;
3540
+ verificationError?: string | null | undefined;
3541
+ }[];
3542
+ }>, z.ZodObject<{
3543
+ type: z.ZodLiteral<"OnChainScenarioExecution">;
3544
+ data: z.ZodAny;
3545
+ }, "strip", z.ZodTypeAny, {
3546
+ type: "OnChainScenarioExecution";
3547
+ data?: any;
3548
+ }, {
3549
+ type: "OnChainScenarioExecution";
3550
+ data?: any;
3551
+ }>]>;
3552
+ }, "strip", z.ZodTypeAny, {
3553
+ type: "scenarioExecution";
3554
+ data: {
3555
+ type: "RuleEngineScenarioExecution";
3556
+ data: {
3557
+ status: "valid" | "unknown" | "not-valid" | "error";
3558
+ customerId: string;
3559
+ scenarioExecutionId: string;
3560
+ results: {
3561
+ name: string;
3562
+ result: {
3563
+ result: {
3564
+ is_valid: boolean;
3565
+ reasons: unknown[];
3566
+ };
3567
+ executionId: string;
3568
+ };
3569
+ address: string;
3570
+ executionId: string;
3571
+ scenarioId: string;
3572
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
3573
+ objectId: string;
3574
+ }[][];
3575
+ };
3576
+ } | {
3577
+ type: "OffChainScenarioExecution";
3578
+ data: {
3579
+ status: "pending" | "authorised" | "unauthorised";
3580
+ address: string;
3581
+ executionId: string;
3582
+ sessionId: string;
3583
+ projectId: string;
3584
+ scenarioId: string;
3585
+ scenarioName: string;
3586
+ query: {
3587
+ value: string | number | boolean | (string | number)[];
3588
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
3589
+ attribute: string;
3590
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
3591
+ requestId?: number | null | undefined;
3592
+ };
3593
+ requestMessage: {
3594
+ id: string;
3595
+ type: string;
3596
+ typ: import("./polygon-id.schema.js").MediaType;
3597
+ body: {
3598
+ callbackUrl: string;
3599
+ scope: {
3600
+ id: number;
3601
+ circuitId: string;
3602
+ query: Record<string, any>;
3603
+ optional?: boolean | undefined;
3604
+ }[];
3605
+ message?: string | undefined;
3606
+ reason?: string | undefined;
3607
+ did_doc?: any;
3608
+ };
3609
+ from: string;
3610
+ thid?: string | undefined;
3611
+ to?: string | undefined;
3612
+ };
3613
+ responseMessage?: {
3614
+ id: string;
3615
+ type: string;
3616
+ body: {
3617
+ scope: {
3618
+ id: number;
3619
+ proof: {
3620
+ pi_a: string[];
3621
+ pi_b: string[][];
3622
+ pi_c: string[];
3623
+ protocol: string;
3624
+ curve?: string | undefined;
3625
+ };
3626
+ circuitId: string;
3627
+ pub_signals: string[];
3628
+ vp?: any;
3629
+ }[];
3630
+ message?: string | undefined;
3631
+ did_doc?: any;
3632
+ };
3633
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
3634
+ thid?: string | undefined;
3635
+ from?: string | undefined;
3636
+ to?: string | undefined;
3637
+ } | null | undefined;
3638
+ verificationError?: string | null | undefined;
3639
+ }[];
3640
+ } | {
3641
+ type: "OnChainScenarioExecution";
3642
+ data?: any;
3643
+ };
3644
+ identifier: string;
3645
+ }, {
3646
+ type: "scenarioExecution";
3647
+ data: {
3648
+ type: "RuleEngineScenarioExecution";
3649
+ data: {
3650
+ status: "valid" | "unknown" | "not-valid" | "error";
3651
+ customerId: string;
3652
+ scenarioExecutionId: string;
3653
+ results: {
3654
+ name: string;
3655
+ result: {
3656
+ result: {
3657
+ is_valid: boolean;
3658
+ reasons: unknown[];
3659
+ };
3660
+ executionId: string;
3661
+ };
3662
+ address: string;
3663
+ executionId: string;
3664
+ scenarioId: string;
3665
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
3666
+ objectId: string;
3667
+ }[][];
3668
+ };
3669
+ } | {
3670
+ type: "OffChainScenarioExecution";
3671
+ data: {
3672
+ status: "pending" | "authorised" | "unauthorised";
3673
+ address: string;
3674
+ executionId: string;
3675
+ sessionId: string;
3676
+ projectId: string;
3677
+ scenarioId: string;
3678
+ scenarioName: string;
3679
+ query: {
3680
+ value: string | number | boolean | (string | number)[];
3681
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
3682
+ attribute: string;
3683
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
3684
+ requestId?: number | null | undefined;
3685
+ };
3686
+ requestMessage: {
3687
+ id: string;
3688
+ type: string;
3689
+ typ: import("./polygon-id.schema.js").MediaType;
3690
+ body: {
3691
+ callbackUrl: string;
3692
+ scope: {
3693
+ id: number;
3694
+ circuitId: string;
3695
+ query: Record<string, any>;
3696
+ optional?: boolean | undefined;
3697
+ }[];
3698
+ message?: string | undefined;
3699
+ reason?: string | undefined;
3700
+ did_doc?: any;
3701
+ };
3702
+ from: string;
3703
+ thid?: string | undefined;
3704
+ to?: string | undefined;
3705
+ };
3706
+ responseMessage?: {
3707
+ id: string;
3708
+ type: string;
3709
+ body: {
3710
+ scope: {
3711
+ id: number;
3712
+ proof: {
3713
+ pi_a: string[];
3714
+ pi_b: string[][];
3715
+ pi_c: string[];
3716
+ protocol: string;
3717
+ curve?: string | undefined;
3718
+ };
3719
+ circuitId: string;
3720
+ pub_signals: string[];
3721
+ vp?: any;
3722
+ }[];
3723
+ message?: string | undefined;
3724
+ did_doc?: any;
3725
+ };
3726
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
3727
+ thid?: string | undefined;
3728
+ from?: string | undefined;
3729
+ to?: string | undefined;
3730
+ } | null | undefined;
3731
+ verificationError?: string | null | undefined;
3732
+ }[];
3733
+ } | {
3734
+ type: "OnChainScenarioExecution";
3735
+ data?: any;
3736
+ };
3737
+ identifier: string;
3738
+ }>, z.ZodObject<{
3739
+ type: z.ZodLiteral<"isVerifiedNotification">;
3740
+ identifier: z.ZodString;
3741
+ isVerified: z.ZodBoolean;
3742
+ }, "strip", z.ZodTypeAny, {
3743
+ type: "isVerifiedNotification";
3744
+ identifier: string;
3745
+ isVerified: boolean;
3746
+ }, {
3747
+ type: "isVerifiedNotification";
3748
+ identifier: string;
3749
+ isVerified: boolean;
3750
+ }>]>;
3751
+ export declare const InitialDataRequest: z.ZodObject<{
3752
+ type: z.ZodLiteral<"initialDataRequest">;
3753
+ identifier: z.ZodString;
3754
+ }, "strip", z.ZodTypeAny, {
3755
+ type: "initialDataRequest";
3756
+ identifier: string;
3757
+ }, {
3758
+ type: "initialDataRequest";
3759
+ identifier: string;
3760
+ }>;
3761
+ export declare const SignatureRequest: z.ZodObject<{
3762
+ type: z.ZodLiteral<"signatureRequest">;
3763
+ identifier: z.ZodString;
3764
+ data: z.ZodObject<{
3765
+ message: z.ZodString;
3766
+ }, "strip", z.ZodTypeAny, {
3767
+ message: string;
3768
+ }, {
3769
+ message: string;
3770
+ }>;
3771
+ }, "strip", z.ZodTypeAny, {
3772
+ type: "signatureRequest";
3773
+ data: {
3774
+ message: string;
3775
+ };
3776
+ identifier: string;
3777
+ }, {
3778
+ type: "signatureRequest";
3779
+ data: {
3780
+ message: string;
3781
+ };
3782
+ identifier: string;
3783
+ }>;
3784
+ export declare const TransactionData: z.ZodObject<{
3785
+ accountAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
3786
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
3787
+ data: z.ZodEffects<z.ZodString, string, string>;
3788
+ value: z.ZodOptional<z.ZodString>;
3789
+ }, "strip", z.ZodTypeAny, {
3790
+ data: string;
3791
+ to: `0x${string}`;
3792
+ accountAddress: `0x${string}`;
3793
+ value?: string | undefined;
3794
+ }, {
3795
+ data: string;
3796
+ to: string;
3797
+ accountAddress: string;
3798
+ value?: string | undefined;
3799
+ }>;
3800
+ export declare const SendTransactionRequest: z.ZodObject<{
3801
+ type: z.ZodLiteral<"sendTransactionRequest">;
3802
+ identifier: z.ZodString;
3803
+ data: z.ZodObject<{
3804
+ accountAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
3805
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
3806
+ data: z.ZodEffects<z.ZodString, string, string>;
3807
+ value: z.ZodOptional<z.ZodString>;
3808
+ }, "strip", z.ZodTypeAny, {
3809
+ data: string;
3810
+ to: `0x${string}`;
3811
+ accountAddress: `0x${string}`;
3812
+ value?: string | undefined;
3813
+ }, {
3814
+ data: string;
3815
+ to: string;
3816
+ accountAddress: string;
3817
+ value?: string | undefined;
3818
+ }>;
3819
+ }, "strip", z.ZodTypeAny, {
3820
+ type: "sendTransactionRequest";
3821
+ data: {
3822
+ data: string;
3823
+ to: `0x${string}`;
3824
+ accountAddress: `0x${string}`;
3825
+ value?: string | undefined;
3826
+ };
3827
+ identifier: string;
3828
+ }, {
3829
+ type: "sendTransactionRequest";
3830
+ data: {
3831
+ data: string;
3832
+ to: string;
3833
+ accountAddress: string;
3834
+ value?: string | undefined;
3835
+ };
3836
+ identifier: string;
3837
+ }>;
3838
+ export declare const IdentityRequestMessage: z.ZodUnion<[z.ZodObject<{
3839
+ type: z.ZodLiteral<"initialDataRequest">;
3840
+ identifier: z.ZodString;
3841
+ }, "strip", z.ZodTypeAny, {
3842
+ type: "initialDataRequest";
3843
+ identifier: string;
3844
+ }, {
3845
+ type: "initialDataRequest";
3846
+ identifier: string;
3847
+ }>, z.ZodObject<{
3848
+ type: z.ZodLiteral<"signatureRequest">;
3849
+ identifier: z.ZodString;
3850
+ data: z.ZodObject<{
3851
+ message: z.ZodString;
3852
+ }, "strip", z.ZodTypeAny, {
3853
+ message: string;
3854
+ }, {
3855
+ message: string;
3856
+ }>;
3857
+ }, "strip", z.ZodTypeAny, {
3858
+ type: "signatureRequest";
3859
+ data: {
3860
+ message: string;
3861
+ };
3862
+ identifier: string;
3863
+ }, {
3864
+ type: "signatureRequest";
3865
+ data: {
3866
+ message: string;
3867
+ };
3868
+ identifier: string;
3869
+ }>, z.ZodObject<{
3870
+ type: z.ZodLiteral<"sendTransactionRequest">;
3871
+ identifier: z.ZodString;
3872
+ data: z.ZodObject<{
3873
+ accountAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
3874
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
3875
+ data: z.ZodEffects<z.ZodString, string, string>;
3876
+ value: z.ZodOptional<z.ZodString>;
3877
+ }, "strip", z.ZodTypeAny, {
3878
+ data: string;
3879
+ to: `0x${string}`;
3880
+ accountAddress: `0x${string}`;
3881
+ value?: string | undefined;
3882
+ }, {
3883
+ data: string;
3884
+ to: string;
3885
+ accountAddress: string;
3886
+ value?: string | undefined;
3887
+ }>;
3888
+ }, "strip", z.ZodTypeAny, {
3889
+ type: "sendTransactionRequest";
3890
+ data: {
3891
+ data: string;
3892
+ to: `0x${string}`;
3893
+ accountAddress: `0x${string}`;
3894
+ value?: string | undefined;
3895
+ };
3896
+ identifier: string;
3897
+ }, {
3898
+ type: "sendTransactionRequest";
3899
+ data: {
3900
+ data: string;
3901
+ to: string;
3902
+ accountAddress: string;
3903
+ value?: string | undefined;
3904
+ };
3905
+ identifier: string;
3906
+ }>]>;
3907
+ export declare const AVAILABLE_FLOWS: readonly ["VERIFICATION", "MANAGEMENT", "POLYGON_ID", "KYB"];
3908
+ export declare const AvailableFlow: z.ZodEnum<["VERIFICATION", "MANAGEMENT", "POLYGON_ID", "KYB"]>;
3909
+ export declare const DataAvailableOnStart: z.ZodObject<{
3910
+ identifier: z.ZodOptional<z.ZodString>;
3911
+ flow: z.ZodOptional<z.ZodEnum<["VERIFICATION", "MANAGEMENT", "POLYGON_ID", "KYB"]>>;
3912
+ accessToken: z.ZodString;
3913
+ signingMessage: z.ZodString;
3914
+ signature: z.ZodString;
3915
+ }, "strip", z.ZodTypeAny, {
3916
+ signingMessage: string;
3917
+ accessToken: string;
3918
+ signature: string;
3919
+ identifier?: string | undefined;
3920
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
3921
+ }, {
3922
+ signingMessage: string;
3923
+ accessToken: string;
3924
+ signature: string;
3925
+ identifier?: string | undefined;
3926
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
3927
+ }>;
3928
+ export declare const InitialDataResponse: z.ZodObject<{
3929
+ type: z.ZodLiteral<"onStartKyc">;
3930
+ data: z.ZodObject<{
3931
+ identifier: z.ZodOptional<z.ZodString>;
3932
+ flow: z.ZodOptional<z.ZodEnum<["VERIFICATION", "MANAGEMENT", "POLYGON_ID", "KYB"]>>;
3933
+ accessToken: z.ZodString;
3934
+ signingMessage: z.ZodString;
3935
+ signature: z.ZodString;
3936
+ }, "strip", z.ZodTypeAny, {
3937
+ signingMessage: string;
3938
+ accessToken: string;
3939
+ signature: string;
3940
+ identifier?: string | undefined;
3941
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
3942
+ }, {
3943
+ signingMessage: string;
3944
+ accessToken: string;
3945
+ signature: string;
3946
+ identifier?: string | undefined;
3947
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
3948
+ }>;
3949
+ }, "strip", z.ZodTypeAny, {
3950
+ type: "onStartKyc";
3951
+ data: {
3952
+ signingMessage: string;
3953
+ accessToken: string;
3954
+ signature: string;
3955
+ identifier?: string | undefined;
3956
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
3957
+ };
3958
+ }, {
3959
+ type: "onStartKyc";
3960
+ data: {
3961
+ signingMessage: string;
3962
+ accessToken: string;
3963
+ signature: string;
3964
+ identifier?: string | undefined;
3965
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
3966
+ };
3967
+ }>;
3968
+ export declare const SignatureResponse: z.ZodObject<{
3969
+ type: z.ZodLiteral<"signature">;
3970
+ data: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `edsig${string}`, string>, z.ZodEffects<z.ZodString, `spsig${string}`, string>, z.ZodEffects<z.ZodString, `p2sig${string}`, string>]>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>]>;
3971
+ }, "strip", z.ZodTypeAny, {
3972
+ type: "signature";
3973
+ data: string;
3974
+ }, {
3975
+ type: "signature";
3976
+ data: string;
3977
+ }>;
3978
+ export declare const TransactionResponse: z.ZodObject<{
3979
+ type: z.ZodLiteral<"transactionResponse">;
3980
+ data: z.ZodObject<{
3981
+ txHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
3982
+ }, "strip", z.ZodTypeAny, {
3983
+ txHash: `0x${string}`;
3984
+ }, {
3985
+ txHash: string;
3986
+ }>;
3987
+ }, "strip", z.ZodTypeAny, {
3988
+ type: "transactionResponse";
3989
+ data: {
3990
+ txHash: `0x${string}`;
3991
+ };
3992
+ }, {
3993
+ type: "transactionResponse";
3994
+ data: {
3995
+ txHash: string;
3996
+ };
3997
+ }>;
3998
+ export declare const HostResponseMessage: z.ZodUnion<[z.ZodObject<{
3999
+ type: z.ZodLiteral<"onStartKyc">;
4000
+ data: z.ZodObject<{
4001
+ identifier: z.ZodOptional<z.ZodString>;
4002
+ flow: z.ZodOptional<z.ZodEnum<["VERIFICATION", "MANAGEMENT", "POLYGON_ID", "KYB"]>>;
4003
+ accessToken: z.ZodString;
4004
+ signingMessage: z.ZodString;
4005
+ signature: z.ZodString;
4006
+ }, "strip", z.ZodTypeAny, {
4007
+ signingMessage: string;
4008
+ accessToken: string;
4009
+ signature: string;
4010
+ identifier?: string | undefined;
4011
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
4012
+ }, {
4013
+ signingMessage: string;
4014
+ accessToken: string;
4015
+ signature: string;
4016
+ identifier?: string | undefined;
4017
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
4018
+ }>;
4019
+ }, "strip", z.ZodTypeAny, {
4020
+ type: "onStartKyc";
4021
+ data: {
4022
+ signingMessage: string;
4023
+ accessToken: string;
4024
+ signature: string;
4025
+ identifier?: string | undefined;
4026
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
4027
+ };
4028
+ }, {
4029
+ type: "onStartKyc";
4030
+ data: {
4031
+ signingMessage: string;
4032
+ accessToken: string;
4033
+ signature: string;
4034
+ identifier?: string | undefined;
4035
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
4036
+ };
4037
+ }>, z.ZodObject<{
4038
+ type: z.ZodLiteral<"signature">;
4039
+ data: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `edsig${string}`, string>, z.ZodEffects<z.ZodString, `spsig${string}`, string>, z.ZodEffects<z.ZodString, `p2sig${string}`, string>]>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>]>;
4040
+ }, "strip", z.ZodTypeAny, {
4041
+ type: "signature";
4042
+ data: string;
4043
+ }, {
4044
+ type: "signature";
4045
+ data: string;
4046
+ }>, z.ZodObject<{
4047
+ type: z.ZodLiteral<"transactionResponse">;
4048
+ data: z.ZodObject<{
4049
+ txHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
4050
+ }, "strip", z.ZodTypeAny, {
4051
+ txHash: `0x${string}`;
4052
+ }, {
4053
+ txHash: string;
4054
+ }>;
4055
+ }, "strip", z.ZodTypeAny, {
4056
+ type: "transactionResponse";
4057
+ data: {
4058
+ txHash: `0x${string}`;
4059
+ };
4060
+ }, {
4061
+ type: "transactionResponse";
4062
+ data: {
4063
+ txHash: string;
4064
+ };
4065
+ }>]>;
4066
+ /**
4067
+ * Exported types
4068
+ */
4069
+ export type SendTransactionRequest = z.infer<typeof SendTransactionRequest>;
4070
+ export type IdentityRequestMessage = z.infer<typeof IdentityRequestMessage>;
4071
+ export type AvailableFlow = z.infer<typeof AvailableFlow>;
4072
+ export type DataAvailableOnStart = z.infer<typeof DataAvailableOnStart>;
4073
+ export type InitialDataResponse = z.infer<typeof InitialDataResponse>;
4074
+ export type SignatureResponse = z.infer<typeof SignatureResponse>;
4075
+ export type TransactionData = z.infer<typeof TransactionData>;
4076
+ export type TransactionResponse = z.infer<typeof TransactionResponse>;
4077
+ export type HostResponseMessage = z.infer<typeof HostResponseMessage>;
4078
+ export type CloseScreenNotification = z.infer<typeof CloseScreenNotification>;
4079
+ export type KycCompletionData = z.infer<typeof KycCompletionData>;
4080
+ export type KycCompletionNotification = z.infer<typeof KycCompletionNotification>;
4081
+ export type RuleEngineScenarioExecutionData = z.infer<typeof RuleEngineScenarioExecutionData>;
4082
+ export type OffChainScenarioExecutionData = z.infer<typeof OffChainScenarioExecutionData>;
4083
+ export type OnChainScenarioExecutionData = z.infer<typeof OnChainScenarioExecutionData>;
4084
+ export type ScenarioExecutionData = z.infer<typeof ScenarioExecutionData>;
4085
+ export type ScenarioExecutionNotification = z.infer<typeof ScenarioExecutionNotification>;
4086
+ export type IsVerifiedNotification = z.infer<typeof IsVerifiedNotification>;
4087
+ export type PolygonIdInitialized = z.infer<typeof PolygonIdInitialized>;
4088
+ export type StartCompletedNotification = z.infer<typeof StartCompletedNotification>;
4089
+ export type IdentityNotificationMessage = z.infer<typeof IdentityNotificationMessage>;
4090
+ export type InitialDataRequest = z.infer<typeof InitialDataRequest>;
4091
+ export type SignatureRequest = z.infer<typeof SignatureRequest>;
4092
+ //# sourceMappingURL=app-requests.schema.d.ts.map