@nexeraid/identity-schemas 2.37.0 → 2.38.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 (92) hide show
  1. package/dist/{CoinMarketCap.schema-6a1ff221.cjs.prod.cjs → CoinMarketCap.schema-5142a776.cjs.prod.cjs} +23 -12
  2. package/dist/{CoinMarketCap.schema-aefa43e8.cjs.dev.cjs → CoinMarketCap.schema-f5000da2.cjs.dev.cjs} +23 -12
  3. package/dist/{CoinMarketCap.schema-280414c3.esm.mjs → CoinMarketCap.schema-f9a98f8e.esm.mjs} +11 -2
  4. package/dist/declarations/src/customer.schema.d.ts +7 -0
  5. package/dist/declarations/src/customer.schema.d.ts.map +1 -1
  6. package/dist/declarations/src/identity/app-requests.schema.d.ts +358 -170
  7. package/dist/declarations/src/identity/app-requests.schema.d.ts.map +1 -1
  8. package/dist/declarations/src/identity/host-requests.schema.d.ts +10 -10
  9. package/dist/declarations/src/identity/identity-v2.schema.d.ts +86 -42
  10. package/dist/declarations/src/identity/identity-v2.schema.d.ts.map +1 -1
  11. package/dist/declarations/src/identity/kyc.schema.d.ts +190 -94
  12. package/dist/declarations/src/identity/kyc.schema.d.ts.map +1 -1
  13. package/dist/declarations/src/identity/query.schema.d.ts +141 -565
  14. package/dist/declarations/src/identity/query.schema.d.ts.map +1 -1
  15. package/dist/declarations/src/identity/scenario.schema.d.ts +316 -562
  16. package/dist/declarations/src/identity/scenario.schema.d.ts.map +1 -1
  17. package/dist/declarations/src/identity/zkps.schema.d.ts +145 -53
  18. package/dist/declarations/src/identity/zkps.schema.d.ts.map +1 -1
  19. package/dist/declarations/src/index.d.ts +1 -0
  20. package/dist/declarations/src/index.d.ts.map +1 -1
  21. package/dist/declarations/src/providers/comply-advantage/comply-advantage.schema.d.ts +42 -42
  22. package/dist/declarations/src/providers/kyb-sessions.schema.d.ts +16 -16
  23. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +36 -36
  24. package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts +32 -32
  25. package/dist/declarations/src/providers/provider.schema.d.ts +469 -469
  26. package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +36 -36
  27. package/dist/declarations/src/providers/synaps/synaps.schema.d.ts +100 -100
  28. package/dist/declarations/src/vault/data-link.schema.d.ts +8 -0
  29. package/dist/declarations/src/vault/data-link.schema.d.ts.map +1 -0
  30. package/dist/declarations/src/vault/index.d.ts +3 -0
  31. package/dist/declarations/src/vault/index.d.ts.map +1 -0
  32. package/dist/declarations/src/vault/schemas/generated/Customer.schema.json.d.ts +897 -0
  33. package/dist/declarations/src/vault/schemas/generated/Customer.type.d.ts +47 -0
  34. package/dist/declarations/src/vault/schemas/generated/Customer.type.d.ts.map +1 -0
  35. package/dist/declarations/src/vault/schemas/generated/KycSession.schema.json.d.ts +1859 -0
  36. package/dist/declarations/src/vault/schemas/generated/KycSession.type.d.ts +219 -0
  37. package/dist/declarations/src/vault/schemas/generated/KycSession.type.d.ts.map +1 -0
  38. package/dist/declarations/src/vault/schemas/generated/Transaction.schema.json.d.ts +1139 -0
  39. package/dist/declarations/src/vault/schemas/generated/Transaction.type.d.ts +61 -0
  40. package/dist/declarations/src/vault/schemas/generated/Transaction.type.d.ts.map +1 -0
  41. package/dist/declarations/src/vault/vault.schema.d.ts +2808 -0
  42. package/dist/declarations/src/vault/vault.schema.d.ts.map +1 -0
  43. package/dist/declarations/src/verifiable-credentials/index.d.ts +5 -10
  44. package/dist/declarations/src/verifiable-credentials/index.d.ts.map +1 -1
  45. package/dist/declarations/src/verifiable-credentials/vcs.schema.d.ts +8764 -0
  46. package/dist/declarations/src/verifiable-credentials/vcs.schema.d.ts.map +1 -0
  47. package/dist/declarations/src/webhooks/alert.webhooks.schema.d.ts +2 -2
  48. package/dist/declarations/src/webhooks/customer.webhooks.schema.d.ts +28 -28
  49. package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts +100 -100
  50. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +1362 -1480
  51. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
  52. package/dist/declarations/src/webhooks/tms.webhooks.schema.d.ts +2 -2
  53. package/dist/{frontend-utilities.schema-2cdacfcb.cjs.dev.cjs → frontend-utilities.schema-3dbbc782.cjs.dev.cjs} +7 -6
  54. package/dist/{frontend-utilities.schema-2c6e346e.esm.mjs → frontend-utilities.schema-aae337dd.esm.mjs} +2 -1
  55. package/dist/{frontend-utilities.schema-fb803ead.cjs.prod.cjs → frontend-utilities.schema-b58a8d24.cjs.prod.cjs} +7 -6
  56. package/dist/identity-api.schema-185a6e6e.cjs.dev.cjs +2012 -0
  57. package/dist/identity-api.schema-774e69d4.cjs.prod.cjs +2012 -0
  58. package/dist/identity-api.schema-80658b16.esm.mjs +1654 -0
  59. package/dist/nexeraid-identity-schemas.cjs.dev.cjs +124 -98
  60. package/dist/nexeraid-identity-schemas.cjs.prod.cjs +124 -98
  61. package/dist/nexeraid-identity-schemas.esm.mjs +5 -4
  62. package/dist/package.json +25 -5
  63. package/dist/vault.schema-05a9f7fa.cjs.dev.cjs +6349 -0
  64. package/dist/vault.schema-d868aba3.cjs.prod.cjs +6349 -0
  65. package/dist/vault.schema-dc014e8d.esm.mjs +6238 -0
  66. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +16 -22
  67. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +16 -22
  68. package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +3 -1
  69. package/package.json +25 -5
  70. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +4 -2
  71. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +4 -2
  72. package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +4 -2
  73. package/vault/dist/nexeraid-identity-schemas-vault.cjs.cjs +7 -0
  74. package/vault/dist/nexeraid-identity-schemas-vault.cjs.d.cts +2 -0
  75. package/vault/dist/nexeraid-identity-schemas-vault.cjs.d.mts +2 -0
  76. package/vault/dist/nexeraid-identity-schemas-vault.cjs.d.ts +2 -0
  77. package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +25 -0
  78. package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +25 -0
  79. package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +3 -0
  80. package/vault/package.json +4 -0
  81. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +35 -20
  82. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +35 -20
  83. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +4 -2
  84. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +22 -17
  85. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +22 -17
  86. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +8 -3
  87. package/dist/identity-api.schema-79b2c3a7.esm.mjs +0 -3485
  88. package/dist/identity-api.schema-ab731fb2.cjs.prod.cjs +0 -3895
  89. package/dist/identity-api.schema-d2a8b678.cjs.dev.cjs +0 -3895
  90. package/dist/transaction.schema-16357ae0.esm.mjs +0 -65
  91. package/dist/transaction.schema-548b315f.cjs.prod.cjs +0 -101
  92. package/dist/transaction.schema-8c266a30.cjs.dev.cjs +0 -101
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
- export declare const ScenarioTypes: readonly ["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"];
3
- export declare const ScenarioType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
2
+ export declare const ScenarioTypes: readonly ["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring"];
3
+ export declare const ScenarioType: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring"]>;
4
4
  export type ScenarioType = z.infer<typeof ScenarioType>;
