@nexeraid/identity-schemas 2.6.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 (58) 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/big/BIGBitRankVerifiedScore.schema.d.ts +108 -108
  19. package/dist/declarations/src/providers/comply-advantage/comply-advantage.schema.d.ts +13 -13
  20. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +63 -60
  21. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts.map +1 -1
  22. package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts +40 -40
  23. package/dist/declarations/src/providers/scorechain/scorechain.schema.d.ts +88 -88
  24. package/dist/declarations/src/transaction.schema.d.ts +6 -0
  25. package/dist/declarations/src/transaction.schema.d.ts.map +1 -1
  26. package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts +407 -407
  27. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +3102 -3102
  28. package/dist/declarations/src/webhooks/tms.webhooks.schema.d.ts +2 -2
  29. package/dist/{frontend-utilities.schema-2ad117b9.cjs.prod.js → frontend-utilities.schema-63c0c3ec.cjs.prod.js} +1 -1
  30. package/dist/{frontend-utilities.schema-a0cf242f.cjs.dev.js → frontend-utilities.schema-7ec52bb3.cjs.dev.js} +1 -1
  31. package/dist/{frontend-utilities.schema-3e61e949.esm.js → frontend-utilities.schema-c53dbf36.esm.js} +1 -1
  32. package/dist/{identity-api.schema-08b1e63d.cjs.dev.js → identity-api.schema-725ecd1d.cjs.prod.js} +357 -437
  33. package/dist/{identity-api.schema-a01dae12.esm.js → identity-api.schema-a3f556f3.esm.js} +351 -424
  34. package/dist/{identity-api.schema-1b5f26e1.cjs.prod.js → identity-api.schema-e1fe9b0e.cjs.dev.js} +357 -437
  35. package/dist/nexeraid-identity-schemas.cjs.dev.js +14 -17
  36. package/dist/nexeraid-identity-schemas.cjs.prod.js +14 -17
  37. package/dist/nexeraid-identity-schemas.esm.js +4 -4
  38. package/dist/package.json +1 -1
  39. package/dist/{transaction.schema-90e6af49.cjs.prod.js → transaction.schema-1534b40f.cjs.prod.js} +9 -1
  40. package/dist/{transaction.schema-2107095b.esm.js → transaction.schema-221579a3.esm.js} +6 -2
  41. package/dist/{transaction.schema-92a59117.cjs.dev.js → transaction.schema-4195655f.cjs.dev.js} +9 -1
  42. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +8 -15
  43. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +8 -15
  44. package/identity/dist/nexeraid-identity-schemas-identity.esm.js +1 -1
  45. package/package.json +1 -1
  46. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +2 -2
  47. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +2 -2
  48. package/providers/dist/nexeraid-identity-schemas-providers.esm.js +2 -2
  49. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2 -2
  50. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2 -2
  51. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2 -2
  52. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +4 -4
  53. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +4 -4
  54. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +4 -4
  55. package/dist/declarations/src/identity/challenge-query.schema.d.ts +0 -1246
  56. package/dist/declarations/src/identity/challenge-query.schema.d.ts.map +0 -1
  57. package/dist/declarations/src/identity/execute-scenario.schema.d.ts +0 -136
  58. package/dist/declarations/src/identity/execute-scenario.schema.d.ts.map +0 -1
@@ -599,32 +599,33 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
599
599
  scenarioExecutionId: z.ZodOptional<z.ZodString>;
600
600
  status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
601
601
  results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
602
- objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
602
+ objectType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
603
603
  objectId: z.ZodString;
604
604
  name: z.ZodString;
605
605
  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>]>>>;
