@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
|
@@ -24,21 +24,21 @@ export declare const ScenarioAuthorizationData: z.ZodObject<{
|
|
|
24
24
|
query: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
id: number;
|
|
27
|
-
circuitId: string;
|
|
28
27
|
query: Record<string, any>;
|
|
28
|
+
circuitId: string;
|
|
29
29
|
optional?: boolean | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
id: number;
|
|
32
|
-
circuitId: string;
|
|
33
32
|
query: Record<string, any>;
|
|
33
|
+
circuitId: string;
|
|
34
34
|
optional?: boolean | undefined;
|
|
35
35
|
}>, "many">;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
callbackUrl: string;
|
|
38
38
|
scope: {
|
|
39
39
|
id: number;
|
|
40
|
-
circuitId: string;
|
|
41
40
|
query: Record<string, any>;
|
|
41
|
+
circuitId: string;
|
|
42
42
|
optional?: boolean | undefined;
|
|
43
43
|
}[];
|
|
44
44
|
message?: string | undefined;
|
|
@@ -48,8 +48,8 @@ export declare const ScenarioAuthorizationData: z.ZodObject<{
|
|
|
48
48
|
callbackUrl: string;
|
|
49
49
|
scope: {
|
|
50
50
|
id: number;
|
|
51
|
-
circuitId: string;
|
|
52
51
|
query: Record<string, any>;
|
|
52
|
+
circuitId: string;
|
|
53
53
|
optional?: boolean | undefined;
|
|
54
54
|
}[];
|
|
55
55
|
message?: string | undefined;
|
|
@@ -65,8 +65,8 @@ export declare const ScenarioAuthorizationData: z.ZodObject<{
|
|
|
65
65
|
callbackUrl: string;
|
|
66
66
|
scope: {
|
|
67
67
|
id: number;
|
|
68
|
-
circuitId: string;
|
|
69
68
|
query: Record<string, any>;
|
|
69
|
+
circuitId: string;
|
|
70
70
|
optional?: boolean | undefined;
|
|
71
71
|
}[];
|
|
72
72
|
message?: string | undefined;
|
|
@@ -84,8 +84,8 @@ export declare const ScenarioAuthorizationData: z.ZodObject<{
|
|
|
84
84
|
callbackUrl: string;
|
|
85
85
|
scope: {
|
|
86
86
|
id: number;
|
|
87
|
-
circuitId: string;
|
|
88
87
|
query: Record<string, any>;
|
|
88
|
+
circuitId: string;
|
|
89
89
|
optional?: boolean | undefined;
|
|
90
90
|
}[];
|
|
91
91
|
message?: string | undefined;
|
|
@@ -239,40 +239,40 @@ export declare const ScenarioAuthorizationData: z.ZodObject<{
|
|
|
239
239
|
to?: string | undefined;
|
|
240
240
|
}>>>;
|
|
241
241
|
verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
|
-
query: z.ZodObject<{
|
|
242
|
+
query: z.ZodArray<z.ZodObject<{
|
|
243
243
|
type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
|
|
244
244
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
245
245
|
attribute: z.ZodString;
|
|
246
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
246
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
247
247
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
|
-
value: string | number | boolean |
|
|
249
|
+
value: string | number | boolean | string[] | number[];
|
|
250
250
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
251
251
|
attribute: string;
|
|
252
252
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
253
253
|
requestId?: number | null | undefined;
|
|
254
254
|
}, {
|
|
255
|
-
value: string | number | boolean |
|
|
255
|
+
value: string | number | boolean | string[] | number[];
|
|
256
256
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
257
257
|
attribute: string;
|
|
258
258
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
259
259
|
requestId?: number | null | undefined;
|
|
260
|
-
}>;
|
|
260
|
+
}>, "many">;
|
|
261
261
|
workflowSessionId: z.ZodOptional<z.ZodString>;
|
|
262
262
|
}, "strip", z.ZodTypeAny, {
|
|
263
263
|
status: "pending" | "authorised" | "unauthorised";
|
|
264
|
-
projectId: string;
|
|
265
|
-
executionId: string;
|
|
266
|
-
sessionId: string;
|
|
267
|
-
scenarioId: string;
|
|
268
|
-
scenarioName: string;
|
|
269
264
|
query: {
|
|
270
|
-
value: string | number | boolean |
|
|
265
|
+
value: string | number | boolean | string[] | number[];
|
|
271
266
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
272
267
|
attribute: string;
|
|
273
268
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
274
269
|
requestId?: number | null | undefined;
|
|
275
|
-
};
|
|
270
|
+
}[];
|
|
271
|
+
projectId: string;
|
|
272
|
+
executionId: string;
|
|
273
|
+
sessionId: string;
|
|
274
|
+
scenarioId: string;
|
|
275
|
+
scenarioName: string;
|
|
276
276
|
requestMessage: {
|
|
277
277
|
id: string;
|
|
278
278
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -280,8 +280,8 @@ export declare const ScenarioAuthorizationData: z.ZodObject<{
|
|
|
280
280
|
callbackUrl: string;
|
|
281
281
|
scope: {
|
|
282
282
|
id: number;
|
|
283
|
-
circuitId: string;
|
|
284
283
|
query: Record<string, any>;
|
|
284
|
+
circuitId: string;
|
|
285
285
|
optional?: boolean | undefined;
|
|
286
286
|
}[];
|
|
287
287
|
message?: string | undefined;
|
|
@@ -323,18 +323,18 @@ export declare const ScenarioAuthorizationData: z.ZodObject<{
|
|
|
323
323
|
workflowSessionId?: string | undefined;
|
|
324
324
|
}, {
|
|
325
325
|
status: "pending" | "authorised" | "unauthorised";
|
|
326
|
-
projectId: string;
|
|
327
|
-
executionId: string;
|
|
328
|
-
sessionId: string;
|
|
329
|
-
scenarioId: string;
|
|
330
|
-
scenarioName: string;
|
|
331
326
|
query: {
|
|
332
|
-
value: string | number | boolean |
|
|
327
|
+
value: string | number | boolean | string[] | number[];
|
|
333
328
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
334
329
|
attribute: string;
|
|
335
330
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
336
331
|
requestId?: number | null | undefined;
|
|
337
|
-
};
|
|
332
|
+
}[];
|
|
333
|
+
projectId: string;
|
|
334
|
+
executionId: string;
|
|
335
|
+
sessionId: string;
|
|
336
|
+
scenarioId: string;
|
|
337
|
+
scenarioName: string;
|
|
338
338
|
requestMessage: {
|
|
339
339
|
id: string;
|
|
340
340
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -342,8 +342,8 @@ export declare const ScenarioAuthorizationData: z.ZodObject<{
|
|
|
342
342
|
callbackUrl: string;
|
|
343
343
|
scope: {
|
|
344
344
|
id: number;
|
|
345
|
-
circuitId: string;
|
|
346
345
|
query: Record<string, any>;
|
|
346
|
+
circuitId: string;
|
|
347
347
|
optional?: boolean | undefined;
|
|
348
348
|
}[];
|
|
349
349
|
message?: string | undefined;
|
|
@@ -386,10 +386,10 @@ export declare const ScenarioAuthorizationData: z.ZodObject<{
|
|
|
386
386
|
}>;
|
|
387
387
|
export type ScenarioAuthorizationData = z.infer<typeof ScenarioAuthorizationData>;
|
|
388
388
|
export declare const SdkVerificationResponseSchema: z.ZodObject<{
|
|
389
|
-
customerId: z.ZodString
|
|
390
|
-
scenarioExecutionId: z.ZodString
|
|
391
|
-
status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]
|
|
392
|
-
results: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
389
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
390
|
+
scenarioExecutionId: z.ZodOptional<z.ZodString>;
|
|
391
|
+
status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
|
|
392
|
+
results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
393
393
|
objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
|
|
394
394
|
objectId: z.ZodString;
|
|
395
395
|
name: z.ZodString;
|
|
@@ -449,12 +449,12 @@ export declare const SdkVerificationResponseSchema: z.ZodObject<{
|
|
|
449
449
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
450
450
|
objectId: string;
|
|
451
451
|
address?: string | null | undefined;
|
|
452
|
-
}>, "many">, "many"
|
|
452
|
+
}>, "many">, "many">>;
|
|
453
453
|
}, "strip", z.ZodTypeAny, {
|
|
454
|
-
status
|
|
455
|
-
customerId
|
|
456
|
-
scenarioExecutionId
|
|
457
|
-
results
|
|
454
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
455
|
+
customerId?: string | undefined;
|
|
456
|
+
scenarioExecutionId?: string | undefined;
|
|
457
|
+
results?: {
|
|
458
458
|
name: string;
|
|
459
459
|
result: {
|
|
460
460
|
result: {
|
|
@@ -468,12 +468,12 @@ export declare const SdkVerificationResponseSchema: z.ZodObject<{
|
|
|
468
468
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
469
469
|
objectId: string;
|
|
470
470
|
address?: string | null | undefined;
|
|
471
|
-
}[][];
|
|
471
|
+
}[][] | undefined;
|
|
472
472
|
}, {
|
|
473
|
-
status
|
|
474
|
-
customerId
|
|
475
|
-
scenarioExecutionId
|
|
476
|
-
results
|
|
473
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
474
|
+
customerId?: string | undefined;
|
|
475
|
+
scenarioExecutionId?: string | undefined;
|
|
476
|
+
results?: {
|
|
477
477
|
name: string;
|
|
478
478
|
result: {
|
|
479
479
|
result: {
|
|
@@ -487,7 +487,7 @@ export declare const SdkVerificationResponseSchema: z.ZodObject<{
|
|
|
487
487
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
488
488
|
objectId: string;
|
|
489
489
|
address?: string | null | undefined;
|
|
490
|
-
}[][];
|
|
490
|
+
}[][] | undefined;
|
|
491
491
|
}>;
|
|
492
492
|
export type SdkVerificationResponseSchema = z.infer<typeof SdkVerificationResponseSchema>;
|
|
493
493
|
export declare const CloseScreenNotification: z.ZodObject<{
|
|
@@ -552,10 +552,10 @@ export declare const KycCompletionNotification: z.ZodObject<{
|
|
|
552
552
|
export declare const RuleEngineScenarioExecutionData: z.ZodObject<{
|
|
553
553
|
type: z.ZodLiteral<"RuleEngineScenarioExecution">;
|
|
554
554
|
data: z.ZodObject<{
|
|
555
|
-
customerId: z.ZodString
|
|
556
|
-
scenarioExecutionId: z.ZodString
|
|
557
|
-
status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]
|
|
558
|
-
results: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
555
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
556
|
+
scenarioExecutionId: z.ZodOptional<z.ZodString>;
|
|
557
|
+
status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
|
|
558
|
+
results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
559
559
|
objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
|
|
560
560
|
objectId: z.ZodString;
|
|
561
561
|
name: z.ZodString;
|
|
@@ -615,12 +615,12 @@ export declare const RuleEngineScenarioExecutionData: z.ZodObject<{
|
|
|
615
615
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
616
616
|
objectId: string;
|
|
617
617
|
address?: string | null | undefined;
|
|
618
|
-
}>, "many">, "many"
|
|
618
|
+
}>, "many">, "many">>;
|
|
619
619
|
}, "strip", z.ZodTypeAny, {
|
|
620
|
-
status
|
|
621
|
-
customerId
|
|
622
|
-
scenarioExecutionId
|
|
623
|
-
results
|
|
620
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
621
|
+
customerId?: string | undefined;
|
|
622
|
+
scenarioExecutionId?: string | undefined;
|
|
623
|
+
results?: {
|
|
624
624
|
name: string;
|
|
625
625
|
result: {
|
|
626
626
|
result: {
|
|
@@ -634,12 +634,12 @@ export declare const RuleEngineScenarioExecutionData: z.ZodObject<{
|
|
|
634
634
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
635
635
|
objectId: string;
|
|
636
636
|
address?: string | null | undefined;
|
|
637
|
-
}[][];
|
|
637
|
+
}[][] | undefined;
|
|
638
638
|
}, {
|
|
639
|
-
status
|
|
640
|
-
customerId
|
|
641
|
-
scenarioExecutionId
|
|
642
|
-
results
|
|
639
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
640
|
+
customerId?: string | undefined;
|
|
641
|
+
scenarioExecutionId?: string | undefined;
|
|
642
|
+
results?: {
|
|
643
643
|
name: string;
|
|
644
644
|
result: {
|
|
645
645
|
result: {
|
|
@@ -653,15 +653,15 @@ export declare const RuleEngineScenarioExecutionData: z.ZodObject<{
|
|
|
653
653
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
654
654
|
objectId: string;
|
|
655
655
|
address?: string | null | undefined;
|
|
656
|
-
}[][];
|
|
656
|
+
}[][] | undefined;
|
|
657
657
|
}>;
|
|
658
658
|
}, "strip", z.ZodTypeAny, {
|
|
659
659
|
type: "RuleEngineScenarioExecution";
|
|
660
660
|
data: {
|
|
661
|
-
status
|
|
662
|
-
customerId
|
|
663
|
-
scenarioExecutionId
|
|
664
|
-
results
|
|
661
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
662
|
+
customerId?: string | undefined;
|
|
663
|
+
scenarioExecutionId?: string | undefined;
|
|
664
|
+
results?: {
|
|
665
665
|
name: string;
|
|
666
666
|
result: {
|
|
667
667
|
result: {
|
|
@@ -675,15 +675,15 @@ export declare const RuleEngineScenarioExecutionData: z.ZodObject<{
|
|
|
675
675
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
676
676
|
objectId: string;
|
|
677
677
|
address?: string | null | undefined;
|
|
678
|
-
}[][];
|
|
678
|
+
}[][] | undefined;
|
|
679
679
|
};
|
|
680
680
|
}, {
|
|
681
681
|
type: "RuleEngineScenarioExecution";
|
|
682
682
|
data: {
|
|
683
|
-
status
|
|
684
|
-
customerId
|
|
685
|
-
scenarioExecutionId
|
|
686
|
-
results
|
|
683
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
684
|
+
customerId?: string | undefined;
|
|
685
|
+
scenarioExecutionId?: string | undefined;
|
|
686
|
+
results?: {
|
|
687
687
|
name: string;
|
|
688
688
|
result: {
|
|
689
689
|
result: {
|
|
@@ -697,7 +697,7 @@ export declare const RuleEngineScenarioExecutionData: z.ZodObject<{
|
|
|
697
697
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
698
698
|
objectId: string;
|
|
699
699
|
address?: string | null | undefined;
|
|
700
|
-
}[][];
|
|
700
|
+
}[][] | undefined;
|
|
701
701
|
};
|
|
702
702
|
}>;
|
|
703
703
|
export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
@@ -727,21 +727,21 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
727
727
|
query: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
729
|
id: number;
|
|
730
|
-
circuitId: string;
|
|
731
730
|
query: Record<string, any>;
|
|
731
|
+
circuitId: string;
|
|
732
732
|
optional?: boolean | undefined;
|
|
733
733
|
}, {
|
|
734
734
|
id: number;
|
|
735
|
-
circuitId: string;
|
|
736
735
|
query: Record<string, any>;
|
|
736
|
+
circuitId: string;
|
|
737
737
|
optional?: boolean | undefined;
|
|
738
738
|
}>, "many">;
|
|
739
739
|
}, "strip", z.ZodTypeAny, {
|
|
740
740
|
callbackUrl: string;
|
|
741
741
|
scope: {
|
|
742
742
|
id: number;
|
|
743
|
-
circuitId: string;
|
|
744
743
|
query: Record<string, any>;
|
|
744
|
+
circuitId: string;
|
|
745
745
|
optional?: boolean | undefined;
|
|
746
746
|
}[];
|
|
747
747
|
message?: string | undefined;
|
|
@@ -751,8 +751,8 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
751
751
|
callbackUrl: string;
|
|
752
752
|
scope: {
|
|
753
753
|
id: number;
|
|
754
|
-
circuitId: string;
|
|
755
754
|
query: Record<string, any>;
|
|
755
|
+
circuitId: string;
|
|
756
756
|
optional?: boolean | undefined;
|
|
757
757
|
}[];
|
|
758
758
|
message?: string | undefined;
|
|
@@ -768,8 +768,8 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
768
768
|
callbackUrl: string;
|
|
769
769
|
scope: {
|
|
770
770
|
id: number;
|
|
771
|
-
circuitId: string;
|
|
772
771
|
query: Record<string, any>;
|
|
772
|
+
circuitId: string;
|
|
773
773
|
optional?: boolean | undefined;
|
|
774
774
|
}[];
|
|
775
775
|
message?: string | undefined;
|
|
@@ -787,8 +787,8 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
787
787
|
callbackUrl: string;
|
|
788
788
|
scope: {
|
|
789
789
|
id: number;
|
|
790
|
-
circuitId: string;
|
|
791
790
|
query: Record<string, any>;
|
|
791
|
+
circuitId: string;
|
|
792
792
|
optional?: boolean | undefined;
|
|
793
793
|
}[];
|
|
794
794
|
message?: string | undefined;
|
|
@@ -942,40 +942,40 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
942
942
|
to?: string | undefined;
|
|
943
943
|
}>>>;
|
|
944
944
|
verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
945
|
-
query: z.ZodObject<{
|
|
945
|
+
query: z.ZodArray<z.ZodObject<{
|
|
946
946
|
type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
|
|
947
947
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
948
948
|
attribute: z.ZodString;
|
|
949
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
949
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
950
950
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
951
951
|
}, "strip", z.ZodTypeAny, {
|
|
952
|
-
value: string | number | boolean |
|
|
952
|
+
value: string | number | boolean | string[] | number[];
|
|
953
953
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
954
954
|
attribute: string;
|
|
955
955
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
956
956
|
requestId?: number | null | undefined;
|
|
957
957
|
}, {
|
|
958
|
-
value: string | number | boolean |
|
|
958
|
+
value: string | number | boolean | string[] | number[];
|
|
959
959
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
960
960
|
attribute: string;
|
|
961
961
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
962
962
|
requestId?: number | null | undefined;
|
|
963
|
-
}>;
|
|
963
|
+
}>, "many">;
|
|
964
964
|
workflowSessionId: z.ZodOptional<z.ZodString>;
|
|
965
965
|
}, "strip", z.ZodTypeAny, {
|
|
966
966
|
status: "pending" | "authorised" | "unauthorised";
|
|
967
|
-
projectId: string;
|
|
968
|
-
executionId: string;
|
|
969
|
-
sessionId: string;
|
|
970
|
-
scenarioId: string;
|
|
971
|
-
scenarioName: string;
|
|
972
967
|
query: {
|
|
973
|
-
value: string | number | boolean |
|
|
968
|
+
value: string | number | boolean | string[] | number[];
|
|
974
969
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
975
970
|
attribute: string;
|
|
976
971
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
977
972
|
requestId?: number | null | undefined;
|
|
978
|
-
};
|
|
973
|
+
}[];
|
|
974
|
+
projectId: string;
|
|
975
|
+
executionId: string;
|
|
976
|
+
sessionId: string;
|
|
977
|
+
scenarioId: string;
|
|
978
|
+
scenarioName: string;
|
|
979
979
|
requestMessage: {
|
|
980
980
|
id: string;
|
|
981
981
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -983,8 +983,8 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
983
983
|
callbackUrl: string;
|
|
984
984
|
scope: {
|
|
985
985
|
id: number;
|
|
986
|
-
circuitId: string;
|
|
987
986
|
query: Record<string, any>;
|
|
987
|
+
circuitId: string;
|
|
988
988
|
optional?: boolean | undefined;
|
|
989
989
|
}[];
|
|
990
990
|
message?: string | undefined;
|
|
@@ -1026,18 +1026,18 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
1026
1026
|
workflowSessionId?: string | undefined;
|
|
1027
1027
|
}, {
|
|
1028
1028
|
status: "pending" | "authorised" | "unauthorised";
|
|
1029
|
-
projectId: string;
|
|
1030
|
-
executionId: string;
|
|
1031
|
-
sessionId: string;
|
|
1032
|
-
scenarioId: string;
|
|
1033
|
-
scenarioName: string;
|
|
1034
1029
|
query: {
|
|
1035
|
-
value: string | number | boolean |
|
|
1030
|
+
value: string | number | boolean | string[] | number[];
|
|
1036
1031
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
1037
1032
|
attribute: string;
|
|
1038
1033
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
1039
1034
|
requestId?: number | null | undefined;
|
|
1040
|
-
};
|
|
1035
|
+
}[];
|
|
1036
|
+
projectId: string;
|
|
1037
|
+
executionId: string;
|
|
1038
|
+
sessionId: string;
|
|
1039
|
+
scenarioId: string;
|
|
1040
|
+
scenarioName: string;
|
|
1041
1041
|
requestMessage: {
|
|
1042
1042
|
id: string;
|
|
1043
1043
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -1045,8 +1045,8 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
1045
1045
|
callbackUrl: string;
|
|
1046
1046
|
scope: {
|
|
1047
1047
|
id: number;
|
|
1048
|
-
circuitId: string;
|
|
1049
1048
|
query: Record<string, any>;
|
|
1049
|
+
circuitId: string;
|
|
1050
1050
|
optional?: boolean | undefined;
|
|
1051
1051
|
}[];
|
|
1052
1052
|
message?: string | undefined;
|
|
@@ -1091,18 +1091,18 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
1091
1091
|
type: "OffChainScenarioExecution";
|
|
1092
1092
|
data: {
|
|
1093
1093
|
status: "pending" | "authorised" | "unauthorised";
|
|
1094
|
-
projectId: string;
|
|
1095
|
-
executionId: string;
|
|
1096
|
-
sessionId: string;
|
|
1097
|
-
scenarioId: string;
|
|
1098
|
-
scenarioName: string;
|
|
1099
1094
|
query: {
|
|
1100
|
-
value: string | number | boolean |
|
|
1095
|
+
value: string | number | boolean | string[] | number[];
|
|
1101
1096
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
1102
1097
|
attribute: string;
|
|
1103
1098
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
1104
1099
|
requestId?: number | null | undefined;
|
|
1105
|
-
};
|
|
1100
|
+
}[];
|
|
1101
|
+
projectId: string;
|
|
1102
|
+
executionId: string;
|
|
1103
|
+
sessionId: string;
|
|
1104
|
+
scenarioId: string;
|
|
1105
|
+
scenarioName: string;
|
|
1106
1106
|
requestMessage: {
|
|
1107
1107
|
id: string;
|
|
1108
1108
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -1110,8 +1110,8 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
1110
1110
|
callbackUrl: string;
|
|
1111
1111
|
scope: {
|
|
1112
1112
|
id: number;
|
|
1113
|
-
circuitId: string;
|
|
1114
1113
|
query: Record<string, any>;
|
|
1114
|
+
circuitId: string;
|
|
1115
1115
|
optional?: boolean | undefined;
|
|
1116
1116
|
}[];
|
|
1117
1117
|
message?: string | undefined;
|
|
@@ -1156,18 +1156,18 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
1156
1156
|
type: "OffChainScenarioExecution";
|
|
1157
1157
|
data: {
|
|
1158
1158
|
status: "pending" | "authorised" | "unauthorised";
|
|
1159
|
-
projectId: string;
|
|
1160
|
-
executionId: string;
|
|
1161
|
-
sessionId: string;
|
|
1162
|
-
scenarioId: string;
|
|
1163
|
-
scenarioName: string;
|
|
1164
1159
|
query: {
|
|
1165
|
-
value: string | number | boolean |
|
|
1160
|
+
value: string | number | boolean | string[] | number[];
|
|
1166
1161
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
1167
1162
|
attribute: string;
|
|
1168
1163
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
1169
1164
|
requestId?: number | null | undefined;
|
|
1170
|
-
};
|
|
1165
|
+
}[];
|
|
1166
|
+
projectId: string;
|
|
1167
|
+
executionId: string;
|
|
1168
|
+
sessionId: string;
|
|
1169
|
+
scenarioId: string;
|
|
1170
|
+
scenarioName: string;
|
|
1171
1171
|
requestMessage: {
|
|
1172
1172
|
id: string;
|
|
1173
1173
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -1175,8 +1175,8 @@ export declare const OffChainScenarioExecutionData: z.ZodObject<{
|
|
|
1175
1175
|
callbackUrl: string;
|
|
1176
1176
|
scope: {
|
|
1177
1177
|
id: number;
|
|
1178
|
-
circuitId: string;
|
|
1179
1178
|
query: Record<string, any>;
|
|
1179
|
+
circuitId: string;
|
|
1180
1180
|
optional?: boolean | undefined;
|
|
1181
1181
|
}[];
|
|
1182
1182
|
message?: string | undefined;
|
|
@@ -1231,10 +1231,10 @@ export declare const OnChainScenarioExecutionData: z.ZodObject<{
|
|
|
1231
1231
|
export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
1232
1232
|
type: z.ZodLiteral<"RuleEngineScenarioExecution">;
|
|
1233
1233
|
data: z.ZodObject<{
|
|
1234
|
-
customerId: z.ZodString
|
|
1235
|
-
scenarioExecutionId: z.ZodString
|
|
1236
|
-
status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]
|
|
1237
|
-
results: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1234
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
scenarioExecutionId: z.ZodOptional<z.ZodString>;
|
|
1236
|
+
status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
|
|
1237
|
+
results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1238
1238
|
objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
|
|
1239
1239
|
objectId: z.ZodString;
|
|
1240
1240
|
name: z.ZodString;
|
|
@@ -1294,12 +1294,12 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1294
1294
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1295
1295
|
objectId: string;
|
|
1296
1296
|
address?: string | null | undefined;
|
|
1297
|
-
}>, "many">, "many"
|
|
1297
|
+
}>, "many">, "many">>;
|
|
1298
1298
|
}, "strip", z.ZodTypeAny, {
|
|
1299
|
-
status
|
|
1300
|
-
customerId
|
|
1301
|
-
scenarioExecutionId
|
|
1302
|
-
results
|
|
1299
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1300
|
+
customerId?: string | undefined;
|
|
1301
|
+
scenarioExecutionId?: string | undefined;
|
|
1302
|
+
results?: {
|
|
1303
1303
|
name: string;
|
|
1304
1304
|
result: {
|
|
1305
1305
|
result: {
|
|
@@ -1313,12 +1313,12 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1313
1313
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1314
1314
|
objectId: string;
|
|
1315
1315
|
address?: string | null | undefined;
|
|
1316
|
-
}[][];
|
|
1316
|
+
}[][] | undefined;
|
|
1317
1317
|
}, {
|
|
1318
|
-
status
|
|
1319
|
-
customerId
|
|
1320
|
-
scenarioExecutionId
|
|
1321
|
-
results
|
|
1318
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1319
|
+
customerId?: string | undefined;
|
|
1320
|
+
scenarioExecutionId?: string | undefined;
|
|
1321
|
+
results?: {
|
|
1322
1322
|
name: string;
|
|
1323
1323
|
result: {
|
|
1324
1324
|
result: {
|
|
@@ -1332,15 +1332,15 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1332
1332
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1333
1333
|
objectId: string;
|
|
1334
1334
|
address?: string | null | undefined;
|
|
1335
|
-
}[][];
|
|
1335
|
+
}[][] | undefined;
|
|
1336
1336
|
}>;
|
|
1337
1337
|
}, "strip", z.ZodTypeAny, {
|
|
1338
1338
|
type: "RuleEngineScenarioExecution";
|
|
1339
1339
|
data: {
|
|
1340
|
-
status
|
|
1341
|
-
customerId
|
|
1342
|
-
scenarioExecutionId
|
|
1343
|
-
results
|
|
1340
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1341
|
+
customerId?: string | undefined;
|
|
1342
|
+
scenarioExecutionId?: string | undefined;
|
|
1343
|
+
results?: {
|
|
1344
1344
|
name: string;
|
|
1345
1345
|
result: {
|
|
1346
1346
|
result: {
|
|
@@ -1354,15 +1354,15 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1354
1354
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1355
1355
|
objectId: string;
|
|
1356
1356
|
address?: string | null | undefined;
|
|
1357
|
-
}[][];
|
|
1357
|
+
}[][] | undefined;
|
|
1358
1358
|
};
|
|
1359
1359
|
}, {
|
|
1360
1360
|
type: "RuleEngineScenarioExecution";
|
|
1361
1361
|
data: {
|
|
1362
|
-
status
|
|
1363
|
-
customerId
|
|
1364
|
-
scenarioExecutionId
|
|
1365
|
-
results
|
|
1362
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1363
|
+
customerId?: string | undefined;
|
|
1364
|
+
scenarioExecutionId?: string | undefined;
|
|
1365
|
+
results?: {
|
|
1366
1366
|
name: string;
|
|
1367
1367
|
result: {
|
|
1368
1368
|
result: {
|
|
@@ -1376,7 +1376,7 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1376
1376
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1377
1377
|
objectId: string;
|
|
1378
1378
|
address?: string | null | undefined;
|
|
1379
|
-
}[][];
|
|
1379
|
+
}[][] | undefined;
|
|
1380
1380
|
};
|
|
1381
1381
|
}>, z.ZodObject<{
|
|
1382
1382
|
type: z.ZodLiteral<"OffChainScenarioExecution">;
|
|
@@ -1405,21 +1405,21 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1405
1405
|
query: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1406
1406
|
}, "strip", z.ZodTypeAny, {
|
|
1407
1407
|
id: number;
|
|
1408
|
-
circuitId: string;
|
|
1409
1408
|
query: Record<string, any>;
|
|
1409
|
+
circuitId: string;
|
|
1410
1410
|
optional?: boolean | undefined;
|
|
1411
1411
|
}, {
|
|
1412
1412
|
id: number;
|
|
1413
|
-
circuitId: string;
|
|
1414
1413
|
query: Record<string, any>;
|
|
1414
|
+
circuitId: string;
|
|
1415
1415
|
optional?: boolean | undefined;
|
|
1416
1416
|
}>, "many">;
|
|
1417
1417
|
}, "strip", z.ZodTypeAny, {
|
|
1418
1418
|
callbackUrl: string;
|
|
1419
1419
|
scope: {
|
|
1420
1420
|
id: number;
|
|
1421
|
-
circuitId: string;
|
|
1422
1421
|
query: Record<string, any>;
|
|
1422
|
+
circuitId: string;
|
|
1423
1423
|
optional?: boolean | undefined;
|
|
1424
1424
|
}[];
|
|
1425
1425
|
message?: string | undefined;
|
|
@@ -1429,8 +1429,8 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1429
1429
|
callbackUrl: string;
|
|
1430
1430
|
scope: {
|
|
1431
1431
|
id: number;
|
|
1432
|
-
circuitId: string;
|
|
1433
1432
|
query: Record<string, any>;
|
|
1433
|
+
circuitId: string;
|
|
1434
1434
|
optional?: boolean | undefined;
|
|
1435
1435
|
}[];
|
|
1436
1436
|
message?: string | undefined;
|
|
@@ -1446,8 +1446,8 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1446
1446
|
callbackUrl: string;
|
|
1447
1447
|
scope: {
|
|
1448
1448
|
id: number;
|
|
1449
|
-
circuitId: string;
|
|
1450
1449
|
query: Record<string, any>;
|
|
1450
|
+
circuitId: string;
|
|
1451
1451
|
optional?: boolean | undefined;
|
|
1452
1452
|
}[];
|
|
1453
1453
|
message?: string | undefined;
|
|
@@ -1465,8 +1465,8 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1465
1465
|
callbackUrl: string;
|
|
1466
1466
|
scope: {
|
|
1467
1467
|
id: number;
|
|
1468
|
-
circuitId: string;
|
|
1469
1468
|
query: Record<string, any>;
|
|
1469
|
+
circuitId: string;
|
|
1470
1470
|
optional?: boolean | undefined;
|
|
1471
1471
|
}[];
|
|
1472
1472
|
message?: string | undefined;
|
|
@@ -1620,40 +1620,40 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1620
1620
|
to?: string | undefined;
|
|
1621
1621
|
}>>>;
|
|
1622
1622
|
verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1623
|
-
query: z.ZodObject<{
|
|
1623
|
+
query: z.ZodArray<z.ZodObject<{
|
|
1624
1624
|
type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
|
|
1625
1625
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1626
1626
|
attribute: z.ZodString;
|
|
1627
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
1627
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
1628
1628
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
1629
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1630
|
-
value: string | number | boolean |
|
|
1630
|
+
value: string | number | boolean | string[] | number[];
|
|
1631
1631
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
1632
1632
|
attribute: string;
|
|
1633
1633
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
1634
1634
|
requestId?: number | null | undefined;
|
|
1635
1635
|
}, {
|
|
1636
|
-
value: string | number | boolean |
|
|
1636
|
+
value: string | number | boolean | string[] | number[];
|
|
1637
1637
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
1638
1638
|
attribute: string;
|
|
1639
1639
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
1640
1640
|
requestId?: number | null | undefined;
|
|
1641
|
-
}>;
|
|
1641
|
+
}>, "many">;
|
|
1642
1642
|
workflowSessionId: z.ZodOptional<z.ZodString>;
|
|
1643
1643
|
}, "strip", z.ZodTypeAny, {
|
|
1644
1644
|
status: "pending" | "authorised" | "unauthorised";
|
|
1645
|
-
projectId: string;
|
|
1646
|
-
executionId: string;
|
|
1647
|
-
sessionId: string;
|
|
1648
|
-
scenarioId: string;
|
|
1649
|
-
scenarioName: string;
|
|
1650
1645
|
query: {
|
|
1651
|
-
value: string | number | boolean |
|
|
1646
|
+
value: string | number | boolean | string[] | number[];
|
|
1652
1647
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
1653
1648
|
attribute: string;
|
|
1654
1649
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
1655
1650
|
requestId?: number | null | undefined;
|
|
1656
|
-
};
|
|
1651
|
+
}[];
|
|
1652
|
+
projectId: string;
|
|
1653
|
+
executionId: string;
|
|
1654
|
+
sessionId: string;
|
|
1655
|
+
scenarioId: string;
|
|
1656
|
+
scenarioName: string;
|
|
1657
1657
|
requestMessage: {
|
|
1658
1658
|
id: string;
|
|
1659
1659
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -1661,8 +1661,8 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1661
1661
|
callbackUrl: string;
|
|
1662
1662
|
scope: {
|
|
1663
1663
|
id: number;
|
|
1664
|
-
circuitId: string;
|
|
1665
1664
|
query: Record<string, any>;
|
|
1665
|
+
circuitId: string;
|
|
1666
1666
|
optional?: boolean | undefined;
|
|
1667
1667
|
}[];
|
|
1668
1668
|
message?: string | undefined;
|
|
@@ -1704,18 +1704,18 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1704
1704
|
workflowSessionId?: string | undefined;
|
|
1705
1705
|
}, {
|
|
1706
1706
|
status: "pending" | "authorised" | "unauthorised";
|
|
1707
|
-
projectId: string;
|
|
1708
|
-
executionId: string;
|
|
1709
|
-
sessionId: string;
|
|
1710
|
-
scenarioId: string;
|
|
1711
|
-
scenarioName: string;
|
|
1712
1707
|
query: {
|
|
1713
|
-
value: string | number | boolean |
|
|
1708
|
+
value: string | number | boolean | string[] | number[];
|
|
1714
1709
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
1715
1710
|
attribute: string;
|
|
1716
1711
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
1717
1712
|
requestId?: number | null | undefined;
|
|
1718
|
-
};
|
|
1713
|
+
}[];
|
|
1714
|
+
projectId: string;
|
|
1715
|
+
executionId: string;
|
|
1716
|
+
sessionId: string;
|
|
1717
|
+
scenarioId: string;
|
|
1718
|
+
scenarioName: string;
|
|
1719
1719
|
requestMessage: {
|
|
1720
1720
|
id: string;
|
|
1721
1721
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -1723,8 +1723,8 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1723
1723
|
callbackUrl: string;
|
|
1724
1724
|
scope: {
|
|
1725
1725
|
id: number;
|
|
1726
|
-
circuitId: string;
|
|
1727
1726
|
query: Record<string, any>;
|
|
1727
|
+
circuitId: string;
|
|
1728
1728
|
optional?: boolean | undefined;
|
|
1729
1729
|
}[];
|
|
1730
1730
|
message?: string | undefined;
|
|
@@ -1769,18 +1769,18 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1769
1769
|
type: "OffChainScenarioExecution";
|
|
1770
1770
|
data: {
|
|
1771
1771
|
status: "pending" | "authorised" | "unauthorised";
|
|
1772
|
-
projectId: string;
|
|
1773
|
-
executionId: string;
|
|
1774
|
-
sessionId: string;
|
|
1775
|
-
scenarioId: string;
|
|
1776
|
-
scenarioName: string;
|
|
1777
1772
|
query: {
|
|
1778
|
-
value: string | number | boolean |
|
|
1773
|
+
value: string | number | boolean | string[] | number[];
|
|
1779
1774
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
1780
1775
|
attribute: string;
|
|
1781
1776
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
1782
1777
|
requestId?: number | null | undefined;
|
|
1783
|
-
};
|
|
1778
|
+
}[];
|
|
1779
|
+
projectId: string;
|
|
1780
|
+
executionId: string;
|
|
1781
|
+
sessionId: string;
|
|
1782
|
+
scenarioId: string;
|
|
1783
|
+
scenarioName: string;
|
|
1784
1784
|
requestMessage: {
|
|
1785
1785
|
id: string;
|
|
1786
1786
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -1788,8 +1788,8 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1788
1788
|
callbackUrl: string;
|
|
1789
1789
|
scope: {
|
|
1790
1790
|
id: number;
|
|
1791
|
-
circuitId: string;
|
|
1792
1791
|
query: Record<string, any>;
|
|
1792
|
+
circuitId: string;
|
|
1793
1793
|
optional?: boolean | undefined;
|
|
1794
1794
|
}[];
|
|
1795
1795
|
message?: string | undefined;
|
|
@@ -1834,18 +1834,18 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1834
1834
|
type: "OffChainScenarioExecution";
|
|
1835
1835
|
data: {
|
|
1836
1836
|
status: "pending" | "authorised" | "unauthorised";
|
|
1837
|
-
projectId: string;
|
|
1838
|
-
executionId: string;
|
|
1839
|
-
sessionId: string;
|
|
1840
|
-
scenarioId: string;
|
|
1841
|
-
scenarioName: string;
|
|
1842
1837
|
query: {
|
|
1843
|
-
value: string | number | boolean |
|
|
1838
|
+
value: string | number | boolean | string[] | number[];
|
|
1844
1839
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
1845
1840
|
attribute: string;
|
|
1846
1841
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
1847
1842
|
requestId?: number | null | undefined;
|
|
1848
|
-
};
|
|
1843
|
+
}[];
|
|
1844
|
+
projectId: string;
|
|
1845
|
+
executionId: string;
|
|
1846
|
+
sessionId: string;
|
|
1847
|
+
scenarioId: string;
|
|
1848
|
+
scenarioName: string;
|
|
1849
1849
|
requestMessage: {
|
|
1850
1850
|
id: string;
|
|
1851
1851
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -1853,8 +1853,8 @@ export declare const ScenarioExecutionData: z.ZodUnion<[z.ZodObject<{
|
|
|
1853
1853
|
callbackUrl: string;
|
|
1854
1854
|
scope: {
|
|
1855
1855
|
id: number;
|
|
1856
|
-
circuitId: string;
|
|
1857
1856
|
query: Record<string, any>;
|
|
1857
|
+
circuitId: string;
|
|
1858
1858
|
optional?: boolean | undefined;
|
|
1859
1859
|
}[];
|
|
1860
1860
|
message?: string | undefined;
|
|
@@ -1911,10 +1911,10 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
1911
1911
|
data: z.ZodUnion<[z.ZodObject<{
|
|
1912
1912
|
type: z.ZodLiteral<"RuleEngineScenarioExecution">;
|
|
1913
1913
|
data: z.ZodObject<{
|
|
1914
|
-
customerId: z.ZodString
|
|
1915
|
-
scenarioExecutionId: z.ZodString
|
|
1916
|
-
status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]
|
|
1917
|
-
results: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1914
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
1915
|
+
scenarioExecutionId: z.ZodOptional<z.ZodString>;
|
|
1916
|
+
status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
|
|
1917
|
+
results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1918
1918
|
objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
|
|
1919
1919
|
objectId: z.ZodString;
|
|
1920
1920
|
name: z.ZodString;
|
|
@@ -1974,12 +1974,12 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
1974
1974
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1975
1975
|
objectId: string;
|
|
1976
1976
|
address?: string | null | undefined;
|
|
1977
|
-
}>, "many">, "many"
|
|
1977
|
+
}>, "many">, "many">>;
|
|
1978
1978
|
}, "strip", z.ZodTypeAny, {
|
|
1979
|
-
status
|
|
1980
|
-
customerId
|
|
1981
|
-
scenarioExecutionId
|
|
1982
|
-
results
|
|
1979
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1980
|
+
customerId?: string | undefined;
|
|
1981
|
+
scenarioExecutionId?: string | undefined;
|
|
1982
|
+
results?: {
|
|
1983
1983
|
name: string;
|
|
1984
1984
|
result: {
|
|
1985
1985
|
result: {
|
|
@@ -1993,12 +1993,12 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
1993
1993
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
1994
1994
|
objectId: string;
|
|
1995
1995
|
address?: string | null | undefined;
|
|
1996
|
-
}[][];
|
|
1996
|
+
}[][] | undefined;
|
|
1997
1997
|
}, {
|
|
1998
|
-
status
|
|
1999
|
-
customerId
|
|
2000
|
-
scenarioExecutionId
|
|
2001
|
-
results
|
|
1998
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
1999
|
+
customerId?: string | undefined;
|
|
2000
|
+
scenarioExecutionId?: string | undefined;
|
|
2001
|
+
results?: {
|
|
2002
2002
|
name: string;
|
|
2003
2003
|
result: {
|
|
2004
2004
|
result: {
|
|
@@ -2012,15 +2012,15 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2012
2012
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
2013
2013
|
objectId: string;
|
|
2014
2014
|
address?: string | null | undefined;
|
|
2015
|
-
}[][];
|
|
2015
|
+
}[][] | undefined;
|
|
2016
2016
|
}>;
|
|
2017
2017
|
}, "strip", z.ZodTypeAny, {
|
|
2018
2018
|
type: "RuleEngineScenarioExecution";
|
|
2019
2019
|
data: {
|
|
2020
|
-
status
|
|
2021
|
-
customerId
|
|
2022
|
-
scenarioExecutionId
|
|
2023
|
-
results
|
|
2020
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
2021
|
+
customerId?: string | undefined;
|
|
2022
|
+
scenarioExecutionId?: string | undefined;
|
|
2023
|
+
results?: {
|
|
2024
2024
|
name: string;
|
|
2025
2025
|
result: {
|
|
2026
2026
|
result: {
|
|
@@ -2034,15 +2034,15 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2034
2034
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
2035
2035
|
objectId: string;
|
|
2036
2036
|
address?: string | null | undefined;
|
|
2037
|
-
}[][];
|
|
2037
|
+
}[][] | undefined;
|
|
2038
2038
|
};
|
|
2039
2039
|
}, {
|
|
2040
2040
|
type: "RuleEngineScenarioExecution";
|
|
2041
2041
|
data: {
|
|
2042
|
-
status
|
|
2043
|
-
customerId
|
|
2044
|
-
scenarioExecutionId
|
|
2045
|
-
results
|
|
2042
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
2043
|
+
customerId?: string | undefined;
|
|
2044
|
+
scenarioExecutionId?: string | undefined;
|
|
2045
|
+
results?: {
|
|
2046
2046
|
name: string;
|
|
2047
2047
|
result: {
|
|
2048
2048
|
result: {
|
|
@@ -2056,7 +2056,7 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2056
2056
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
2057
2057
|
objectId: string;
|
|
2058
2058
|
address?: string | null | undefined;
|
|
2059
|
-
}[][];
|
|
2059
|
+
}[][] | undefined;
|
|
2060
2060
|
};
|
|
2061
2061
|
}>, z.ZodObject<{
|
|
2062
2062
|
type: z.ZodLiteral<"OffChainScenarioExecution">;
|
|
@@ -2085,21 +2085,21 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2085
2085
|
query: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2086
2086
|
}, "strip", z.ZodTypeAny, {
|
|
2087
2087
|
id: number;
|
|
2088
|
-
circuitId: string;
|
|
2089
2088
|
query: Record<string, any>;
|
|
2089
|
+
circuitId: string;
|
|
2090
2090
|
optional?: boolean | undefined;
|
|
2091
2091
|
}, {
|
|
2092
2092
|
id: number;
|
|
2093
|
-
circuitId: string;
|
|
2094
2093
|
query: Record<string, any>;
|
|
2094
|
+
circuitId: string;
|
|
2095
2095
|
optional?: boolean | undefined;
|
|
2096
2096
|
}>, "many">;
|
|
2097
2097
|
}, "strip", z.ZodTypeAny, {
|
|
2098
2098
|
callbackUrl: string;
|
|
2099
2099
|
scope: {
|
|
2100
2100
|
id: number;
|
|
2101
|
-
circuitId: string;
|
|
2102
2101
|
query: Record<string, any>;
|
|
2102
|
+
circuitId: string;
|
|
2103
2103
|
optional?: boolean | undefined;
|
|
2104
2104
|
}[];
|
|
2105
2105
|
message?: string | undefined;
|
|
@@ -2109,8 +2109,8 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2109
2109
|
callbackUrl: string;
|
|
2110
2110
|
scope: {
|
|
2111
2111
|
id: number;
|
|
2112
|
-
circuitId: string;
|
|
2113
2112
|
query: Record<string, any>;
|
|
2113
|
+
circuitId: string;
|
|
2114
2114
|
optional?: boolean | undefined;
|
|
2115
2115
|
}[];
|
|
2116
2116
|
message?: string | undefined;
|
|
@@ -2126,8 +2126,8 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2126
2126
|
callbackUrl: string;
|
|
2127
2127
|
scope: {
|
|
2128
2128
|
id: number;
|
|
2129
|
-
circuitId: string;
|
|
2130
2129
|
query: Record<string, any>;
|
|
2130
|
+
circuitId: string;
|
|
2131
2131
|
optional?: boolean | undefined;
|
|
2132
2132
|
}[];
|
|
2133
2133
|
message?: string | undefined;
|
|
@@ -2145,8 +2145,8 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2145
2145
|
callbackUrl: string;
|
|
2146
2146
|
scope: {
|
|
2147
2147
|
id: number;
|
|
2148
|
-
circuitId: string;
|
|
2149
2148
|
query: Record<string, any>;
|
|
2149
|
+
circuitId: string;
|
|
2150
2150
|
optional?: boolean | undefined;
|
|
2151
2151
|
}[];
|
|
2152
2152
|
message?: string | undefined;
|
|
@@ -2300,40 +2300,40 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2300
2300
|
to?: string | undefined;
|
|
2301
2301
|
}>>>;
|
|
2302
2302
|
verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2303
|
-
query: z.ZodObject<{
|
|
2303
|
+
query: z.ZodArray<z.ZodObject<{
|
|
2304
2304
|
type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
|
|
2305
2305
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2306
2306
|
attribute: z.ZodString;
|
|
2307
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
2307
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
2308
2308
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
2309
2309
|
}, "strip", z.ZodTypeAny, {
|
|
2310
|
-
value: string | number | boolean |
|
|
2310
|
+
value: string | number | boolean | string[] | number[];
|
|
2311
2311
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
2312
2312
|
attribute: string;
|
|
2313
2313
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
2314
2314
|
requestId?: number | null | undefined;
|
|
2315
2315
|
}, {
|
|
2316
|
-
value: string | number | boolean |
|
|
2316
|
+
value: string | number | boolean | string[] | number[];
|
|
2317
2317
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
2318
2318
|
attribute: string;
|
|
2319
2319
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
2320
2320
|
requestId?: number | null | undefined;
|
|
2321
|
-
}>;
|
|
2321
|
+
}>, "many">;
|
|
2322
2322
|
workflowSessionId: z.ZodOptional<z.ZodString>;
|
|
2323
2323
|
}, "strip", z.ZodTypeAny, {
|
|
2324
2324
|
status: "pending" | "authorised" | "unauthorised";
|
|
2325
|
-
projectId: string;
|
|
2326
|
-
executionId: string;
|
|
2327
|
-
sessionId: string;
|
|
2328
|
-
scenarioId: string;
|
|
2329
|
-
scenarioName: string;
|
|
2330
2325
|
query: {
|
|
2331
|
-
value: string | number | boolean |
|
|
2326
|
+
value: string | number | boolean | string[] | number[];
|
|
2332
2327
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
2333
2328
|
attribute: string;
|
|
2334
2329
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
2335
2330
|
requestId?: number | null | undefined;
|
|
2336
|
-
};
|
|
2331
|
+
}[];
|
|
2332
|
+
projectId: string;
|
|
2333
|
+
executionId: string;
|
|
2334
|
+
sessionId: string;
|
|
2335
|
+
scenarioId: string;
|
|
2336
|
+
scenarioName: string;
|
|
2337
2337
|
requestMessage: {
|
|
2338
2338
|
id: string;
|
|
2339
2339
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -2341,8 +2341,8 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2341
2341
|
callbackUrl: string;
|
|
2342
2342
|
scope: {
|
|
2343
2343
|
id: number;
|
|
2344
|
-
circuitId: string;
|
|
2345
2344
|
query: Record<string, any>;
|
|
2345
|
+
circuitId: string;
|
|
2346
2346
|
optional?: boolean | undefined;
|
|
2347
2347
|
}[];
|
|
2348
2348
|
message?: string | undefined;
|
|
@@ -2384,18 +2384,18 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2384
2384
|
workflowSessionId?: string | undefined;
|
|
2385
2385
|
}, {
|
|
2386
2386
|
status: "pending" | "authorised" | "unauthorised";
|
|
2387
|
-
projectId: string;
|
|
2388
|
-
executionId: string;
|
|
2389
|
-
sessionId: string;
|
|
2390
|
-
scenarioId: string;
|
|
2391
|
-
scenarioName: string;
|
|
2392
2387
|
query: {
|
|
2393
|
-
value: string | number | boolean |
|
|
2388
|
+
value: string | number | boolean | string[] | number[];
|
|
2394
2389
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
2395
2390
|
attribute: string;
|
|
2396
2391
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
2397
2392
|
requestId?: number | null | undefined;
|
|
2398
|
-
};
|
|
2393
|
+
}[];
|
|
2394
|
+
projectId: string;
|
|
2395
|
+
executionId: string;
|
|
2396
|
+
sessionId: string;
|
|
2397
|
+
scenarioId: string;
|
|
2398
|
+
scenarioName: string;
|
|
2399
2399
|
requestMessage: {
|
|
2400
2400
|
id: string;
|
|
2401
2401
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -2403,8 +2403,8 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2403
2403
|
callbackUrl: string;
|
|
2404
2404
|
scope: {
|
|
2405
2405
|
id: number;
|
|
2406
|
-
circuitId: string;
|
|
2407
2406
|
query: Record<string, any>;
|
|
2407
|
+
circuitId: string;
|
|
2408
2408
|
optional?: boolean | undefined;
|
|
2409
2409
|
}[];
|
|
2410
2410
|
message?: string | undefined;
|
|
@@ -2449,18 +2449,18 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2449
2449
|
type: "OffChainScenarioExecution";
|
|
2450
2450
|
data: {
|
|
2451
2451
|
status: "pending" | "authorised" | "unauthorised";
|
|
2452
|
-
projectId: string;
|
|
2453
|
-
executionId: string;
|
|
2454
|
-
sessionId: string;
|
|
2455
|
-
scenarioId: string;
|
|
2456
|
-
scenarioName: string;
|
|
2457
2452
|
query: {
|
|
2458
|
-
value: string | number | boolean |
|
|
2453
|
+
value: string | number | boolean | string[] | number[];
|
|
2459
2454
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
2460
2455
|
attribute: string;
|
|
2461
2456
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
2462
2457
|
requestId?: number | null | undefined;
|
|
2463
|
-
};
|
|
2458
|
+
}[];
|
|
2459
|
+
projectId: string;
|
|
2460
|
+
executionId: string;
|
|
2461
|
+
sessionId: string;
|
|
2462
|
+
scenarioId: string;
|
|
2463
|
+
scenarioName: string;
|
|
2464
2464
|
requestMessage: {
|
|
2465
2465
|
id: string;
|
|
2466
2466
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -2468,8 +2468,8 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2468
2468
|
callbackUrl: string;
|
|
2469
2469
|
scope: {
|
|
2470
2470
|
id: number;
|
|
2471
|
-
circuitId: string;
|
|
2472
2471
|
query: Record<string, any>;
|
|
2472
|
+
circuitId: string;
|
|
2473
2473
|
optional?: boolean | undefined;
|
|
2474
2474
|
}[];
|
|
2475
2475
|
message?: string | undefined;
|
|
@@ -2514,18 +2514,18 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2514
2514
|
type: "OffChainScenarioExecution";
|
|
2515
2515
|
data: {
|
|
2516
2516
|
status: "pending" | "authorised" | "unauthorised";
|
|
2517
|
-
projectId: string;
|
|
2518
|
-
executionId: string;
|
|
2519
|
-
sessionId: string;
|
|
2520
|
-
scenarioId: string;
|
|
2521
|
-
scenarioName: string;
|
|
2522
2517
|
query: {
|
|
2523
|
-
value: string | number | boolean |
|
|
2518
|
+
value: string | number | boolean | string[] | number[];
|
|
2524
2519
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
2525
2520
|
attribute: string;
|
|
2526
2521
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
2527
2522
|
requestId?: number | null | undefined;
|
|
2528
|
-
};
|
|
2523
|
+
}[];
|
|
2524
|
+
projectId: string;
|
|
2525
|
+
executionId: string;
|
|
2526
|
+
sessionId: string;
|
|
2527
|
+
scenarioId: string;
|
|
2528
|
+
scenarioName: string;
|
|
2529
2529
|
requestMessage: {
|
|
2530
2530
|
id: string;
|
|
2531
2531
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -2533,8 +2533,8 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2533
2533
|
callbackUrl: string;
|
|
2534
2534
|
scope: {
|
|
2535
2535
|
id: number;
|
|
2536
|
-
circuitId: string;
|
|
2537
2536
|
query: Record<string, any>;
|
|
2537
|
+
circuitId: string;
|
|
2538
2538
|
optional?: boolean | undefined;
|
|
2539
2539
|
}[];
|
|
2540
2540
|
message?: string | undefined;
|
|
@@ -2590,10 +2590,10 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2590
2590
|
data: {
|
|
2591
2591
|
type: "RuleEngineScenarioExecution";
|
|
2592
2592
|
data: {
|
|
2593
|
-
status
|
|
2594
|
-
customerId
|
|
2595
|
-
scenarioExecutionId
|
|
2596
|
-
results
|
|
2593
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
2594
|
+
customerId?: string | undefined;
|
|
2595
|
+
scenarioExecutionId?: string | undefined;
|
|
2596
|
+
results?: {
|
|
2597
2597
|
name: string;
|
|
2598
2598
|
result: {
|
|
2599
2599
|
result: {
|
|
@@ -2607,24 +2607,24 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2607
2607
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
2608
2608
|
objectId: string;
|
|
2609
2609
|
address?: string | null | undefined;
|
|
2610
|
-
}[][];
|
|
2610
|
+
}[][] | undefined;
|
|
2611
2611
|
};
|
|
2612
2612
|
} | {
|
|
2613
2613
|
type: "OffChainScenarioExecution";
|
|
2614
2614
|
data: {
|
|
2615
2615
|
status: "pending" | "authorised" | "unauthorised";
|
|
2616
|
-
projectId: string;
|
|
2617
|
-
executionId: string;
|
|
2618
|
-
sessionId: string;
|
|
2619
|
-
scenarioId: string;
|
|
2620
|
-
scenarioName: string;
|
|
2621
2616
|
query: {
|
|
2622
|
-
value: string | number | boolean |
|
|
2617
|
+
value: string | number | boolean | string[] | number[];
|
|
2623
2618
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
2624
2619
|
attribute: string;
|
|
2625
2620
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
2626
2621
|
requestId?: number | null | undefined;
|
|
2627
|
-
};
|
|
2622
|
+
}[];
|
|
2623
|
+
projectId: string;
|
|
2624
|
+
executionId: string;
|
|
2625
|
+
sessionId: string;
|
|
2626
|
+
scenarioId: string;
|
|
2627
|
+
scenarioName: string;
|
|
2628
2628
|
requestMessage: {
|
|
2629
2629
|
id: string;
|
|
2630
2630
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -2632,8 +2632,8 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2632
2632
|
callbackUrl: string;
|
|
2633
2633
|
scope: {
|
|
2634
2634
|
id: number;
|
|
2635
|
-
circuitId: string;
|
|
2636
2635
|
query: Record<string, any>;
|
|
2636
|
+
circuitId: string;
|
|
2637
2637
|
optional?: boolean | undefined;
|
|
2638
2638
|
}[];
|
|
2639
2639
|
message?: string | undefined;
|
|
@@ -2684,10 +2684,10 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2684
2684
|
data: {
|
|
2685
2685
|
type: "RuleEngineScenarioExecution";
|
|
2686
2686
|
data: {
|
|
2687
|
-
status
|
|
2688
|
-
customerId
|
|
2689
|
-
scenarioExecutionId
|
|
2690
|
-
results
|
|
2687
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
2688
|
+
customerId?: string | undefined;
|
|
2689
|
+
scenarioExecutionId?: string | undefined;
|
|
2690
|
+
results?: {
|
|
2691
2691
|
name: string;
|
|
2692
2692
|
result: {
|
|
2693
2693
|
result: {
|
|
@@ -2701,24 +2701,24 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2701
2701
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
2702
2702
|
objectId: string;
|
|
2703
2703
|
address?: string | null | undefined;
|
|
2704
|
-
}[][];
|
|
2704
|
+
}[][] | undefined;
|
|
2705
2705
|
};
|
|
2706
2706
|
} | {
|
|
2707
2707
|
type: "OffChainScenarioExecution";
|
|
2708
2708
|
data: {
|
|
2709
2709
|
status: "pending" | "authorised" | "unauthorised";
|
|
2710
|
-
projectId: string;
|
|
2711
|
-
executionId: string;
|
|
2712
|
-
sessionId: string;
|
|
2713
|
-
scenarioId: string;
|
|
2714
|
-
scenarioName: string;
|
|
2715
2710
|
query: {
|
|
2716
|
-
value: string | number | boolean |
|
|
2711
|
+
value: string | number | boolean | string[] | number[];
|
|
2717
2712
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
2718
2713
|
attribute: string;
|
|
2719
2714
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
2720
2715
|
requestId?: number | null | undefined;
|
|
2721
|
-
};
|
|
2716
|
+
}[];
|
|
2717
|
+
projectId: string;
|
|
2718
|
+
executionId: string;
|
|
2719
|
+
sessionId: string;
|
|
2720
|
+
scenarioId: string;
|
|
2721
|
+
scenarioName: string;
|
|
2722
2722
|
requestMessage: {
|
|
2723
2723
|
id: string;
|
|
2724
2724
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -2726,8 +2726,8 @@ export declare const ScenarioExecutionNotification: z.ZodObject<{
|
|
|
2726
2726
|
callbackUrl: string;
|
|
2727
2727
|
scope: {
|
|
2728
2728
|
id: number;
|
|
2729
|
-
circuitId: string;
|
|
2730
2729
|
query: Record<string, any>;
|
|
2730
|
+
circuitId: string;
|
|
2731
2731
|
optional?: boolean | undefined;
|
|
2732
2732
|
}[];
|
|
2733
2733
|
message?: string | undefined;
|
|
@@ -2900,10 +2900,10 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
2900
2900
|
data: z.ZodUnion<[z.ZodObject<{
|
|
2901
2901
|
type: z.ZodLiteral<"RuleEngineScenarioExecution">;
|
|
2902
2902
|
data: z.ZodObject<{
|
|
2903
|
-
customerId: z.ZodString
|
|
2904
|
-
scenarioExecutionId: z.ZodString
|
|
2905
|
-
status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]
|
|
2906
|
-
results: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
2903
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
2904
|
+
scenarioExecutionId: z.ZodOptional<z.ZodString>;
|
|
2905
|
+
status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>;
|
|
2906
|
+
results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
2907
2907
|
objectType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
|
|
2908
2908
|
objectId: z.ZodString;
|
|
2909
2909
|
name: z.ZodString;
|
|
@@ -2963,12 +2963,12 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
2963
2963
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
2964
2964
|
objectId: string;
|
|
2965
2965
|
address?: string | null | undefined;
|
|
2966
|
-
}>, "many">, "many"
|
|
2966
|
+
}>, "many">, "many">>;
|
|
2967
2967
|
}, "strip", z.ZodTypeAny, {
|
|
2968
|
-
status
|
|
2969
|
-
customerId
|
|
2970
|
-
scenarioExecutionId
|
|
2971
|
-
results
|
|
2968
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
2969
|
+
customerId?: string | undefined;
|
|
2970
|
+
scenarioExecutionId?: string | undefined;
|
|
2971
|
+
results?: {
|
|
2972
2972
|
name: string;
|
|
2973
2973
|
result: {
|
|
2974
2974
|
result: {
|
|
@@ -2982,12 +2982,12 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
2982
2982
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
2983
2983
|
objectId: string;
|
|
2984
2984
|
address?: string | null | undefined;
|
|
2985
|
-
}[][];
|
|
2985
|
+
}[][] | undefined;
|
|
2986
2986
|
}, {
|
|
2987
|
-
status
|
|
2988
|
-
customerId
|
|
2989
|
-
scenarioExecutionId
|
|
2990
|
-
results
|
|
2987
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
2988
|
+
customerId?: string | undefined;
|
|
2989
|
+
scenarioExecutionId?: string | undefined;
|
|
2990
|
+
results?: {
|
|
2991
2991
|
name: string;
|
|
2992
2992
|
result: {
|
|
2993
2993
|
result: {
|
|
@@ -3001,15 +3001,15 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3001
3001
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
3002
3002
|
objectId: string;
|
|
3003
3003
|
address?: string | null | undefined;
|
|
3004
|
-
}[][];
|
|
3004
|
+
}[][] | undefined;
|
|
3005
3005
|
}>;
|
|
3006
3006
|
}, "strip", z.ZodTypeAny, {
|
|
3007
3007
|
type: "RuleEngineScenarioExecution";
|
|
3008
3008
|
data: {
|
|
3009
|
-
status
|
|
3010
|
-
customerId
|
|
3011
|
-
scenarioExecutionId
|
|
3012
|
-
results
|
|
3009
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
3010
|
+
customerId?: string | undefined;
|
|
3011
|
+
scenarioExecutionId?: string | undefined;
|
|
3012
|
+
results?: {
|
|
3013
3013
|
name: string;
|
|
3014
3014
|
result: {
|
|
3015
3015
|
result: {
|
|
@@ -3023,15 +3023,15 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3023
3023
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
3024
3024
|
objectId: string;
|
|
3025
3025
|
address?: string | null | undefined;
|
|
3026
|
-
}[][];
|
|
3026
|
+
}[][] | undefined;
|
|
3027
3027
|
};
|
|
3028
3028
|
}, {
|
|
3029
3029
|
type: "RuleEngineScenarioExecution";
|
|
3030
3030
|
data: {
|
|
3031
|
-
status
|
|
3032
|
-
customerId
|
|
3033
|
-
scenarioExecutionId
|
|
3034
|
-
results
|
|
3031
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
3032
|
+
customerId?: string | undefined;
|
|
3033
|
+
scenarioExecutionId?: string | undefined;
|
|
3034
|
+
results?: {
|
|
3035
3035
|
name: string;
|
|
3036
3036
|
result: {
|
|
3037
3037
|
result: {
|
|
@@ -3045,7 +3045,7 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3045
3045
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
3046
3046
|
objectId: string;
|
|
3047
3047
|
address?: string | null | undefined;
|
|
3048
|
-
}[][];
|
|
3048
|
+
}[][] | undefined;
|
|
3049
3049
|
};
|
|
3050
3050
|
}>, z.ZodObject<{
|
|
3051
3051
|
type: z.ZodLiteral<"OffChainScenarioExecution">;
|
|
@@ -3074,21 +3074,21 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3074
3074
|
query: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3075
3075
|
}, "strip", z.ZodTypeAny, {
|
|
3076
3076
|
id: number;
|
|
3077
|
-
circuitId: string;
|
|
3078
3077
|
query: Record<string, any>;
|
|
3078
|
+
circuitId: string;
|
|
3079
3079
|
optional?: boolean | undefined;
|
|
3080
3080
|
}, {
|
|
3081
3081
|
id: number;
|
|
3082
|
-
circuitId: string;
|
|
3083
3082
|
query: Record<string, any>;
|
|
3083
|
+
circuitId: string;
|
|
3084
3084
|
optional?: boolean | undefined;
|
|
3085
3085
|
}>, "many">;
|
|
3086
3086
|
}, "strip", z.ZodTypeAny, {
|
|
3087
3087
|
callbackUrl: string;
|
|
3088
3088
|
scope: {
|
|
3089
3089
|
id: number;
|
|
3090
|
-
circuitId: string;
|
|
3091
3090
|
query: Record<string, any>;
|
|
3091
|
+
circuitId: string;
|
|
3092
3092
|
optional?: boolean | undefined;
|
|
3093
3093
|
}[];
|
|
3094
3094
|
message?: string | undefined;
|
|
@@ -3098,8 +3098,8 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3098
3098
|
callbackUrl: string;
|
|
3099
3099
|
scope: {
|
|
3100
3100
|
id: number;
|
|
3101
|
-
circuitId: string;
|
|
3102
3101
|
query: Record<string, any>;
|
|
3102
|
+
circuitId: string;
|
|
3103
3103
|
optional?: boolean | undefined;
|
|
3104
3104
|
}[];
|
|
3105
3105
|
message?: string | undefined;
|
|
@@ -3115,8 +3115,8 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3115
3115
|
callbackUrl: string;
|
|
3116
3116
|
scope: {
|
|
3117
3117
|
id: number;
|
|
3118
|
-
circuitId: string;
|
|
3119
3118
|
query: Record<string, any>;
|
|
3119
|
+
circuitId: string;
|
|
3120
3120
|
optional?: boolean | undefined;
|
|
3121
3121
|
}[];
|
|
3122
3122
|
message?: string | undefined;
|
|
@@ -3134,8 +3134,8 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3134
3134
|
callbackUrl: string;
|
|
3135
3135
|
scope: {
|
|
3136
3136
|
id: number;
|
|
3137
|
-
circuitId: string;
|
|
3138
3137
|
query: Record<string, any>;
|
|
3138
|
+
circuitId: string;
|
|
3139
3139
|
optional?: boolean | undefined;
|
|
3140
3140
|
}[];
|
|
3141
3141
|
message?: string | undefined;
|
|
@@ -3289,40 +3289,40 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3289
3289
|
to?: string | undefined;
|
|
3290
3290
|
}>>>;
|
|
3291
3291
|
verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3292
|
-
query: z.ZodObject<{
|
|
3292
|
+
query: z.ZodArray<z.ZodObject<{
|
|
3293
3293
|
type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
|
|
3294
3294
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3295
3295
|
attribute: z.ZodString;
|
|
3296
|
-
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.
|
|
3296
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>;
|
|
3297
3297
|
operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
|
|
3298
3298
|
}, "strip", z.ZodTypeAny, {
|
|
3299
|
-
value: string | number | boolean |
|
|
3299
|
+
value: string | number | boolean | string[] | number[];
|
|
3300
3300
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
3301
3301
|
attribute: string;
|
|
3302
3302
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
3303
3303
|
requestId?: number | null | undefined;
|
|
3304
3304
|
}, {
|
|
3305
|
-
value: string | number | boolean |
|
|
3305
|
+
value: string | number | boolean | string[] | number[];
|
|
3306
3306
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
3307
3307
|
attribute: string;
|
|
3308
3308
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
3309
3309
|
requestId?: number | null | undefined;
|
|
3310
|
-
}>;
|
|
3310
|
+
}>, "many">;
|
|
3311
3311
|
workflowSessionId: z.ZodOptional<z.ZodString>;
|
|
3312
3312
|
}, "strip", z.ZodTypeAny, {
|
|
3313
3313
|
status: "pending" | "authorised" | "unauthorised";
|
|
3314
|
-
projectId: string;
|
|
3315
|
-
executionId: string;
|
|
3316
|
-
sessionId: string;
|
|
3317
|
-
scenarioId: string;
|
|
3318
|
-
scenarioName: string;
|
|
3319
3314
|
query: {
|
|
3320
|
-
value: string | number | boolean |
|
|
3315
|
+
value: string | number | boolean | string[] | number[];
|
|
3321
3316
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
3322
3317
|
attribute: string;
|
|
3323
3318
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
3324
3319
|
requestId?: number | null | undefined;
|
|
3325
|
-
};
|
|
3320
|
+
}[];
|
|
3321
|
+
projectId: string;
|
|
3322
|
+
executionId: string;
|
|
3323
|
+
sessionId: string;
|
|
3324
|
+
scenarioId: string;
|
|
3325
|
+
scenarioName: string;
|
|
3326
3326
|
requestMessage: {
|
|
3327
3327
|
id: string;
|
|
3328
3328
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -3330,8 +3330,8 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3330
3330
|
callbackUrl: string;
|
|
3331
3331
|
scope: {
|
|
3332
3332
|
id: number;
|
|
3333
|
-
circuitId: string;
|
|
3334
3333
|
query: Record<string, any>;
|
|
3334
|
+
circuitId: string;
|
|
3335
3335
|
optional?: boolean | undefined;
|
|
3336
3336
|
}[];
|
|
3337
3337
|
message?: string | undefined;
|
|
@@ -3373,18 +3373,18 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3373
3373
|
workflowSessionId?: string | undefined;
|
|
3374
3374
|
}, {
|
|
3375
3375
|
status: "pending" | "authorised" | "unauthorised";
|
|
3376
|
-
projectId: string;
|
|
3377
|
-
executionId: string;
|
|
3378
|
-
sessionId: string;
|
|
3379
|
-
scenarioId: string;
|
|
3380
|
-
scenarioName: string;
|
|
3381
3376
|
query: {
|
|
3382
|
-
value: string | number | boolean |
|
|
3377
|
+
value: string | number | boolean | string[] | number[];
|
|
3383
3378
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
3384
3379
|
attribute: string;
|
|
3385
3380
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
3386
3381
|
requestId?: number | null | undefined;
|
|
3387
|
-
};
|
|
3382
|
+
}[];
|
|
3383
|
+
projectId: string;
|
|
3384
|
+
executionId: string;
|
|
3385
|
+
sessionId: string;
|
|
3386
|
+
scenarioId: string;
|
|
3387
|
+
scenarioName: string;
|
|
3388
3388
|
requestMessage: {
|
|
3389
3389
|
id: string;
|
|
3390
3390
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -3392,8 +3392,8 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3392
3392
|
callbackUrl: string;
|
|
3393
3393
|
scope: {
|
|
3394
3394
|
id: number;
|
|
3395
|
-
circuitId: string;
|
|
3396
3395
|
query: Record<string, any>;
|
|
3396
|
+
circuitId: string;
|
|
3397
3397
|
optional?: boolean | undefined;
|
|
3398
3398
|
}[];
|
|
3399
3399
|
message?: string | undefined;
|
|
@@ -3438,18 +3438,18 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3438
3438
|
type: "OffChainScenarioExecution";
|
|
3439
3439
|
data: {
|
|
3440
3440
|
status: "pending" | "authorised" | "unauthorised";
|
|
3441
|
-
projectId: string;
|
|
3442
|
-
executionId: string;
|
|
3443
|
-
sessionId: string;
|
|
3444
|
-
scenarioId: string;
|
|
3445
|
-
scenarioName: string;
|
|
3446
3441
|
query: {
|
|
3447
|
-
value: string | number | boolean |
|
|
3442
|
+
value: string | number | boolean | string[] | number[];
|
|
3448
3443
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
3449
3444
|
attribute: string;
|
|
3450
3445
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
3451
3446
|
requestId?: number | null | undefined;
|
|
3452
|
-
};
|
|
3447
|
+
}[];
|
|
3448
|
+
projectId: string;
|
|
3449
|
+
executionId: string;
|
|
3450
|
+
sessionId: string;
|
|
3451
|
+
scenarioId: string;
|
|
3452
|
+
scenarioName: string;
|
|
3453
3453
|
requestMessage: {
|
|
3454
3454
|
id: string;
|
|
3455
3455
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -3457,8 +3457,8 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3457
3457
|
callbackUrl: string;
|
|
3458
3458
|
scope: {
|
|
3459
3459
|
id: number;
|
|
3460
|
-
circuitId: string;
|
|
3461
3460
|
query: Record<string, any>;
|
|
3461
|
+
circuitId: string;
|
|
3462
3462
|
optional?: boolean | undefined;
|
|
3463
3463
|
}[];
|
|
3464
3464
|
message?: string | undefined;
|
|
@@ -3503,18 +3503,18 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3503
3503
|
type: "OffChainScenarioExecution";
|
|
3504
3504
|
data: {
|
|
3505
3505
|
status: "pending" | "authorised" | "unauthorised";
|
|
3506
|
-
projectId: string;
|
|
3507
|
-
executionId: string;
|
|
3508
|
-
sessionId: string;
|
|
3509
|
-
scenarioId: string;
|
|
3510
|
-
scenarioName: string;
|
|
3511
3506
|
query: {
|
|
3512
|
-
value: string | number | boolean |
|
|
3507
|
+
value: string | number | boolean | string[] | number[];
|
|
3513
3508
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
3514
3509
|
attribute: string;
|
|
3515
3510
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
3516
3511
|
requestId?: number | null | undefined;
|
|
3517
|
-
};
|
|
3512
|
+
}[];
|
|
3513
|
+
projectId: string;
|
|
3514
|
+
executionId: string;
|
|
3515
|
+
sessionId: string;
|
|
3516
|
+
scenarioId: string;
|
|
3517
|
+
scenarioName: string;
|
|
3518
3518
|
requestMessage: {
|
|
3519
3519
|
id: string;
|
|
3520
3520
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -3522,8 +3522,8 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3522
3522
|
callbackUrl: string;
|
|
3523
3523
|
scope: {
|
|
3524
3524
|
id: number;
|
|
3525
|
-
circuitId: string;
|
|
3526
3525
|
query: Record<string, any>;
|
|
3526
|
+
circuitId: string;
|
|
3527
3527
|
optional?: boolean | undefined;
|
|
3528
3528
|
}[];
|
|
3529
3529
|
message?: string | undefined;
|
|
@@ -3579,10 +3579,10 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3579
3579
|
data: {
|
|
3580
3580
|
type: "RuleEngineScenarioExecution";
|
|
3581
3581
|
data: {
|
|
3582
|
-
status
|
|
3583
|
-
customerId
|
|
3584
|
-
scenarioExecutionId
|
|
3585
|
-
results
|
|
3582
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
3583
|
+
customerId?: string | undefined;
|
|
3584
|
+
scenarioExecutionId?: string | undefined;
|
|
3585
|
+
results?: {
|
|
3586
3586
|
name: string;
|
|
3587
3587
|
result: {
|
|
3588
3588
|
result: {
|
|
@@ -3596,24 +3596,24 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3596
3596
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
3597
3597
|
objectId: string;
|
|
3598
3598
|
address?: string | null | undefined;
|
|
3599
|
-
}[][];
|
|
3599
|
+
}[][] | undefined;
|
|
3600
3600
|
};
|
|
3601
3601
|
} | {
|
|
3602
3602
|
type: "OffChainScenarioExecution";
|
|
3603
3603
|
data: {
|
|
3604
3604
|
status: "pending" | "authorised" | "unauthorised";
|
|
3605
|
-
projectId: string;
|
|
3606
|
-
executionId: string;
|
|
3607
|
-
sessionId: string;
|
|
3608
|
-
scenarioId: string;
|
|
3609
|
-
scenarioName: string;
|
|
3610
3605
|
query: {
|
|
3611
|
-
value: string | number | boolean |
|
|
3606
|
+
value: string | number | boolean | string[] | number[];
|
|
3612
3607
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
3613
3608
|
attribute: string;
|
|
3614
3609
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
3615
3610
|
requestId?: number | null | undefined;
|
|
3616
|
-
};
|
|
3611
|
+
}[];
|
|
3612
|
+
projectId: string;
|
|
3613
|
+
executionId: string;
|
|
3614
|
+
sessionId: string;
|
|
3615
|
+
scenarioId: string;
|
|
3616
|
+
scenarioName: string;
|
|
3617
3617
|
requestMessage: {
|
|
3618
3618
|
id: string;
|
|
3619
3619
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -3621,8 +3621,8 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3621
3621
|
callbackUrl: string;
|
|
3622
3622
|
scope: {
|
|
3623
3623
|
id: number;
|
|
3624
|
-
circuitId: string;
|
|
3625
3624
|
query: Record<string, any>;
|
|
3625
|
+
circuitId: string;
|
|
3626
3626
|
optional?: boolean | undefined;
|
|
3627
3627
|
}[];
|
|
3628
3628
|
message?: string | undefined;
|
|
@@ -3673,10 +3673,10 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3673
3673
|
data: {
|
|
3674
3674
|
type: "RuleEngineScenarioExecution";
|
|
3675
3675
|
data: {
|
|
3676
|
-
status
|
|
3677
|
-
customerId
|
|
3678
|
-
scenarioExecutionId
|
|
3679
|
-
results
|
|
3676
|
+
status?: "valid" | "unknown" | "not-valid" | "error" | undefined;
|
|
3677
|
+
customerId?: string | undefined;
|
|
3678
|
+
scenarioExecutionId?: string | undefined;
|
|
3679
|
+
results?: {
|
|
3680
3680
|
name: string;
|
|
3681
3681
|
result: {
|
|
3682
3682
|
result: {
|
|
@@ -3690,24 +3690,24 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3690
3690
|
objectType: "ChallengeQuery" | "OnChainZKP" | "OffChainZKP";
|
|
3691
3691
|
objectId: string;
|
|
3692
3692
|
address?: string | null | undefined;
|
|
3693
|
-
}[][];
|
|
3693
|
+
}[][] | undefined;
|
|
3694
3694
|
};
|
|
3695
3695
|
} | {
|
|
3696
3696
|
type: "OffChainScenarioExecution";
|
|
3697
3697
|
data: {
|
|
3698
3698
|
status: "pending" | "authorised" | "unauthorised";
|
|
3699
|
-
projectId: string;
|
|
3700
|
-
executionId: string;
|
|
3701
|
-
sessionId: string;
|
|
3702
|
-
scenarioId: string;
|
|
3703
|
-
scenarioName: string;
|
|
3704
3699
|
query: {
|
|
3705
|
-
value: string | number | boolean |
|
|
3700
|
+
value: string | number | boolean | string[] | number[];
|
|
3706
3701
|
type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
|
|
3707
3702
|
attribute: string;
|
|
3708
3703
|
operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
|
|
3709
3704
|
requestId?: number | null | undefined;
|
|
3710
|
-
};
|
|
3705
|
+
}[];
|
|
3706
|
+
projectId: string;
|
|
3707
|
+
executionId: string;
|
|
3708
|
+
sessionId: string;
|
|
3709
|
+
scenarioId: string;
|
|
3710
|
+
scenarioName: string;
|
|
3711
3711
|
requestMessage: {
|
|
3712
3712
|
id: string;
|
|
3713
3713
|
type: "https://iden3-communication.io/authorization/1.0/request" | "https://iden3-communication.io/authorization/1.0/response" | "https://iden3-communication.io/credentials/1.0/issuance-request" | "https://iden3-communication.io/credentials/1.0/fetch-request" | "https://iden3-communication.io/credentials/1.0/offer" | "https://iden3-communication.io/credentials/1.0/issuance-response" | "https://iden3-communication.io/credentials/1.0/refresh" | "https://iden3-communication.io/devices/1.0/registration" | "https://iden3-communication.io/messages/1.0/fetch" | "https://iden3-communication.io/proofs/1.0/request" | "https://iden3-communication.io/proofs/1.0/response" | "https://iden3-communication.io/revocation/1.0/request-status" | "https://iden3-communication.io/revocation/1.0/status" | "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | "https://iden3-communication.io/proofs/1.0/contract-invoke-response" | "https://iden3-communication.io/credentials/1.0/onchain-offer" | "https://iden3-communication.io/credentials/0.1/proposal-request" | "https://iden3-communication.io/credentials/0.1/proposal" | "https://iden3-communication.io/credentials/0.1/payment-request" | "https://iden3-communication.io/credentials/0.1/payment";
|
|
@@ -3715,8 +3715,8 @@ export declare const IdentityNotificationMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
3715
3715
|
callbackUrl: string;
|
|
3716
3716
|
scope: {
|
|
3717
3717
|
id: number;
|
|
3718
|
-
circuitId: string;
|
|
3719
3718
|
query: Record<string, any>;
|
|
3719
|
+
circuitId: string;
|
|
3720
3720
|
optional?: boolean | undefined;
|
|
3721
3721
|
}[];
|
|
3722
3722
|
message?: string | undefined;
|