5
5
  export declare const BaseQueryResponse: z.ZodObject<{
6
6
  result: z.ZodObject<{
@@ -40,41 +40,69 @@ export declare const OffChainZKPRuleResult: z.ZodObject<z.objectUtil.extendShape
40
40
  result: z.ZodObject<{
41
41
  is_valid: z.ZodBoolean;
42
42
  query: z.ZodObject<{
43
- type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
43
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
44
44
  requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
- attribute: z.ZodString;
46
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
45
+ attribute: z.ZodObject<{
46
+ version: z.ZodEnum<["v1"]>;
47
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
48
+ path: z.ZodEnum<[import("../index.js").VaultSchemaPaths, ...import("../index.js").VaultSchemaPaths[]]>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ path: import("../index.js").VaultSchemaPaths;
51
+ version: "v1";
52
+ schema: keyof import("../index.js").VaultSchema;
53
+ }, {
54
+ path: import("../index.js").VaultSchemaPaths;
55
+ version: "v1";
56
+ schema: keyof import("../index.js").VaultSchema;
57
+ }>;
58
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
47
59
  operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
48
60
  }, "strip", z.ZodTypeAny, {
49
- value: string | number | boolean | string[] | number[];
50
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
51
- attribute: string;
61
+ attribute: {
62
+ path: import("../index.js").VaultSchemaPaths;
63
+ version: "v1";
64
+ schema: keyof import("../index.js").VaultSchema;
65
+ };
52
66
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
67
+ value?: string | number | boolean | string[] | number[] | null | undefined;
68
+ queryId?: `query_${string}` | undefined;
53
69
  requestId?: number | null | undefined;
54
70
  }, {
55
- value: string | number | boolean | string[] | number[];
56
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
57
- attribute: string;
71
+ attribute: {
72
+ path: import("../index.js").VaultSchemaPaths;
73
+ version: "v1";
74
+ schema: keyof import("../index.js").VaultSchema;
75
+ };
58
76
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
77
+ value?: string | number | boolean | string[] | number[] | null | undefined;
78
+ queryId?: `query_${string}` | undefined;
59
79
  requestId?: number | null | undefined;
60
80
  }>;
61
81
  reasons: z.ZodArray<z.ZodString, "many">;
62
82
  }, "strip", z.ZodTypeAny, {
63
83
  query: {
64
- value: string | number | boolean | string[] | number[];
65
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
66
- attribute: string;
84
+ attribute: {
85
+ path: import("../index.js").VaultSchemaPaths;
86
+ version: "v1";
87
+ schema: keyof import("../index.js").VaultSchema;
88
+ };
67
89
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
90
+ value?: string | number | boolean | string[] | number[] | null | undefined;
91
+ queryId?: `query_${string}` | undefined;
68
92
  requestId?: number | null | undefined;
69
93
  };
70
94
  is_valid: boolean;
71
95
  reasons: string[];
72
96
  }, {
73
97
  query: {
74
- value: string | number | boolean | string[] | number[];
75
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
76
- attribute: string;
98
+ attribute: {
99
+ path: import("../index.js").VaultSchemaPaths;
100
+ version: "v1";
101
+ schema: keyof import("../index.js").VaultSchema;
102
+ };
77
103
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
104
+ value?: string | number | boolean | string[] | number[] | null | undefined;
105
+ queryId?: `query_${string}` | undefined;
78
106
  requestId?: number | null | undefined;
79
107
  };
80
108
  is_valid: boolean;
@@ -83,10 +111,14 @@ export declare const OffChainZKPRuleResult: z.ZodObject<z.objectUtil.extendShape
83
111
  }>, "strip", z.ZodTypeAny, {
84
112
  result: {
85
113
  query: {
86
- value: string | number | boolean | string[] | number[];
87
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
88
- attribute: string;
114
+ attribute: {
115
+ path: import("../index.js").VaultSchemaPaths;
116
+ version: "v1";
117
+ schema: keyof import("../index.js").VaultSchema;
118
+ };
89
119
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
120
+ value?: string | number | boolean | string[] | number[] | null | undefined;
121
+ queryId?: `query_${string}` | undefined;
90
122
  requestId?: number | null | undefined;
91
123
  };
92
124
  is_valid: boolean;
@@ -95,10 +127,14 @@ export declare const OffChainZKPRuleResult: z.ZodObject<z.objectUtil.extendShape
95
127
  }, {
96
128
  result: {
97
129
  query: {
98
- value: string | number | boolean | string[] | number[];
99
- type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
100
- attribute: string;
130
+ attribute: {
131
+ path: import("../index.js").VaultSchemaPaths;
132
+ version: "v1";
133
+ schema: keyof import("../index.js").VaultSchema;
134
+ };
101
135
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
136
+ value?: string | number | boolean | string[] | number[] | null | undefined;
137
+ queryId?: `query_${string}` | undefined;
102
138
  requestId?: number | null | undefined;
103
139
  };
104
140
  is_valid: boolean;
@@ -133,7 +169,7 @@ export declare const ExecuteQueryResponse: z.ZodObject<z.objectUtil.extendShape<
133
169
  executionId: string;
134
170
  }>;
135
171
  export declare const RuleEngineResponse: z.ZodObject<{
136
- objectType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
172
+ objectType: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring"]>;
137
173
  objectId: z.ZodString;
138
174
  name: z.ZodString;
139
175
  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>, z.ZodUnion<[z.ZodEffects<z.ZodString, `1${string}`, string>, z.ZodEffects<z.ZodString, `3${string}`, string>, z.ZodEffects<z.ZodString, `bc1${string}`, string>, z.ZodEffects<z.ZodString, `m${string}` | `n${string}`, string>, z.ZodEffects<z.ZodString, `2${string}`, string>, z.ZodEffects<z.ZodString, `tb1${string}`, string>]>]>>>;
@@ -176,7 +212,7 @@ export declare const RuleEngineResponse: z.ZodObject<{
176
212
  };
177
213
  executionId: string;
178
214
  scenarioId: string;
179
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
215
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
180
216
  objectId: string;
181
217
  address?: string | null | undefined;
182
218
  }, {
@@ -190,13 +226,13 @@ export declare const RuleEngineResponse: z.ZodObject<{
190
226
  };
191
227
  executionId: string;
192
228
  scenarioId: string;
193
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
229
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
194
230
  objectId: string;
195
231
  address?: string | null | undefined;
196
232
  }>;
197
233
  export type RuleEngineResponse = z.infer<typeof RuleEngineResponse>;
198
234
  export declare const ScenarioExecutionResponse: z.ZodArray<z.ZodObject<{
199
- objectType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
235
+ objectType: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring"]>;
200
236
  objectId: z.ZodString;
201
237
  name: z.ZodString;
202
238
  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>, z.ZodUnion<[z.ZodEffects<z.ZodString, `1${string}`, string>, z.ZodEffects<z.ZodString, `3${string}`, string>, z.ZodEffects<z.ZodString, `bc1${string}`, string>, z.ZodEffects<z.ZodString, `m${string}` | `n${string}`, string>, z.ZodEffects<z.ZodString, `2${string}`, string>, z.ZodEffects<z.ZodString, `tb1${string}`, string>]>]>>>;
@@ -239,7 +275,7 @@ export declare const ScenarioExecutionResponse: z.ZodArray<z.ZodObject<{
239
275
  };
240
276
  executionId: string;
241
277
  scenarioId: string;
242
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
278
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
243
279
  objectId: string;
244
280
  address?: string | null | undefined;
245
281
  }, {
@@ -253,7 +289,7 @@ export declare const ScenarioExecutionResponse: z.ZodArray<z.ZodObject<{
253
289
  };
254
290
  executionId: string;
255
291
  scenarioId: string;
256
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
292
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
257
293
  objectId: string;
258
294
  address?: string | null | undefined;
259
295
  }>, "many">;
@@ -267,7 +303,7 @@ export declare const SdkVerificationOutput: z.ZodObject<{
267
303
  scenarioExecutionId: z.ZodOptional<z.ZodString>;
268
304
  status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
269
305
  results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
270
- objectType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
306
+ objectType: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring"]>;
271
307
  objectId: z.ZodString;
272
308
  name: z.ZodString;
273
309
  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>, z.ZodUnion<[z.ZodEffects<z.ZodString, `1${string}`, string>, z.ZodEffects<z.ZodString, `3${string}`, string>, z.ZodEffects<z.ZodString, `bc1${string}`, string>, z.ZodEffects<z.ZodString, `m${string}` | `n${string}`, string>, z.ZodEffects<z.ZodString, `2${string}`, string>, z.ZodEffects<z.ZodString, `tb1${string}`, string>]>]>>>;
@@ -310,7 +346,7 @@ export declare const SdkVerificationOutput: z.ZodObject<{
310
346
  };
311
347
  executionId: string;
312
348
  scenarioId: string;
313
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
349
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
314
350
  objectId: string;
315
351
  address?: string | null | undefined;
316
352
  }, {
@@ -324,7 +360,7 @@ export declare const SdkVerificationOutput: z.ZodObject<{
324
360
  };
325
361
  executionId: string;
326
362
  scenarioId: string;
327
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
363
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
328
364
  objectId: string;
329
365
  address?: string | null | undefined;
330
366
  }>, "many">, "many">>;
@@ -343,7 +379,7 @@ export declare const SdkVerificationOutput: z.ZodObject<{
343
379
  };
344
380
  executionId: string;
345
381
  scenarioId: string;
346
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
382
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
347
383
  objectId: string;
348
384
  address?: string | null | undefined;
349
385
  }[][] | undefined;
