@nexeraid/identity-schemas 2.7.0-dev → 2.8.0-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/{customers.schema-25c9bc0a.esm.js → customers.schema-0bfe7ed2.esm.js} +1 -1
  2. package/dist/{customers.schema-7ac300ea.cjs.dev.js → customers.schema-1bf4fe64.cjs.dev.js} +1 -1
  3. package/dist/{customers.schema-a484549e.cjs.prod.js → customers.schema-80e163e9.cjs.prod.js} +1 -1
  4. package/dist/declarations/src/identity/app-requests.schema.d.ts +109 -104
  5. package/dist/declarations/src/identity/app-requests.schema.d.ts.map +1 -1
  6. package/dist/declarations/src/identity/identity-v2.schema.d.ts +25 -24
  7. package/dist/declarations/src/identity/identity-v2.schema.d.ts.map +1 -1
  8. package/dist/declarations/src/identity/index.d.ts +1 -2
  9. package/dist/declarations/src/identity/index.d.ts.map +1 -1
  10. package/dist/declarations/src/identity/kyc.schema.d.ts +31 -194
  11. package/dist/declarations/src/identity/kyc.schema.d.ts.map +1 -1
  12. package/dist/declarations/src/identity/query.schema.d.ts +178 -0
  13. package/dist/declarations/src/identity/query.schema.d.ts.map +1 -1
  14. package/dist/declarations/src/identity/scenario.schema.d.ts +1180 -0
  15. package/dist/declarations/src/identity/scenario.schema.d.ts.map +1 -0
  16. package/dist/declarations/src/identity/zkps.schema.d.ts +0 -744
  17. package/dist/declarations/src/identity/zkps.schema.d.ts.map +1 -1
  18. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +63 -60
  19. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts.map +1 -1
  20. package/dist/{frontend-utilities.schema-2ad117b9.cjs.prod.js → frontend-utilities.schema-63c0c3ec.cjs.prod.js} +1 -1
  21. package/dist/{frontend-utilities.schema-a0cf242f.cjs.dev.js → frontend-utilities.schema-7ec52bb3.cjs.dev.js} +1 -1
  22. package/dist/{frontend-utilities.schema-3e61e949.esm.js → frontend-utilities.schema-c53dbf36.esm.js} +1 -1
  23. package/dist/{identity-api.schema-08b1e63d.cjs.dev.js → identity-api.schema-725ecd1d.cjs.prod.js} +357 -437
  24. package/dist/{identity-api.schema-a01dae12.esm.js → identity-api.schema-a3f556f3.esm.js} +351 -424
  25. package/dist/{identity-api.schema-1b5f26e1.cjs.prod.js → identity-api.schema-e1fe9b0e.cjs.dev.js} +357 -437
  26. package/dist/nexeraid-identity-schemas.cjs.dev.js +10 -17
  27. package/dist/nexeraid-identity-schemas.cjs.prod.js +10 -17
  28. package/dist/nexeraid-identity-schemas.esm.js +4 -4
  29. package/dist/package.json +1 -1
  30. package/dist/{transaction.schema-3ac3062a.cjs.prod.js → transaction.schema-1534b40f.cjs.prod.js} +1 -1
  31. package/dist/{transaction.schema-1e7e4f0c.esm.js → transaction.schema-221579a3.esm.js} +1 -1
  32. package/dist/{transaction.schema-c69db067.cjs.dev.js → transaction.schema-4195655f.cjs.dev.js} +1 -1
  33. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +8 -15
  34. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +8 -15
  35. package/identity/dist/nexeraid-identity-schemas-identity.esm.js +1 -1
  36. package/package.json +1 -1
  37. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +2 -2
  38. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +2 -2
  39. package/providers/dist/nexeraid-identity-schemas-providers.esm.js +2 -2
  40. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2 -2
  41. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2 -2
  42. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2 -2
  43. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +4 -4
  44. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +4 -4
  45. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +4 -4
  46. package/dist/declarations/src/identity/challenge-query.schema.d.ts +0 -1246
  47. package/dist/declarations/src/identity/challenge-query.schema.d.ts.map +0 -1
  48. package/dist/declarations/src/identity/execute-scenario.schema.d.ts +0 -136
  49. package/dist/declarations/src/identity/execute-scenario.schema.d.ts.map +0 -1
