@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,2593 @@
1
+ import { z } from "zod";
2
+ import type { EncryptedVerifiableCredentialDataSchema } from "../credential-storage.schema.js";
3
+ export declare const HostMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4
+ type: z.ZodLiteral<"getCredentials">;
5
+ data: z.ZodUndefined;
6
+ }, "strip", z.ZodTypeAny, {
7
+ type: "getCredentials";
8
+ data?: undefined;
9
+ }, {
10
+ type: "getCredentials";
11
+ data?: undefined;
12
+ }>, z.ZodObject<{
13
+ type: z.ZodLiteral<"polygonIdRequest">;
14
+ data: z.ZodUnion<[z.ZodObject<{
15
+ type: z.ZodLiteral<"auth">;
16
+ authRequest: z.ZodObject<{
17
+ id: z.ZodString;
18
+ typ: z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>;
19
+ type: z.ZodString;
20
+ thid: z.ZodOptional<z.ZodString>;
21
+ body: z.ZodObject<{
22
+ callbackUrl: z.ZodString;
23
+ reason: z.ZodOptional<z.ZodString>;
24
+ did_doc: z.ZodOptional<z.ZodAny>;
25
+ message: z.ZodOptional<z.ZodString>;
26
+ scope: z.ZodArray<z.ZodObject<{
27
+ id: z.ZodNumber;
28
+ circuitId: z.ZodString;
29
+ optional: z.ZodOptional<z.ZodBoolean>;
30
+ query: z.ZodRecord<z.ZodString, z.ZodAny>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ id: number;
33
+ circuitId: string;
34
+ query: Record<string, any>;
35
+ optional?: boolean | undefined;
36
+ }, {
37
+ id: number;
38
+ circuitId: string;
39
+ query: Record<string, any>;
40
+ optional?: boolean | undefined;
41
+ }>, "many">;
42
+ }, "strip", z.ZodTypeAny, {
43
+ callbackUrl: string;
44
+ scope: {
45
+ id: number;
46
+ circuitId: string;
47
+ query: Record<string, any>;
48
+ optional?: boolean | undefined;
49
+ }[];
50
+ message?: string | undefined;
51
+ reason?: string | undefined;
52
+ did_doc?: any;
53
+ }, {
54
+ callbackUrl: string;
55
+ scope: {
56
+ id: number;
57
+ circuitId: string;
58
+ query: Record<string, any>;
59
+ optional?: boolean | undefined;
60
+ }[];
61
+ message?: string | undefined;
62
+ reason?: string | undefined;
63
+ did_doc?: any;
64
+ }>;
65
+ from: z.ZodString;
66
+ to: z.ZodOptional<z.ZodString>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ id: string;
69
+ type: string;
70
+ typ: import("./polygon-id.schema.js").MediaType;
71
+ body: {
72
+ callbackUrl: string;
73
+ scope: {
74
+ id: number;
75
+ circuitId: string;
76
+ query: Record<string, any>;
77
+ optional?: boolean | undefined;
78
+ }[];
79
+ message?: string | undefined;
80
+ reason?: string | undefined;
81
+ did_doc?: any;
82
+ };
83
+ from: string;
84
+ thid?: string | undefined;
85
+ to?: string | undefined;
86
+ }, {
87
+ id: string;
88
+ type: string;
89
+ typ: import("./polygon-id.schema.js").MediaType;
90
+ body: {
91
+ callbackUrl: string;
92
+ scope: {
93
+ id: number;
94
+ circuitId: string;
95
+ query: Record<string, any>;
96
+ optional?: boolean | undefined;
97
+ }[];
98
+ message?: string | undefined;
99
+ reason?: string | undefined;
100
+ did_doc?: any;
101
+ };
102
+ from: string;
103
+ thid?: string | undefined;
104
+ to?: string | undefined;
105
+ }>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ type: "auth";
108
+ authRequest: {
109
+ id: string;
110
+ type: string;
111
+ typ: import("./polygon-id.schema.js").MediaType;
112
+ body: {
113
+ callbackUrl: string;
114
+ scope: {
115
+ id: number;
116
+ circuitId: string;
117
+ query: Record<string, any>;
118
+ optional?: boolean | undefined;
119
+ }[];
120
+ message?: string | undefined;
121
+ reason?: string | undefined;
122
+ did_doc?: any;
123
+ };
124
+ from: string;
125
+ thid?: string | undefined;
126
+ to?: string | undefined;
127
+ };
128
+ }, {
129
+ type: "auth";
130
+ authRequest: {
131
+ id: string;
132
+ type: string;
133
+ typ: import("./polygon-id.schema.js").MediaType;
134
+ body: {
135
+ callbackUrl: string;
136
+ scope: {
137
+ id: number;
138
+ circuitId: string;
139
+ query: Record<string, any>;
140
+ optional?: boolean | undefined;
141
+ }[];
142
+ message?: string | undefined;
143
+ reason?: string | undefined;
144
+ did_doc?: any;
145
+ };
146
+ from: string;
147
+ thid?: string | undefined;
148
+ to?: string | undefined;
149
+ };
150
+ }>, z.ZodObject<{
151
+ type: z.ZodLiteral<"credentialOffer">;
152
+ credentialOfferRequest: z.ZodObject<{
153
+ qrCodeLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
+ schemaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ qrCodeLink?: string | null | undefined;
157
+ schemaType?: string | null | undefined;
158
+ }, {
159
+ qrCodeLink?: string | null | undefined;
160
+ schemaType?: string | null | undefined;
161
+ }>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ type: "credentialOffer";
164
+ credentialOfferRequest: {
165
+ qrCodeLink?: string | null | undefined;
166
+ schemaType?: string | null | undefined;
167
+ };
168
+ }, {
169
+ type: "credentialOffer";
170
+ credentialOfferRequest: {
171
+ qrCodeLink?: string | null | undefined;
172
+ schemaType?: string | null | undefined;
173
+ };
174
+ }>, z.ZodObject<{
175
+ type: z.ZodLiteral<"zkp">;
176
+ zkpRequest: z.ZodObject<{
177
+ id: z.ZodNumber;
178
+ circuitId: z.ZodString;
179
+ optional: z.ZodOptional<z.ZodBoolean>;
180
+ query: z.ZodRecord<z.ZodString, z.ZodAny>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ id: number;
183
+ circuitId: string;
184
+ query: Record<string, any>;
185
+ optional?: boolean | undefined;
186
+ }, {
187
+ id: number;
188
+ circuitId: string;
189
+ query: Record<string, any>;
190
+ optional?: boolean | undefined;
191
+ }>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ type: "zkp";
194
+ zkpRequest: {
195
+ id: number;
196
+ circuitId: string;
197
+ query: Record<string, any>;
198
+ optional?: boolean | undefined;
199
+ };
200
+ }, {
201
+ type: "zkp";
202
+ zkpRequest: {
203
+ id: number;
204
+ circuitId: string;
205
+ query: Record<string, any>;
206
+ optional?: boolean | undefined;
207
+ };
208
+ }>]>;
209
+ }, "strip", z.ZodTypeAny, {
210
+ type: "polygonIdRequest";
211
+ data: {
212
+ type: "auth";
213
+ authRequest: {
214
+ id: string;
215
+ type: string;
216
+ typ: import("./polygon-id.schema.js").MediaType;
217
+ body: {
218
+ callbackUrl: string;
219
+ scope: {
220
+ id: number;
221
+ circuitId: string;
222
+ query: Record<string, any>;
223
+ optional?: boolean | undefined;
224
+ }[];
225
+ message?: string | undefined;
226
+ reason?: string | undefined;
227
+ did_doc?: any;
228
+ };
229
+ from: string;
230
+ thid?: string | undefined;
231
+ to?: string | undefined;
232
+ };
233
+ } | {
234
+ type: "credentialOffer";
235
+ credentialOfferRequest: {
236
+ qrCodeLink?: string | null | undefined;
237
+ schemaType?: string | null | undefined;
238
+ };
239
+ } | {
240
+ type: "zkp";
241
+ zkpRequest: {
242
+ id: number;
243
+ circuitId: string;
244
+ query: Record<string, any>;
245
+ optional?: boolean | undefined;
246
+ };
247
+ };
248
+ }, {
249
+ type: "polygonIdRequest";
250
+ data: {
251
+ type: "auth";
252
+ authRequest: {
253
+ id: string;
254
+ type: string;
255
+ typ: import("./polygon-id.schema.js").MediaType;
256
+ body: {
257
+ callbackUrl: string;
258
+ scope: {
259
+ id: number;
260
+ circuitId: string;
261
+ query: Record<string, any>;
262
+ optional?: boolean | undefined;
263
+ }[];
264
+ message?: string | undefined;
265
+ reason?: string | undefined;
266
+ did_doc?: any;
267
+ };
268
+ from: string;
269
+ thid?: string | undefined;
270
+ to?: string | undefined;
271
+ };
272
+ } | {
273
+ type: "credentialOffer";
274
+ credentialOfferRequest: {
275
+ qrCodeLink?: string | null | undefined;
276
+ schemaType?: string | null | undefined;
277
+ };
278
+ } | {
279
+ type: "zkp";
280
+ zkpRequest: {
281
+ id: number;
282
+ circuitId: string;
283
+ query: Record<string, any>;
284
+ optional?: boolean | undefined;
285
+ };
286
+ };
287
+ }>, z.ZodUnion<[z.ZodObject<{
288
+ type: z.ZodLiteral<"startVerification">;
289
+ data: z.ZodUndefined;
290
+ }, "strip", z.ZodTypeAny, {
291
+ type: "startVerification";
292
+ data?: undefined;
293
+ }, {
294
+ type: "startVerification";
295
+ data?: undefined;
296
+ }>, z.ZodObject<{
297
+ type: z.ZodLiteral<"startManagement">;
298
+ data: z.ZodUndefined;
299
+ }, "strip", z.ZodTypeAny, {
300
+ type: "startManagement";
301
+ data?: undefined;
302
+ }, {
303
+ type: "startManagement";
304
+ data?: undefined;
305
+ }>, z.ZodObject<{
306
+ type: z.ZodLiteral<"startKYB">;
307
+ data: z.ZodUndefined;
308
+ }, "strip", z.ZodTypeAny, {
309
+ type: "startKYB";
310
+ data?: undefined;
311
+ }, {
312
+ type: "startKYB";
313
+ data?: undefined;
314
+ }>]>, z.ZodObject<{
315
+ type: z.ZodLiteral<"isVerifiedRequest">;
316
+ data: z.ZodObject<{
317
+ userAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
318
+ }, "strip", z.ZodTypeAny, {
319
+ userAddress: `0x${string}`;
320
+ }, {
321
+ userAddress: string;
322
+ }>;
323
+ identifier: z.ZodString;
324
+ }, "strip", z.ZodTypeAny, {
325
+ type: "isVerifiedRequest";
326
+ data: {
327
+ userAddress: `0x${string}`;
328
+ };
329
+ identifier: string;
330
+ }, {
331
+ type: "isVerifiedRequest";
332
+ data: {
333
+ userAddress: string;
334
+ };
335
+ identifier: string;
336
+ }>, z.ZodObject<{
337
+ type: z.ZodLiteral<"getTxAuthSigRequest">;
338
+ data: z.ZodObject<Omit<{
339
+ chainId: z.ZodEffects<z.ZodEnum<[import("../index.js").NEXERA_EVM_CHAINS.ETHEREUM, import("../index.js").NEXERA_EVM_CHAINS.POLYGON, import("../index.js").NEXERA_EVM_CHAINS.POLYGON_AMOY, import("../index.js").NEXERA_EVM_CHAINS.AVALANCHE, import("../index.js").NEXERA_EVM_CHAINS.AVALANCHE_FUJI, import("../index.js").NEXERA_EVM_CHAINS.ARBITRUM, import("../index.js").NEXERA_EVM_CHAINS.ARBITRUM_SEPOLIA, import("../index.js").NEXERA_EVM_CHAINS.SEPOLIA, import("../index.js").NEXERA_EVM_CHAINS.BASE, import("../index.js").NEXERA_EVM_CHAINS.BASE_SEPOLIA, import("../index.js").NEXERA_EVM_CHAINS.BNB, import("../index.js").NEXERA_EVM_CHAINS.BNB_TESTNET, import("../index.js").NEXERA_EVM_CHAINS.MOONBEAM, import("../index.js").NEXERA_EVM_CHAINS.MOONRIVER, import("../index.js").NEXERA_EVM_CHAINS.OPTIMISM, import("../index.js").NEXERA_EVM_CHAINS.OPTIMISM_SEPOLIA]>, import("../index.js").NEXERA_EVM_CHAINS.ETHEREUM | import("../index.js").NEXERA_EVM_CHAINS.ARBITRUM | import("../index.js").NEXERA_EVM_CHAINS.ARBITRUM_SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.OPTIMISM | import("../index.js").NEXERA_EVM_CHAINS.OPTIMISM_SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.AVALANCHE | import("../index.js").NEXERA_EVM_CHAINS.AVALANCHE_FUJI | import("../index.js").NEXERA_EVM_CHAINS.POLYGON | import("../index.js").NEXERA_EVM_CHAINS.POLYGON_AMOY | import("../index.js").NEXERA_EVM_CHAINS.SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.BASE | import("../index.js").NEXERA_EVM_CHAINS.BASE_SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.MOONBEAM | import("../index.js").NEXERA_EVM_CHAINS.MOONRIVER | import("../index.js").NEXERA_EVM_CHAINS.BNB | import("../index.js").NEXERA_EVM_CHAINS.BNB_TESTNET, unknown>;
340
+ contractAbi: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
341
+ contractAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
342
+ functionName: z.ZodString;
343
+ args: z.ZodArray<z.ZodUnknown, "many">;
344
+ userAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
345
+ blockExpiration: z.ZodOptional<z.ZodNumber>;
346
+ nonce: z.ZodOptional<z.ZodNumber>;
347
+ }, "userAddress">, "strip", z.ZodTypeAny, {
348
+ chainId: import("../index.js").NEXERA_EVM_CHAINS.ETHEREUM | import("../index.js").NEXERA_EVM_CHAINS.ARBITRUM | import("../index.js").NEXERA_EVM_CHAINS.ARBITRUM_SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.OPTIMISM | import("../index.js").NEXERA_EVM_CHAINS.OPTIMISM_SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.AVALANCHE | import("../index.js").NEXERA_EVM_CHAINS.AVALANCHE_FUJI | import("../index.js").NEXERA_EVM_CHAINS.POLYGON | import("../index.js").NEXERA_EVM_CHAINS.POLYGON_AMOY | import("../index.js").NEXERA_EVM_CHAINS.SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.BASE | import("../index.js").NEXERA_EVM_CHAINS.BASE_SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.MOONBEAM | import("../index.js").NEXERA_EVM_CHAINS.MOONRIVER | import("../index.js").NEXERA_EVM_CHAINS.BNB | import("../index.js").NEXERA_EVM_CHAINS.BNB_TESTNET;
349
+ contractAbi: Record<string, unknown>[];
350
+ contractAddress: `0x${string}`;
351
+ functionName: string;
352
+ args: unknown[];
353
+ blockExpiration?: number | undefined;
354
+ nonce?: number | undefined;
355
+ }, {
356
+ contractAbi: Record<string, unknown>[];
357
+ contractAddress: string;
358
+ functionName: string;
359
+ args: unknown[];
360
+ chainId?: unknown;
361
+ blockExpiration?: number | undefined;
362
+ nonce?: number | undefined;
363
+ }>;
364
+ identifier: z.ZodString;
365
+ }, "strip", z.ZodTypeAny, {
366
+ type: "getTxAuthSigRequest";
367
+ data: {
368
+ chainId: import("../index.js").NEXERA_EVM_CHAINS.ETHEREUM | import("../index.js").NEXERA_EVM_CHAINS.ARBITRUM | import("../index.js").NEXERA_EVM_CHAINS.ARBITRUM_SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.OPTIMISM | import("../index.js").NEXERA_EVM_CHAINS.OPTIMISM_SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.AVALANCHE | import("../index.js").NEXERA_EVM_CHAINS.AVALANCHE_FUJI | import("../index.js").NEXERA_EVM_CHAINS.POLYGON | import("../index.js").NEXERA_EVM_CHAINS.POLYGON_AMOY | import("../index.js").NEXERA_EVM_CHAINS.SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.BASE | import("../index.js").NEXERA_EVM_CHAINS.BASE_SEPOLIA | import("../index.js").NEXERA_EVM_CHAINS.MOONBEAM | import("../index.js").NEXERA_EVM_CHAINS.MOONRIVER | import("../index.js").NEXERA_EVM_CHAINS.BNB | import("../index.js").NEXERA_EVM_CHAINS.BNB_TESTNET;
369
+ contractAbi: Record<string, unknown>[];
370
+ contractAddress: `0x${string}`;
371
+ functionName: string;
372
+ args: unknown[];
373
+ blockExpiration?: number | undefined;
374
+ nonce?: number | undefined;
375
+ };
376
+ identifier: string;
377
+ }, {
378
+ type: "getTxAuthSigRequest";
379
+ data: {
380
+ contractAbi: Record<string, unknown>[];
381
+ contractAddress: string;
382
+ functionName: string;
383
+ args: unknown[];
384
+ chainId?: unknown;
385
+ blockExpiration?: number | undefined;
386
+ nonce?: number | undefined;
387
+ };
388
+ identifier: string;
389
+ }>]>, z.ZodUnion<[z.ZodObject<{
390
+ type: z.ZodLiteral<"onStartKyc">;
391
+ data: z.ZodObject<{
392
+ identifier: z.ZodOptional<z.ZodString>;
393
+ flow: z.ZodOptional<z.ZodEnum<["VERIFICATION", "MANAGEMENT", "POLYGON_ID", "KYB"]>>;
394
+ accessToken: z.ZodString;
395
+ signingMessage: z.ZodString;
396
+ signature: z.ZodString;
397
+ }, "strip", z.ZodTypeAny, {
398
+ signingMessage: string;
399
+ accessToken: string;
400
+ signature: string;
401
+ identifier?: string | undefined;
402
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
403
+ }, {
404
+ signingMessage: string;
405
+ accessToken: string;
406
+ signature: string;
407
+ identifier?: string | undefined;
408
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
409
+ }>;
410
+ }, "strip", z.ZodTypeAny, {
411
+ type: "onStartKyc";
412
+ data: {
413
+ signingMessage: string;
414
+ accessToken: string;
415
+ signature: string;
416
+ identifier?: string | undefined;
417
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
418
+ };
419
+ }, {
420
+ type: "onStartKyc";
421
+ data: {
422
+ signingMessage: string;
423
+ accessToken: string;
424
+ signature: string;
425
+ identifier?: string | undefined;
426
+ flow?: "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | "KYB" | undefined;
427
+ };
428
+ }>, z.ZodObject<{
429
+ type: z.ZodLiteral<"signature">;
430
+ 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>]>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ type: "signature";
433
+ data: string;
434
+ }, {
435
+ type: "signature";
436
+ data: string;
437
+ }>, z.ZodObject<{
438
+ type: z.ZodLiteral<"transactionResponse">;
439
+ data: z.ZodObject<{
440
+ txHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
441
+ }, "strip", z.ZodTypeAny, {
442
+ txHash: `0x${string}`;
443
+ }, {
444
+ txHash: string;
445
+ }>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ type: "transactionResponse";
448
+ data: {
449
+ txHash: `0x${string}`;
450
+ };
451
+ }, {
452
+ type: "transactionResponse";
453
+ data: {
454
+ txHash: string;
455
+ };
456
+ }>]>]>;
457
+ export type HostMessage = z.infer<typeof HostMessage>;
458
+ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
459
+ type: z.ZodLiteral<"closeScreen">;
460
+ identifier: z.ZodString;
461
+ data: z.ZodUndefined;
462
+ }, "strip", z.ZodTypeAny, {
463
+ type: "closeScreen";
464
+ identifier: string;
465
+ data?: undefined;
466
+ }, {
467
+ type: "closeScreen";
468
+ identifier: string;
469
+ data?: undefined;
470
+ }>, z.ZodObject<{
471
+ type: z.ZodLiteral<"polygonIdInitialized">;
472
+ identifier: z.ZodString;
473
+ data: z.ZodString;
474
+ }, "strip", z.ZodTypeAny, {
475
+ type: "polygonIdInitialized";
476
+ data: string;
477
+ identifier: string;
478
+ }, {
479
+ type: "polygonIdInitialized";
480
+ data: string;
481
+ identifier: string;
482
+ }>, z.ZodObject<{
483
+ type: z.ZodLiteral<"ocvSdkInitialized">;
484
+ identifier: z.ZodString;
485
+ }, "strip", z.ZodTypeAny, {
486
+ type: "ocvSdkInitialized";
487
+ identifier: string;
488
+ }, {
489
+ type: "ocvSdkInitialized";
490
+ identifier: string;
491
+ }>, z.ZodObject<{
492
+ type: z.ZodLiteral<"startCompletedNotification">;
493
+ identifier: z.ZodString;
494
+ }, "strip", z.ZodTypeAny, {
495
+ type: "startCompletedNotification";
496
+ identifier: string;
497
+ }, {
498
+ type: "startCompletedNotification";
499
+ identifier: string;
500
+ }>, z.ZodObject<{
501
+ type: z.ZodLiteral<"kycCompletion">;
502
+ identifier: z.ZodString;
503
+ data: 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
+ }, "strip", z.ZodTypeAny, {
517
+ type: "kycCompletion";
518
+ data: z.objectOutputType<{
519
+ issuer: z.ZodString;
520
+ 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">;
521
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
522
+ }, z.ZodAny, "strip">[];
523
+ identifier: string;
524
+ }, {
525
+ type: "kycCompletion";
526
+ data: z.objectInputType<{
527
+ issuer: z.ZodString;
528
+ 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">;
529
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
530
+ }, z.ZodAny, "strip">[];
531
+ identifier: string;
532
+ }>, z.ZodObject<{
533
+ type: z.ZodLiteral<"scenarioExecution">;
534
+ identifier: z.ZodString;
535
+ data: z.ZodUnion<[z.ZodObject<{
536
+ type: z.ZodLiteral<"RuleEngineScenarioExecution">;
537
+ data: z.ZodObject<{
538
+ customerId: z.ZodString;
539
+ scenarioExecutionId: z.ZodString;
540
+ status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]>;
541
+ results: z.ZodArray<z.ZodArray<z.ZodObject<{
542
+ objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
543
+ objectId: z.ZodString;
544
+ name: z.ZodString;
545
+ address: z.ZodString;
546
+ result: z.ZodObject<{
547
+ result: z.ZodObject<{
548
+ is_valid: z.ZodBoolean;
549
+ reasons: z.ZodArray<z.ZodUnknown, "many">;
550
+ }, "strip", z.ZodTypeAny, {
551
+ is_valid: boolean;
552
+ reasons: unknown[];
553
+ }, {
554
+ is_valid: boolean;
555
+ reasons: unknown[];
556
+ }>;
557
+ executionId: z.ZodString;
558
+ }, "strip", z.ZodTypeAny, {
559
+ result: {
560
+ is_valid: boolean;
561
+ reasons: unknown[];
562
+ };
563
+ executionId: string;
564
+ }, {
565
+ result: {
566
+ is_valid: boolean;
567
+ reasons: unknown[];
568
+ };
569
+ executionId: string;
570
+ }>;
571
+ executionId: z.ZodString;
572
+ scenarioId: z.ZodString;
573
+ }, "strip", z.ZodTypeAny, {
574
+ name: string;
575
+ result: {
576
+ result: {
577
+ is_valid: boolean;
578
+ reasons: unknown[];
579
+ };
580
+ executionId: string;
581
+ };
582
+ address: string;
583
+ executionId: string;
584
+ scenarioId: string;
585
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
586
+ objectId: string;
587
+ }, {
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
+ }>, "many">, "many">;
602
+ }, "strip", z.ZodTypeAny, {
603
+ status: "valid" | "unknown" | "not-valid" | "error";
604
+ customerId: string;
605
+ scenarioExecutionId: string;
606
+ results: {
607
+ name: string;
608
+ result: {
609
+ result: {
610
+ is_valid: boolean;
611
+ reasons: unknown[];
612
+ };
613
+ executionId: string;
614
+ };
615
+ address: string;
616
+ executionId: string;
617
+ scenarioId: string;
618
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
619
+ objectId: string;
620
+ }[][];
621
+ }, {
622
+ status: "valid" | "unknown" | "not-valid" | "error";
623
+ customerId: string;
624
+ scenarioExecutionId: string;
625
+ results: {
626
+ name: string;
627
+ result: {
628
+ result: {
629
+ is_valid: boolean;
630
+ reasons: unknown[];
631
+ };
632
+ executionId: string;
633
+ };
634
+ address: string;
635
+ executionId: string;
636
+ scenarioId: string;
637
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
638
+ objectId: string;
639
+ }[][];
640
+ }>;
641
+ }, "strip", z.ZodTypeAny, {
642
+ type: "RuleEngineScenarioExecution";
643
+ data: {
644
+ status: "valid" | "unknown" | "not-valid" | "error";
645
+ customerId: string;
646
+ scenarioExecutionId: string;
647
+ results: {
648
+ name: string;
649
+ result: {
650
+ result: {
651
+ is_valid: boolean;
652
+ reasons: unknown[];
653
+ };
654
+ executionId: string;
655
+ };
656
+ address: string;
657
+ executionId: string;
658
+ scenarioId: string;
659
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
660
+ objectId: string;
661
+ }[][];
662
+ };
663
+ }, {
664
+ type: "RuleEngineScenarioExecution";
665
+ data: {
666
+ status: "valid" | "unknown" | "not-valid" | "error";
667
+ customerId: string;
668
+ scenarioExecutionId: string;
669
+ results: {
670
+ name: string;
671
+ result: {
672
+ result: {
673
+ is_valid: boolean;
674
+ reasons: unknown[];
675
+ };
676
+ executionId: string;
677
+ };
678
+ address: string;
679
+ executionId: string;
680
+ scenarioId: string;
681
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
682
+ objectId: string;
683
+ }[][];
684
+ };
685
+ }>, z.ZodObject<{
686
+ type: z.ZodLiteral<"OffChainScenarioExecution">;
687
+ data: z.ZodArray<z.ZodObject<{
688
+ executionId: z.ZodString;
689
+ sessionId: z.ZodString;
690
+ projectId: z.ZodString;
691
+ 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>]>;
692
+ status: z.ZodEnum<["pending", "authorised", "unauthorised"]>;
693
+ scenarioId: z.ZodString;
694
+ scenarioName: z.ZodString;
695
+ requestMessage: z.ZodObject<{
696
+ id: z.ZodString;
697
+ typ: z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>;
698
+ type: z.ZodString;
699
+ thid: z.ZodOptional<z.ZodString>;
700
+ body: z.ZodObject<{
701
+ callbackUrl: z.ZodString;
702
+ reason: z.ZodOptional<z.ZodString>;
703
+ did_doc: z.ZodOptional<z.ZodAny>;
704
+ message: z.ZodOptional<z.ZodString>;
705
+ scope: z.ZodArray<z.ZodObject<{
706
+ id: z.ZodNumber;
707
+ circuitId: z.ZodString;
708
+ optional: z.ZodOptional<z.ZodBoolean>;
709
+ query: z.ZodRecord<z.ZodString, z.ZodAny>;
710
+ }, "strip", z.ZodTypeAny, {
711
+ id: number;
712
+ circuitId: string;
713
+ query: Record<string, any>;
714
+ optional?: boolean | undefined;
715
+ }, {
716
+ id: number;
717
+ circuitId: string;
718
+ query: Record<string, any>;
719
+ optional?: boolean | undefined;
720
+ }>, "many">;
721
+ }, "strip", z.ZodTypeAny, {
722
+ callbackUrl: string;
723
+ scope: {
724
+ id: number;
725
+ circuitId: string;
726
+ query: Record<string, any>;
727
+ optional?: boolean | undefined;
728
+ }[];
729
+ message?: string | undefined;
730
+ reason?: string | undefined;
731
+ did_doc?: any;
732
+ }, {
733
+ callbackUrl: string;
734
+ scope: {
735
+ id: number;
736
+ circuitId: string;
737
+ query: Record<string, any>;
738
+ optional?: boolean | undefined;
739
+ }[];
740
+ message?: string | undefined;
741
+ reason?: string | undefined;
742
+ did_doc?: any;
743
+ }>;
744
+ from: z.ZodString;
745
+ to: z.ZodOptional<z.ZodString>;
746
+ }, "strip", z.ZodTypeAny, {
747
+ id: string;
748
+ type: string;
749
+ typ: import("./polygon-id.schema.js").MediaType;
750
+ body: {
751
+ callbackUrl: string;
752
+ scope: {
753
+ id: number;
754
+ circuitId: string;
755
+ query: Record<string, any>;
756
+ optional?: boolean | undefined;
757
+ }[];
758
+ message?: string | undefined;
759
+ reason?: string | undefined;
760
+ did_doc?: any;
761
+ };
762
+ from: string;
763
+ thid?: string | undefined;
764
+ to?: string | undefined;
765
+ }, {
766
+ id: string;
767
+ type: string;
768
+ typ: import("./polygon-id.schema.js").MediaType;
769
+ body: {
770
+ callbackUrl: string;
771
+ scope: {
772
+ id: number;
773
+ circuitId: string;
774
+ query: Record<string, any>;
775
+ optional?: boolean | undefined;
776
+ }[];
777
+ message?: string | undefined;
778
+ reason?: string | undefined;
779
+ did_doc?: any;
780
+ };
781
+ from: string;
782
+ thid?: string | undefined;
783
+ to?: string | undefined;
784
+ }>;
785
+ responseMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
786
+ id: z.ZodString;
787
+ typ: z.ZodOptional<z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>>;
788
+ type: z.ZodString;
789
+ thid: z.ZodOptional<z.ZodString>;
790
+ body: z.ZodObject<{
791
+ did_doc: z.ZodOptional<z.ZodAny>;
792
+ message: z.ZodOptional<z.ZodString>;
793
+ scope: z.ZodArray<z.ZodObject<{
794
+ id: z.ZodNumber;
795
+ circuitId: z.ZodString;
796
+ vp: z.ZodOptional<z.ZodAny>;
797
+ proof: z.ZodObject<{
798
+ pi_a: z.ZodArray<z.ZodString, "many">;
799
+ pi_b: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
800
+ pi_c: z.ZodArray<z.ZodString, "many">;
801
+ protocol: z.ZodString;
802
+ curve: z.ZodOptional<z.ZodString>;
803
+ }, "strip", z.ZodTypeAny, {
804
+ pi_a: string[];
805
+ pi_b: string[][];
806
+ pi_c: string[];
807
+ protocol: string;
808
+ curve?: string | undefined;
809
+ }, {
810
+ pi_a: string[];
811
+ pi_b: string[][];
812
+ pi_c: string[];
813
+ protocol: string;
814
+ curve?: string | undefined;
815
+ }>;
816
+ pub_signals: z.ZodArray<z.ZodString, "many">;
817
+ }, "strip", z.ZodTypeAny, {
818
+ id: number;
819
+ proof: {
820
+ pi_a: string[];
821
+ pi_b: string[][];
822
+ pi_c: string[];
823
+ protocol: string;
824
+ curve?: string | undefined;
825
+ };
826
+ circuitId: string;
827
+ pub_signals: string[];
828
+ vp?: any;
829
+ }, {
830
+ id: number;
831
+ proof: {
832
+ pi_a: string[];
833
+ pi_b: string[][];
834
+ pi_c: string[];
835
+ protocol: string;
836
+ curve?: string | undefined;
837
+ };
838
+ circuitId: string;
839
+ pub_signals: string[];
840
+ vp?: any;
841
+ }>, "many">;
842
+ }, "strip", z.ZodTypeAny, {
843
+ scope: {
844
+ id: number;
845
+ proof: {
846
+ pi_a: string[];
847
+ pi_b: string[][];
848
+ pi_c: string[];
849
+ protocol: string;
850
+ curve?: string | undefined;
851
+ };
852
+ circuitId: string;
853
+ pub_signals: string[];
854
+ vp?: any;
855
+ }[];
856
+ message?: string | undefined;
857
+ did_doc?: any;
858
+ }, {
859
+ scope: {
860
+ id: number;
861
+ proof: {
862
+ pi_a: string[];
863
+ pi_b: string[][];
864
+ pi_c: string[];
865
+ protocol: string;
866
+ curve?: string | undefined;
867
+ };
868
+ circuitId: string;
869
+ pub_signals: string[];
870
+ vp?: any;
871
+ }[];
872
+ message?: string | undefined;
873
+ did_doc?: any;
874
+ }>;
875
+ from: z.ZodOptional<z.ZodString>;
876
+ to: z.ZodOptional<z.ZodString>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ id: string;
879
+ type: string;
880
+ body: {
881
+ scope: {
882
+ id: number;
883
+ proof: {
884
+ pi_a: string[];
885
+ pi_b: string[][];
886
+ pi_c: string[];
887
+ protocol: string;
888
+ curve?: string | undefined;
889
+ };
890
+ circuitId: string;
891
+ pub_signals: string[];
892
+ vp?: any;
893
+ }[];
894
+ message?: string | undefined;
895
+ did_doc?: any;
896
+ };
897
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
898
+ thid?: string | undefined;
899
+ from?: string | undefined;
900
+ to?: string | undefined;
901
+ }, {
902
+ id: string;
903
+ type: string;
904
+ body: {
905
+ scope: {
906
+ id: number;
907
+ proof: {
908
+ pi_a: string[];
909
+ pi_b: string[][];
910
+ pi_c: string[];
911
+ protocol: string;
912
+ curve?: string | undefined;
913
+ };
914
+ circuitId: string;
915
+ pub_signals: string[];
916
+ vp?: any;
917
+ }[];
918
+ message?: string | undefined;
919
+ did_doc?: any;
920
+ };
921
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
922
+ thid?: string | undefined;
923
+ from?: string | undefined;
924
+ to?: string | undefined;
925
+ }>>>;
926
+ verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
927
+ query: z.ZodObject<{
928
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
929
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
930
+ attribute: z.ZodString;
931
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
932
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
933
+ }, "strip", z.ZodTypeAny, {
934
+ value: string | number | boolean | (string | number)[];
935
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
936
+ attribute: string;
937
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
938
+ requestId?: number | null | undefined;
939
+ }, {
940
+ value: string | number | boolean | (string | number)[];
941
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
942
+ attribute: string;
943
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
944
+ requestId?: number | null | undefined;
945
+ }>;
946
+ }, "strip", z.ZodTypeAny, {
947
+ status: "pending" | "authorised" | "unauthorised";
948
+ address: string;
949
+ executionId: string;
950
+ sessionId: string;
951
+ projectId: string;
952
+ scenarioId: string;
953
+ scenarioName: string;
954
+ query: {
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
+ requestMessage: {
962
+ id: string;
963
+ type: string;
964
+ typ: import("./polygon-id.schema.js").MediaType;
965
+ body: {
966
+ callbackUrl: string;
967
+ scope: {
968
+ id: number;
969
+ circuitId: string;
970
+ query: Record<string, any>;
971
+ optional?: boolean | undefined;
972
+ }[];
973
+ message?: string | undefined;
974
+ reason?: string | undefined;
975
+ did_doc?: any;
976
+ };
977
+ from: string;
978
+ thid?: string | undefined;
979
+ to?: string | undefined;
980
+ };
981
+ responseMessage?: {
982
+ id: string;
983
+ type: string;
984
+ body: {
985
+ scope: {
986
+ id: number;
987
+ proof: {
988
+ pi_a: string[];
989
+ pi_b: string[][];
990
+ pi_c: string[];
991
+ protocol: string;
992
+ curve?: string | undefined;
993
+ };
994
+ circuitId: string;
995
+ pub_signals: string[];
996
+ vp?: any;
997
+ }[];
998
+ message?: string | undefined;
999
+ did_doc?: any;
1000
+ };
1001
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1002
+ thid?: string | undefined;
1003
+ from?: string | undefined;
1004
+ to?: string | undefined;
1005
+ } | null | undefined;
1006
+ verificationError?: string | null | undefined;
1007
+ }, {
1008
+ status: "pending" | "authorised" | "unauthorised";
1009
+ address: string;
1010
+ executionId: string;
1011
+ sessionId: string;
1012
+ projectId: string;
1013
+ scenarioId: string;
1014
+ scenarioName: string;
1015
+ query: {
1016
+ value: string | number | boolean | (string | number)[];
1017
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1018
+ attribute: string;
1019
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1020
+ requestId?: number | null | undefined;
1021
+ };
1022
+ requestMessage: {
1023
+ id: string;
1024
+ type: string;
1025
+ typ: import("./polygon-id.schema.js").MediaType;
1026
+ body: {
1027
+ callbackUrl: string;
1028
+ scope: {
1029
+ id: number;
1030
+ circuitId: string;
1031
+ query: Record<string, any>;
1032
+ optional?: boolean | undefined;
1033
+ }[];
1034
+ message?: string | undefined;
1035
+ reason?: string | undefined;
1036
+ did_doc?: any;
1037
+ };
1038
+ from: string;
1039
+ thid?: string | undefined;
1040
+ to?: string | undefined;
1041
+ };
1042
+ responseMessage?: {
1043
+ id: string;
1044
+ type: string;
1045
+ body: {
1046
+ scope: {
1047
+ id: number;
1048
+ proof: {
1049
+ pi_a: string[];
1050
+ pi_b: string[][];
1051
+ pi_c: string[];
1052
+ protocol: string;
1053
+ curve?: string | undefined;
1054
+ };
1055
+ circuitId: string;
1056
+ pub_signals: string[];
1057
+ vp?: any;
1058
+ }[];
1059
+ message?: string | undefined;
1060
+ did_doc?: any;
1061
+ };
1062
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1063
+ thid?: string | undefined;
1064
+ from?: string | undefined;
1065
+ to?: string | undefined;
1066
+ } | null | undefined;
1067
+ verificationError?: string | null | undefined;
1068
+ }>, "many">;
1069
+ }, "strip", z.ZodTypeAny, {
1070
+ type: "OffChainScenarioExecution";
1071
+ data: {
1072
+ status: "pending" | "authorised" | "unauthorised";
1073
+ address: string;
1074
+ executionId: string;
1075
+ sessionId: string;
1076
+ projectId: string;
1077
+ scenarioId: string;
1078
+ scenarioName: string;
1079
+ query: {
1080
+ value: string | number | boolean | (string | number)[];
1081
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1082
+ attribute: string;
1083
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1084
+ requestId?: number | null | undefined;
1085
+ };
1086
+ requestMessage: {
1087
+ id: string;
1088
+ type: string;
1089
+ typ: import("./polygon-id.schema.js").MediaType;
1090
+ body: {
1091
+ callbackUrl: string;
1092
+ scope: {
1093
+ id: number;
1094
+ circuitId: string;
1095
+ query: Record<string, any>;
1096
+ optional?: boolean | undefined;
1097
+ }[];
1098
+ message?: string | undefined;
1099
+ reason?: string | undefined;
1100
+ did_doc?: any;
1101
+ };
1102
+ from: string;
1103
+ thid?: string | undefined;
1104
+ to?: string | undefined;
1105
+ };
1106
+ responseMessage?: {
1107
+ id: string;
1108
+ type: string;
1109
+ body: {
1110
+ scope: {
1111
+ id: number;
1112
+ proof: {
1113
+ pi_a: string[];
1114
+ pi_b: string[][];
1115
+ pi_c: string[];
1116
+ protocol: string;
1117
+ curve?: string | undefined;
1118
+ };
1119
+ circuitId: string;
1120
+ pub_signals: string[];
1121
+ vp?: any;
1122
+ }[];
1123
+ message?: string | undefined;
1124
+ did_doc?: any;
1125
+ };
1126
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1127
+ thid?: string | undefined;
1128
+ from?: string | undefined;
1129
+ to?: string | undefined;
1130
+ } | null | undefined;
1131
+ verificationError?: string | null | undefined;
1132
+ }[];
1133
+ }, {
1134
+ type: "OffChainScenarioExecution";
1135
+ data: {
1136
+ status: "pending" | "authorised" | "unauthorised";
1137
+ address: string;
1138
+ executionId: string;
1139
+ sessionId: string;
1140
+ projectId: string;
1141
+ scenarioId: string;
1142
+ scenarioName: string;
1143
+ query: {
1144
+ value: string | number | boolean | (string | number)[];
1145
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1146
+ attribute: string;
1147
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1148
+ requestId?: number | null | undefined;
1149
+ };
1150
+ requestMessage: {
1151
+ id: string;
1152
+ type: string;
1153
+ typ: import("./polygon-id.schema.js").MediaType;
1154
+ body: {
1155
+ callbackUrl: string;
1156
+ scope: {
1157
+ id: number;
1158
+ circuitId: string;
1159
+ query: Record<string, any>;
1160
+ optional?: boolean | undefined;
1161
+ }[];
1162
+ message?: string | undefined;
1163
+ reason?: string | undefined;
1164
+ did_doc?: any;
1165
+ };
1166
+ from: string;
1167
+ thid?: string | undefined;
1168
+ to?: string | undefined;
1169
+ };
1170
+ responseMessage?: {
1171
+ id: string;
1172
+ type: string;
1173
+ body: {
1174
+ scope: {
1175
+ id: number;
1176
+ proof: {
1177
+ pi_a: string[];
1178
+ pi_b: string[][];
1179
+ pi_c: string[];
1180
+ protocol: string;
1181
+ curve?: string | undefined;
1182
+ };
1183
+ circuitId: string;
1184
+ pub_signals: string[];
1185
+ vp?: any;
1186
+ }[];
1187
+ message?: string | undefined;
1188
+ did_doc?: any;
1189
+ };
1190
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1191
+ thid?: string | undefined;
1192
+ from?: string | undefined;
1193
+ to?: string | undefined;
1194
+ } | null | undefined;
1195
+ verificationError?: string | null | undefined;
1196
+ }[];
1197
+ }>, z.ZodObject<{
1198
+ type: z.ZodLiteral<"OnChainScenarioExecution">;
1199
+ data: z.ZodAny;
1200
+ }, "strip", z.ZodTypeAny, {
1201
+ type: "OnChainScenarioExecution";
1202
+ data?: any;
1203
+ }, {
1204
+ type: "OnChainScenarioExecution";
1205
+ data?: any;
1206
+ }>]>;
1207
+ }, "strip", z.ZodTypeAny, {
1208
+ type: "scenarioExecution";
1209
+ data: {
1210
+ type: "RuleEngineScenarioExecution";
1211
+ data: {
1212
+ status: "valid" | "unknown" | "not-valid" | "error";
1213
+ customerId: string;
1214
+ scenarioExecutionId: string;
1215
+ results: {
1216
+ name: string;
1217
+ result: {
1218
+ result: {
1219
+ is_valid: boolean;
1220
+ reasons: unknown[];
1221
+ };
1222
+ executionId: string;
1223
+ };
1224
+ address: string;
1225
+ executionId: string;
1226
+ scenarioId: string;
1227
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1228
+ objectId: string;
1229
+ }[][];
1230
+ };
1231
+ } | {
1232
+ type: "OffChainScenarioExecution";
1233
+ data: {
1234
+ status: "pending" | "authorised" | "unauthorised";
1235
+ address: string;
1236
+ executionId: string;
1237
+ sessionId: string;
1238
+ projectId: string;
1239
+ scenarioId: string;
1240
+ scenarioName: string;
1241
+ query: {
1242
+ value: string | number | boolean | (string | number)[];
1243
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1244
+ attribute: string;
1245
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1246
+ requestId?: number | null | undefined;
1247
+ };
1248
+ requestMessage: {
1249
+ id: string;
1250
+ type: string;
1251
+ typ: import("./polygon-id.schema.js").MediaType;
1252
+ body: {
1253
+ callbackUrl: string;
1254
+ scope: {
1255
+ id: number;
1256
+ circuitId: string;
1257
+ query: Record<string, any>;
1258
+ optional?: boolean | undefined;
1259
+ }[];
1260
+ message?: string | undefined;
1261
+ reason?: string | undefined;
1262
+ did_doc?: any;
1263
+ };
1264
+ from: string;
1265
+ thid?: string | undefined;
1266
+ to?: string | undefined;
1267
+ };
1268
+ responseMessage?: {
1269
+ id: string;
1270
+ type: string;
1271
+ body: {
1272
+ scope: {
1273
+ id: number;
1274
+ proof: {
1275
+ pi_a: string[];
1276
+ pi_b: string[][];
1277
+ pi_c: string[];
1278
+ protocol: string;
1279
+ curve?: string | undefined;
1280
+ };
1281
+ circuitId: string;
1282
+ pub_signals: string[];
1283
+ vp?: any;
1284
+ }[];
1285
+ message?: string | undefined;
1286
+ did_doc?: any;
1287
+ };
1288
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1289
+ thid?: string | undefined;
1290
+ from?: string | undefined;
1291
+ to?: string | undefined;
1292
+ } | null | undefined;
1293
+ verificationError?: string | null | undefined;
1294
+ }[];
1295
+ } | {
1296
+ type: "OnChainScenarioExecution";
1297
+ data?: any;
1298
+ };
1299
+ identifier: string;
1300
+ }, {
1301
+ type: "scenarioExecution";
1302
+ data: {
1303
+ type: "RuleEngineScenarioExecution";
1304
+ data: {
1305
+ status: "valid" | "unknown" | "not-valid" | "error";
1306
+ customerId: string;
1307
+ scenarioExecutionId: string;
1308
+ results: {
1309
+ name: string;
1310
+ result: {
1311
+ result: {
1312
+ is_valid: boolean;
1313
+ reasons: unknown[];
1314
+ };
1315
+ executionId: string;
1316
+ };
1317
+ address: string;
1318
+ executionId: string;
1319
+ scenarioId: string;
1320
+ objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
1321
+ objectId: string;
1322
+ }[][];
1323
+ };
1324
+ } | {
1325
+ type: "OffChainScenarioExecution";
1326
+ data: {
1327
+ status: "pending" | "authorised" | "unauthorised";
1328
+ address: string;
1329
+ executionId: string;
1330
+ sessionId: string;
1331
+ projectId: string;
1332
+ scenarioId: string;
1333
+ scenarioName: string;
1334
+ query: {
1335
+ value: string | number | boolean | (string | number)[];
1336
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
1337
+ attribute: string;
1338
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
1339
+ requestId?: number | null | undefined;
1340
+ };
1341
+ requestMessage: {
1342
+ id: string;
1343
+ type: string;
1344
+ typ: import("./polygon-id.schema.js").MediaType;
1345
+ body: {
1346
+ callbackUrl: string;
1347
+ scope: {
1348
+ id: number;
1349
+ circuitId: string;
1350
+ query: Record<string, any>;
1351
+ optional?: boolean | undefined;
1352
+ }[];
1353
+ message?: string | undefined;
1354
+ reason?: string | undefined;
1355
+ did_doc?: any;
1356
+ };
1357
+ from: string;
1358
+ thid?: string | undefined;
1359
+ to?: string | undefined;
1360
+ };
1361
+ responseMessage?: {
1362
+ id: string;
1363
+ type: string;
1364
+ body: {
1365
+ scope: {
1366
+ id: number;
1367
+ proof: {
1368
+ pi_a: string[];
1369
+ pi_b: string[][];
1370
+ pi_c: string[];
1371
+ protocol: string;
1372
+ curve?: string | undefined;
1373
+ };
1374
+ circuitId: string;
1375
+ pub_signals: string[];
1376
+ vp?: any;
1377
+ }[];
1378
+ message?: string | undefined;
1379
+ did_doc?: any;
1380
+ };
1381
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1382
+ thid?: string | undefined;
1383
+ from?: string | undefined;
1384
+ to?: string | undefined;
1385
+ } | null | undefined;
1386
+ verificationError?: string | null | undefined;
1387
+ }[];
1388
+ } | {
1389
+ type: "OnChainScenarioExecution";
1390
+ data?: any;
1391
+ };
1392
+ identifier: string;
1393
+ }>, z.ZodObject<{
1394
+ type: z.ZodLiteral<"isVerifiedNotification">;
1395
+ identifier: z.ZodString;
1396
+ isVerified: z.ZodBoolean;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ type: "isVerifiedNotification";
1399
+ identifier: string;
1400
+ isVerified: boolean;
1401
+ }, {
1402
+ type: "isVerifiedNotification";
1403
+ identifier: string;
1404
+ isVerified: boolean;
1405
+ }>]>, z.ZodUnion<[z.ZodObject<{
1406
+ type: z.ZodLiteral<"initialDataRequest">;
1407
+ identifier: z.ZodString;
1408
+ }, "strip", z.ZodTypeAny, {
1409
+ type: "initialDataRequest";
1410
+ identifier: string;
1411
+ }, {
1412
+ type: "initialDataRequest";
1413
+ identifier: string;
1414
+ }>, z.ZodObject<{
1415
+ type: z.ZodLiteral<"signatureRequest">;
1416
+ identifier: z.ZodString;
1417
+ data: z.ZodObject<{
1418
+ message: z.ZodString;
1419
+ }, "strip", z.ZodTypeAny, {
1420
+ message: string;
1421
+ }, {
1422
+ message: string;
1423
+ }>;
1424
+ }, "strip", z.ZodTypeAny, {
1425
+ type: "signatureRequest";
1426
+ data: {
1427
+ message: string;
1428
+ };
1429
+ identifier: string;
1430
+ }, {
1431
+ type: "signatureRequest";
1432
+ data: {
1433
+ message: string;
1434
+ };
1435
+ identifier: string;
1436
+ }>, z.ZodObject<{
1437
+ type: z.ZodLiteral<"sendTransactionRequest">;
1438
+ identifier: z.ZodString;
1439
+ data: z.ZodObject<{
1440
+ accountAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
1441
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
1442
+ data: z.ZodEffects<z.ZodString, string, string>;
1443
+ value: z.ZodOptional<z.ZodString>;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ data: string;
1446
+ to: `0x${string}`;
1447
+ accountAddress: `0x${string}`;
1448
+ value?: string | undefined;
1449
+ }, {
1450
+ data: string;
1451
+ to: string;
1452
+ accountAddress: string;
1453
+ value?: string | undefined;
1454
+ }>;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ type: "sendTransactionRequest";
1457
+ data: {
1458
+ data: string;
1459
+ to: `0x${string}`;
1460
+ accountAddress: `0x${string}`;
1461
+ value?: string | undefined;
1462
+ };
1463
+ identifier: string;
1464
+ }, {
1465
+ type: "sendTransactionRequest";
1466
+ data: {
1467
+ data: string;
1468
+ to: string;
1469
+ accountAddress: string;
1470
+ value?: string | undefined;
1471
+ };
1472
+ identifier: string;
1473
+ }>]>, z.ZodUnion<[z.ZodObject<{
1474
+ type: z.ZodLiteral<"polygonIdCredentials">;
1475
+ credentials: z.ZodArray<z.ZodObject<{
1476
+ id: z.ZodString;
1477
+ type: z.ZodArray<z.ZodString, "many">;
1478
+ issuanceDate: z.ZodString;
1479
+ journeyId: z.ZodString;
1480
+ }, "strip", z.ZodTypeAny, {
1481
+ id: string;
1482
+ journeyId: string;
1483
+ type: string[];
1484
+ issuanceDate: string;
1485
+ }, {
1486
+ id: string;
1487
+ journeyId: string;
1488
+ type: string[];
1489
+ issuanceDate: string;
1490
+ }>, "many">;
1491
+ identifier: z.ZodString;
1492
+ }, "strip", z.ZodTypeAny, {
1493
+ type: "polygonIdCredentials";
1494
+ identifier: string;
1495
+ credentials: {
1496
+ id: string;
1497
+ journeyId: string;
1498
+ type: string[];
1499
+ issuanceDate: string;
1500
+ }[];
1501
+ }, {
1502
+ type: "polygonIdCredentials";
1503
+ identifier: string;
1504
+ credentials: {
1505
+ id: string;
1506
+ journeyId: string;
1507
+ type: string[];
1508
+ issuanceDate: string;
1509
+ }[];
1510
+ }>, z.ZodObject<{
1511
+ type: z.ZodLiteral<"polygonIdResponse">;
1512
+ identifier: z.ZodString;
1513
+ data: z.ZodUnion<[z.ZodObject<{
1514
+ type: z.ZodLiteral<"auth">;
1515
+ authResponse: z.ZodObject<{
1516
+ id: z.ZodString;
1517
+ typ: z.ZodOptional<z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>>;
1518
+ type: z.ZodString;
1519
+ thid: z.ZodOptional<z.ZodString>;
1520
+ body: z.ZodObject<{
1521
+ did_doc: z.ZodOptional<z.ZodAny>;
1522
+ message: z.ZodOptional<z.ZodString>;
1523
+ scope: z.ZodArray<z.ZodObject<{
1524
+ id: z.ZodNumber;
1525
+ circuitId: z.ZodString;
1526
+ vp: z.ZodOptional<z.ZodAny>;
1527
+ proof: z.ZodObject<{
1528
+ pi_a: z.ZodArray<z.ZodString, "many">;
1529
+ pi_b: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
1530
+ pi_c: z.ZodArray<z.ZodString, "many">;
1531
+ protocol: z.ZodString;
1532
+ curve: z.ZodOptional<z.ZodString>;
1533
+ }, "strip", z.ZodTypeAny, {
1534
+ pi_a: string[];
1535
+ pi_b: string[][];
1536
+ pi_c: string[];
1537
+ protocol: string;
1538
+ curve?: string | undefined;
1539
+ }, {
1540
+ pi_a: string[];
1541
+ pi_b: string[][];
1542
+ pi_c: string[];
1543
+ protocol: string;
1544
+ curve?: string | undefined;
1545
+ }>;
1546
+ pub_signals: z.ZodArray<z.ZodString, "many">;
1547
+ }, "strip", z.ZodTypeAny, {
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
+ id: number;
1561
+ proof: {
1562
+ pi_a: string[];
1563
+ pi_b: string[][];
1564
+ pi_c: string[];
1565
+ protocol: string;
1566
+ curve?: string | undefined;
1567
+ };
1568
+ circuitId: string;
1569
+ pub_signals: string[];
1570
+ vp?: any;
1571
+ }>, "many">;
1572
+ }, "strip", z.ZodTypeAny, {
1573
+ scope: {
1574
+ id: number;
1575
+ proof: {
1576
+ pi_a: string[];
1577
+ pi_b: string[][];
1578
+ pi_c: string[];
1579
+ protocol: string;
1580
+ curve?: string | undefined;
1581
+ };
1582
+ circuitId: string;
1583
+ pub_signals: string[];
1584
+ vp?: any;
1585
+ }[];
1586
+ message?: string | undefined;
1587
+ did_doc?: any;
1588
+ }, {
1589
+ scope: {
1590
+ id: number;
1591
+ proof: {
1592
+ pi_a: string[];
1593
+ pi_b: string[][];
1594
+ pi_c: string[];
1595
+ protocol: string;
1596
+ curve?: string | undefined;
1597
+ };
1598
+ circuitId: string;
1599
+ pub_signals: string[];
1600
+ vp?: any;
1601
+ }[];
1602
+ message?: string | undefined;
1603
+ did_doc?: any;
1604
+ }>;
1605
+ from: z.ZodOptional<z.ZodString>;
1606
+ to: z.ZodOptional<z.ZodString>;
1607
+ }, "strip", z.ZodTypeAny, {
1608
+ id: string;
1609
+ type: string;
1610
+ body: {
1611
+ scope: {
1612
+ id: number;
1613
+ proof: {
1614
+ pi_a: string[];
1615
+ pi_b: string[][];
1616
+ pi_c: string[];
1617
+ protocol: string;
1618
+ curve?: string | undefined;
1619
+ };
1620
+ circuitId: string;
1621
+ pub_signals: string[];
1622
+ vp?: any;
1623
+ }[];
1624
+ message?: string | undefined;
1625
+ did_doc?: any;
1626
+ };
1627
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1628
+ thid?: string | undefined;
1629
+ from?: string | undefined;
1630
+ to?: string | undefined;
1631
+ }, {
1632
+ id: string;
1633
+ type: string;
1634
+ body: {
1635
+ scope: {
1636
+ id: number;
1637
+ proof: {
1638
+ pi_a: string[];
1639
+ pi_b: string[][];
1640
+ pi_c: string[];
1641
+ protocol: string;
1642
+ curve?: string | undefined;
1643
+ };
1644
+ circuitId: string;
1645
+ pub_signals: string[];
1646
+ vp?: any;
1647
+ }[];
1648
+ message?: string | undefined;
1649
+ did_doc?: any;
1650
+ };
1651
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1652
+ thid?: string | undefined;
1653
+ from?: string | undefined;
1654
+ to?: string | undefined;
1655
+ }>;
1656
+ }, "strip", z.ZodTypeAny, {
1657
+ type: "auth";
1658
+ authResponse: {
1659
+ id: string;
1660
+ type: string;
1661
+ body: {
1662
+ scope: {
1663
+ id: number;
1664
+ proof: {
1665
+ pi_a: string[];
1666
+ pi_b: string[][];
1667
+ pi_c: string[];
1668
+ protocol: string;
1669
+ curve?: string | undefined;
1670
+ };
1671
+ circuitId: string;
1672
+ pub_signals: string[];
1673
+ vp?: any;
1674
+ }[];
1675
+ message?: string | undefined;
1676
+ did_doc?: any;
1677
+ };
1678
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1679
+ thid?: string | undefined;
1680
+ from?: string | undefined;
1681
+ to?: string | undefined;
1682
+ };
1683
+ }, {
1684
+ type: "auth";
1685
+ authResponse: {
1686
+ id: string;
1687
+ type: string;
1688
+ body: {
1689
+ scope: {
1690
+ id: number;
1691
+ proof: {
1692
+ pi_a: string[];
1693
+ pi_b: string[][];
1694
+ pi_c: string[];
1695
+ protocol: string;
1696
+ curve?: string | undefined;
1697
+ };
1698
+ circuitId: string;
1699
+ pub_signals: string[];
1700
+ vp?: any;
1701
+ }[];
1702
+ message?: string | undefined;
1703
+ did_doc?: any;
1704
+ };
1705
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1706
+ thid?: string | undefined;
1707
+ from?: string | undefined;
1708
+ to?: string | undefined;
1709
+ };
1710
+ }>, z.ZodObject<{
1711
+ type: z.ZodLiteral<"credentialOffer">;
1712
+ credentialOfferResponse: z.ZodArray<z.ZodObject<{
1713
+ id: z.ZodString;
1714
+ "@context": z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1715
+ type: z.ZodArray<z.ZodString, "many">;
1716
+ expirationDate: z.ZodOptional<z.ZodString>;
1717
+ issuanceDate: z.ZodOptional<z.ZodString>;
1718
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodAny>;
1719
+ credentialStatus: z.ZodObject<{
1720
+ id: z.ZodString;
1721
+ type: z.ZodEnum<["SparseMerkleTreeProof", "Iden3ReverseSparseMerkleTreeProof", "Iden3commRevocationStatusV1.0", "Iden3OnchainSparseMerkleTreeProof2023"]>;
1722
+ revocationNonce: z.ZodOptional<z.ZodNumber>;
1723
+ }, "strip", z.ZodTypeAny, {
1724
+ id: string;
1725
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
1726
+ revocationNonce?: number | undefined;
1727
+ }, {
1728
+ id: string;
1729
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
1730
+ revocationNonce?: number | undefined;
1731
+ }>;
1732
+ issuer: z.ZodString;
1733
+ credentialSchema: z.ZodObject<{
1734
+ id: z.ZodString;
1735
+ type: z.ZodString;
1736
+ }, "strip", z.ZodTypeAny, {
1737
+ id: string;
1738
+ type: string;
1739
+ }, {
1740
+ id: string;
1741
+ type: string;
1742
+ }>;
1743
+ proof: z.ZodAny;
1744
+ }, "strip", z.ZodTypeAny, {
1745
+ id: string;
1746
+ type: string[];
1747
+ credentialSubject: Record<string, any>;
1748
+ credentialStatus: {
1749
+ id: string;
1750
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
1751
+ revocationNonce?: number | undefined;
1752
+ };
1753
+ issuer: string;
1754
+ credentialSchema: {
1755
+ id: string;
1756
+ type: string;
1757
+ };
1758
+ "@context"?: string[] | undefined;
1759
+ expirationDate?: string | undefined;
1760
+ issuanceDate?: string | undefined;
1761
+ proof?: any;
1762
+ }, {
1763
+ id: string;
1764
+ type: string[];
1765
+ credentialSubject: Record<string, any>;
1766
+ credentialStatus: {
1767
+ id: string;
1768
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
1769
+ revocationNonce?: number | undefined;
1770
+ };
1771
+ issuer: string;
1772
+ credentialSchema: {
1773
+ id: string;
1774
+ type: string;
1775
+ };
1776
+ "@context"?: string[] | undefined;
1777
+ expirationDate?: string | undefined;
1778
+ issuanceDate?: string | undefined;
1779
+ proof?: any;
1780
+ }>, "many">;
1781
+ }, "strip", z.ZodTypeAny, {
1782
+ type: "credentialOffer";
1783
+ credentialOfferResponse: {
1784
+ id: string;
1785
+ type: string[];
1786
+ credentialSubject: Record<string, any>;
1787
+ credentialStatus: {
1788
+ id: string;
1789
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
1790
+ revocationNonce?: number | undefined;
1791
+ };
1792
+ issuer: string;
1793
+ credentialSchema: {
1794
+ id: string;
1795
+ type: string;
1796
+ };
1797
+ "@context"?: string[] | undefined;
1798
+ expirationDate?: string | undefined;
1799
+ issuanceDate?: string | undefined;
1800
+ proof?: any;
1801
+ }[];
1802
+ }, {
1803
+ type: "credentialOffer";
1804
+ credentialOfferResponse: {
1805
+ id: string;
1806
+ type: string[];
1807
+ credentialSubject: Record<string, any>;
1808
+ credentialStatus: {
1809
+ id: string;
1810
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
1811
+ revocationNonce?: number | undefined;
1812
+ };
1813
+ issuer: string;
1814
+ credentialSchema: {
1815
+ id: string;
1816
+ type: string;
1817
+ };
1818
+ "@context"?: string[] | undefined;
1819
+ expirationDate?: string | undefined;
1820
+ issuanceDate?: string | undefined;
1821
+ proof?: any;
1822
+ }[];
1823
+ }>, z.ZodObject<{
1824
+ type: z.ZodLiteral<"zkp">;
1825
+ zkpResponse: z.ZodObject<{
1826
+ id: z.ZodNumber;
1827
+ circuitId: z.ZodString;
1828
+ vp: z.ZodOptional<z.ZodAny>;
1829
+ proof: z.ZodObject<{
1830
+ pi_a: z.ZodArray<z.ZodString, "many">;
1831
+ pi_b: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
1832
+ pi_c: z.ZodArray<z.ZodString, "many">;
1833
+ protocol: z.ZodString;
1834
+ curve: z.ZodOptional<z.ZodString>;
1835
+ }, "strip", z.ZodTypeAny, {
1836
+ pi_a: string[];
1837
+ pi_b: string[][];
1838
+ pi_c: string[];
1839
+ protocol: string;
1840
+ curve?: string | undefined;
1841
+ }, {
1842
+ pi_a: string[];
1843
+ pi_b: string[][];
1844
+ pi_c: string[];
1845
+ protocol: string;
1846
+ curve?: string | undefined;
1847
+ }>;
1848
+ pub_signals: z.ZodArray<z.ZodString, "many">;
1849
+ }, "strip", z.ZodTypeAny, {
1850
+ id: number;
1851
+ proof: {
1852
+ pi_a: string[];
1853
+ pi_b: string[][];
1854
+ pi_c: string[];
1855
+ protocol: string;
1856
+ curve?: string | undefined;
1857
+ };
1858
+ circuitId: string;
1859
+ pub_signals: string[];
1860
+ vp?: any;
1861
+ }, {
1862
+ id: number;
1863
+ proof: {
1864
+ pi_a: string[];
1865
+ pi_b: string[][];
1866
+ pi_c: string[];
1867
+ protocol: string;
1868
+ curve?: string | undefined;
1869
+ };
1870
+ circuitId: string;
1871
+ pub_signals: string[];
1872
+ vp?: any;
1873
+ }>;
1874
+ }, "strip", z.ZodTypeAny, {
1875
+ type: "zkp";
1876
+ zkpResponse: {
1877
+ id: number;
1878
+ proof: {
1879
+ pi_a: string[];
1880
+ pi_b: string[][];
1881
+ pi_c: string[];
1882
+ protocol: string;
1883
+ curve?: string | undefined;
1884
+ };
1885
+ circuitId: string;
1886
+ pub_signals: string[];
1887
+ vp?: any;
1888
+ };
1889
+ }, {
1890
+ type: "zkp";
1891
+ zkpResponse: {
1892
+ id: number;
1893
+ proof: {
1894
+ pi_a: string[];
1895
+ pi_b: string[][];
1896
+ pi_c: string[];
1897
+ protocol: string;
1898
+ curve?: string | undefined;
1899
+ };
1900
+ circuitId: string;
1901
+ pub_signals: string[];
1902
+ vp?: any;
1903
+ };
1904
+ }>, z.ZodObject<{
1905
+ type: z.ZodLiteral<"close">;
1906
+ screen: z.ZodEnum<["auth", "credentialOffer", "zkp", "getCredentials"]>;
1907
+ closeResponse: z.ZodString;
1908
+ }, "strip", z.ZodTypeAny, {
1909
+ type: "close";
1910
+ screen: "getCredentials" | "auth" | "credentialOffer" | "zkp";
1911
+ closeResponse: string;
1912
+ }, {
1913
+ type: "close";
1914
+ screen: "getCredentials" | "auth" | "credentialOffer" | "zkp";
1915
+ closeResponse: string;
1916
+ }>]>;
1917
+ }, "strip", z.ZodTypeAny, {
1918
+ type: "polygonIdResponse";
1919
+ data: {
1920
+ type: "auth";
1921
+ authResponse: {
1922
+ id: string;
1923
+ type: string;
1924
+ body: {
1925
+ scope: {
1926
+ id: number;
1927
+ proof: {
1928
+ pi_a: string[];
1929
+ pi_b: string[][];
1930
+ pi_c: string[];
1931
+ protocol: string;
1932
+ curve?: string | undefined;
1933
+ };
1934
+ circuitId: string;
1935
+ pub_signals: string[];
1936
+ vp?: any;
1937
+ }[];
1938
+ message?: string | undefined;
1939
+ did_doc?: any;
1940
+ };
1941
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
1942
+ thid?: string | undefined;
1943
+ from?: string | undefined;
1944
+ to?: string | undefined;
1945
+ };
1946
+ } | {
1947
+ type: "credentialOffer";
1948
+ credentialOfferResponse: {
1949
+ id: string;
1950
+ type: string[];
1951
+ credentialSubject: Record<string, any>;
1952
+ credentialStatus: {
1953
+ id: string;
1954
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
1955
+ revocationNonce?: number | undefined;
1956
+ };
1957
+ issuer: string;
1958
+ credentialSchema: {
1959
+ id: string;
1960
+ type: string;
1961
+ };
1962
+ "@context"?: string[] | undefined;
1963
+ expirationDate?: string | undefined;
1964
+ issuanceDate?: string | undefined;
1965
+ proof?: any;
1966
+ }[];
1967
+ } | {
1968
+ type: "zkp";
1969
+ zkpResponse: {
1970
+ id: number;
1971
+ proof: {
1972
+ pi_a: string[];
1973
+ pi_b: string[][];
1974
+ pi_c: string[];
1975
+ protocol: string;
1976
+ curve?: string | undefined;
1977
+ };
1978
+ circuitId: string;
1979
+ pub_signals: string[];
1980
+ vp?: any;
1981
+ };
1982
+ } | {
1983
+ type: "close";
1984
+ screen: "getCredentials" | "auth" | "credentialOffer" | "zkp";
1985
+ closeResponse: string;
1986
+ };
1987
+ identifier: string;
1988
+ }, {
1989
+ type: "polygonIdResponse";
1990
+ data: {
1991
+ type: "auth";
1992
+ authResponse: {
1993
+ id: string;
1994
+ type: string;
1995
+ body: {
1996
+ scope: {
1997
+ id: number;
1998
+ proof: {
1999
+ pi_a: string[];
2000
+ pi_b: string[][];
2001
+ pi_c: string[];
2002
+ protocol: string;
2003
+ curve?: string | undefined;
2004
+ };
2005
+ circuitId: string;
2006
+ pub_signals: string[];
2007
+ vp?: any;
2008
+ }[];
2009
+ message?: string | undefined;
2010
+ did_doc?: any;
2011
+ };
2012
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
2013
+ thid?: string | undefined;
2014
+ from?: string | undefined;
2015
+ to?: string | undefined;
2016
+ };
2017
+ } | {
2018
+ type: "credentialOffer";
2019
+ credentialOfferResponse: {
2020
+ id: string;
2021
+ type: string[];
2022
+ credentialSubject: Record<string, any>;
2023
+ credentialStatus: {
2024
+ id: string;
2025
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
2026
+ revocationNonce?: number | undefined;
2027
+ };
2028
+ issuer: string;
2029
+ credentialSchema: {
2030
+ id: string;
2031
+ type: string;
2032
+ };
2033
+ "@context"?: string[] | undefined;
2034
+ expirationDate?: string | undefined;
2035
+ issuanceDate?: string | undefined;
2036
+ proof?: any;
2037
+ }[];
2038
+ } | {
2039
+ type: "zkp";
2040
+ zkpResponse: {
2041
+ id: number;
2042
+ proof: {
2043
+ pi_a: string[];
2044
+ pi_b: string[][];
2045
+ pi_c: string[];
2046
+ protocol: string;
2047
+ curve?: string | undefined;
2048
+ };
2049
+ circuitId: string;
2050
+ pub_signals: string[];
2051
+ vp?: any;
2052
+ };
2053
+ } | {
2054
+ type: "close";
2055
+ screen: "getCredentials" | "auth" | "credentialOffer" | "zkp";
2056
+ closeResponse: string;
2057
+ };
2058
+ identifier: string;
2059
+ }>, z.ZodObject<{
2060
+ type: z.ZodLiteral<"isVerifiedResponse">;
2061
+ isVerified: z.ZodBoolean;
2062
+ identifier: z.ZodString;
2063
+ }, "strip", z.ZodTypeAny, {
2064
+ type: "isVerifiedResponse";
2065
+ identifier: string;
2066
+ isVerified: boolean;
2067
+ }, {
2068
+ type: "isVerifiedResponse";
2069
+ identifier: string;
2070
+ isVerified: boolean;
2071
+ }>, z.ZodObject<{
2072
+ type: z.ZodLiteral<"getTxAuthSigResponse">;
2073
+ signatureResponse: z.ZodObject<{
2074
+ payload: z.ZodOptional<z.ZodString>;
2075
+ signature: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2076
+ blockExpiration: z.ZodOptional<z.ZodNumber>;
2077
+ isAuthorized: z.ZodBoolean;
2078
+ errorMessage: z.ZodOptional<z.ZodAny>;
2079
+ }, "strip", z.ZodTypeAny, {
2080
+ isAuthorized: boolean;
2081
+ signature?: string | undefined;
2082
+ blockExpiration?: number | undefined;
2083
+ payload?: string | undefined;
2084
+ errorMessage?: any;
2085
+ }, {
2086
+ isAuthorized: boolean;
2087
+ signature?: string | undefined;
2088
+ blockExpiration?: number | undefined;
2089
+ payload?: string | undefined;
2090
+ errorMessage?: any;
2091
+ }>;
2092
+ identifier: z.ZodString;
2093
+ }, "strip", z.ZodTypeAny, {
2094
+ type: "getTxAuthSigResponse";
2095
+ identifier: string;
2096
+ signatureResponse: {
2097
+ isAuthorized: boolean;
2098
+ signature?: string | undefined;
2099
+ blockExpiration?: number | undefined;
2100
+ payload?: string | undefined;
2101
+ errorMessage?: any;
2102
+ };
2103
+ }, {
2104
+ type: "getTxAuthSigResponse";
2105
+ identifier: string;
2106
+ signatureResponse: {
2107
+ isAuthorized: boolean;
2108
+ signature?: string | undefined;
2109
+ blockExpiration?: number | undefined;
2110
+ payload?: string | undefined;
2111
+ errorMessage?: any;
2112
+ };
2113
+ }>]>]>;
2114
+ export type IdentityMessage = z.infer<typeof IdentityMessage>;
2115
+ export declare const RequiredDataRowSchema: z.ZodObject<{
2116
+ type: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>;
2117
+ requiredAttributes: z.ZodArray<z.ZodObject<{
2118
+ attribute: z.ZodString;
2119
+ value: z.ZodString;
2120
+ operator: z.ZodString;
2121
+ }, "strip", z.ZodTypeAny, {
2122
+ value: string;
2123
+ attribute: string;
2124
+ operator: string;
2125
+ }, {
2126
+ value: string;
2127
+ attribute: string;
2128
+ operator: string;
2129
+ }>, "many">;
2130
+ }, "strip", z.ZodTypeAny, {
2131
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2132
+ requiredAttributes: {
2133
+ value: string;
2134
+ attribute: string;
2135
+ operator: string;
2136
+ }[];
2137
+ }, {
2138
+ type: string;
2139
+ requiredAttributes: {
2140
+ value: string;
2141
+ attribute: string;
2142
+ operator: string;
2143
+ }[];
2144
+ }>;
2145
+ export declare const RequiredVerificationData: z.ZodObject<{
2146
+ ruleEngine: z.ZodObject<{
2147
+ requiredData: z.ZodArray<z.ZodObject<{
2148
+ type: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>;
2149
+ requiredAttributes: z.ZodArray<z.ZodObject<{
2150
+ attribute: z.ZodString;
2151
+ value: z.ZodString;
2152
+ operator: z.ZodString;
2153
+ }, "strip", z.ZodTypeAny, {
2154
+ value: string;
2155
+ attribute: string;
2156
+ operator: string;
2157
+ }, {
2158
+ value: string;
2159
+ attribute: string;
2160
+ operator: string;
2161
+ }>, "many">;
2162
+ }, "strip", z.ZodTypeAny, {
2163
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2164
+ requiredAttributes: {
2165
+ value: string;
2166
+ attribute: string;
2167
+ operator: string;
2168
+ }[];
2169
+ }, {
2170
+ type: string;
2171
+ requiredAttributes: {
2172
+ value: string;
2173
+ attribute: string;
2174
+ operator: string;
2175
+ }[];
2176
+ }>, "many">;
2177
+ }, "strip", z.ZodTypeAny, {
2178
+ requiredData: {
2179
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2180
+ requiredAttributes: {
2181
+ value: string;
2182
+ attribute: string;
2183
+ operator: string;
2184
+ }[];
2185
+ }[];
2186
+ }, {
2187
+ requiredData: {
2188
+ type: string;
2189
+ requiredAttributes: {
2190
+ value: string;
2191
+ attribute: string;
2192
+ operator: string;
2193
+ }[];
2194
+ }[];
2195
+ }>;
2196
+ onchainZKP: z.ZodObject<{
2197
+ requiredData: z.ZodArray<z.ZodObject<{
2198
+ type: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>;
2199
+ requiredAttributes: z.ZodArray<z.ZodObject<{
2200
+ attribute: z.ZodString;
2201
+ value: z.ZodString;
2202
+ operator: z.ZodString;
2203
+ }, "strip", z.ZodTypeAny, {
2204
+ value: string;
2205
+ attribute: string;
2206
+ operator: string;
2207
+ }, {
2208
+ value: string;
2209
+ attribute: string;
2210
+ operator: string;
2211
+ }>, "many">;
2212
+ }, "strip", z.ZodTypeAny, {
2213
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2214
+ requiredAttributes: {
2215
+ value: string;
2216
+ attribute: string;
2217
+ operator: string;
2218
+ }[];
2219
+ }, {
2220
+ type: string;
2221
+ requiredAttributes: {
2222
+ value: string;
2223
+ attribute: string;
2224
+ operator: string;
2225
+ }[];
2226
+ }>, "many">;
2227
+ conditions: z.ZodArray<z.ZodObject<{
2228
+ id: z.ZodNumber;
2229
+ circuitId: z.ZodEnum<["credentialAtomicQuerySigV2", "credentialAtomicQuerySigV2OnChain"]>;
2230
+ optional: z.ZodOptional<z.ZodBoolean>;
2231
+ query: z.ZodObject<{
2232
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
2233
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2234
+ attribute: z.ZodString;
2235
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
2236
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
2237
+ }, "strip", z.ZodTypeAny, {
2238
+ value: string | number | boolean | (string | number)[];
2239
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2240
+ attribute: string;
2241
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2242
+ requestId?: number | null | undefined;
2243
+ }, {
2244
+ value: string | number | boolean | (string | number)[];
2245
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2246
+ attribute: string;
2247
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2248
+ requestId?: number | null | undefined;
2249
+ }>;
2250
+ }, "strip", z.ZodTypeAny, {
2251
+ id: number;
2252
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2253
+ query: {
2254
+ value: string | number | boolean | (string | number)[];
2255
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2256
+ attribute: string;
2257
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2258
+ requestId?: number | null | undefined;
2259
+ };
2260
+ optional?: boolean | undefined;
2261
+ }, {
2262
+ id: number;
2263
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2264
+ query: {
2265
+ value: string | number | boolean | (string | number)[];
2266
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2267
+ attribute: string;
2268
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2269
+ requestId?: number | null | undefined;
2270
+ };
2271
+ optional?: boolean | undefined;
2272
+ }>, "many">;
2273
+ }, "strip", z.ZodTypeAny, {
2274
+ requiredData: {
2275
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2276
+ requiredAttributes: {
2277
+ value: string;
2278
+ attribute: string;
2279
+ operator: string;
2280
+ }[];
2281
+ }[];
2282
+ conditions: {
2283
+ id: number;
2284
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2285
+ query: {
2286
+ value: string | number | boolean | (string | number)[];
2287
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2288
+ attribute: string;
2289
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2290
+ requestId?: number | null | undefined;
2291
+ };
2292
+ optional?: boolean | undefined;
2293
+ }[];
2294
+ }, {
2295
+ requiredData: {
2296
+ type: string;
2297
+ requiredAttributes: {
2298
+ value: string;
2299
+ attribute: string;
2300
+ operator: string;
2301
+ }[];
2302
+ }[];
2303
+ conditions: {
2304
+ id: number;
2305
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2306
+ query: {
2307
+ value: string | number | boolean | (string | number)[];
2308
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2309
+ attribute: string;
2310
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2311
+ requestId?: number | null | undefined;
2312
+ };
2313
+ optional?: boolean | undefined;
2314
+ }[];
2315
+ }>;
2316
+ offchainZKP: z.ZodObject<{
2317
+ requiredData: z.ZodArray<z.ZodObject<{
2318
+ type: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>;
2319
+ requiredAttributes: z.ZodArray<z.ZodObject<{
2320
+ attribute: z.ZodString;
2321
+ value: z.ZodString;
2322
+ operator: z.ZodString;
2323
+ }, "strip", z.ZodTypeAny, {
2324
+ value: string;
2325
+ attribute: string;
2326
+ operator: string;
2327
+ }, {
2328
+ value: string;
2329
+ attribute: string;
2330
+ operator: string;
2331
+ }>, "many">;
2332
+ }, "strip", z.ZodTypeAny, {
2333
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2334
+ requiredAttributes: {
2335
+ value: string;
2336
+ attribute: string;
2337
+ operator: string;
2338
+ }[];
2339
+ }, {
2340
+ type: string;
2341
+ requiredAttributes: {
2342
+ value: string;
2343
+ attribute: string;
2344
+ operator: string;
2345
+ }[];
2346
+ }>, "many">;
2347
+ verifications: z.ZodArray<z.ZodObject<{
2348
+ scenarioVerifierAddress: z.ZodString;
2349
+ conditions: z.ZodArray<z.ZodObject<{
2350
+ id: z.ZodNumber;
2351
+ circuitId: z.ZodEnum<["credentialAtomicQuerySigV2", "credentialAtomicQuerySigV2OnChain"]>;
2352
+ optional: z.ZodOptional<z.ZodBoolean>;
2353
+ query: z.ZodObject<{
2354
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
2355
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2356
+ attribute: z.ZodString;
2357
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
2358
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
2359
+ }, "strip", z.ZodTypeAny, {
2360
+ value: string | number | boolean | (string | number)[];
2361
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2362
+ attribute: string;
2363
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2364
+ requestId?: number | null | undefined;
2365
+ }, {
2366
+ value: string | number | boolean | (string | number)[];
2367
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2368
+ attribute: string;
2369
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2370
+ requestId?: number | null | undefined;
2371
+ }>;
2372
+ }, "strip", z.ZodTypeAny, {
2373
+ id: number;
2374
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2375
+ query: {
2376
+ value: string | number | boolean | (string | number)[];
2377
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2378
+ attribute: string;
2379
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2380
+ requestId?: number | null | undefined;
2381
+ };
2382
+ optional?: boolean | undefined;
2383
+ }, {
2384
+ id: number;
2385
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2386
+ query: {
2387
+ value: string | number | boolean | (string | number)[];
2388
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2389
+ attribute: string;
2390
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2391
+ requestId?: number | null | undefined;
2392
+ };
2393
+ optional?: boolean | undefined;
2394
+ }>, "many">;
2395
+ }, "strip", z.ZodTypeAny, {
2396
+ scenarioVerifierAddress: string;
2397
+ conditions: {
2398
+ id: number;
2399
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2400
+ query: {
2401
+ value: string | number | boolean | (string | number)[];
2402
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2403
+ attribute: string;
2404
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2405
+ requestId?: number | null | undefined;
2406
+ };
2407
+ optional?: boolean | undefined;
2408
+ }[];
2409
+ }, {
2410
+ scenarioVerifierAddress: string;
2411
+ conditions: {
2412
+ id: number;
2413
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2414
+ query: {
2415
+ value: string | number | boolean | (string | number)[];
2416
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2417
+ attribute: string;
2418
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2419
+ requestId?: number | null | undefined;
2420
+ };
2421
+ optional?: boolean | undefined;
2422
+ }[];
2423
+ }>, "many">;
2424
+ }, "strip", z.ZodTypeAny, {
2425
+ requiredData: {
2426
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2427
+ requiredAttributes: {
2428
+ value: string;
2429
+ attribute: string;
2430
+ operator: string;
2431
+ }[];
2432
+ }[];
2433
+ verifications: {
2434
+ scenarioVerifierAddress: string;
2435
+ conditions: {
2436
+ id: number;
2437
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2438
+ query: {
2439
+ value: string | number | boolean | (string | number)[];
2440
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2441
+ attribute: string;
2442
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2443
+ requestId?: number | null | undefined;
2444
+ };
2445
+ optional?: boolean | undefined;
2446
+ }[];
2447
+ }[];
2448
+ }, {
2449
+ requiredData: {
2450
+ type: string;
2451
+ requiredAttributes: {
2452
+ value: string;
2453
+ attribute: string;
2454
+ operator: string;
2455
+ }[];
2456
+ }[];
2457
+ verifications: {
2458
+ scenarioVerifierAddress: string;
2459
+ conditions: {
2460
+ id: number;
2461
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2462
+ query: {
2463
+ value: string | number | boolean | (string | number)[];
2464
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2465
+ attribute: string;
2466
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2467
+ requestId?: number | null | undefined;
2468
+ };
2469
+ optional?: boolean | undefined;
2470
+ }[];
2471
+ }[];
2472
+ }>;
2473
+ }, "strip", z.ZodTypeAny, {
2474
+ ruleEngine: {
2475
+ requiredData: {
2476
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2477
+ requiredAttributes: {
2478
+ value: string;
2479
+ attribute: string;
2480
+ operator: string;
2481
+ }[];
2482
+ }[];
2483
+ };
2484
+ onchainZKP: {
2485
+ requiredData: {
2486
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2487
+ requiredAttributes: {
2488
+ value: string;
2489
+ attribute: string;
2490
+ operator: string;
2491
+ }[];
2492
+ }[];
2493
+ conditions: {
2494
+ id: number;
2495
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2496
+ query: {
2497
+ value: string | number | boolean | (string | number)[];
2498
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2499
+ attribute: string;
2500
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2501
+ requestId?: number | null | undefined;
2502
+ };
2503
+ optional?: boolean | undefined;
2504
+ }[];
2505
+ };
2506
+ offchainZKP: {
2507
+ requiredData: {
2508
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2509
+ requiredAttributes: {
2510
+ value: string;
2511
+ attribute: string;
2512
+ operator: string;
2513
+ }[];
2514
+ }[];
2515
+ verifications: {
2516
+ scenarioVerifierAddress: string;
2517
+ conditions: {
2518
+ id: number;
2519
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2520
+ query: {
2521
+ value: string | number | boolean | (string | number)[];
2522
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2523
+ attribute: string;
2524
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2525
+ requestId?: number | null | undefined;
2526
+ };
2527
+ optional?: boolean | undefined;
2528
+ }[];
2529
+ }[];
2530
+ };
2531
+ }, {
2532
+ ruleEngine: {
2533
+ requiredData: {
2534
+ type: string;
2535
+ requiredAttributes: {
2536
+ value: string;
2537
+ attribute: string;
2538
+ operator: string;
2539
+ }[];
2540
+ }[];
2541
+ };
2542
+ onchainZKP: {
2543
+ requiredData: {
2544
+ type: string;
2545
+ requiredAttributes: {
2546
+ value: string;
2547
+ attribute: string;
2548
+ operator: string;
2549
+ }[];
2550
+ }[];
2551
+ conditions: {
2552
+ id: number;
2553
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2554
+ query: {
2555
+ value: string | number | boolean | (string | number)[];
2556
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2557
+ attribute: string;
2558
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2559
+ requestId?: number | null | undefined;
2560
+ };
2561
+ optional?: boolean | undefined;
2562
+ }[];
2563
+ };
2564
+ offchainZKP: {
2565
+ requiredData: {
2566
+ type: string;
2567
+ requiredAttributes: {
2568
+ value: string;
2569
+ attribute: string;
2570
+ operator: string;
2571
+ }[];
2572
+ }[];
2573
+ verifications: {
2574
+ scenarioVerifierAddress: string;
2575
+ conditions: {
2576
+ id: number;
2577
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2578
+ query: {
2579
+ value: string | number | boolean | (string | number)[];
2580
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2581
+ attribute: string;
2582
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2583
+ requestId?: number | null | undefined;
2584
+ };
2585
+ optional?: boolean | undefined;
2586
+ }[];
2587
+ }[];
2588
+ };
2589
+ }>;
2590
+ export type RequiredVerificationData = z.infer<typeof RequiredVerificationData>;
2591
+ export type RequiredDataRow = z.infer<typeof RequiredDataRowSchema>;
2592
+ export type EncryptedVerifiableCredentialData = z.infer<typeof EncryptedVerifiableCredentialDataSchema>;
2593
+ //# sourceMappingURL=kyc.schema.d.ts.map