@@ -362,7 +398,7 @@ export declare const SdkVerificationOutput: z.ZodObject<{
362
398
  };
363
399
  executionId: string;
364
400
  scenarioId: string;
365
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
401
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
366
402
  objectId: string;
367
403
  address?: string | null | undefined;
368
404
  }[][] | undefined;
@@ -378,7 +414,7 @@ export declare const VerificationOutput: z.ZodObject<{
378
414
  scenarioExecutionId: z.ZodOptional<z.ZodString>;
379
415
  status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
380
416
  results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
381
- objectType: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
417
+ objectType: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring"]>;
382
418
  objectId: z.ZodString;
383
419
  name: z.ZodString;
384
420
  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>, z.ZodUnion<[z.ZodEffects<z.ZodString, `1${string}`, string>, z.ZodEffects<z.ZodString, `3${string}`, string>, z.ZodEffects<z.ZodString, `bc1${string}`, string>, z.ZodEffects<z.ZodString, `m${string}` | `n${string}`, string>, z.ZodEffects<z.ZodString, `2${string}`, string>, z.ZodEffects<z.ZodString, `tb1${string}`, string>]>]>>>;
@@ -421,7 +457,7 @@ export declare const VerificationOutput: z.ZodObject<{
421
457
  };
422
458
  executionId: string;
423
459
  scenarioId: string;
424
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
460
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
425
461
  objectId: string;
426
462
  address?: string | null | undefined;
427
463
  }, {
@@ -435,7 +471,7 @@ export declare const VerificationOutput: z.ZodObject<{
435
471
  };
436
472
  executionId: string;
437
473
  scenarioId: string;
438
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
474
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
439
475
  objectId: string;
440
476
  address?: string | null | undefined;
441
477
  }>, "many">, "many">>;
@@ -454,7 +490,7 @@ export declare const VerificationOutput: z.ZodObject<{
454
490
  };
455
491
  executionId: string;
456
492
  scenarioId: string;
457
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
493
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
458
494
  objectId: string;
459
495
  address?: string | null | undefined;
460
496
  }[][] | undefined;
@@ -473,7 +509,7 @@ export declare const VerificationOutput: z.ZodObject<{
473
509
  };
