@nexeraid/identity-schemas 2.3.24-dev → 2.3.25-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.
- package/dist/{customers.schema-cc3df18f.cjs.dev.js → customers.schema-0ce8464a.cjs.dev.js} +1 -1
- package/dist/{customers.schema-f0d472b1.cjs.prod.js → customers.schema-459fdc4d.cjs.prod.js} +1 -1
- package/dist/{customers.schema-0306abb6.esm.js → customers.schema-8f6c7924.esm.js} +1 -1
- package/dist/declarations/src/identity/app-requests.schema.d.ts +366 -366
- package/dist/declarations/src/identity/app-requests.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/challenge-query.schema.d.ts +117 -149
- package/dist/declarations/src/identity/challenge-query.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/host-requests.schema.d.ts +44 -44
- package/dist/declarations/src/identity/identity-v2.schema.d.ts +94 -94
- package/dist/declarations/src/identity/kyc.schema.d.ts +150 -150
- package/dist/declarations/src/identity/polygon-id.schema.d.ts +8 -8
- package/dist/declarations/src/identity/query.schema.d.ts +69 -67
- package/dist/declarations/src/identity/query.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/zkps.schema.d.ts +97 -97
- package/dist/declarations/src/identity-ids.schema.d.ts +20 -2
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/nexeraSSID.schema.d.ts +2 -0
- package/dist/declarations/src/nexeraSSID.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +75 -75
- package/dist/{frontend-utilities.schema-02fc8336.esm.js → frontend-utilities.schema-8b213997.esm.js} +1 -1
- package/dist/{frontend-utilities.schema-0be040b7.cjs.dev.js → frontend-utilities.schema-9ce4190b.cjs.dev.js} +1 -1
- package/dist/{frontend-utilities.schema-cd88e673.cjs.prod.js → frontend-utilities.schema-d4d6374c.cjs.prod.js} +1 -1
- package/dist/{identity-api.schema-2de31155.cjs.prod.js → identity-api.schema-a16ec830.cjs.dev.js} +417 -396
- package/dist/{identity-api.schema-68a83f54.esm.js → identity-api.schema-d1954107.esm.js} +406 -396
- package/dist/{identity-api.schema-bbb2c243.cjs.dev.js → identity-api.schema-f103ebd9.cjs.prod.js} +417 -396
- package/dist/nexeraid-identity-schemas.cjs.dev.js +14 -3
- package/dist/nexeraid-identity-schemas.cjs.prod.js +14 -3
- package/dist/nexeraid-identity-schemas.esm.js +3 -3
- package/dist/package.json +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +3 -2
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +3 -2
- package/identity/dist/nexeraid-identity-schemas-identity.esm.js +1 -1
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.esm.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2 -2
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +2 -2
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +2 -2
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +2 -2
|
@@ -45,7 +45,9 @@ export declare const ChallengeQueryOperators: z.ZodEffects<z.ZodObject<{
|
|
|
45
45
|
GREATER_THAN_OR_EQUAL_TO?: number | undefined;
|
|
46
46
|
NOT_IN?: string | string[] | number[] | undefined;
|
|
47
47
|
}>;
|
|
48
|
+
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"];
|
|
48
49
|
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"]>;
|
|
50
|
+
export type ChallengeQueryOperator = z.infer<typeof ChallengeQueryOperator>;
|
|
49
51
|
export declare const OperatorToChallengeQueryOperator: {
|
|
50
52
|
$noop: "EQUAL_TO";
|
|
51
53
|
$eq: "EQUAL_TO";
|
|
@@ -73,16 +75,16 @@ export declare const ChallengeQuerySchema: z.ZodObject<{
|
|
|
73
75
|
type: z.ZodLiteral<"IDInformation">;
|
|
74
76
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
75
77
|
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")[]]>]>;
|
|
76
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
78
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
77
79
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
78
80
|
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
value: string | number | boolean |
|
|
81
|
+
value: string | number | boolean | string[] | number[];
|
|
80
82
|
type: "IDInformation";
|
|
81
83
|
attribute: string;
|
|
82
84
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
83
85
|
requestId?: number | null | undefined;
|
|
84
86
|
}, {
|
|
85
|
-
value: string | number | boolean |
|
|
87
|
+
value: string | number | boolean | string[] | number[];
|
|
86
88
|
type: "IDInformation";
|
|
87
89
|
attribute: string;
|
|
88
90
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -91,16 +93,16 @@ export declare const ChallengeQuerySchema: z.ZodObject<{
|
|
|
91
93
|
type: z.ZodLiteral<"IDImage">;
|
|
92
94
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
93
95
|
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")[]]>]>;
|
|
94
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
96
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
95
97
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
96
98
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
value: string | number | boolean |
|
|
99
|
+
value: string | number | boolean | string[] | number[];
|
|
98
100
|
type: "IDImage";
|
|
99
101
|
attribute: string;
|
|
100
102
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
101
103
|
requestId?: number | null | undefined;
|
|
102
104
|
}, {
|
|
103
|
-
value: string | number | boolean |
|
|
105
|
+
value: string | number | boolean | string[] | number[];
|
|
104
106
|
type: "IDImage";
|
|
105
107
|
attribute: string;
|
|
106
108
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -109,16 +111,16 @@ export declare const ChallengeQuerySchema: z.ZodObject<{
|
|
|
109
111
|
type: z.ZodLiteral<"SelfieImage">;
|
|
110
112
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
111
113
|
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")[]]>]>;
|
|
112
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
114
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
113
115
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
114
116
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
value: string | number | boolean |
|
|
117
|
+
value: string | number | boolean | string[] | number[];
|
|
116
118
|
type: "SelfieImage";
|
|
117
119
|
attribute: string;
|
|
118
120
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
119
121
|
requestId?: number | null | undefined;
|
|
120
122
|
}, {
|
|
121
|
-
value: string | number | boolean |
|
|
123
|
+
value: string | number | boolean | string[] | number[];
|
|
122
124
|
type: "SelfieImage";
|
|
123
125
|
attribute: string;
|
|
124
126
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -127,16 +129,16 @@ export declare const ChallengeQuerySchema: z.ZodObject<{
|
|
|
127
129
|
type: z.ZodLiteral<"ProofOfResidence">;
|
|
128
130
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
129
131
|
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")[]]>]>;
|
|
130
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
132
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
131
133
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
132
134
|
}, "strip", z.ZodTypeAny, {
|
|
133
|
-
value: string | number | boolean |
|
|
135
|
+
value: string | number | boolean | string[] | number[];
|
|
134
136
|
type: "ProofOfResidence";
|
|
135
137
|
attribute: string;
|
|
136
138
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
137
139
|
requestId?: number | null | undefined;
|
|
138
140
|
}, {
|
|
139
|
-
value: string | number | boolean |
|
|
141
|
+
value: string | number | boolean | string[] | number[];
|
|
140
142
|
type: "ProofOfResidence";
|
|
141
143
|
attribute: string;
|
|
142
144
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -144,25 +146,25 @@ export declare const ChallengeQuerySchema: z.ZodObject<{
|
|
|
144
146
|
}>]>;
|
|
145
147
|
}, "strip", z.ZodTypeAny, {
|
|
146
148
|
query: {
|
|
147
|
-
value: string | number | boolean |
|
|
149
|
+
value: string | number | boolean | string[] | number[];
|
|
148
150
|
type: "IDInformation";
|
|
149
151
|
attribute: string;
|
|
150
152
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
151
153
|
requestId?: number | null | undefined;
|
|
152
154
|
} | {
|
|
153
|
-
value: string | number | boolean |
|
|
155
|
+
value: string | number | boolean | string[] | number[];
|
|
154
156
|
type: "IDImage";
|
|
155
157
|
attribute: string;
|
|
156
158
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
157
159
|
requestId?: number | null | undefined;
|
|
158
160
|
} | {
|
|
159
|
-
value: string | number | boolean |
|
|
161
|
+
value: string | number | boolean | string[] | number[];
|
|
160
162
|
type: "SelfieImage";
|
|
161
163
|
attribute: string;
|
|
162
164
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
163
165
|
requestId?: number | null | undefined;
|
|
164
166
|
} | {
|
|
165
|
-
value: string | number | boolean |
|
|
167
|
+
value: string | number | boolean | string[] | number[];
|
|
166
168
|
type: "ProofOfResidence";
|
|
167
169
|
attribute: string;
|
|
168
170
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -171,25 +173,25 @@ export declare const ChallengeQuerySchema: z.ZodObject<{
|
|
|
171
173
|
id?: string | undefined;
|
|
172
174
|
}, {
|
|
173
175
|
query: {
|
|
174
|
-
value: string | number | boolean |
|
|
176
|
+
value: string | number | boolean | string[] | number[];
|
|
175
177
|
type: "IDInformation";
|
|
176
178
|
attribute: string;
|
|
177
179
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
178
180
|
requestId?: number | null | undefined;
|
|
179
181
|
} | {
|
|
180
|
-
value: string | number | boolean |
|
|
182
|
+
value: string | number | boolean | string[] | number[];
|
|
181
183
|
type: "IDImage";
|
|
182
184
|
attribute: string;
|
|
183
185
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
184
186
|
requestId?: number | null | undefined;
|
|
185
187
|
} | {
|
|
186
|
-
value: string | number | boolean |
|
|
188
|
+
value: string | number | boolean | string[] | number[];
|
|
187
189
|
type: "SelfieImage";
|
|
188
190
|
attribute: string;
|
|
189
191
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
190
192
|
requestId?: number | null | undefined;
|
|
191
193
|
} | {
|
|
192
|
-
value: string | number | boolean |
|
|
194
|
+
value: string | number | boolean | string[] | number[];
|
|
193
195
|
type: "ProofOfResidence";
|
|
194
196
|
attribute: string;
|
|
195
197
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -273,16 +275,16 @@ export declare const ExecuteChallengeQueryInput: z.ZodObject<{
|
|
|
273
275
|
type: z.ZodLiteral<"IDInformation">;
|
|
274
276
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
275
277
|
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")[]]>]>;
|
|
276
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
278
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
277
279
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
278
280
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
value: string | number | boolean |
|
|
281
|
+
value: string | number | boolean | string[] | number[];
|
|
280
282
|
type: "IDInformation";
|
|
281
283
|
attribute: string;
|
|
282
284
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
283
285
|
requestId?: number | null | undefined;
|
|
284
286
|
}, {
|
|
285
|
-
value: string | number | boolean |
|
|
287
|
+
value: string | number | boolean | string[] | number[];
|
|
286
288
|
type: "IDInformation";
|
|
287
289
|
attribute: string;
|
|
288
290
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -291,16 +293,16 @@ export declare const ExecuteChallengeQueryInput: z.ZodObject<{
|
|
|
291
293
|
type: z.ZodLiteral<"IDImage">;
|
|
292
294
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
293
295
|
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")[]]>]>;
|
|
294
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
296
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
295
297
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
296
298
|
}, "strip", z.ZodTypeAny, {
|
|
297
|
-
value: string | number | boolean |
|
|
299
|
+
value: string | number | boolean | string[] | number[];
|
|
298
300
|
type: "IDImage";
|
|
299
301
|
attribute: string;
|
|
300
302
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
301
303
|
requestId?: number | null | undefined;
|
|
302
304
|
}, {
|
|
303
|
-
value: string | number | boolean |
|
|
305
|
+
value: string | number | boolean | string[] | number[];
|
|
304
306
|
type: "IDImage";
|
|
305
307
|
attribute: string;
|
|
306
308
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -309,16 +311,16 @@ export declare const ExecuteChallengeQueryInput: z.ZodObject<{
|
|
|
309
311
|
type: z.ZodLiteral<"SelfieImage">;
|
|
310
312
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
311
313
|
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")[]]>]>;
|
|
312
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
314
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
313
315
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
314
316
|
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
value: string | number | boolean |
|
|
317
|
+
value: string | number | boolean | string[] | number[];
|
|
316
318
|
type: "SelfieImage";
|
|
317
319
|
attribute: string;
|
|
318
320
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
319
321
|
requestId?: number | null | undefined;
|
|
320
322
|
}, {
|
|
321
|
-
value: string | number | boolean |
|
|
323
|
+
value: string | number | boolean | string[] | number[];
|
|
322
324
|
type: "SelfieImage";
|
|
323
325
|
attribute: string;
|
|
324
326
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -327,16 +329,16 @@ export declare const ExecuteChallengeQueryInput: z.ZodObject<{
|
|
|
327
329
|
type: z.ZodLiteral<"ProofOfResidence">;
|
|
328
330
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
329
331
|
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")[]]>]>;
|
|
330
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
332
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
331
333
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
332
334
|
}, "strip", z.ZodTypeAny, {
|
|
333
|
-
value: string | number | boolean |
|
|
335
|
+
value: string | number | boolean | string[] | number[];
|
|
334
336
|
type: "ProofOfResidence";
|
|
335
337
|
attribute: string;
|
|
336
338
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
337
339
|
requestId?: number | null | undefined;
|
|
338
340
|
}, {
|
|
339
|
-
value: string | number | boolean |
|
|
341
|
+
value: string | number | boolean | string[] | number[];
|
|
340
342
|
type: "ProofOfResidence";
|
|
341
343
|
attribute: string;
|
|
342
344
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -363,25 +365,25 @@ export declare const ExecuteChallengeQueryInput: z.ZodObject<{
|
|
|
363
365
|
proof?: any;
|
|
364
366
|
}[];
|
|
365
367
|
challengeQuery: {
|
|
366
|
-
value: string | number | boolean |
|
|
368
|
+
value: string | number | boolean | string[] | number[];
|
|
367
369
|
type: "IDInformation";
|
|
368
370
|
attribute: string;
|
|
369
371
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
370
372
|
requestId?: number | null | undefined;
|
|
371
373
|
} | {
|
|
372
|
-
value: string | number | boolean |
|
|
374
|
+
value: string | number | boolean | string[] | number[];
|
|
373
375
|
type: "IDImage";
|
|
374
376
|
attribute: string;
|
|
375
377
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
376
378
|
requestId?: number | null | undefined;
|
|
377
379
|
} | {
|
|
378
|
-
value: string | number | boolean |
|
|
380
|
+
value: string | number | boolean | string[] | number[];
|
|
379
381
|
type: "SelfieImage";
|
|
380
382
|
attribute: string;
|
|
381
383
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
382
384
|
requestId?: number | null | undefined;
|
|
383
385
|
} | {
|
|
384
|
-
value: string | number | boolean |
|
|
386
|
+
value: string | number | boolean | string[] | number[];
|
|
385
387
|
type: "ProofOfResidence";
|
|
386
388
|
attribute: string;
|
|
387
389
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -410,25 +412,25 @@ export declare const ExecuteChallengeQueryInput: z.ZodObject<{
|
|
|
410
412
|
proof?: any;
|
|
411
413
|
}[];
|
|
412
414
|
challengeQuery: {
|
|
413
|
-
value: string | number | boolean |
|
|
415
|
+
value: string | number | boolean | string[] | number[];
|
|
414
416
|
type: "IDInformation";
|
|
415
417
|
attribute: string;
|
|
416
418
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
417
419
|
requestId?: number | null | undefined;
|
|
418
420
|
} | {
|
|
419
|
-
value: string | number | boolean |
|
|
421
|
+
value: string | number | boolean | string[] | number[];
|
|
420
422
|
type: "IDImage";
|
|
421
423
|
attribute: string;
|
|
422
424
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
423
425
|
requestId?: number | null | undefined;
|
|
424
426
|
} | {
|
|
425
|
-
value: string | number | boolean |
|
|
427
|
+
value: string | number | boolean | string[] | number[];
|
|
426
428
|
type: "SelfieImage";
|
|
427
429
|
attribute: string;
|
|
428
430
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
429
431
|
requestId?: number | null | undefined;
|
|
430
432
|
} | {
|
|
431
|
-
value: string | number | boolean |
|
|
433
|
+
value: string | number | boolean | string[] | number[];
|
|
432
434
|
type: "ProofOfResidence";
|
|
433
435
|
attribute: string;
|
|
434
436
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -514,16 +516,16 @@ export declare const ExecuteChallengeQueryConfig: z.ZodObject<{
|
|
|
514
516
|
type: z.ZodLiteral<"IDInformation">;
|
|
515
517
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
516
518
|
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")[]]>]>;
|
|
517
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
519
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
518
520
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
519
521
|
}, "strip", z.ZodTypeAny, {
|
|
520
|
-
value: string | number | boolean |
|
|
522
|
+
value: string | number | boolean | string[] | number[];
|
|
521
523
|
type: "IDInformation";
|
|
522
524
|
attribute: string;
|
|
523
525
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
524
526
|
requestId?: number | null | undefined;
|
|
525
527
|
}, {
|
|
526
|
-
value: string | number | boolean |
|
|
528
|
+
value: string | number | boolean | string[] | number[];
|
|
527
529
|
type: "IDInformation";
|
|
528
530
|
attribute: string;
|
|
529
531
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -532,16 +534,16 @@ export declare const ExecuteChallengeQueryConfig: z.ZodObject<{
|
|
|
532
534
|
type: z.ZodLiteral<"IDImage">;
|
|
533
535
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
534
536
|
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")[]]>]>;
|
|
535
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
537
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
536
538
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
537
539
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
-
value: string | number | boolean |
|
|
540
|
+
value: string | number | boolean | string[] | number[];
|
|
539
541
|
type: "IDImage";
|
|
540
542
|
attribute: string;
|
|
541
543
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
542
544
|
requestId?: number | null | undefined;
|
|
543
545
|
}, {
|
|
544
|
-
value: string | number | boolean |
|
|
546
|
+
value: string | number | boolean | string[] | number[];
|
|
545
547
|
type: "IDImage";
|
|
546
548
|
attribute: string;
|
|
547
549
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -550,16 +552,16 @@ export declare const ExecuteChallengeQueryConfig: z.ZodObject<{
|
|
|
550
552
|
type: z.ZodLiteral<"SelfieImage">;
|
|
551
553
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
552
554
|
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")[]]>]>;
|
|
553
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
555
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
554
556
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
555
557
|
}, "strip", z.ZodTypeAny, {
|
|
556
|
-
value: string | number | boolean |
|
|
558
|
+
value: string | number | boolean | string[] | number[];
|
|
557
559
|
type: "SelfieImage";
|
|
558
560
|
attribute: string;
|
|
559
561
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
560
562
|
requestId?: number | null | undefined;
|
|
561
563
|
}, {
|
|
562
|
-
value: string | number | boolean |
|
|
564
|
+
value: string | number | boolean | string[] | number[];
|
|
563
565
|
type: "SelfieImage";
|
|
564
566
|
attribute: string;
|
|
565
567
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -568,16 +570,16 @@ export declare const ExecuteChallengeQueryConfig: z.ZodObject<{
|
|
|
568
570
|
type: z.ZodLiteral<"ProofOfResidence">;
|
|
569
571
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
570
572
|
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")[]]>]>;
|
|
571
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
573
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
572
574
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
573
575
|
}, "strip", z.ZodTypeAny, {
|
|
574
|
-
value: string | number | boolean |
|
|
576
|
+
value: string | number | boolean | string[] | number[];
|
|
575
577
|
type: "ProofOfResidence";
|
|
576
578
|
attribute: string;
|
|
577
579
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
578
580
|
requestId?: number | null | undefined;
|
|
579
581
|
}, {
|
|
580
|
-
value: string | number | boolean |
|
|
582
|
+
value: string | number | boolean | string[] | number[];
|
|
581
583
|
type: "ProofOfResidence";
|
|
582
584
|
attribute: string;
|
|
583
585
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -604,25 +606,25 @@ export declare const ExecuteChallengeQueryConfig: z.ZodObject<{
|
|
|
604
606
|
proof?: any;
|
|
605
607
|
}[];
|
|
606
608
|
challengeQuery: {
|
|
607
|
-
value: string | number | boolean |
|
|
609
|
+
value: string | number | boolean | string[] | number[];
|
|
608
610
|
type: "IDInformation";
|
|
609
611
|
attribute: string;
|
|
610
612
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
611
613
|
requestId?: number | null | undefined;
|
|
612
614
|
} | {
|
|
613
|
-
value: string | number | boolean |
|
|
615
|
+
value: string | number | boolean | string[] | number[];
|
|
614
616
|
type: "IDImage";
|
|
615
617
|
attribute: string;
|
|
616
618
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
617
619
|
requestId?: number | null | undefined;
|
|
618
620
|
} | {
|
|
619
|
-
value: string | number | boolean |
|
|
621
|
+
value: string | number | boolean | string[] | number[];
|
|
620
622
|
type: "SelfieImage";
|
|
621
623
|
attribute: string;
|
|
622
624
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
623
625
|
requestId?: number | null | undefined;
|
|
624
626
|
} | {
|
|
625
|
-
value: string | number | boolean |
|
|
627
|
+
value: string | number | boolean | string[] | number[];
|
|
626
628
|
type: "ProofOfResidence";
|
|
627
629
|
attribute: string;
|
|
628
630
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -651,25 +653,25 @@ export declare const ExecuteChallengeQueryConfig: z.ZodObject<{
|
|
|
651
653
|
proof?: any;
|
|
652
654
|
}[];
|
|
653
655
|
challengeQuery: {
|
|
654
|
-
value: string | number | boolean |
|
|
656
|
+
value: string | number | boolean | string[] | number[];
|
|
655
657
|
type: "IDInformation";
|
|
656
658
|
attribute: string;
|
|
657
659
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
658
660
|
requestId?: number | null | undefined;
|
|
659
661
|
} | {
|
|
660
|
-
value: string | number | boolean |
|
|
662
|
+
value: string | number | boolean | string[] | number[];
|
|
661
663
|
type: "IDImage";
|
|
662
664
|
attribute: string;
|
|
663
665
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
664
666
|
requestId?: number | null | undefined;
|
|
665
667
|
} | {
|
|
666
|
-
value: string | number | boolean |
|
|
668
|
+
value: string | number | boolean | string[] | number[];
|
|
667
669
|
type: "SelfieImage";
|
|
668
670
|
attribute: string;
|
|
669
671
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
670
672
|
requestId?: number | null | undefined;
|
|
671
673
|
} | {
|
|
672
|
-
value: string | number | boolean |
|
|
674
|
+
value: string | number | boolean | string[] | number[];
|
|
673
675
|
type: "ProofOfResidence";
|
|
674
676
|
attribute: string;
|
|
675
677
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -705,25 +707,25 @@ export declare const ExecuteChallengeQueryConfig: z.ZodObject<{
|
|
|
705
707
|
proof?: any;
|
|
706
708
|
}[];
|
|
707
709
|
challengeQuery: {
|
|
708
|
-
value: string | number | boolean |
|
|
710
|
+
value: string | number | boolean | string[] | number[];
|
|
709
711
|
type: "IDInformation";
|
|
710
712
|
attribute: string;
|
|
711
713
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
712
714
|
requestId?: number | null | undefined;
|
|
713
715
|
} | {
|
|
714
|
-
value: string | number | boolean |
|
|
716
|
+
value: string | number | boolean | string[] | number[];
|
|
715
717
|
type: "IDImage";
|
|
716
718
|
attribute: string;
|
|
717
719
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
718
720
|
requestId?: number | null | undefined;
|
|
719
721
|
} | {
|
|
720
|
-
value: string | number | boolean |
|
|
722
|
+
value: string | number | boolean | string[] | number[];
|
|
721
723
|
type: "SelfieImage";
|
|
722
724
|
attribute: string;
|
|
723
725
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
724
726
|
requestId?: number | null | undefined;
|
|
725
727
|
} | {
|
|
726
|
-
value: string | number | boolean |
|
|
728
|
+
value: string | number | boolean | string[] | number[];
|
|
727
729
|
type: "ProofOfResidence";
|
|
728
730
|
attribute: string;
|
|
729
731
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -758,25 +760,25 @@ export declare const ExecuteChallengeQueryConfig: z.ZodObject<{
|
|
|
758
760
|
proof?: any;
|
|
759
761
|
}[];
|
|
760
762
|
challengeQuery: {
|
|
761
|
-
value: string | number | boolean |
|
|
763
|
+
value: string | number | boolean | string[] | number[];
|
|
762
764
|
type: "IDInformation";
|
|
763
765
|
attribute: string;
|
|
764
766
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
765
767
|
requestId?: number | null | undefined;
|
|
766
768
|
} | {
|
|
767
|
-
value: string | number | boolean |
|
|
769
|
+
value: string | number | boolean | string[] | number[];
|
|
768
770
|
type: "IDImage";
|
|
769
771
|
attribute: string;
|
|
770
772
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
771
773
|
requestId?: number | null | undefined;
|
|
772
774
|
} | {
|
|
773
|
-
value: string | number | boolean |
|
|
775
|
+
value: string | number | boolean | string[] | number[];
|
|
774
776
|
type: "SelfieImage";
|
|
775
777
|
attribute: string;
|
|
776
778
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
777
779
|
requestId?: number | null | undefined;
|
|
778
780
|
} | {
|
|
779
|
-
value: string | number | boolean |
|
|
781
|
+
value: string | number | boolean | string[] | number[];
|
|
780
782
|
type: "ProofOfResidence";
|
|
781
783
|
attribute: string;
|
|
782
784
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -901,38 +903,6 @@ export declare const OPAChallengeQuery: z.ZodEffects<z.ZodRecord<z.ZodString, z.
|
|
|
901
903
|
GREATER_THAN_OR_EQUAL_TO?: number | undefined;
|
|
902
904
|
NOT_IN?: string | string[] | number[] | undefined;
|
|
903
905
|
}>>;
|
|
904
|
-
export declare const OnChainRuleResult: z.ZodObject<{
|
|
905
|
-
result: z.ZodObject<{
|
|
906
|
-
is_valid: z.ZodBoolean;
|
|
907
|
-
txHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
|
|
908
|
-
scenarioVerifierAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
|
|
909
|
-
reasons: z.ZodArray<z.ZodString, "many">;
|
|
910
|
-
}, "strip", z.ZodTypeAny, {
|
|
911
|
-
is_valid: boolean;
|
|
912
|
-
reasons: string[];
|
|
913
|
-
txHash: `0x${string}`;
|
|
914
|
-
scenarioVerifierAddress: `0x${string}`;
|
|
915
|
-
}, {
|
|
916
|
-
is_valid: boolean;
|
|
917
|
-
reasons: string[];
|
|
918
|
-
txHash: string;
|
|
919
|
-
scenarioVerifierAddress: string;
|
|
920
|
-
}>;
|
|
921
|
-
}, "strip", z.ZodTypeAny, {
|
|
922
|
-
result: {
|
|
923
|
-
is_valid: boolean;
|
|
924
|
-
reasons: string[];
|
|
925
|
-
txHash: `0x${string}`;
|
|
926
|
-
scenarioVerifierAddress: `0x${string}`;
|
|
927
|
-
};
|
|
928
|
-
}, {
|
|
929
|
-
result: {
|
|
930
|
-
is_valid: boolean;
|
|
931
|
-
reasons: string[];
|
|
932
|
-
txHash: string;
|
|
933
|
-
scenarioVerifierAddress: string;
|
|
934
|
-
};
|
|
935
|
-
}>;
|
|
936
906
|
export declare const OffChainZKPRuleResult: z.ZodObject<{
|
|
937
907
|
result: z.ZodObject<{
|
|
938
908
|
is_valid: z.ZodBoolean;
|
|
@@ -940,16 +910,16 @@ export declare const OffChainZKPRuleResult: z.ZodObject<{
|
|
|
940
910
|
type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
|
|
941
911
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
942
912
|
attribute: z.ZodString;
|
|
943
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
913
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
944
914
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
945
915
|
}, "strip", z.ZodTypeAny, {
|
|
946
|
-
value: string | number | boolean |
|
|
916
|
+
value: string | number | boolean | string[] | number[];
|
|
947
917
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
948
918
|
attribute: string;
|
|
949
919
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
950
920
|
requestId?: number | null | undefined;
|
|
951
921
|
}, {
|
|
952
|
-
value: string | number | boolean |
|
|
922
|
+
value: string | number | boolean | string[] | number[];
|
|
953
923
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
954
924
|
attribute: string;
|
|
955
925
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -958,7 +928,7 @@ export declare const OffChainZKPRuleResult: z.ZodObject<{
|
|
|
958
928
|
reasons: z.ZodArray<z.ZodString, "many">;
|
|
959
929
|
}, "strip", z.ZodTypeAny, {
|
|
960
930
|
query: {
|
|
961
|
-
value: string | number | boolean |
|
|
931
|
+
value: string | number | boolean | string[] | number[];
|
|
962
932
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
963
933
|
attribute: string;
|
|
964
934
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -968,7 +938,7 @@ export declare const OffChainZKPRuleResult: z.ZodObject<{
|
|
|
968
938
|
reasons: string[];
|
|
969
939
|
}, {
|
|
970
940
|
query: {
|
|
971
|
-
value: string | number | boolean |
|
|
941
|
+
value: string | number | boolean | string[] | number[];
|
|
972
942
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
973
943
|
attribute: string;
|
|
974
944
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -980,7 +950,7 @@ export declare const OffChainZKPRuleResult: z.ZodObject<{
|
|
|
980
950
|
}, "strip", z.ZodTypeAny, {
|
|
981
951
|
result: {
|
|
982
952
|
query: {
|
|
983
|
-
value: string | number | boolean |
|
|
953
|
+
value: string | number | boolean | string[] | number[];
|
|
984
954
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
985
955
|
attribute: string;
|
|
986
956
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -992,7 +962,7 @@ export declare const OffChainZKPRuleResult: z.ZodObject<{
|
|
|
992
962
|
}, {
|
|
993
963
|
result: {
|
|
994
964
|
query: {
|
|
995
|
-
value: string | number | boolean |
|
|
965
|
+
value: string | number | boolean | string[] | number[];
|
|
996
966
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
997
967
|
attribute: string;
|
|
998
968
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
@@ -1002,10 +972,8 @@ export declare const OffChainZKPRuleResult: z.ZodObject<{
|
|
|
1002
972
|
reasons: string[];
|
|
1003
973
|
};
|
|
1004
974
|
}>;
|
|
1005
|
-
export type OnChainRuleResult = z.infer<typeof OnChainRuleResult>;
|
|
1006
975
|
export type OffChainZKPRuleResult = z.infer<typeof OffChainZKPRuleResult>;
|
|
1007
976
|
export type ChallengeQueryOperators = z.infer<typeof ChallengeQueryOperators>;
|
|
1008
|
-
export type ChallengeQueryOperator = keyof ChallengeQueryOperators;
|
|
1009
977
|
export type OpaChallengeQueryResponse = z.infer<typeof OpaChallengeQueryResponse>;
|
|
1010
978
|
export type ExecuteChallengeQueryInput = z.infer<typeof ExecuteChallengeQueryInput>;
|
|
1011
979
|
export type OPAChallengeQuery = z.infer<typeof OPAChallengeQuery>;
|
|
@@ -1013,10 +981,10 @@ export type ExecuteChallengeQueryConfig = z.infer<typeof ExecuteChallengeQueryCo
|
|
|
1013
981
|
export type ChallengeQuery = z.infer<typeof ChallengeQuerySchema>;
|
|
1014
982
|
export type ExecuteChallengeQueryResponse = z.infer<typeof ExecuteChallengeQueryResponse>;
|
|
1015
983
|
export declare const SdkVerificationOutput: z.ZodObject<{
|
|
1016
|
-
customerId: z.ZodString
|
|
1017
|
-
scenarioExecutionId: z.ZodString
|
|
1018
|
-
status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]
|
|
1019
|
-
results: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
984
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
985
|
+
scenarioExecutionId: z.ZodOptional<z.ZodString>;
|
|
986
|
+
status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
|
|
987
|
+
results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1020
988
|
objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
|
|
1021
989
|
objectId: z.ZodString;
|
|
1022
990
|
name: z.ZodString;
|
|
@@ -1076,12 +1044,12 @@ export declare const SdkVerificationOutput: z.ZodObject<{
|
|
|
1076
1044
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1077
1045
|
objectId: string;
|
|
1078
1046
|
address?: string | null | undefined;
|
|
1079
|
-
}>, "many">, "many"
|
|
1047
|
+
}>, "many">, "many">>;
|
|
1080
1048
|
}, "strip", z.ZodTypeAny, {
|
|
1081
|
-
status
|
|
1082
|
-
customerId
|
|
1083
|
-
scenarioExecutionId
|
|
1084
|
-
results
|
|
1049
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1050
|
+
customerId?: string | undefined;
|
|
1051
|
+
scenarioExecutionId?: string | undefined;
|
|
1052
|
+
results?: {
|
|
1085
1053
|
name: string;
|
|
1086
1054
|
result: {
|
|
1087
1055
|
result: {
|
|
@@ -1095,12 +1063,12 @@ export declare const SdkVerificationOutput: z.ZodObject<{
|
|
|
1095
1063
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1096
1064
|
objectId: string;
|
|
1097
1065
|
address?: string | null | undefined;
|
|
1098
|
-
}[][];
|
|
1066
|
+
}[][] | undefined;
|
|
1099
1067
|
}, {
|
|
1100
|
-
status
|
|
1101
|
-
customerId
|
|
1102
|
-
scenarioExecutionId
|
|
1103
|
-
results
|
|
1068
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1069
|
+
customerId?: string | undefined;
|
|
1070
|
+
scenarioExecutionId?: string | undefined;
|
|
1071
|
+
results?: {
|
|
1104
1072
|
name: string;
|
|
1105
1073
|
result: {
|
|
1106
1074
|
result: {
|
|
@@ -1114,7 +1082,7 @@ export declare const SdkVerificationOutput: z.ZodObject<{
|
|
|
1114
1082
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1115
1083
|
objectId: string;
|
|
1116
1084
|
address?: string | null | undefined;
|
|
1117
|
-
}[][];
|
|
1085
|
+
}[][] | undefined;
|
|
1118
1086
|
}>;
|
|
1119
1087
|
export type SdkVerificationOutput = z.infer<typeof SdkVerificationOutput>;
|
|
1120
1088
|
export declare const VerificationSessionStatuses: readonly ["IN_PROGRESS", "COMPLETED", "NOT_STARTED"];
|
|
@@ -1123,10 +1091,10 @@ export type VerificationSessionStatus = z.infer<typeof VerificationSessionStatus
|
|
|
1123
1091
|
export declare const VerificationOutput: z.ZodObject<{
|
|
1124
1092
|
id: z.ZodNullable<z.ZodString>;
|
|
1125
1093
|
verificationResult: z.ZodNullable<z.ZodObject<{
|
|
1126
|
-
customerId: z.ZodString
|
|
1127
|
-
scenarioExecutionId: z.ZodString
|
|
1128
|
-
status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]
|
|
1129
|
-
results: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1094
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
1095
|
+
scenarioExecutionId: z.ZodOptional<z.ZodString>;
|
|
1096
|
+
status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
|
|
1097
|
+
results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1130
1098
|
objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
|
|
1131
1099
|
objectId: z.ZodString;
|
|
1132
1100
|
name: z.ZodString;
|
|
@@ -1186,12 +1154,12 @@ export declare const VerificationOutput: z.ZodObject<{
|
|
|
1186
1154
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1187
1155
|
objectId: string;
|
|
1188
1156
|
address?: string | null | undefined;
|
|
1189
|
-
}>, "many">, "many"
|
|
1157
|
+
}>, "many">, "many">>;
|
|
1190
1158
|
}, "strip", z.ZodTypeAny, {
|
|
1191
|
-
status
|
|
1192
|
-
customerId
|
|
1193
|
-
scenarioExecutionId
|
|
1194
|
-
results
|
|
1159
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1160
|
+
customerId?: string | undefined;
|
|
1161
|
+
scenarioExecutionId?: string | undefined;
|
|
1162
|
+
results?: {
|
|
1195
1163
|
name: string;
|
|
1196
1164
|
result: {
|
|
1197
1165
|
result: {
|
|
@@ -1205,12 +1173,12 @@ export declare const VerificationOutput: z.ZodObject<{
|
|
|
1205
1173
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1206
1174
|
objectId: string;
|
|
1207
1175
|
address?: string | null | undefined;
|
|
1208
|
-
}[][];
|
|
1176
|
+
}[][] | undefined;
|
|
1209
1177
|
}, {
|
|
1210
|
-
status
|
|
1211
|
-
customerId
|
|
1212
|
-
scenarioExecutionId
|
|
1213
|
-
results
|
|
1178
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1179
|
+
customerId?: string | undefined;
|
|
1180
|
+
scenarioExecutionId?: string | undefined;
|
|
1181
|
+
results?: {
|
|
1214
1182
|
name: string;
|
|
1215
1183
|
result: {
|
|
1216
1184
|
result: {
|
|
@@ -1224,17 +1192,17 @@ export declare const VerificationOutput: z.ZodObject<{
|
|
|
1224
1192
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1225
1193
|
objectId: string;
|
|
1226
1194
|
address?: string | null | undefined;
|
|
1227
|
-
}[][];
|
|
1195
|
+
}[][] | undefined;
|
|
1228
1196
|
}>>;
|
|
1229
1197
|
status: z.ZodEnum<["IN_PROGRESS", "COMPLETED", "NOT_STARTED"]>;
|
|
1230
1198
|
}, "strip", z.ZodTypeAny, {
|
|
1231
1199
|
id: string | null;
|
|
1232
1200
|
status: "IN_PROGRESS" | "COMPLETED" | "NOT_STARTED";
|
|
1233
1201
|
verificationResult: {
|
|
1234
|
-
status
|
|
1235
|
-
customerId
|
|
1236
|
-
scenarioExecutionId
|
|
1237
|
-
results
|
|
1202
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1203
|
+
customerId?: string | undefined;
|
|
1204
|
+
scenarioExecutionId?: string | undefined;
|
|
1205
|
+
results?: {
|
|
1238
1206
|
name: string;
|
|
1239
1207
|
result: {
|
|
1240
1208
|
result: {
|
|
@@ -1248,16 +1216,16 @@ export declare const VerificationOutput: z.ZodObject<{
|
|
|
1248
1216
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1249
1217
|
objectId: string;
|
|
1250
1218
|
address?: string | null | undefined;
|
|
1251
|
-
}[][];
|
|
1219
|
+
}[][] | undefined;
|
|
1252
1220
|
} | null;
|
|
1253
1221
|
}, {
|
|
1254
1222
|
id: string | null;
|
|
1255
1223
|
status: "IN_PROGRESS" | "COMPLETED" | "NOT_STARTED";
|
|
1256
1224
|
verificationResult: {
|
|
1257
|
-
status
|
|
1258
|
-
customerId
|
|
1259
|
-
scenarioExecutionId
|
|
1260
|
-
results
|
|
1225
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1226
|
+
customerId?: string | undefined;
|
|
1227
|
+
scenarioExecutionId?: string | undefined;
|
|
1228
|
+
results?: {
|
|
1261
1229
|
name: string;
|
|
1262
1230
|
result: {
|
|
1263
1231
|
result: {
|
|
@@ -1271,7 +1239,7 @@ export declare const VerificationOutput: z.ZodObject<{
|
|
|
1271
1239
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1272
1240
|
objectId: string;
|
|
1273
1241
|
address?: string | null | undefined;
|
|
1274
|
-
}[][];
|
|
1242
|
+
}[][] | undefined;
|
|
1275
1243
|
} | null;
|
|
1276
1244
|
}>;
|
|
1277
1245
|
export type VerificationOutput = z.infer<typeof VerificationOutput>;
|