606
- result: z.ZodObject<{
606
+ result: z.ZodObject<z.objectUtil.extendShape<{
607
607
  result: z.ZodObject<{
608
608
  is_valid: z.ZodBoolean;
609
- reasons: z.ZodArray<z.ZodUnknown, "many">;
609
+ reasons: z.ZodArray<z.ZodString, "many">;
610
610
  }, "strip", z.ZodTypeAny, {
611
611
  is_valid: boolean;
612
- reasons: unknown[];
612
+ reasons: string[];
613
613
  }, {
614
614
  is_valid: boolean;
615
- reasons: unknown[];
615
+ reasons: string[];
616
616
  }>;
617
+ }, {
617
618
  executionId: z.ZodString;
618
- }, "strip", z.ZodTypeAny, {
619
+ }>, "strip", z.ZodTypeAny, {
619
620
  result: {
620
621
  is_valid: boolean;
621
- reasons: unknown[];
622
+ reasons: string[];
622
623
  };
623
624
  executionId: string;
624
625
  }, {
625
626
  result: {
626
627
  is_valid: boolean;
627
- reasons: unknown[];
628
+ reasons: string[];
628
629
  };
629
630
  executionId: string;
630
631
  }>;
@@ -635,13 +636,13 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
635
636
  result: {
636
637
  result: {
637
638
  is_valid: boolean;
638
- reasons: unknown[];
639
+ reasons: string[];
639
640
  };
640
641
  executionId: string;
641
642
  };
642
643
  executionId: string;
643
644
  scenarioId: string;
644
- objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
645
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
645
646
  objectId: string;
646
647
  address?: string | null | undefined;
647
648
  }, {
@@ -649,13 +650,13 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
649
650
  result: {
650
651
  result: {
651
652
  is_valid: boolean;
652
- reasons: unknown[];
653
+ reasons: string[];
653
654
  };
654
655
  executionId: string;
655
656
  };
656
657
  executionId: string;
657
658
  scenarioId: string;
658
- objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
659
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
659
660
  objectId: string;
660
661
  address?: string | null | undefined;
661
662
  }>, "many">, "many">>;
@@ -668,13 +669,13 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
668
669
  result: {
669
670
  result: {
670
671
  is_valid: boolean;
671
- reasons: unknown[];
672
+ reasons: string[];
672
673
  };
673
674
  executionId: string;
674
675
  };
675
676
  executionId: string;
676
677
  scenarioId: string;
677
- objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
678
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
678
679
  objectId: string;
679
680
  address?: string | null | undefined;
680
681
  }[][] | undefined;
@@ -687,13 +688,13 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
687
688
  result: {
688
689
  result: {
689
690
  is_valid: boolean;
690
- reasons: unknown[];
691
+ reasons: string[];
691
692
  };
692
693
  executionId: string;
693
694
  };
694
695
  executionId: string;
695
696
  scenarioId: string;
696
- objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
697
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
697
698
  objectId: string;
698
699
  address?: string | null | undefined;
699
700
  }[][] | undefined;
@@ -709,13 +710,13 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
709
710
  result: {
710
711
  result: {
711
712
  is_valid: boolean;
712
- reasons: unknown[];
713
+ reasons: string[];
713
714
  };
714
715
  executionId: string;
715
716
  };
716
717
  executionId: string;
717
718
  scenarioId: string;
718
- objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
719
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
719
720
  objectId: string;
720
721
  address?: string | null | undefined;
721
722
  }[][] | undefined;
@@ -731,13 +732,13 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
731
732
  result: {
732
733
  result: {
733
734
  is_valid: boolean;
734
- reasons: unknown[];
735
+ reasons: string[];
735
736
  };
736
737
  executionId: string;
737
738
  };
738
739
  executionId: string;
739
740
  scenarioId: string;
740
- objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
741
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
741
742
  objectId: string;
742
743
  address?: string | null | undefined;
743
744
  }[][] | undefined;
@@ -1282,13 +1283,13 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1282
1283
  result: {
1283
1284
  result: {
1284
1285
  is_valid: boolean;
1285
- reasons: unknown[];
1286
+ reasons: string[];
1286
1287
  };
1287
1288
  executionId: string;
1288
1289
  };
1289
1290
  executionId: string;
1290
1291
  scenarioId: string;
1291
- objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
1292
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
1292
1293
  objectId: string;
1293
1294
  address?: string | null | undefined;
1294
1295
  }[][] | undefined;
@@ -1376,13 +1377,13 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1376
1377
  result: {
1377
1378
  result: {
1378
1379
  is_valid: boolean;
1379
- reasons: unknown[];
1380
+ reasons: string[];
1380
1381
  };
1381
1382
  executionId: string;
1382
1383
  };
1383
1384
  executionId: string;
1384
1385
  scenarioId: string;
1385
- objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
1386
+ objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
1386
1387
  objectId: string;
1387
1388
  address?: string | null | undefined;
1388
1389
  }[][] | undefined;
@@ -2317,126 +2318,6 @@ export declare const RequiredVerificationData: z.ZodObject<{
2317
2318
  }[];
2318
2319
  }[];
2319
2320
  }>;