474
510
  executionId: string;
475
511
  scenarioId: string;
476
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
512
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
477
513
  objectId: string;
478
514
  address?: string | null | undefined;
479
515
  }[][] | undefined;
@@ -497,7 +533,7 @@ export declare const VerificationOutput: z.ZodObject<{
497
533
  };
498
534
  executionId: string;
499
535
  scenarioId: string;
500
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
536
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
501
537
  objectId: string;
502
538
  address?: string | null | undefined;
503
539
  }[][] | undefined;
@@ -520,7 +556,7 @@ export declare const VerificationOutput: z.ZodObject<{
520
556
  };
521
557
  executionId: string;
522
558
  scenarioId: string;
523
- objectType: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
559
+ objectType: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
524
560
  objectId: string;
525
561
  address?: string | null | undefined;
526
562
  }[][] | undefined;
@@ -531,144 +567,82 @@ export declare const Scenario: z.ZodObject<{
531
567
  id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
532
568
  name: z.ZodString;
533
569
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
534
- queries: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
535
- type: z.ZodLiteral<"IDInformation">;
570
+ queries: z.ZodArray<z.ZodObject<{
571
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
536
572
  requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
537
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
538
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
539
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
540
- }, "strip", z.ZodTypeAny, {
541
- value: string | number | boolean | string[] | number[];
542
- type: "IDInformation";
543
- attribute: string;
544
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
545
- requestId?: number | null | undefined;
546
- }, {
547
- value: string | number | boolean | string[] | number[];
548
- type: "IDInformation";
549
- attribute: string;
550
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
551
- requestId?: number | null | undefined;
552
- }>, z.ZodObject<{
553
- type: z.ZodLiteral<"IDImage">;
554
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
555
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
556
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
557
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
558
- }, "strip", z.ZodTypeAny, {
559
- value: string | number | boolean | string[] | number[];
560
- type: "IDImage";
561
- attribute: string;
562
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
563
- requestId?: number | null | undefined;
564
- }, {
565
- value: string | number | boolean | string[] | number[];
566
- type: "IDImage";
567
- attribute: string;
568
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
569
- requestId?: number | null | undefined;
570
- }>, z.ZodObject<{
571
- type: z.ZodLiteral<"SelfieImage">;
572
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
573
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
574
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
575
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
576
- }, "strip", z.ZodTypeAny, {
577
- value: string | number | boolean | string[] | number[];
578
- type: "SelfieImage";
579
- attribute: string;
580
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
581
- requestId?: number | null | undefined;
582
- }, {
583
- value: string | number | boolean | string[] | number[];
584
- type: "SelfieImage";
585
- attribute: string;
586
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
587
- requestId?: number | null | undefined;
588
- }>, z.ZodObject<{
589
- type: z.ZodLiteral<"ProofOfResidence">;
590
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
591
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
592
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
573
+ attribute: z.ZodObject<{
574
+ version: z.ZodEnum<["v1"]>;
575
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
576
+ path: z.ZodEnum<[import("../index.js").VaultSchemaPaths, ...import("../index.js").VaultSchemaPaths[]]>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ path: import("../index.js").VaultSchemaPaths;
579
+ version: "v1";
580
+ schema: keyof import("../index.js").VaultSchema;
581
+ }, {
582
+ path: import("../index.js").VaultSchemaPaths;
583
+ version: "v1";
584
+ schema: keyof import("../index.js").VaultSchema;
585
+ }>;
586
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
593
587
  operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
594
588
  }, "strip", z.ZodTypeAny, {
595
- value: string | number | boolean | string[] | number[];
596
- type: "ProofOfResidence";
597
- attribute: string;
589
+ attribute: {
590
+ path: import("../index.js").VaultSchemaPaths;
591
+ version: "v1";
592
+ schema: keyof import("../index.js").VaultSchema;
593
+ };
598
594
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
595
+ value?: string | number | boolean | string[] | number[] | null | undefined;
596
+ queryId?: `query_${string}` | undefined;
599
597
  requestId?: number | null | undefined;
600
598
  }, {
601
- value: string | number | boolean | string[] | number[];
602
- type: "ProofOfResidence";
603
- attribute: string;
599
+ attribute: {
600
+ path: import("../index.js").VaultSchemaPaths;
601
+ version: "v1";
602
+ schema: keyof import("../index.js").VaultSchema;
603
+ };
604
604
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
605
+ value?: string | number | boolean | string[] | number[] | null | undefined;
606
+ queryId?: `query_${string}` | undefined;
605
607
  requestId?: number | null | undefined;
606
- }>]>, "many">;
607
- type: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
608
+ }>, "many">;
609
+ type: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring"]>;
608
610
  workspaceId: z.ZodString;
609
611
  vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
610
612
  }, "strip", z.ZodTypeAny, {
611
613
  id: `scenario_${string}`;
612
- type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
614
+ type: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
613
615
  name: string;
614
616
  workspaceId: string;
615
- queries: ({
616
- value: string | number | boolean | string[] | number[];
617
- type: "IDInformation";
618
- attribute: string;
619
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
620
- requestId?: number | null | undefined;
621
- } | {
622
- value: string | number | boolean | string[] | number[];
623
- type: "IDImage";
624
- attribute: string;
625
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
626
- requestId?: number | null | undefined;
627
- } | {
628
- value: string | number | boolean | string[] | number[];
629
- type: "SelfieImage";
630
- attribute: string;
631
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
632
- requestId?: number | null | undefined;
633
- } | {
634
- value: string | number | boolean | string[] | number[];
635
- type: "ProofOfResidence";
636
- attribute: string;
617
+ queries: {
618
+ attribute: {
619
+ path: import("../index.js").VaultSchemaPaths;
620
+ version: "v1";
621
+ schema: keyof import("../index.js").VaultSchema;
622
+ };
637
623
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
624
+ value?: string | number | boolean | string[] | number[] | null | undefined;
625
+ queryId?: `query_${string}` | undefined;
638
626
  requestId?: number | null | undefined;
639
- })[];
627
+ }[];
640
628
  description?: string | null | undefined;
641
629
  vcsIncluded?: ("AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport")[] | null | undefined;
642
630
  }, {
643
631
  id: `scenario_${string}`;
644
- type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
632
+ type: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
645
633
  name: string;
646
634
  workspaceId: string;
647
- queries: ({
648
- value: string | number | boolean | string[] | number[];
649
- type: "IDInformation";
650
- attribute: string;
651
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
652
- requestId?: number | null | undefined;
653
- } | {
654
- value: string | number | boolean | string[] | number[];
655
- type: "IDImage";
656
- attribute: string;
657
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
658
- requestId?: number | null | undefined;
659
- } | {
660
- value: string | number | boolean | string[] | number[];
661
- type: "SelfieImage";
662
- attribute: string;
663
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
664
- requestId?: number | null | undefined;
665
- } | {
666
- value: string | number | boolean | string[] | number[];
667
- type: "ProofOfResidence";
668
- attribute: string;
635
+ queries: {
636
+ attribute: {
637
+ path: import("../index.js").VaultSchemaPaths;
638
+ version: "v1";
639
+ schema: keyof import("../index.js").VaultSchema;
640
+ };
669
641
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
642
+ value?: string | number | boolean | string[] | number[] | null | undefined;
643
+ queryId?: `query_${string}` | undefined;
670
644
  requestId?: number | null | undefined;
671
- })[];
645
+ }[];
672
646
  description?: string | null | undefined;
673
647
  vcsIncluded?: string[] | null | undefined;
674
648
  }>;