@@ -203,50 +203,6 @@ export declare const CreateAuthRequestProps: z.ZodObject<{
203
203
  onChainVerification?: boolean | undefined;
204
204
  }>;
205
205
  export type CreateAuthRequestProps = z.infer<typeof CreateAuthRequestProps>;
206
- export declare const CreateZKProofRequestProps: z.ZodObject<{
207
- requestId: z.ZodNumber;
208
- query: z.ZodObject<{
209
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
210
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
211
- attribute: z.ZodString;
212
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
213
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
214
- }, "strip", z.ZodTypeAny, {
215
- value: string | number | boolean | string[] | number[];
216
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
217
- attribute: string;
218
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
219
- requestId?: number | null | undefined;
220
- }, {
221
- value: string | number | boolean | string[] | number[];
222
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
223
- attribute: string;
224
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
225
- requestId?: number | null | undefined;
226
- }>;
227
- onChainVerification: z.ZodOptional<z.ZodBoolean>;
228
- }, "strip", z.ZodTypeAny, {
229
- query: {
230
- value: string | number | boolean | string[] | number[];
231
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
232
- attribute: string;
233
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
234
- requestId?: number | null | undefined;
235
- };
236
- requestId: number;
237
- onChainVerification?: boolean | undefined;
238
- }, {
239
- query: {
240
- value: string | number | boolean | string[] | number[];
241
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
242
- attribute: string;
243
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
244
- requestId?: number | null | undefined;
245
- };
246
- requestId: number;
247
- onChainVerification?: boolean | undefined;
248
- }>;
249
- export type CreateZKProofRequestProps = z.infer<typeof CreateZKProofRequestProps>;
250
206
  export declare const AllScenarioExecutionAuthorizationData: z.ZodObject<{
251
207
  executionId: z.ZodString;
252
208
  projectId: z.ZodString;
@@ -261,706 +217,6 @@ export declare const AllScenarioExecutionAuthorizationData: z.ZodObject<{
261
217
  scenarioExecutionIds: string[];
262
218
  }>;
263
219
  export type AllScenarioExecutionAuthorizationData = z.infer<typeof AllScenarioExecutionAuthorizationData>;
264
- export declare const ProjectAuthorizationData: z.ZodObject<{
265
- sessionId: z.ZodString;
266
- projectId: z.ZodString;
267
- address: z.ZodString;
268
- authorizations: z.ZodMap<z.ZodString, z.ZodObject<{
269
- executionId: z.ZodString;
270
- sessionId: z.ZodString;
271
- projectId: z.ZodString;
272
- address: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `tz${string}`, string>, z.ZodEffects<z.ZodString, `KT1${string}`, string>]>, z.ZodEffects<z.ZodString, string, string>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `cosmos${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `addr${string}`, string>]>>>;
273
- status: z.ZodEnum<["pending", "authorised", "unauthorised"]>;
274
- scenarioId: z.ZodString;
275
- scenarioName: z.ZodString;
276
- requestMessage: z.ZodObject<{
277
- id: z.ZodString;
278
- typ: z.ZodOptional<z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>>;
279
- type: z.ZodEnum<["https://iden3-communication.io/authorization/1.0/request", "https://iden3-communication.io/authorization/1.0/response", "https://iden3-communication.io/credentials/1.0/issuance-request", "https://iden3-communication.io/credentials/1.0/fetch-request", "https://iden3-communication.io/credentials/1.0/offer", "https://iden3-communication.io/credentials/1.0/issuance-response", "https://iden3-communication.io/credentials/1.0/refresh", "https://iden3-communication.io/devices/1.0/registration", "https://iden3-communication.io/messages/1.0/fetch", "https://iden3-communication.io/proofs/1.0/request", "https://iden3-communication.io/proofs/1.0/response", "https://iden3-communication.io/revocation/1.0/request-status", "https://iden3-communication.io/revocation/1.0/status", "https://iden3-communication.io/proofs/1.0/contract-invoke-request", "https://iden3-communication.io/proofs/1.0/contract-invoke-response", "https://iden3-communication.io/credentials/1.0/onchain-offer", "https://iden3-communication.io/credentials/0.1/proposal-request", "https://iden3-communication.io/credentials/0.1/proposal", "https://iden3-communication.io/credentials/0.1/payment-request", "https://iden3-communication.io/credentials/0.1/payment"]>;
280
- thid: z.ZodOptional<z.ZodString>;
281
- body: z.ZodObject<{
282
- callbackUrl: z.ZodString;
283
- reason: z.ZodOptional<z.ZodString>;
284
- did_doc: z.ZodOptional<z.ZodAny>;
285
- message: z.ZodOptional<z.ZodString>;
286
- scope: z.ZodArray<z.ZodObject<{
287
- id: z.ZodNumber;
288
- circuitId: z.ZodString;
289
- optional: z.ZodOptional<z.ZodBoolean>;
290
- query: z.ZodRecord<z.ZodString, z.ZodAny>;
291
- }, "strip", z.ZodTypeAny, {
292
- id: number;
293
- query: Record<string, any>;
294
- circuitId: string;
295
- optional?: boolean | undefined;
296
- }, {
297
- id: number;
298
- query: Record<string, any>;
299
- circuitId: string;
300
- optional?: boolean | undefined;
301
- }>, "many">;
302
- }, "strip", z.ZodTypeAny, {
303
- callbackUrl: string;
304
- scope: {
305
- id: number;
306
- query: Record<string, any>;
307
- circuitId: string;
308
- optional?: boolean | undefined;
309
- }[];
310
- message?: string | undefined;
311
- reason?: string | undefined;
312
- did_doc?: any;
313
- }, {
314
- callbackUrl: string;
315
- scope: {
316
- id: number;
317
- query: Record<string, any>;
318
- circuitId: string;
319
- optional?: boolean | undefined;
320
- }[];
321
- message?: string | undefined;
322
- reason?: string | undefined;
323
- did_doc?: any;
324
- }>;
325
- from: z.ZodString;
326
- to: z.ZodOptional<z.ZodString>;
327
- }, "strip", z.ZodTypeAny, {
328
- id: string;
329
- type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
330
- body: {
331
- callbackUrl: string;
332
- scope: {
333
- id: number;
334
- query: Record<string, any>;
335
- circuitId: string;
336
- optional?: boolean | undefined;
337
- }[];
338
- message?: string | undefined;
339
- reason?: string | undefined;
340
- did_doc?: any;
341
- };
342
- from: string;
343
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
344
- thid?: string | undefined;
345
- to?: string | undefined;
346
- }, {
347
- id: string;
348
- type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
349
- body: {
350
- callbackUrl: string;
351
- scope: {
352
- id: number;
353
- query: Record<string, any>;
354
- circuitId: string;
355
- optional?: boolean | undefined;
356
- }[];
357
- message?: string | undefined;
358
- reason?: string | undefined;
359
- did_doc?: any;
360
- };
361
- from: string;
362
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
363
- thid?: string | undefined;
364
- to?: string | undefined;
365
- }>;
366
- responseMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
367
- id: z.ZodString;
368
- typ: z.ZodOptional<z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>>;
369
- type: z.ZodString;
370
- thid: z.ZodOptional<z.ZodString>;
371
- body: z.ZodObject<{
372
- did_doc: z.ZodOptional<z.ZodAny>;
373
- message: z.ZodOptional<z.ZodString>;
374
- scope: z.ZodArray<z.ZodObject<{
375
- id: z.ZodNumber;
376
- circuitId: z.ZodString;
377
- vp: z.ZodOptional<z.ZodAny>;
378
- proof: z.ZodObject<{
379
- pi_a: z.ZodArray<z.ZodString, "many">;
380
- pi_b: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
381
- pi_c: z.ZodArray<z.ZodString, "many">;
382
- protocol: z.ZodString;
383
- curve: z.ZodOptional<z.ZodString>;
384
- }, "strip", z.ZodTypeAny, {
385
- pi_a: string[];
386
- pi_b: string[][];
387
- pi_c: string[];
388
- protocol: string;
389
- curve?: string | undefined;
390
- }, {
391
- pi_a: string[];
392
- pi_b: string[][];
393
- pi_c: string[];
394
- protocol: string;
395
- curve?: string | undefined;
396
- }>;
397
- pub_signals: z.ZodArray<z.ZodString, "many">;
398
- }, "strip", z.ZodTypeAny, {
399
- id: number;
400
- proof: {
401
- pi_a: string[];
402
- pi_b: string[][];
403
- pi_c: string[];
404
- protocol: string;
405
- curve?: string | undefined;
406
- };
407
- circuitId: string;
408
- pub_signals: string[];
409
- vp?: any;
410
- }, {
411
- id: number;
412
- proof: {
413
- pi_a: string[];
414
- pi_b: string[][];
415
- pi_c: string[];
416
- protocol: string;
417
- curve?: string | undefined;
418
- };
419
- circuitId: string;
420
- pub_signals: string[];
421
- vp?: any;
422
- }>, "many">;
423
- }, "strip", z.ZodTypeAny, {
424
- scope: {
425
- id: number;
426
- proof: {
427
- pi_a: string[];
428
- pi_b: string[][];
429
- pi_c: string[];
430
- protocol: string;
431
- curve?: string | undefined;
432
- };
433
- circuitId: string;
434
- pub_signals: string[];
435
- vp?: any;
436
- }[];
437
- message?: string | undefined;
438
- did_doc?: any;
439
- }, {
440
- scope: {
441
- id: number;
442
- proof: {
443
- pi_a: string[];
444
- pi_b: string[][];
445
- pi_c: string[];
446
- protocol: string;
447
- curve?: string | undefined;
448
- };
449
- circuitId: string;
450
- pub_signals: string[];
451
- vp?: any;
452
- }[];
453
- message?: string | undefined;
454
- did_doc?: any;
455
- }>;
456
- from: z.ZodOptional<z.ZodString>;
457
- to: z.ZodOptional<z.ZodString>;
458
- }, "strip", z.ZodTypeAny, {
459
- id: string;
460
- type: string;
461
- body: {
462
- scope: {
463
- id: number;
464
- proof: {
465
- pi_a: string[];
466
- pi_b: string[][];
467
- pi_c: string[];
468
- protocol: string;
469
- curve?: string | undefined;
470
- };
471
- circuitId: string;
472
- pub_signals: string[];
473
- vp?: any;
474
- }[];
475
- message?: string | undefined;
476
- did_doc?: any;
477
- };
478
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
479
- thid?: string | undefined;
480
- from?: string | undefined;
481
- to?: string | undefined;
482
- }, {
483
- id: string;
484
- type: string;
485
- body: {
486
- scope: {
487
- id: number;
488
- proof: {
489
- pi_a: string[];
490
- pi_b: string[][];
491
- pi_c: string[];
492
- protocol: string;
493
- curve?: string | undefined;
494
- };
495
- circuitId: string;
496
- pub_signals: string[];
497
- vp?: any;
498
- }[];
499
- message?: string | undefined;
500
- did_doc?: any;
501
- };
502
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
503
- thid?: string | undefined;
504
- from?: string | undefined;
505
- to?: string | undefined;
506
- }>>>;
507
- verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
- query: z.ZodArray<z.ZodObject<{
509
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
510
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
511
- attribute: z.ZodString;
512
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
513
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
514
- }, "strip", z.ZodTypeAny, {
515
- value: string | number | boolean | string[] | number[];
516
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
517
- attribute: string;
518
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
519
- requestId?: number | null | undefined;
520
- }, {
521
- value: string | number | boolean | string[] | number[];
522
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
523
- attribute: string;
524
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
525
- requestId?: number | null | undefined;
526
- }>, "many">;
527
- workflowSessionId: z.ZodOptional<z.ZodString>;
528
- }, "strip", z.ZodTypeAny, {
529
- status: "pending" | "authorised" | "unauthorised";
530
- query: {
531
- value: string | number | boolean | string[] | number[];
532
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
533
- attribute: string;
534
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
535
- requestId?: number | null | undefined;
536
- }[];
537
- projectId: string;
538
- executionId: string;
539
- sessionId: string;
540
- scenarioId: string;
541
- scenarioName: string;
542
- requestMessage: {
543
- id: string;
544
- type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
545
- body: {
546
- callbackUrl: string;
547
- scope: {
548
- id: number;
549
- query: Record<string, any>;
550
- circuitId: string;
551
- optional?: boolean | undefined;
552
- }[];
553
- message?: string | undefined;
554
- reason?: string | undefined;
555
- did_doc?: any;
556
- };
557
- from: string;
558
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
559
- thid?: string | undefined;
560
- to?: string | undefined;
561
- };
562
- address?: string | null | undefined;
563
- responseMessage?: {
564
- id: string;
565
- type: string;
566
- body: {
567
- scope: {
568
- id: number;
569
- proof: {
570
- pi_a: string[];
571
- pi_b: string[][];
572
- pi_c: string[];
573
- protocol: string;
574
- curve?: string | undefined;
575
- };
576
- circuitId: string;
577
- pub_signals: string[];
578
- vp?: any;
579
- }[];
580
- message?: string | undefined;
581
- did_doc?: any;
582
- };
583
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
584
- thid?: string | undefined;
585
- from?: string | undefined;
586
- to?: string | undefined;
587
- } | null | undefined;
588
- verificationError?: string | null | undefined;
589
- workflowSessionId?: string | undefined;
590
- }, {
591
- status: "pending" | "authorised" | "unauthorised";
592
- query: {
593
- value: string | number | boolean | string[] | number[];
594
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
595
- attribute: string;
596
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
597
- requestId?: number | null | undefined;
598
- }[];
599
- projectId: string;
600
- executionId: string;
601
- sessionId: string;
602
- scenarioId: string;
603
- scenarioName: string;
604
- requestMessage: {
605
- id: string;
606
- type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
607
- body: {
608
- callbackUrl: string;
609
- scope: {
610
- id: number;
611
- query: Record<string, any>;
612
- circuitId: string;
613
- optional?: boolean | undefined;
614
- }[];
615
- message?: string | undefined;
616
- reason?: string | undefined;
617
- did_doc?: any;
618
- };
619
- from: string;
620
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
621
- thid?: string | undefined;
622
- to?: string | undefined;
623
- };
624
- address?: string | null | undefined;
625
- responseMessage?: {
626
- id: string;
627
- type: string;
628
- body: {
629
- scope: {
630
- id: number;
631
- proof: {
632
- pi_a: string[];
633
- pi_b: string[][];
634
- pi_c: string[];
635
- protocol: string;
636
- curve?: string | undefined;
637
- };
638
- circuitId: string;
639
- pub_signals: string[];
640
- vp?: any;
641
- }[];
642
- message?: string | undefined;
643
- did_doc?: any;
644
- };
645
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
646
- thid?: string | undefined;
647
- from?: string | undefined;
648
- to?: string | undefined;
649
- } | null | undefined;
650
- verificationError?: string | null | undefined;
651
- workflowSessionId?: string | undefined;
652
- }>>;
653
- }, "strip", z.ZodTypeAny, {
654
- address: string;
655
- projectId: string;
656
- sessionId: string;
657
- authorizations: Map<string, {
658
- status: "pending" | "authorised" | "unauthorised";
659
- query: {
660
- value: string | number | boolean | string[] | number[];
661
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
662
- attribute: string;
663
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
664
- requestId?: number | null | undefined;
665
- }[];
666
- projectId: string;
667
- executionId: string;
668
- sessionId: string;
669
- scenarioId: string;
670
- scenarioName: string;
671
- requestMessage: {
672
- id: string;
673
- type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
674
- body: {
675
- callbackUrl: string;
676
- scope: {
677
- id: number;
678
- query: Record<string, any>;
679
- circuitId: string;
680
- optional?: boolean | undefined;
681
- }[];
682
- message?: string | undefined;
683
- reason?: string | undefined;
684
- did_doc?: any;
685
- };
686
- from: string;
687
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
688
- thid?: string | undefined;
689
- to?: string | undefined;
690
- };
691
- address?: string | null | undefined;
692
- responseMessage?: {
693
- id: string;
694
- type: string;
695
- body: {
696
- scope: {
697
- id: number;
698
- proof: {
699
- pi_a: string[];
700
- pi_b: string[][];
701
- pi_c: string[];
702
- protocol: string;
703
- curve?: string | undefined;
704
- };
705
- circuitId: string;
706
- pub_signals: string[];
707
- vp?: any;
708
- }[];
709
- message?: string | undefined;
710
- did_doc?: any;
711
- };
712
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
713
- thid?: string | undefined;
714
- from?: string | undefined;
715
- to?: string | undefined;
716
- } | null | undefined;
717
- verificationError?: string | null | undefined;
718
- workflowSessionId?: string | undefined;
719
- }>;
720
- }, {
721
- address: string;
722
- projectId: string;
723
- sessionId: string;
724
- authorizations: Map<string, {
725
- status: "pending" | "authorised" | "unauthorised";
726
- query: {
727
- value: string | number | boolean | string[] | number[];
728
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
729
- attribute: string;
730
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
731
- requestId?: number | null | undefined;
732
- }[];
733
- projectId: string;
734
- executionId: string;
735
- sessionId: string;
736
- scenarioId: string;
737
- scenarioName: string;
738
- requestMessage: {
739
- id: string;
740
- type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
741
- body: {
742
- callbackUrl: string;
743
- scope: {
744
- id: number;
745
- query: Record<string, any>;
746
- circuitId: string;
747
- optional?: boolean | undefined;
748
- }[];
749
- message?: string | undefined;
750
- reason?: string | undefined;
751
- did_doc?: any;
752
- };
753
- from: string;
754
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
755
- thid?: string | undefined;
756
- to?: string | undefined;
757
- };
758
- address?: string | null | undefined;
759
- responseMessage?: {
760
- id: string;
761
- type: string;
762
- body: {
763
- scope: {
764
- id: number;
765
- proof: {
766
- pi_a: string[];
767
- pi_b: string[][];
768
- pi_c: string[];
769
- protocol: string;
770
- curve?: string | undefined;
771
- };
772
- circuitId: string;
773
- pub_signals: string[];
774
- vp?: any;
775
- }[];
776
- message?: string | undefined;
777
- did_doc?: any;
778
- };
779
- typ?: import("./polygon-id.schema.js").MediaType | undefined;
780
- thid?: string | undefined;
781
- from?: string | undefined;
782
- to?: string | undefined;
783
- } | null | undefined;
784
- verificationError?: string | null | undefined;
785
- workflowSessionId?: string | undefined;
786
- }>;
787
- }>;
788
- export type ProjectAuthorizationData = z.infer<typeof ProjectAuthorizationData>;
789
- export declare const OnChainZKP: z.ZodObject<{
790
- scenarioVerifierAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
791
- zkpRequests: z.ZodArray<z.ZodObject<{
792
- id: z.ZodNumber;
793
- circuitId: z.ZodEnum<["credentialAtomicQuerySigV2", "credentialAtomicQuerySigV2OnChain"]>;
794
- optional: z.ZodOptional<z.ZodBoolean>;
795
- query: z.ZodObject<{
796
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
797
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
798
- attribute: z.ZodString;
799
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
800
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
801
- }, "strip", z.ZodTypeAny, {
802
- value: string | number | boolean | string[] | number[];
803
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
804
- attribute: string;
805
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
806
- requestId?: number | null | undefined;
807
- }, {
808
- value: string | number | boolean | string[] | number[];
809
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
810
- attribute: string;
811
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
812
- requestId?: number | null | undefined;
813
- }>;
814
- }, "strip", z.ZodTypeAny, {
815
- id: number;
816
- query: {
817
- value: string | number | boolean | string[] | number[];
818
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
819
- attribute: string;
820
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
821
- requestId?: number | null | undefined;
822
- };
823
- circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
824
- optional?: boolean | undefined;
825
- }, {
826
- id: number;
827
- query: {
828
- value: string | number | boolean | string[] | number[];
829
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
830
- attribute: string;
831
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
832
- requestId?: number | null | undefined;
833
- };
834
- circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
835
- optional?: boolean | undefined;
836
- }>, "many">;
837
- }, "strip", z.ZodTypeAny, {
838
- scenarioVerifierAddress: `0x${string}`;
839
- zkpRequests: {
840
- id: number;
841
- query: {
842
- value: string | number | boolean | string[] | number[];
843
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
844
- attribute: string;
845
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
846
- requestId?: number | null | undefined;
847
- };
848
- circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
849
- optional?: boolean | undefined;
850
- }[];
851
- }, {
852
- scenarioVerifierAddress: string;
853
- zkpRequests: {
854
- id: number;
855
- query: {
856
- value: string | number | boolean | string[] | number[];
857
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
858
- attribute: string;
859
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
860
- requestId?: number | null | undefined;
861
- };
862
- circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
863
- optional?: boolean | undefined;
864
- }[];
865
- }>;
866
- export type OnChainZKP = z.infer<typeof OnChainZKP>;
867
- export declare const OnChainZKPFromNexeraID: z.ZodObject<{
868
- scenarioVerifierAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
869
- zkpRequests: z.ZodArray<z.ZodObject<{
870
- id: z.ZodNumber;
871
- circuitId: z.ZodString;
872
- optional: z.ZodOptional<z.ZodBoolean>;
873
- query: z.ZodRecord<z.ZodString, z.ZodUnknown>;
874
- }, "strip", z.ZodTypeAny, {
875
- id: number;
876
- query: Record<string, unknown>;
877
- circuitId: string;
878
- optional?: boolean | undefined;
879
- }, {
880
- id: number;
881
- query: Record<string, unknown>;
882
- circuitId: string;
883
- optional?: boolean | undefined;
884
- }>, "many">;
885
- }, "strip", z.ZodTypeAny, {
886
- scenarioVerifierAddress: `0x${string}`;
887
- zkpRequests: {
888
- id: number;
889
- query: Record<string, unknown>;
890
- circuitId: string;
891
- optional?: boolean | undefined;
892
- }[];
893
- }, {
894
- scenarioVerifierAddress: string;
895
- zkpRequests: {
896
- id: number;
897
- query: Record<string, unknown>;
898
- circuitId: string;
899
- optional?: boolean | undefined;
900
- }[];
901
- }>;
902
- export type OnChainZKPFromNexeraID = z.infer<typeof OnChainZKPFromNexeraID>;
903
- export declare const OnChainZKPScenarioFromCms: z.ZodObject<{
904
- scenarioVerifierAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
905
- zkpRequests: z.ZodArray<z.ZodObject<{
906
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
907
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
908
- attribute: z.ZodString;
909
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
910
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
911
- }, "strip", z.ZodTypeAny, {
912
- value: string | number | boolean | string[] | number[];
913
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
914
- attribute: string;
915
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
916
- requestId?: number | null | undefined;
917
- }, {
918
- value: string | number | boolean | string[] | number[];
919
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
920
- attribute: string;
921
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
922
- requestId?: number | null | undefined;
923
- }>, "many">;
924
- }, "strip", z.ZodTypeAny, {
925
- scenarioVerifierAddress: `0x${string}`;
926
- zkpRequests: {
927
- value: string | number | boolean | string[] | number[];
928
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
929
- attribute: string;
930
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
931
- requestId?: number | null | undefined;
932
- }[];
933
- }, {
934
- scenarioVerifierAddress: string;
935
- zkpRequests: {
936
- value: string | number | boolean | string[] | number[];
937
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
938
- attribute: string;
939
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
940
- requestId?: number | null | undefined;
941
- }[];
942
- }>;
943
- export type OnChainZKPScenarioFromCms = z.infer<typeof OnChainZKPScenarioFromCms>;
944
- export declare const OnChainZKPPayload: z.ZodObject<{
945
- requestId: z.ZodBigInt;
946
- inputs: z.ZodArray<z.ZodBigInt, "many">;
947
- a: z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>;
948
- b: z.ZodTuple<[z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>, z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>], null>;
949
- c: z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>;
950
- }, "strip", z.ZodTypeAny, {
951
- requestId: bigint;
952
- inputs: bigint[];
953
- a: [bigint, bigint];
954
- b: [[bigint, bigint], [bigint, bigint]];
955
- c: [bigint, bigint];
956
- }, {
957
- requestId: bigint;
958
- inputs: bigint[];
959
- a: [bigint, bigint];
960
- b: [[bigint, bigint], [bigint, bigint]];
961
- c: [bigint, bigint];
962
- }>;
963
- export type OnChainZKPPayload = z.infer<typeof OnChainZKPPayload>;
964
220
  export declare const SCENARIO_AUTHORIZATION_STATUSES: readonly ["pending", "authorised", "unauthorised"];
965
221
  export declare const ScenarioAuthorizationStatus: z.ZodEnum<["pending", "authorised", "unauthorised"]>;
966
222
  export type ScenarioAuthorizationStatus = z.infer<typeof ScenarioAuthorizationStatus>;