2320
- onchainZKP: z.ZodObject<{
2321
- requiredData: z.ZodArray<z.ZodObject<{
2322
- type: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>;
2323
- requiredAttributes: z.ZodArray<z.ZodObject<{
2324
- attribute: z.ZodString;
2325
- value: z.ZodString;
2326
- operator: z.ZodString;
2327
- }, "strip", z.ZodTypeAny, {
2328
- value: string;
2329
- attribute: string;
2330
- operator: string;
2331
- }, {
2332
- value: string;
2333
- attribute: string;
2334
- operator: string;
2335
- }>, "many">;
2336
- }, "strip", z.ZodTypeAny, {
2337
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2338
- requiredAttributes: {
2339
- value: string;
2340
- attribute: string;
2341
- operator: string;
2342
- }[];
2343
- }, {
2344
- type: string;
2345
- requiredAttributes: {
2346
- value: string;
2347
- attribute: string;
2348
- operator: string;
2349
- }[];
2350
- }>, "many">;
2351
- conditions: z.ZodArray<z.ZodObject<{
2352
- id: z.ZodNumber;
2353
- circuitId: z.ZodEnum<["credentialAtomicQuerySigV2", "credentialAtomicQuerySigV2OnChain"]>;
2354
- optional: z.ZodOptional<z.ZodBoolean>;
2355
- query: z.ZodObject<{
2356
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
2357
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2358
- attribute: z.ZodString;
2359
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
2360
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
2361
- }, "strip", z.ZodTypeAny, {
2362
- value: string | number | boolean | string[] | number[];
2363
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2364
- attribute: string;
2365
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2366
- requestId?: number | null | undefined;
2367
- }, {
2368
- value: string | number | boolean | string[] | number[];
2369
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2370
- attribute: string;
2371
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2372
- requestId?: number | null | undefined;
2373
- }>;
2374
- }, "strip", z.ZodTypeAny, {
2375
- id: number;
2376
- query: {
2377
- value: string | number | boolean | string[] | number[];
2378
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2379
- attribute: string;
2380
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2381
- requestId?: number | null | undefined;
2382
- };
2383
- circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2384
- optional?: boolean | undefined;
2385
- }, {
2386
- id: number;
2387
- query: {
2388
- value: string | number | boolean | string[] | number[];
2389
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2390
- attribute: string;
2391
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2392
- requestId?: number | null | undefined;
2393
- };
2394
- circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2395
- optional?: boolean | undefined;
2396
- }>, "many">;
2397
- }, "strip", z.ZodTypeAny, {
2398
- requiredData: {
2399
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2400
- requiredAttributes: {
2401
- value: string;
2402
- attribute: string;
2403
- operator: string;
2404
- }[];
2405
- }[];
2406
- conditions: {
2407
- id: number;
2408
- query: {
2409
- value: string | number | boolean | string[] | number[];
2410
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2411
- attribute: string;
2412
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2413
- requestId?: number | null | undefined;
2414
- };
2415
- circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2416
- optional?: boolean | undefined;
2417
- }[];
2418
- }, {
2419
- requiredData: {
2420
- type: string;
2421
- requiredAttributes: {
2422
- value: string;
2423
- attribute: string;
2424
- operator: string;
2425
- }[];
2426
- }[];
2427
- conditions: {
2428
- id: number;
2429
- query: {
2430
- value: string | number | boolean | string[] | number[];
2431
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2432
- attribute: string;
2433
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2434
- requestId?: number | null | undefined;
2435
- };
2436
- circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2437
- optional?: boolean | undefined;
2438
- }[];
2439
- }>;
2440
2321
  offchainZKP: z.ZodObject<{
2441
2322
  requiredData: z.ZodArray<z.ZodObject<{
2442
2323
  type: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>;
@@ -2517,6 +2398,7 @@ export declare const RequiredVerificationData: z.ZodObject<{
2517
2398
  optional?: boolean | undefined;
2518
2399
  }>, "many">;
2519
2400
  }, "strip", z.ZodTypeAny, {
2401
+ scenarioVerifierAddress: string;
2520
2402
  conditions: {
2521
2403
  id: number;
2522
2404
  query: {
@@ -2529,8 +2411,8 @@ export declare const RequiredVerificationData: z.ZodObject<{
2529
2411
  circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2530
2412
  optional?: boolean | undefined;
2531
2413
  }[];
2532
- scenarioVerifierAddress: string;
2533
2414
  }, {
2415
+ scenarioVerifierAddress: string;
2534
2416
  conditions: {
2535
2417
  id: number;
2536
2418
  query: {
@@ -2543,7 +2425,6 @@ export declare const RequiredVerificationData: z.ZodObject<{
2543
2425
  circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2544
2426
  optional?: boolean | undefined;
2545
2427
  }[];
2546
- scenarioVerifierAddress: string;
2547
2428
  }>, "many">;
2548
2429
  }, "strip", z.ZodTypeAny, {
2549
2430
  requiredData: {
@@ -2555,6 +2436,7 @@ export declare const RequiredVerificationData: z.ZodObject<{
2555
2436
  }[];
2556
2437
  }[];
2557
2438
  verifications: {
2439
+ scenarioVerifierAddress: string;
2558
2440
  conditions: {
2559
2441
  id: number;
2560
2442
  query: {
@@ -2567,7 +2449,6 @@ export declare const RequiredVerificationData: z.ZodObject<{
2567
2449
  circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2568
2450
  optional?: boolean | undefined;
2569
2451
  }[];
2570
- scenarioVerifierAddress: string;
2571
2452
  }[];
2572
2453
  }, {
2573
2454
  requiredData: {
@@ -2579,6 +2460,7 @@ export declare const RequiredVerificationData: z.ZodObject<{
2579
2460
  }[];
2580
2461
  }[];
2581
2462
  verifications: {
2463
+ scenarioVerifierAddress: string;
2582
2464
  conditions: {
2583
2465
  id: number;
2584
2466
  query: {
@@ -2591,7 +2473,6 @@ export declare const RequiredVerificationData: z.ZodObject<{
2591
2473
  circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2592
2474
  optional?: boolean | undefined;
2593
2475
  }[];
2594
- scenarioVerifierAddress: string;
2595
2476
  }[];
2596
2477
  }>;
2597
2478
  }, "strip", z.ZodTypeAny, {
@@ -2605,28 +2486,6 @@ export declare const RequiredVerificationData: z.ZodObject<{
2605
2486
  }[];
2606
2487
  }[];
2607
2488
  };
2608
- onchainZKP: {
2609
- requiredData: {
2610
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2611
- requiredAttributes: {
2612
- value: string;
2613
- attribute: string;
2614
- operator: string;
2615
- }[];
2616
- }[];
2617
- conditions: {
2618
- id: number;
2619
- query: {
2620
- value: string | number | boolean | string[] | number[];
2621
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2622
- attribute: string;
2623
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2624
- requestId?: number | null | undefined;
2625
- };
2626
- circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2627
- optional?: boolean | undefined;
2628
- }[];
2629
- };
2630
2489
  offchainZKP: {
2631
2490
  requiredData: {
2632
2491
  type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
@@ -2637,6 +2496,7 @@ export declare const RequiredVerificationData: z.ZodObject<{
2637
2496
  }[];
2638
2497
  }[];
2639
2498
  verifications: {
2499
+ scenarioVerifierAddress: string;
2640
2500
  conditions: {
2641
2501
  id: number;
2642
2502
  query: {
@@ -2649,7 +2509,6 @@ export declare const RequiredVerificationData: z.ZodObject<{
2649
2509
  circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2650
2510
  optional?: boolean | undefined;
2651
2511
  }[];
2652
- scenarioVerifierAddress: string;
2653
2512
  }[];
2654
2513
  };
2655
2514
  }, {
@@ -2663,28 +2522,6 @@ export declare const RequiredVerificationData: z.ZodObject<{
2663
2522
  }[];
2664
2523
  }[];
2665
2524
  };
2666
- onchainZKP: {
2667
- requiredData: {
2668
- type: string;
2669
- requiredAttributes: {
2670
- value: string;
2671
- attribute: string;
2672
- operator: string;
2673
- }[];
2674
- }[];
2675
- conditions: {
2676
- id: number;
2677
- query: {
2678
- value: string | number | boolean | string[] | number[];
2679
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
2680
- attribute: string;
2681
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
2682
- requestId?: number | null | undefined;
2683
- };
2684
- circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2685
- optional?: boolean | undefined;
2686
- }[];
2687
- };
2688
2525
  offchainZKP: {
2689
2526
  requiredData: {
2690
2527
  type: string;
@@ -2695,6 +2532,7 @@ export declare const RequiredVerificationData: z.ZodObject<{
2695
2532
  }[];
2696
2533
  }[];
2697
2534
  verifications: {
2535
+ scenarioVerifierAddress: string;
2698
2536
  conditions: {
2699
2537
  id: number;
2700
2538
  query: {
@@ -2707,7 +2545,6 @@ export declare const RequiredVerificationData: z.ZodObject<{
2707
2545
  circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
2708
2546
  optional?: boolean | undefined;
2709
2547
  }[];
2710
- scenarioVerifierAddress: string;
2711
2548
  }[];
2712
2549
  };
2713
2550
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"kyc.schema.d.ts","sourceRoot":"../../../../src/identity","sources":["kyc.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,uCAAuC,EAAE,wCAAqC;AAa5F,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAI1B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAShC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAanC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAChF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,uCAAuC,CAC/C,CAAC"}
@@ -528,4 +528,182 @@ export type StringOperator = z.infer<typeof StringOperator>;
528
528
  export declare const QueryCredentialTypes: readonly ["IDInformation", "IDImage", "SelfieImage", "ProofOfResidence"];
529
529
  export declare const QueryCredentialType: z.ZodEnum<["IDInformation", "IDImage", "SelfieImage", "ProofOfResidence"]>;
530
530
  export type QueryCredentialType = z.infer<typeof QueryCredentialType>;
531
+ export declare const ChallengeQuerySchema: z.ZodObject<{
532
+ id: z.ZodOptional<z.ZodString>;
533
+ query: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
534
+ type: z.ZodLiteral<"IDInformation">;
535
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
536
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
537
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
538
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
539
+ }, "strip", z.ZodTypeAny, {
540
+ value: string | number | boolean | string[] | number[];
541
+ type: "IDInformation";
542
+ attribute: string;
543
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
544
+ requestId?: number | null | undefined;
545
+ }, {
546
+ value: string | number | boolean | string[] | number[];
547
+ type: "IDInformation";
548
+ attribute: string;
549
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
550
+ requestId?: number | null | undefined;
551
+ }>, z.ZodObject<{
552
+ type: z.ZodLiteral<"IDImage">;
553
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
554
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
555
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
556
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
557
+ }, "strip", z.ZodTypeAny, {
558
+ value: string | number | boolean | string[] | number[];
559
+ type: "IDImage";
560
+ attribute: string;
561
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
562
+ requestId?: number | null | undefined;
563
+ }, {
564
+ value: string | number | boolean | string[] | number[];
565
+ type: "IDImage";
566
+ attribute: string;
567
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
568
+ requestId?: number | null | undefined;
569
+ }>, z.ZodObject<{
570
+ type: z.ZodLiteral<"SelfieImage">;
571
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
572
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
573
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
574
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
575
+ }, "strip", z.ZodTypeAny, {
576
+ value: string | number | boolean | string[] | number[];
577
+ type: "SelfieImage";
578
+ attribute: string;
579
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
580
+ requestId?: number | null | undefined;
581
+ }, {
582
+ value: string | number | boolean | string[] | number[];
583
+ type: "SelfieImage";
584
+ attribute: string;
585
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
586
+ requestId?: number | null | undefined;
587
+ }>, z.ZodObject<{
588
+ type: z.ZodLiteral<"ProofOfResidence">;
589
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
590
+ attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
591
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
592
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
593
+ }, "strip", z.ZodTypeAny, {
594
+ value: string | number | boolean | string[] | number[];
595
+ type: "ProofOfResidence";
596
+ attribute: string;
597
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
598
+ requestId?: number | null | undefined;
599
+ }, {
600
+ value: string | number | boolean | string[] | number[];
601
+ type: "ProofOfResidence";
602
+ attribute: string;
603
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
604
+ requestId?: number | null | undefined;
605
+ }>]>;
606
+ }, "strip", z.ZodTypeAny, {
607
+ query: {
608
+ value: string | number | boolean | string[] | number[];
609
+ type: "IDInformation";
610
+ attribute: string;
611
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
612
+ requestId?: number | null | undefined;
613
+ } | {
614
+ value: string | number | boolean | string[] | number[];
615
+ type: "IDImage";
616
+ attribute: string;
617
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
618
+ requestId?: number | null | undefined;
619
+ } | {
620
+ value: string | number | boolean | string[] | number[];
621
+ type: "SelfieImage";
622
+ attribute: string;
623
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
624
+ requestId?: number | null | undefined;
625
+ } | {
626
+ value: string | number | boolean | string[] | number[];
627
+ type: "ProofOfResidence";
628
+ attribute: string;
629
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
630
+ requestId?: number | null | undefined;
631
+ };
632
+ id?: string | undefined;
633
+ }, {
634
+ query: {
635
+ value: string | number | boolean | string[] | number[];
636
+ type: "IDInformation";
637
+ attribute: string;
638
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
639
+ requestId?: number | null | undefined;
640
+ } | {
641
+ value: string | number | boolean | string[] | number[];
642
+ type: "IDImage";
643
+ attribute: string;
644
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
645
+ requestId?: number | null | undefined;
646
+ } | {
647
+ value: string | number | boolean | string[] | number[];
648
+ type: "SelfieImage";
649
+ attribute: string;
650
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
651
+ requestId?: number | null | undefined;
652
+ } | {
653
+ value: string | number | boolean | string[] | number[];
654
+ type: "ProofOfResidence";
655
+ attribute: string;
656
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
657
+ requestId?: number | null | undefined;
658
+ };
659
+ id?: string | undefined;
660
+ }>;
661
+ export type ChallengeQuery = z.infer<typeof ChallengeQuerySchema>;
662
+ export declare const CHALLENGE_QUERY_OPERATORS: readonly ["GREATER_THAN", "LESS_THAN", "EQUAL_TO", "NOT_EQUAL_TO", "LESS_THAN_OR_EQUAL_TO", "GREATER_THAN_OR_EQUAL_TO", "IN", "NOT_IN"];
663
+ export declare const ChallengeQueryOperator: z.ZodEnum<["GREATER_THAN", "LESS_THAN", "EQUAL_TO", "NOT_EQUAL_TO", "LESS_THAN_OR_EQUAL_TO", "GREATER_THAN_OR_EQUAL_TO", "IN", "NOT_IN"]>;
664
+ export type ChallengeQueryOperator = z.infer<typeof ChallengeQueryOperator>;
665
+ export declare const OperatorMappings: {
666
+ readonly toChallenge: {
667
+ readonly $noop: "EQUAL_TO";
668
+ readonly $eq: "EQUAL_TO";
669
+ readonly $lt: "LESS_THAN";
670
+ readonly $lte: "LESS_THAN_OR_EQUAL_TO";
671
+ readonly $gt: "GREATER_THAN";
672
+ readonly $gte: "GREATER_THAN_OR_EQUAL_TO";
673
+ readonly $in: "IN";
674
+ readonly $nin: "NOT_IN";
675
+ readonly $ne: "NOT_EQUAL_TO";
676
+ };
677
+ readonly fromChallenge: {
678
+ readonly EQUAL_TO: "$eq";
679
+ readonly LESS_THAN: "$lt";
680
+ readonly LESS_THAN_OR_EQUAL_TO: "$lte";
681
+ readonly GREATER_THAN: "$gt";
682
+ readonly GREATER_THAN_OR_EQUAL_TO: "$gte";
683
+ readonly IN: "$in";
684
+ readonly NOT_IN: "$nin";
685
+ readonly NOT_EQUAL_TO: "$ne";
686
+ };
687
+ };
688
+ export declare const OperatorToChallengeQueryOperator: {
689
+ readonly $noop: "EQUAL_TO";
690
+ readonly $eq: "EQUAL_TO";
691
+ readonly $lt: "LESS_THAN";
692
+ readonly $lte: "LESS_THAN_OR_EQUAL_TO";
693
+ readonly $gt: "GREATER_THAN";
694
+ readonly $gte: "GREATER_THAN_OR_EQUAL_TO";
695
+ readonly $in: "IN";
696
+ readonly $nin: "NOT_IN";
697
+ readonly $ne: "NOT_EQUAL_TO";
698
+ };
699
+ export declare const ChallengeQueryOperatorToOperator: {
700
+ readonly EQUAL_TO: "$eq";
701
+ readonly LESS_THAN: "$lt";
702
+ readonly LESS_THAN_OR_EQUAL_TO: "$lte";
703
+ readonly GREATER_THAN: "$gt";
704
+ readonly GREATER_THAN_OR_EQUAL_TO: "$gte";
705
+ readonly IN: "$in";
706
+ readonly NOT_IN: "$nin";
707
+ readonly NOT_EQUAL_TO: "$ne";
708
+ };
531
709
  //# sourceMappingURL=query.schema.d.ts.map