@@ -676,359 +650,201 @@ export declare const AbbreviatedWorkflowScenario: z.ZodObject<z.objectUtil.exten
676
650
  id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
677
651
  name: z.ZodString;
678
652
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
679
- queries: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
680
- type: z.ZodLiteral<"IDInformation">;
653
+ queries: z.ZodArray<z.ZodObject<{
654
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
681
655
  requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
682
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
683
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
684
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
685
- }, "strip", z.ZodTypeAny, {
686
- value: string | number | boolean | string[] | number[];
687
- type: "IDInformation";
688
- attribute: string;
689
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
690
- requestId?: number | null | undefined;
691
- }, {
692
- value: string | number | boolean | string[] | number[];
693
- type: "IDInformation";
694
- attribute: string;
695
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
696
- requestId?: number | null | undefined;
697
- }>, z.ZodObject<{
698
- type: z.ZodLiteral<"IDImage">;
699
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
700
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
701
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
702
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
703
- }, "strip", z.ZodTypeAny, {
704
- value: string | number | boolean | string[] | number[];
705
- type: "IDImage";
706
- attribute: string;
707
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
708
- requestId?: number | null | undefined;
709
- }, {
710
- value: string | number | boolean | string[] | number[];
711
- type: "IDImage";
712
- attribute: string;
713
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
714
- requestId?: number | null | undefined;
715
- }>, z.ZodObject<{
716
- type: z.ZodLiteral<"SelfieImage">;
717
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
718
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
719
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
720
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
721
- }, "strip", z.ZodTypeAny, {
722
- value: string | number | boolean | string[] | number[];
723
- type: "SelfieImage";
724
- attribute: string;
725
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
726
- requestId?: number | null | undefined;
727
- }, {
728
- value: string | number | boolean | string[] | number[];
729
- type: "SelfieImage";
730
- attribute: string;
731
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
732
- requestId?: number | null | undefined;
733
- }>, z.ZodObject<{
734
- type: z.ZodLiteral<"ProofOfResidence">;
735
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
736
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
737
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
656
+ attribute: z.ZodObject<{
657
+ version: z.ZodEnum<["v1"]>;
658
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
659
+ path: z.ZodEnum<[import("../index.js").VaultSchemaPaths, ...import("../index.js").VaultSchemaPaths[]]>;
660
+ }, "strip", z.ZodTypeAny, {
661
+ path: import("../index.js").VaultSchemaPaths;
662
+ version: "v1";
663
+ schema: keyof import("../index.js").VaultSchema;
664
+ }, {
665
+ path: import("../index.js").VaultSchemaPaths;
666
+ version: "v1";
667
+ schema: keyof import("../index.js").VaultSchema;
668
+ }>;
669
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
738
670
  operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
739
671
  }, "strip", z.ZodTypeAny, {
740
- value: string | number | boolean | string[] | number[];
741
- type: "ProofOfResidence";
742
- attribute: string;
672
+ attribute: {
673
+ path: import("../index.js").VaultSchemaPaths;
674
+ version: "v1";
675
+ schema: keyof import("../index.js").VaultSchema;
676
+ };
743
677
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
678
+ value?: string | number | boolean | string[] | number[] | null | undefined;
679
+ queryId?: `query_${string}` | undefined;
744
680
  requestId?: number | null | undefined;
745
681
  }, {
746
- value: string | number | boolean | string[] | number[];
747
- type: "ProofOfResidence";
748
- attribute: string;
682
+ attribute: {
683
+ path: import("../index.js").VaultSchemaPaths;
684
+ version: "v1";
685
+ schema: keyof import("../index.js").VaultSchema;
686
+ };
749
687
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
688
+ value?: string | number | boolean | string[] | number[] | null | undefined;
689
+ queryId?: `query_${string}` | undefined;
750
690
  requestId?: number | null | undefined;
751
- }>]>, "many">;
752
- type: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
691
+ }>, "many">;
692
+ type: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring"]>;
753
693
  workspaceId: z.ZodString;
754
694
  vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
755
695
  }, "queries" | "vcsIncluded">, {
756
- queries: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
757
- type: z.ZodLiteral<"IDInformation">;
758
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
759
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
760
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
761
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
762
- }, "strip", z.ZodTypeAny, {
763
- value: string | number | boolean | string[] | number[];
764
- type: "IDInformation";
765
- attribute: string;
766
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
767
- requestId?: number | null | undefined;
768
- }, {
769
- value: string | number | boolean | string[] | number[];
770
- type: "IDInformation";
771
- attribute: string;
772
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
773
- requestId?: number | null | undefined;
774
- }>, z.ZodObject<{
775
- type: z.ZodLiteral<"IDImage">;
776
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
777
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
778
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
779
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
780
- }, "strip", z.ZodTypeAny, {
781
- value: string | number | boolean | string[] | number[];
782
- type: "IDImage";
783
- attribute: string;
784
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
785
- requestId?: number | null | undefined;
786
- }, {
787
- value: string | number | boolean | string[] | number[];
788
- type: "IDImage";
789
- attribute: string;
790
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
791
- requestId?: number | null | undefined;
792
- }>, z.ZodObject<{
793
- type: z.ZodLiteral<"SelfieImage">;
794
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
795
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
796
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
797
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
798
- }, "strip", z.ZodTypeAny, {
799
- value: string | number | boolean | string[] | number[];
800
- type: "SelfieImage";
801
- attribute: string;
802
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
803
- requestId?: number | null | undefined;
804
- }, {
805
- value: string | number | boolean | string[] | number[];
806
- type: "SelfieImage";
807
- attribute: string;
808
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
809
- requestId?: number | null | undefined;
810
- }>, z.ZodObject<{
811
- type: z.ZodLiteral<"ProofOfResidence">;
696
+ queries: z.ZodArray<z.ZodObject<{
697
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
812
698
  requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
813
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
814
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
699
+ attribute: z.ZodObject<{
700
+ version: z.ZodEnum<["v1"]>;
701
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
702
+ path: z.ZodEnum<[import("../index.js").VaultSchemaPaths, ...import("../index.js").VaultSchemaPaths[]]>;
703
+ }, "strip", z.ZodTypeAny, {
704
+ path: import("../index.js").VaultSchemaPaths;
705
+ version: "v1";
706
+ schema: keyof import("../index.js").VaultSchema;
707
+ }, {
708
+ path: import("../index.js").VaultSchemaPaths;
709
+ version: "v1";
710
+ schema: keyof import("../index.js").VaultSchema;
711
+ }>;
712
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
815
713
  operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
816
714
  }, "strip", z.ZodTypeAny, {
817
- value: string | number | boolean | string[] | number[];
818
- type: "ProofOfResidence";
819
- attribute: string;
715
+ attribute: {
716
+ path: import("../index.js").VaultSchemaPaths;
717
+ version: "v1";
718
+ schema: keyof import("../index.js").VaultSchema;
719
+ };
820
720
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
721
+ value?: string | number | boolean | string[] | number[] | null | undefined;
722
+ queryId?: `query_${string}` | undefined;
821
723
  requestId?: number | null | undefined;
822
724
  }, {
823
- value: string | number | boolean | string[] | number[];
824
- type: "ProofOfResidence";
825
- attribute: string;
725
+ attribute: {
726
+ path: import("../index.js").VaultSchemaPaths;
727
+ version: "v1";
728
+ schema: keyof import("../index.js").VaultSchema;
729
+ };
826
730
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
731
+ value?: string | number | boolean | string[] | number[] | null | undefined;
732
+ queryId?: `query_${string}` | undefined;
827
733
  requestId?: number | null | undefined;
828
- }>]>, "many">;
734
+ }>, "many">;
829
735
  }>, "strip", z.ZodTypeAny, {
830
736
  id: `scenario_${string}`;
831
- type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
737
+ type: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
832
738
  name: string;
833
739
  workspaceId: string;
834
- queries: ({
835
- value: string | number | boolean | string[] | number[];
836
- type: "IDInformation";
837
- attribute: string;
838
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
839
- requestId?: number | null | undefined;
840
- } | {
841
- value: string | number | boolean | string[] | number[];
842
- type: "IDImage";
843
- attribute: string;
844
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
845
- requestId?: number | null | undefined;
846
- } | {
847
- value: string | number | boolean | string[] | number[];
848
- type: "SelfieImage";
849
- attribute: string;
850
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
851
- requestId?: number | null | undefined;
852
- } | {
853
- value: string | number | boolean | string[] | number[];
854
- type: "ProofOfResidence";
855
- attribute: string;
740
+ queries: {
741
+ attribute: {
742
+ path: import("../index.js").VaultSchemaPaths;
743
+ version: "v1";
744
+ schema: keyof import("../index.js").VaultSchema;
745
+ };
856
746
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
747
+ value?: string | number | boolean | string[] | number[] | null | undefined;
748
+ queryId?: `query_${string}` | undefined;
857
749
  requestId?: number | null | undefined;
858
- })[];
750
+ }[];
859
751
  description?: string | null | undefined;
860
752
  }, {
861
753
  id: `scenario_${string}`;
862
- type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
754
+ type: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
863
755
  name: string;
864
756
  workspaceId: string;
865
- queries: ({
866
- value: string | number | boolean | string[] | number[];
867
- type: "IDInformation";
868
- attribute: string;
869
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
870
- requestId?: number | null | undefined;
871
- } | {
872
- value: string | number | boolean | string[] | number[];
873
- type: "IDImage";
874
- attribute: string;
875
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
876
- requestId?: number | null | undefined;
877
- } | {
878
- value: string | number | boolean | string[] | number[];
879
- type: "SelfieImage";
880
- attribute: string;
881
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
882
- requestId?: number | null | undefined;
883
- } | {
884
- value: string | number | boolean | string[] | number[];
885
- type: "ProofOfResidence";
886
- attribute: string;
757
+ queries: {
758
+ attribute: {
759
+ path: import("../index.js").VaultSchemaPaths;
760
+ version: "v1";
761
+ schema: keyof import("../index.js").VaultSchema;
762
+ };
887
763
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
764
+ value?: string | number | boolean | string[] | number[] | null | undefined;
765
+ queryId?: `query_${string}` | undefined;
888
766
  requestId?: number | null | undefined;
889
- })[];
767
+ }[];
890
768
  description?: string | null | undefined;
891
769
  }>;
892
770
  export declare const TemplateScenario: z.ZodObject<Omit<{
893
771
  id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
894
772
  name: z.ZodString;
895
773
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
896
- queries: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
897
- type: z.ZodLiteral<"IDInformation">;
898
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
899
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
900
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
901
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
902
- }, "strip", z.ZodTypeAny, {
903
- value: string | number | boolean | string[] | number[];
904
- type: "IDInformation";
905
- attribute: string;
906
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
907
- requestId?: number | null | undefined;
908
- }, {
909
- value: string | number | boolean | string[] | number[];
910
- type: "IDInformation";
911
- attribute: string;
912
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
913
- requestId?: number | null | undefined;
914
- }>, z.ZodObject<{
915
- type: z.ZodLiteral<"IDImage">;
774
+ queries: z.ZodArray<z.ZodObject<{
775
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
916
776
  requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
917
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
918
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
919
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
920
- }, "strip", z.ZodTypeAny, {
921
- value: string | number | boolean | string[] | number[];
922
- type: "IDImage";
923
- attribute: string;
924
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
925
- requestId?: number | null | undefined;
926
- }, {
927
- value: string | number | boolean | string[] | number[];
928
- type: "IDImage";
929
- attribute: string;
930
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
931
- requestId?: number | null | undefined;
932
- }>, z.ZodObject<{
933
- type: z.ZodLiteral<"SelfieImage">;
934
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
935
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
936
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
937
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
938
- }, "strip", z.ZodTypeAny, {
939
- value: string | number | boolean | string[] | number[];
940
- type: "SelfieImage";
941
- attribute: string;
942
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
943
- requestId?: number | null | undefined;
944
- }, {
945
- value: string | number | boolean | string[] | number[];
946
- type: "SelfieImage";
947
- attribute: string;
948
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
949
- requestId?: number | null | undefined;
950
- }>, z.ZodObject<{
951
- type: z.ZodLiteral<"ProofOfResidence">;
952
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
953
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
954
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
777
+ attribute: z.ZodObject<{
778
+ version: z.ZodEnum<["v1"]>;
779
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
780
+ path: z.ZodEnum<[import("../index.js").VaultSchemaPaths, ...import("../index.js").VaultSchemaPaths[]]>;
781
+ }, "strip", z.ZodTypeAny, {
782
+ path: import("../index.js").VaultSchemaPaths;
783
+ version: "v1";
784
+ schema: keyof import("../index.js").VaultSchema;
785
+ }, {
786
+ path: import("../index.js").VaultSchemaPaths;
787
+ version: "v1";
788
+ schema: keyof import("../index.js").VaultSchema;
789
+ }>;
790
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
955
791
  operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
956
792
  }, "strip", z.ZodTypeAny, {
957
- value: string | number | boolean | string[] | number[];
958
- type: "ProofOfResidence";
959
- attribute: string;
793
+ attribute: {
794
+ path: import("../index.js").VaultSchemaPaths;
795
+ version: "v1";
796
+ schema: keyof import("../index.js").VaultSchema;
797
+ };
960
798
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
799
+ value?: string | number | boolean | string[] | number[] | null | undefined;
800
+ queryId?: `query_${string}` | undefined;
961
801
  requestId?: number | null | undefined;
962
802
  }, {
963
- value: string | number | boolean | string[] | number[];
964
- type: "ProofOfResidence";
965
- attribute: string;
803
+ attribute: {
804
+ path: import("../index.js").VaultSchemaPaths;
805
+ version: "v1";
806
+ schema: keyof import("../index.js").VaultSchema;
807
+ };
966
808
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
809
+ value?: string | number | boolean | string[] | number[] | null | undefined;
810
+ queryId?: `query_${string}` | undefined;
967
811
  requestId?: number | null | undefined;
968
- }>]>, "many">;
969
- type: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
812
+ }>, "many">;
813
+ type: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring"]>;
970
814
  workspaceId: z.ZodString;
971
815
  vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
972
816
  }, "workspaceId">, "strip", z.ZodTypeAny, {
973
817
  id: `scenario_${string}`;
974
- type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
818
+ type: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
975
819
  name: string;
976
- queries: ({
977
- value: string | number | boolean | string[] | number[];
978
- type: "IDInformation";
979
- attribute: string;
980
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
981
- requestId?: number | null | undefined;
982
- } | {
983
- value: string | number | boolean | string[] | number[];
984
- type: "IDImage";
985
- attribute: string;
986
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
987
- requestId?: number | null | undefined;
988
- } | {
989
- value: string | number | boolean | string[] | number[];
990
- type: "SelfieImage";
991
- attribute: string;
992
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
993
- requestId?: number | null | undefined;
994
- } | {
995
- value: string | number | boolean | string[] | number[];
996
- type: "ProofOfResidence";
997
- attribute: string;
820
+ queries: {
821
+ attribute: {
822
+ path: import("../index.js").VaultSchemaPaths;
823
+ version: "v1";
824
+ schema: keyof import("../index.js").VaultSchema;
825
+ };
998
826
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
827
+ value?: string | number | boolean | string[] | number[] | null | undefined;
828
+ queryId?: `query_${string}` | undefined;
999
829
  requestId?: number | null | undefined;
1000
- })[];
830
+ }[];
1001
831
  description?: string | null | undefined;
1002
832
  vcsIncluded?: ("AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport")[] | null | undefined;
1003
833
  }, {
1004
834
  id: `scenario_${string}`;
1005
- type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
835
+ type: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
1006
836
  name: string;
1007
- queries: ({
1008
- value: string | number | boolean | string[] | number[];
1009
- type: "IDInformation";
1010
- attribute: string;
1011
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1012
- requestId?: number | null | undefined;
1013
- } | {
1014
- value: string | number | boolean | string[] | number[];
1015
- type: "IDImage";
1016
- attribute: string;
1017
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1018
- requestId?: number | null | undefined;
1019
- } | {
1020
- value: string | number | boolean | string[] | number[];
1021
- type: "SelfieImage";
1022
- attribute: string;
1023
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1024
- requestId?: number | null | undefined;
1025
- } | {
1026
- value: string | number | boolean | string[] | number[];
1027
- type: "ProofOfResidence";
1028
- attribute: string;
837
+ queries: {
838
+ attribute: {
839
+ path: import("../index.js").VaultSchemaPaths;
840
+ version: "v1";
841
+ schema: keyof import("../index.js").VaultSchema;
842
+ };
1029
843
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
844
+ value?: string | number | boolean | string[] | number[] | null | undefined;
845
+ queryId?: `query_${string}` | undefined;
1030
846
  requestId?: number | null | undefined;
1031
- })[];
847
+ }[];
1032
848
  description?: string | null | undefined;
1033
849
  vcsIncluded?: string[] | null | undefined;
1034
850
  }>;
@@ -1036,140 +852,78 @@ export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
1036
852
  id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
1037
853
  name: z.ZodString;
1038
854
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1039
- queries: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1040
- type: z.ZodLiteral<"IDInformation">;
1041
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1042
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "personalData" | "isSandbox")[]]>]>;
1043
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
1044
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
1045
- }, "strip", z.ZodTypeAny, {
1046
- value: string | number | boolean | string[] | number[];
1047
- type: "IDInformation";
1048
- attribute: string;
1049
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1050
- requestId?: number | null | undefined;
1051
- }, {
1052
- value: string | number | boolean | string[] | number[];
1053
- type: "IDInformation";
1054
- attribute: string;
1055
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1056
- requestId?: number | null | undefined;
1057
- }>, z.ZodObject<{
1058
- type: z.ZodLiteral<"IDImage">;
1059
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1060
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "documentType" | "entryDate" | "entryTime" | "isSandbox" | "base64_front" | "base64_back" | "name" | "mediaType_front" | "mediaType_back")[]]>]>;
1061
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
1062
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
1063
- }, "strip", z.ZodTypeAny, {
1064
- value: string | number | boolean | string[] | number[];
1065
- type: "IDImage";
1066
- attribute: string;
1067
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1068
- requestId?: number | null | undefined;
1069
- }, {
1070
- value: string | number | boolean | string[] | number[];
1071
- type: "IDImage";
1072
- attribute: string;
1073
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1074
- requestId?: number | null | undefined;
1075
- }>, z.ZodObject<{
1076
- type: z.ZodLiteral<"SelfieImage">;
1077
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1078
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType", ...("id" | "journeyId" | "reviewAnswer" | "reviewRejectType" | "reviewRejectLabels" | "entryDate" | "entryTime" | "isSandbox" | "name" | "base64" | "mediaType")[]]>]>;
1079
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
1080
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
1081
- }, "strip", z.ZodTypeAny, {
1082
- value: string | number | boolean | string[] | number[];
1083
- type: "SelfieImage";
1084
- attribute: string;
1085
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1086
- requestId?: number | null | undefined;
1087
- }, {
1088
- value: string | number | boolean | string[] | number[];
1089
- type: "SelfieImage";
1090
- attribute: string;
1091
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1092
- requestId?: number | null | undefined;
1093
- }>, z.ZodObject<{
1094
- type: z.ZodLiteral<"ProofOfResidence">;
855
+ queries: z.ZodArray<z.ZodObject<{
856
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1095
857
  requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1096
- attribute: z.ZodUnion<[z.ZodString, z.ZodEnum<["id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode", ...("id" | "journeyId" | "documentType" | "entryDate" | "entryTime" | "country" | "isSandbox" | "name" | "base64" | "mediaType" | "county" | "city" | "streetName" | "postalCode")[]]>]>;
1097
- value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
858
+ attribute: z.ZodObject<{
859
+ version: z.ZodEnum<["v1"]>;
860
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
861
+ path: z.ZodEnum<[import("../index.js").VaultSchemaPaths, ...import("../index.js").VaultSchemaPaths[]]>;
862
+ }, "strip", z.ZodTypeAny, {
863
+ path: import("../index.js").VaultSchemaPaths;
864
+ version: "v1";
865
+ schema: keyof import("../index.js").VaultSchema;
866
+ }, {
867
+ path: import("../index.js").VaultSchemaPaths;
868
+ version: "v1";
869
+ schema: keyof import("../index.js").VaultSchema;
870
+ }>;
871
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
1098
872
  operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists"]>;
1099
873
  }, "strip", z.ZodTypeAny, {
1100
- value: string | number | boolean | string[] | number[];
1101
- type: "ProofOfResidence";
1102
- attribute: string;
874
+ attribute: {
875
+ path: import("../index.js").VaultSchemaPaths;
876
+ version: "v1";
877
+ schema: keyof import("../index.js").VaultSchema;
878
+ };
1103
879
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
880
+ value?: string | number | boolean | string[] | number[] | null | undefined;
881
+ queryId?: `query_${string}` | undefined;
1104
882
  requestId?: number | null | undefined;
1105
883
  }, {
1106
- value: string | number | boolean | string[] | number[];
1107
- type: "ProofOfResidence";
1108
- attribute: string;
884
+ attribute: {
885
+ path: import("../index.js").VaultSchemaPaths;
886
+ version: "v1";
887
+ schema: keyof import("../index.js").VaultSchema;
888
+ };
1109
889
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
890
+ value?: string | number | boolean | string[] | number[] | null | undefined;
891
+ queryId?: `query_${string}` | undefined;
1110
892
  requestId?: number | null | undefined;
1111
- }>]>, "many">;
1112
- type: z.ZodEnum<["ChallengeQuery", "OffChainZKP", "IndividualCustomerMonitoring", "TransactionMonitoring"]>;
893
+ }>, "many">;
894
+ type: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring"]>;
1113
895
  workspaceId: z.ZodString;
1114
896
  vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
1115
897
  }, "workspaceId">, "id">, "strip", z.ZodTypeAny, {
1116
- type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
898
+ type: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
1117
899
  name: string;
1118
- queries: ({
1119
- value: string | number | boolean | string[] | number[];
1120
- type: "IDInformation";
1121
- attribute: string;
1122
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1123
- requestId?: number | null | undefined;
1124
- } | {
1125
- value: string | number | boolean | string[] | number[];
1126
- type: "IDImage";
1127
- attribute: string;
1128
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1129
- requestId?: number | null | undefined;
1130
- } | {
1131
- value: string | number | boolean | string[] | number[];
1132
- type: "SelfieImage";
1133
- attribute: string;
1134
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1135
- requestId?: number | null | undefined;
1136
- } | {
1137
- value: string | number | boolean | string[] | number[];
1138
- type: "ProofOfResidence";
1139
- attribute: string;
900
+ queries: {
901
+ attribute: {
902
+ path: import("../index.js").VaultSchemaPaths;
903
+ version: "v1";
904
+ schema: keyof import("../index.js").VaultSchema;
905
+ };
1140
906
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
907
+ value?: string | number | boolean | string[] | number[] | null | undefined;
908
+ queryId?: `query_${string}` | undefined;
1141
909
  requestId?: number | null | undefined;
1142
- })[];
910
+ }[];
1143
911
  description?: string | null | undefined;
1144
912
  vcsIncluded?: ("AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport")[] | null | undefined;
1145
913
  }, {
1146
- type: "ChallengeQuery" | "OffChainZKP" | "IndividualCustomerMonitoring" | "TransactionMonitoring";
914
+ type: "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring";
1147
915
  name: string;
1148
- queries: ({
1149
- value: string | number | boolean | string[] | number[];
1150
- type: "IDInformation";
1151
- attribute: string;
1152
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1153
- requestId?: number | null | undefined;
1154
- } | {
1155
- value: string | number | boolean | string[] | number[];
1156
- type: "IDImage";
1157
- attribute: string;
1158
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1159
- requestId?: number | null | undefined;
1160
- } | {
1161
- value: string | number | boolean | string[] | number[];
1162
- type: "SelfieImage";
1163
- attribute: string;
1164
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
1165
- requestId?: number | null | undefined;
1166
- } | {
1167
- value: string | number | boolean | string[] | number[];
1168
- type: "ProofOfResidence";
1169
- attribute: string;
916
+ queries: {
917
+ attribute: {
918
+ path: import("../index.js").VaultSchemaPaths;
919
+ version: "v1";
920
+ schema: keyof import("../index.js").VaultSchema;
921
+ };
1170
922
  operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists";
923
+ value?: string | number | boolean | string[] | number[] | null | undefined;
924
+ queryId?: `query_${string}` | undefined;
1171
925
  requestId?: number | null | undefined;
1172
- })[];
926
+ }[];
1173
927
  description?: string | null | undefined;
1174
928
  vcsIncluded?: string[] | null | undefined;
1175
929
  }>;