dcql 0.2.11 → 0.2.13
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/src/dcql-error/e-base.d.ts.map +1 -0
- package/dist/src/dcql-error/e-base.js.map +1 -0
- package/dist/src/{e-dcql.d.ts → dcql-error/e-dcql.d.ts} +12 -0
- package/dist/src/dcql-error/e-dcql.d.ts.map +1 -0
- package/dist/src/{e-dcql.js → dcql-error/e-dcql.js} +14 -2
- package/dist/src/dcql-error/e-dcql.js.map +1 -0
- package/dist/src/dcql-error/index.d.ts +3 -0
- package/dist/src/dcql-error/index.d.ts.map +1 -0
- package/dist/src/dcql-error/index.js +23 -0
- package/dist/src/dcql-error/index.js.map +1 -0
- package/dist/src/dcql-parser/claims-path.test.d.ts.map +1 -0
- package/dist/src/{dcql-query → dcql-parser}/claims-path.test.js +1 -1
- package/dist/src/dcql-parser/claims-path.test.js.map +1 -0
- package/dist/src/{dcql-query-result → dcql-parser}/dcql-claims-query-result.d.ts +5 -2
- package/dist/src/dcql-parser/dcql-claims-query-result.d.ts.map +1 -0
- package/dist/src/{dcql-query-result → dcql-parser}/dcql-claims-query-result.js +18 -15
- package/dist/src/dcql-parser/dcql-claims-query-result.js.map +1 -0
- package/dist/src/dcql-parser/dcql-credential-query-result.d.ts +8 -0
- package/dist/src/dcql-parser/dcql-credential-query-result.d.ts.map +1 -0
- package/dist/src/{dcql-query-result → dcql-parser}/dcql-credential-query-result.js +4 -4
- package/dist/src/dcql-parser/dcql-credential-query-result.js.map +1 -0
- package/dist/src/dcql-presentation/index.d.ts +3 -2
- package/dist/src/dcql-presentation/index.d.ts.map +1 -1
- package/dist/src/dcql-presentation/index.js +10 -16
- package/dist/src/dcql-presentation/index.js.map +1 -1
- package/dist/src/dcql-presentation/m-dcql-credential-presentation.d.ts +45 -0
- package/dist/src/dcql-presentation/m-dcql-credential-presentation.d.ts.map +1 -0
- package/dist/src/dcql-presentation/m-dcql-credential-presentation.js +52 -0
- package/dist/src/dcql-presentation/m-dcql-credential-presentation.js.map +1 -0
- package/dist/src/dcql-presentation/{m-dcql-presentation-query.d.ts → m-dcql-presentation-result.d.ts} +204 -381
- package/dist/src/dcql-presentation/m-dcql-presentation-result.d.ts.map +1 -0
- package/dist/src/dcql-presentation/m-dcql-presentation-result.js +127 -0
- package/dist/src/dcql-presentation/m-dcql-presentation-result.js.map +1 -0
- package/dist/src/dcql-presentation/{m-dcql-presentation-record.d.ts → m-dcql-presentation.d.ts} +3 -3
- package/dist/src/dcql-presentation/m-dcql-presentation.d.ts.map +1 -0
- package/dist/src/dcql-presentation/{m-dcql-presentation-record.js → m-dcql-presentation.js} +10 -10
- package/dist/src/dcql-presentation/m-dcql-presentation.js.map +1 -0
- package/dist/src/dcql-query/dcql-query.test.js +22 -19
- package/dist/src/dcql-query/dcql-query.test.js.map +1 -1
- package/dist/src/dcql-query/index.d.ts +5 -0
- package/dist/src/dcql-query/index.d.ts.map +1 -0
- package/dist/src/dcql-query/index.js +12 -0
- package/dist/src/dcql-query/index.js.map +1 -0
- package/dist/src/dcql-query/m-dcql-credential-query.js +1 -1
- package/dist/src/dcql-query/m-dcql-credential-query.js.map +1 -1
- package/dist/src/dcql-query/m-dcql-query.d.ts +199 -52
- package/dist/src/dcql-query/m-dcql-query.d.ts.map +1 -1
- package/dist/src/dcql-query/m-dcql-query.js +4 -6
- package/dist/src/dcql-query/m-dcql-query.js.map +1 -1
- package/dist/src/dcql-query-result/index.d.ts +3 -0
- package/dist/src/dcql-query-result/index.d.ts.map +1 -0
- package/dist/src/dcql-query-result/index.js +8 -0
- package/dist/src/dcql-query-result/index.js.map +1 -0
- package/dist/src/dcql-query-result/m-dcql-query-result.d.ts +366 -80
- package/dist/src/dcql-query-result/m-dcql-query-result.d.ts.map +1 -1
- package/dist/src/dcql-query-result/m-dcql-query-result.js +12 -17
- package/dist/src/dcql-query-result/m-dcql-query-result.js.map +1 -1
- package/dist/src/dcql-query-result/run-dcql-query.d.ts +8 -0
- package/dist/src/dcql-query-result/run-dcql-query.d.ts.map +1 -0
- package/dist/src/{dcql-query/dcql-query.js → dcql-query-result/run-dcql-query.js} +14 -10
- package/dist/src/dcql-query-result/run-dcql-query.js.map +1 -0
- package/dist/src/index.d.ts +5 -8
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +10 -14
- package/dist/src/index.js.map +1 -1
- package/dist/src/u-dcql-credential.d.ts +77 -0
- package/dist/src/u-dcql-credential.d.ts.map +1 -0
- package/dist/src/u-dcql-credential.js +68 -0
- package/dist/src/u-dcql-credential.js.map +1 -0
- package/dist/src/u-model.d.ts +27 -0
- package/dist/src/u-model.d.ts.map +1 -0
- package/dist/src/{u-dcql-credential-representation.js → u-model.js} +39 -6
- package/dist/src/u-model.js.map +1 -0
- package/package.json +1 -1
- package/dist/src/dcql-presentation/m-dcql-presentation-query.d.ts.map +0 -1
- package/dist/src/dcql-presentation/m-dcql-presentation-query.js +0 -132
- package/dist/src/dcql-presentation/m-dcql-presentation-query.js.map +0 -1
- package/dist/src/dcql-presentation/m-dcql-presentation-record.d.ts.map +0 -1
- package/dist/src/dcql-presentation/m-dcql-presentation-record.js.map +0 -1
- package/dist/src/dcql-query/claims-path.d.ts +0 -14
- package/dist/src/dcql-query/claims-path.d.ts.map +0 -1
- package/dist/src/dcql-query/claims-path.js +0 -23
- package/dist/src/dcql-query/claims-path.js.map +0 -1
- package/dist/src/dcql-query/claims-path.test.d.ts.map +0 -1
- package/dist/src/dcql-query/claims-path.test.js.map +0 -1
- package/dist/src/dcql-query/dcql-query.d.ts +0 -8
- package/dist/src/dcql-query/dcql-query.d.ts.map +0 -1
- package/dist/src/dcql-query/dcql-query.js.map +0 -1
- package/dist/src/dcql-query-result/dcql-claims-query-result.d.ts.map +0 -1
- package/dist/src/dcql-query-result/dcql-claims-query-result.js.map +0 -1
- package/dist/src/dcql-query-result/dcql-credential-query-result.d.ts +0 -8
- package/dist/src/dcql-query-result/dcql-credential-query-result.d.ts.map +0 -1
- package/dist/src/dcql-query-result/dcql-credential-query-result.js.map +0 -1
- package/dist/src/e-base.d.ts.map +0 -1
- package/dist/src/e-base.js.map +0 -1
- package/dist/src/e-dcql.d.ts.map +0 -1
- package/dist/src/e-dcql.js.map +0 -1
- package/dist/src/u-dcql-credential-representation.d.ts +0 -29
- package/dist/src/u-dcql-credential-representation.d.ts.map +0 -1
- package/dist/src/u-dcql-credential-representation.js.map +0 -1
- /package/dist/src/{e-base.d.ts → dcql-error/e-base.d.ts} +0 -0
- /package/dist/src/{e-base.js → dcql-error/e-base.js} +0 -0
- /package/dist/src/{dcql-query → dcql-parser}/claims-path.test.d.ts +0 -0
@@ -1,28 +1,17 @@
|
|
1
1
|
import * as v from 'valibot';
|
2
2
|
export declare namespace DcqlQueryResult {
|
3
|
-
export const vW3cCredentialParseOutput: v.ObjectSchema<{
|
4
|
-
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
5
|
-
}, undefined>;
|
6
|
-
export type W3cCredentialParseOutput = v.InferOutput<typeof vW3cCredentialParseOutput>;
|
7
|
-
export const vSdJwtCredentialParseOutput: v.ObjectSchema<{
|
8
|
-
readonly vct: v.StringSchema<undefined>;
|
9
|
-
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
10
|
-
}, undefined>;
|
11
|
-
export type SdJwtCredentialParseOutput = v.InferOutput<typeof vSdJwtCredentialParseOutput>;
|
12
|
-
export const vMdocCredentialParseOutput: v.ObjectSchema<{
|
13
|
-
readonly docType: v.StringSchema<undefined>;
|
14
|
-
readonly namespaces: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
15
|
-
}, undefined>;
|
16
|
-
export type MdocCredentialParseOutput = v.InferOutput<typeof vMdocCredentialParseOutput>;
|
17
3
|
const vCredentialParseSuccess: v.ObjectSchema<{
|
18
|
-
readonly output: v.
|
19
|
-
readonly
|
4
|
+
readonly output: v.VariantSchema<"credentialFormat", [v.ObjectSchema<{
|
5
|
+
readonly credentialFormat: v.LiteralSchema<"mso_mdoc", undefined>;
|
6
|
+
readonly doctype: v.StringSchema<undefined>;
|
7
|
+
readonly namespaces: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
20
8
|
}, undefined>, v.ObjectSchema<{
|
9
|
+
readonly credentialFormat: v.LiteralSchema<"vc+sd-jwt", undefined>;
|
21
10
|
readonly vct: v.StringSchema<undefined>;
|
22
11
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
23
12
|
}, undefined>, v.ObjectSchema<{
|
24
|
-
readonly
|
25
|
-
readonly
|
13
|
+
readonly credentialFormat: v.PicklistSchema<["jwt_vc_json-ld", "jwt_vc_json"], undefined>;
|
14
|
+
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
26
15
|
}, undefined>], undefined>;
|
27
16
|
readonly success: v.LiteralSchema<true, undefined>;
|
28
17
|
readonly typed: v.LiteralSchema<true, undefined>;
|
@@ -32,14 +21,17 @@ export declare namespace DcqlQueryResult {
|
|
32
21
|
}, undefined>;
|
33
22
|
export type CredentialParseSuccess = v.InferOutput<typeof vCredentialParseSuccess>;
|
34
23
|
export const vCredentialParseResult: v.UnionSchema<[v.ObjectSchema<{
|
35
|
-
readonly output: v.
|
36
|
-
readonly
|
24
|
+
readonly output: v.VariantSchema<"credentialFormat", [v.ObjectSchema<{
|
25
|
+
readonly credentialFormat: v.LiteralSchema<"mso_mdoc", undefined>;
|
26
|
+
readonly doctype: v.StringSchema<undefined>;
|
27
|
+
readonly namespaces: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
37
28
|
}, undefined>, v.ObjectSchema<{
|
29
|
+
readonly credentialFormat: v.LiteralSchema<"vc+sd-jwt", undefined>;
|
38
30
|
readonly vct: v.StringSchema<undefined>;
|
39
31
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
40
32
|
}, undefined>, v.ObjectSchema<{
|
41
|
-
readonly
|
42
|
-
readonly
|
33
|
+
readonly credentialFormat: v.PicklistSchema<["jwt_vc_json-ld", "jwt_vc_json"], undefined>;
|
34
|
+
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
43
35
|
}, undefined>], undefined>;
|
44
36
|
readonly success: v.LiteralSchema<true, undefined>;
|
45
37
|
readonly typed: v.LiteralSchema<true, undefined>;
|
@@ -56,14 +48,17 @@ export declare namespace DcqlQueryResult {
|
|
56
48
|
}, undefined>], undefined>;
|
57
49
|
export type CredentialParseResult = v.InferOutput<typeof vCredentialParseResult>;
|
58
50
|
export const vCredentialQueryResult: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.UnionSchema<[v.UndefinedSchema<undefined>, v.ObjectSchema<{
|
59
|
-
readonly output: v.
|
60
|
-
readonly
|
51
|
+
readonly output: v.VariantSchema<"credentialFormat", [v.ObjectSchema<{
|
52
|
+
readonly credentialFormat: v.LiteralSchema<"mso_mdoc", undefined>;
|
53
|
+
readonly doctype: v.StringSchema<undefined>;
|
54
|
+
readonly namespaces: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
61
55
|
}, undefined>, v.ObjectSchema<{
|
56
|
+
readonly credentialFormat: v.LiteralSchema<"vc+sd-jwt", undefined>;
|
62
57
|
readonly vct: v.StringSchema<undefined>;
|
63
58
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
64
59
|
}, undefined>, v.ObjectSchema<{
|
65
|
-
readonly
|
66
|
-
readonly
|
60
|
+
readonly credentialFormat: v.PicklistSchema<["jwt_vc_json-ld", "jwt_vc_json"], undefined>;
|
61
|
+
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
67
62
|
}, undefined>], undefined>;
|
68
63
|
readonly success: v.LiteralSchema<true, undefined>;
|
69
64
|
readonly typed: v.LiteralSchema<true, undefined>;
|
@@ -86,20 +81,23 @@ export declare namespace DcqlQueryResult {
|
|
86
81
|
credential_index: number;
|
87
82
|
} | {
|
88
83
|
output: {
|
89
|
-
|
90
|
-
|
84
|
+
credentialFormat: "mso_mdoc";
|
85
|
+
doctype: string;
|
86
|
+
namespaces: {
|
87
|
+
[x: string]: {
|
88
|
+
[x: string]: unknown;
|
89
|
+
};
|
91
90
|
};
|
92
91
|
} | {
|
92
|
+
credentialFormat: "vc+sd-jwt";
|
93
|
+
vct: string;
|
93
94
|
claims: {
|
94
95
|
[x: string]: import("../u-dcql.js").Json;
|
95
96
|
};
|
96
|
-
vct: string;
|
97
97
|
} | {
|
98
|
-
|
99
|
-
|
100
|
-
[x: string]:
|
101
|
-
[x: string]: unknown;
|
102
|
-
};
|
98
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
99
|
+
claims: {
|
100
|
+
[x: string]: import("../u-dcql.js").Json;
|
103
101
|
};
|
104
102
|
};
|
105
103
|
success: true;
|
@@ -116,20 +114,23 @@ export declare namespace DcqlQueryResult {
|
|
116
114
|
credential_index: number;
|
117
115
|
} | {
|
118
116
|
output: {
|
119
|
-
|
120
|
-
|
117
|
+
credentialFormat: "mso_mdoc";
|
118
|
+
doctype: string;
|
119
|
+
namespaces: {
|
120
|
+
[x: string]: {
|
121
|
+
[x: string]: unknown;
|
122
|
+
};
|
121
123
|
};
|
122
124
|
} | {
|
125
|
+
credentialFormat: "vc+sd-jwt";
|
126
|
+
vct: string;
|
123
127
|
claims: {
|
124
128
|
[x: string]: import("../u-dcql.js").Json;
|
125
129
|
};
|
126
|
-
vct: string;
|
127
130
|
} | {
|
128
|
-
|
129
|
-
|
130
|
-
[x: string]:
|
131
|
-
[x: string]: unknown;
|
132
|
-
};
|
131
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
132
|
+
claims: {
|
133
|
+
[x: string]: import("../u-dcql.js").Json;
|
133
134
|
};
|
134
135
|
};
|
135
136
|
success: true;
|
@@ -227,7 +228,6 @@ export declare namespace DcqlQueryResult {
|
|
227
228
|
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
228
229
|
id: string;
|
229
230
|
format: "mso_mdoc";
|
230
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
231
231
|
claims?: [{
|
232
232
|
namespace: string;
|
233
233
|
claim_name: string;
|
@@ -239,13 +239,13 @@ export declare namespace DcqlQueryResult {
|
|
239
239
|
values?: (string | number | boolean)[] | undefined;
|
240
240
|
id?: string | undefined;
|
241
241
|
}[]] | undefined;
|
242
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
242
243
|
meta?: {
|
243
244
|
doctype_value?: string | undefined;
|
244
245
|
} | undefined;
|
245
246
|
} | {
|
246
247
|
id: string;
|
247
248
|
format: "vc+sd-jwt";
|
248
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
249
249
|
claims?: [{
|
250
250
|
path: (string | number | null)[];
|
251
251
|
values?: (string | number | boolean)[] | undefined;
|
@@ -255,13 +255,13 @@ export declare namespace DcqlQueryResult {
|
|
255
255
|
values?: (string | number | boolean)[] | undefined;
|
256
256
|
id?: string | undefined;
|
257
257
|
}[]] | undefined;
|
258
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
258
259
|
meta?: {
|
259
260
|
vct_values?: string[] | undefined;
|
260
261
|
} | undefined;
|
261
262
|
} | {
|
262
263
|
id: string;
|
263
264
|
format: "jwt_vc_json" | "jwt_vc_json-ld";
|
264
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
265
265
|
claims?: [{
|
266
266
|
path: (string | number | null)[];
|
267
267
|
values?: (string | number | boolean)[] | undefined;
|
@@ -271,10 +271,10 @@ export declare namespace DcqlQueryResult {
|
|
271
271
|
values?: (string | number | boolean)[] | undefined;
|
272
272
|
id?: string | undefined;
|
273
273
|
}[]] | undefined;
|
274
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
274
275
|
}, ...({
|
275
276
|
id: string;
|
276
277
|
format: "mso_mdoc";
|
277
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
278
278
|
claims?: [{
|
279
279
|
namespace: string;
|
280
280
|
claim_name: string;
|
@@ -286,13 +286,13 @@ export declare namespace DcqlQueryResult {
|
|
286
286
|
values?: (string | number | boolean)[] | undefined;
|
287
287
|
id?: string | undefined;
|
288
288
|
}[]] | undefined;
|
289
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
289
290
|
meta?: {
|
290
291
|
doctype_value?: string | undefined;
|
291
292
|
} | undefined;
|
292
293
|
} | {
|
293
294
|
id: string;
|
294
295
|
format: "vc+sd-jwt";
|
295
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
296
296
|
claims?: [{
|
297
297
|
path: (string | number | null)[];
|
298
298
|
values?: (string | number | boolean)[] | undefined;
|
@@ -302,13 +302,13 @@ export declare namespace DcqlQueryResult {
|
|
302
302
|
values?: (string | number | boolean)[] | undefined;
|
303
303
|
id?: string | undefined;
|
304
304
|
}[]] | undefined;
|
305
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
305
306
|
meta?: {
|
306
307
|
vct_values?: string[] | undefined;
|
307
308
|
} | undefined;
|
308
309
|
} | {
|
309
310
|
id: string;
|
310
311
|
format: "jwt_vc_json" | "jwt_vc_json-ld";
|
311
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
312
312
|
claims?: [{
|
313
313
|
path: (string | number | null)[];
|
314
314
|
values?: (string | number | boolean)[] | undefined;
|
@@ -318,10 +318,10 @@ export declare namespace DcqlQueryResult {
|
|
318
318
|
values?: (string | number | boolean)[] | undefined;
|
319
319
|
id?: string | undefined;
|
320
320
|
}[]] | undefined;
|
321
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
321
322
|
})[]], undefined>, v.DescriptionAction<[{
|
322
323
|
id: string;
|
323
324
|
format: "mso_mdoc";
|
324
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
325
325
|
claims?: [{
|
326
326
|
namespace: string;
|
327
327
|
claim_name: string;
|
@@ -333,13 +333,13 @@ export declare namespace DcqlQueryResult {
|
|
333
333
|
values?: (string | number | boolean)[] | undefined;
|
334
334
|
id?: string | undefined;
|
335
335
|
}[]] | undefined;
|
336
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
336
337
|
meta?: {
|
337
338
|
doctype_value?: string | undefined;
|
338
339
|
} | undefined;
|
339
340
|
} | {
|
340
341
|
id: string;
|
341
342
|
format: "vc+sd-jwt";
|
342
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
343
343
|
claims?: [{
|
344
344
|
path: (string | number | null)[];
|
345
345
|
values?: (string | number | boolean)[] | undefined;
|
@@ -349,13 +349,13 @@ export declare namespace DcqlQueryResult {
|
|
349
349
|
values?: (string | number | boolean)[] | undefined;
|
350
350
|
id?: string | undefined;
|
351
351
|
}[]] | undefined;
|
352
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
352
353
|
meta?: {
|
353
354
|
vct_values?: string[] | undefined;
|
354
355
|
} | undefined;
|
355
356
|
} | {
|
356
357
|
id: string;
|
357
358
|
format: "jwt_vc_json" | "jwt_vc_json-ld";
|
358
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
359
359
|
claims?: [{
|
360
360
|
path: (string | number | null)[];
|
361
361
|
values?: (string | number | boolean)[] | undefined;
|
@@ -365,10 +365,10 @@ export declare namespace DcqlQueryResult {
|
|
365
365
|
values?: (string | number | boolean)[] | undefined;
|
366
366
|
id?: string | undefined;
|
367
367
|
}[]] | undefined;
|
368
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
368
369
|
}, ...({
|
369
370
|
id: string;
|
370
371
|
format: "mso_mdoc";
|
371
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
372
372
|
claims?: [{
|
373
373
|
namespace: string;
|
374
374
|
claim_name: string;
|
@@ -380,13 +380,13 @@ export declare namespace DcqlQueryResult {
|
|
380
380
|
values?: (string | number | boolean)[] | undefined;
|
381
381
|
id?: string | undefined;
|
382
382
|
}[]] | undefined;
|
383
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
383
384
|
meta?: {
|
384
385
|
doctype_value?: string | undefined;
|
385
386
|
} | undefined;
|
386
387
|
} | {
|
387
388
|
id: string;
|
388
389
|
format: "vc+sd-jwt";
|
389
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
390
390
|
claims?: [{
|
391
391
|
path: (string | number | null)[];
|
392
392
|
values?: (string | number | boolean)[] | undefined;
|
@@ -396,13 +396,13 @@ export declare namespace DcqlQueryResult {
|
|
396
396
|
values?: (string | number | boolean)[] | undefined;
|
397
397
|
id?: string | undefined;
|
398
398
|
}[]] | undefined;
|
399
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
399
400
|
meta?: {
|
400
401
|
vct_values?: string[] | undefined;
|
401
402
|
} | undefined;
|
402
403
|
} | {
|
403
404
|
id: string;
|
404
405
|
format: "jwt_vc_json" | "jwt_vc_json-ld";
|
405
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
406
406
|
claims?: [{
|
407
407
|
path: (string | number | null)[];
|
408
408
|
values?: (string | number | boolean)[] | undefined;
|
@@ -412,17 +412,21 @@ export declare namespace DcqlQueryResult {
|
|
412
412
|
values?: (string | number | boolean)[] | undefined;
|
413
413
|
id?: string | undefined;
|
414
414
|
}[]] | undefined;
|
415
|
+
claim_sets?: [string[], ...string[][]] | undefined;
|
415
416
|
})[]], "REQUIRED. A non-empty array of Credential Queries that specify the requested Verifiable Credentials.">]>;
|
416
417
|
readonly credential_matches: v.RecordSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, v.UnionSchema<[v.ObjectSchema<{
|
417
|
-
readonly all: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.UnionSchema<[v.UndefinedSchema<undefined>, v.ObjectSchema<{
|
418
|
-
readonly output: v.
|
419
|
-
readonly
|
418
|
+
readonly all: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.UndefinedSchema<undefined>, v.ObjectSchema<{
|
419
|
+
readonly output: v.VariantSchema<"credentialFormat", [v.ObjectSchema<{
|
420
|
+
readonly credentialFormat: v.LiteralSchema<"mso_mdoc", undefined>;
|
421
|
+
readonly doctype: v.StringSchema<undefined>;
|
422
|
+
readonly namespaces: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
420
423
|
}, undefined>, v.ObjectSchema<{
|
424
|
+
readonly credentialFormat: v.LiteralSchema<"vc+sd-jwt", undefined>;
|
421
425
|
readonly vct: v.StringSchema<undefined>;
|
422
426
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
423
427
|
}, undefined>, v.ObjectSchema<{
|
424
|
-
readonly
|
425
|
-
readonly
|
428
|
+
readonly credentialFormat: v.PicklistSchema<["jwt_vc_json-ld", "jwt_vc_json"], undefined>;
|
429
|
+
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
426
430
|
}, undefined>], undefined>;
|
427
431
|
readonly success: v.LiteralSchema<true, undefined>;
|
428
432
|
readonly typed: v.LiteralSchema<true, undefined>;
|
@@ -436,7 +440,7 @@ export declare namespace DcqlQueryResult {
|
|
436
440
|
readonly issues: v.SchemaWithPipe<[v.ArraySchema<v.UnknownSchema, undefined>, v.CustomSchema<[unknown, ...unknown[]], undefined>]>;
|
437
441
|
readonly credential_index: v.NumberSchema<undefined>;
|
438
442
|
readonly claim_set_index: v.UnionSchema<[v.NumberSchema<undefined>, v.UndefinedSchema<undefined>], undefined>;
|
439
|
-
}, undefined>], undefined>, undefined>,
|
443
|
+
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
440
444
|
output: unknown;
|
441
445
|
success: false;
|
442
446
|
typed: boolean;
|
@@ -445,28 +449,97 @@ export declare namespace DcqlQueryResult {
|
|
445
449
|
credential_index: number;
|
446
450
|
} | {
|
447
451
|
output: {
|
452
|
+
credentialFormat: "mso_mdoc";
|
453
|
+
doctype: string;
|
454
|
+
namespaces: {
|
455
|
+
[x: string]: {
|
456
|
+
[x: string]: unknown;
|
457
|
+
};
|
458
|
+
};
|
459
|
+
} | {
|
460
|
+
credentialFormat: "vc+sd-jwt";
|
461
|
+
vct: string;
|
448
462
|
claims: {
|
449
463
|
[x: string]: import("../u-dcql.js").Json;
|
450
464
|
};
|
451
465
|
} | {
|
466
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
452
467
|
claims: {
|
453
468
|
[x: string]: import("../u-dcql.js").Json;
|
454
469
|
};
|
470
|
+
};
|
471
|
+
success: true;
|
472
|
+
typed: true;
|
473
|
+
claim_set_index: number | undefined;
|
474
|
+
credential_index: number;
|
475
|
+
issues?: undefined;
|
476
|
+
} | undefined, ...({
|
477
|
+
output: unknown;
|
478
|
+
success: false;
|
479
|
+
typed: boolean;
|
480
|
+
issues: [unknown, ...unknown[]];
|
481
|
+
claim_set_index: number | undefined;
|
482
|
+
credential_index: number;
|
483
|
+
} | {
|
484
|
+
output: {
|
485
|
+
credentialFormat: "mso_mdoc";
|
486
|
+
doctype: string;
|
487
|
+
namespaces: {
|
488
|
+
[x: string]: {
|
489
|
+
[x: string]: unknown;
|
490
|
+
};
|
491
|
+
};
|
492
|
+
} | {
|
493
|
+
credentialFormat: "vc+sd-jwt";
|
455
494
|
vct: string;
|
495
|
+
claims: {
|
496
|
+
[x: string]: import("../u-dcql.js").Json;
|
497
|
+
};
|
456
498
|
} | {
|
457
|
-
|
499
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
500
|
+
claims: {
|
501
|
+
[x: string]: import("../u-dcql.js").Json;
|
502
|
+
};
|
503
|
+
};
|
504
|
+
success: true;
|
505
|
+
typed: true;
|
506
|
+
claim_set_index: number | undefined;
|
507
|
+
credential_index: number;
|
508
|
+
issues?: undefined;
|
509
|
+
} | undefined)[]], undefined>]>, undefined>, v.CustomSchema<[[{
|
510
|
+
output: unknown;
|
511
|
+
success: false;
|
512
|
+
typed: boolean;
|
513
|
+
issues: [unknown, ...unknown[]];
|
514
|
+
claim_set_index: number | undefined;
|
515
|
+
credential_index: number;
|
516
|
+
} | {
|
517
|
+
output: {
|
518
|
+
credentialFormat: "mso_mdoc";
|
519
|
+
doctype: string;
|
458
520
|
namespaces: {
|
459
521
|
[x: string]: {
|
460
522
|
[x: string]: unknown;
|
461
523
|
};
|
462
524
|
};
|
525
|
+
} | {
|
526
|
+
credentialFormat: "vc+sd-jwt";
|
527
|
+
vct: string;
|
528
|
+
claims: {
|
529
|
+
[x: string]: import("../u-dcql.js").Json;
|
530
|
+
};
|
531
|
+
} | {
|
532
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
533
|
+
claims: {
|
534
|
+
[x: string]: import("../u-dcql.js").Json;
|
535
|
+
};
|
463
536
|
};
|
464
537
|
success: true;
|
465
538
|
typed: true;
|
466
539
|
claim_set_index: number | undefined;
|
467
540
|
credential_index: number;
|
468
541
|
issues?: undefined;
|
469
|
-
} | undefined
|
542
|
+
} | undefined, ...({
|
470
543
|
output: unknown;
|
471
544
|
success: false;
|
472
545
|
typed: boolean;
|
@@ -475,36 +548,108 @@ export declare namespace DcqlQueryResult {
|
|
475
548
|
credential_index: number;
|
476
549
|
} | {
|
477
550
|
output: {
|
551
|
+
credentialFormat: "mso_mdoc";
|
552
|
+
doctype: string;
|
553
|
+
namespaces: {
|
554
|
+
[x: string]: {
|
555
|
+
[x: string]: unknown;
|
556
|
+
};
|
557
|
+
};
|
558
|
+
} | {
|
559
|
+
credentialFormat: "vc+sd-jwt";
|
560
|
+
vct: string;
|
478
561
|
claims: {
|
479
562
|
[x: string]: import("../u-dcql.js").Json;
|
480
563
|
};
|
481
564
|
} | {
|
565
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
482
566
|
claims: {
|
483
567
|
[x: string]: import("../u-dcql.js").Json;
|
484
568
|
};
|
569
|
+
};
|
570
|
+
success: true;
|
571
|
+
typed: true;
|
572
|
+
claim_set_index: number | undefined;
|
573
|
+
credential_index: number;
|
574
|
+
issues?: undefined;
|
575
|
+
} | undefined)[]], ...[{
|
576
|
+
output: unknown;
|
577
|
+
success: false;
|
578
|
+
typed: boolean;
|
579
|
+
issues: [unknown, ...unknown[]];
|
580
|
+
claim_set_index: number | undefined;
|
581
|
+
credential_index: number;
|
582
|
+
} | {
|
583
|
+
output: {
|
584
|
+
credentialFormat: "mso_mdoc";
|
585
|
+
doctype: string;
|
586
|
+
namespaces: {
|
587
|
+
[x: string]: {
|
588
|
+
[x: string]: unknown;
|
589
|
+
};
|
590
|
+
};
|
591
|
+
} | {
|
592
|
+
credentialFormat: "vc+sd-jwt";
|
485
593
|
vct: string;
|
594
|
+
claims: {
|
595
|
+
[x: string]: import("../u-dcql.js").Json;
|
596
|
+
};
|
486
597
|
} | {
|
487
|
-
|
598
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
599
|
+
claims: {
|
600
|
+
[x: string]: import("../u-dcql.js").Json;
|
601
|
+
};
|
602
|
+
};
|
603
|
+
success: true;
|
604
|
+
typed: true;
|
605
|
+
claim_set_index: number | undefined;
|
606
|
+
credential_index: number;
|
607
|
+
issues?: undefined;
|
608
|
+
} | undefined, ...({
|
609
|
+
output: unknown;
|
610
|
+
success: false;
|
611
|
+
typed: boolean;
|
612
|
+
issues: [unknown, ...unknown[]];
|
613
|
+
claim_set_index: number | undefined;
|
614
|
+
credential_index: number;
|
615
|
+
} | {
|
616
|
+
output: {
|
617
|
+
credentialFormat: "mso_mdoc";
|
618
|
+
doctype: string;
|
488
619
|
namespaces: {
|
489
620
|
[x: string]: {
|
490
621
|
[x: string]: unknown;
|
491
622
|
};
|
492
623
|
};
|
624
|
+
} | {
|
625
|
+
credentialFormat: "vc+sd-jwt";
|
626
|
+
vct: string;
|
627
|
+
claims: {
|
628
|
+
[x: string]: import("../u-dcql.js").Json;
|
629
|
+
};
|
630
|
+
} | {
|
631
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
632
|
+
claims: {
|
633
|
+
[x: string]: import("../u-dcql.js").Json;
|
634
|
+
};
|
493
635
|
};
|
494
636
|
success: true;
|
495
637
|
typed: true;
|
496
638
|
claim_set_index: number | undefined;
|
497
639
|
credential_index: number;
|
498
640
|
issues?: undefined;
|
499
|
-
} | undefined)[][]], undefined>]>;
|
500
|
-
readonly output: v.
|
501
|
-
readonly
|
641
|
+
} | undefined)[]][]], undefined>]>;
|
642
|
+
readonly output: v.VariantSchema<"credentialFormat", [v.ObjectSchema<{
|
643
|
+
readonly credentialFormat: v.LiteralSchema<"mso_mdoc", undefined>;
|
644
|
+
readonly doctype: v.StringSchema<undefined>;
|
645
|
+
readonly namespaces: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
502
646
|
}, undefined>, v.ObjectSchema<{
|
647
|
+
readonly credentialFormat: v.LiteralSchema<"vc+sd-jwt", undefined>;
|
503
648
|
readonly vct: v.StringSchema<undefined>;
|
504
649
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
505
650
|
}, undefined>, v.ObjectSchema<{
|
506
|
-
readonly
|
507
|
-
readonly
|
651
|
+
readonly credentialFormat: v.PicklistSchema<["jwt_vc_json-ld", "jwt_vc_json"], undefined>;
|
652
|
+
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
508
653
|
}, undefined>], undefined>;
|
509
654
|
readonly success: v.LiteralSchema<true, undefined>;
|
510
655
|
readonly typed: v.LiteralSchema<true, undefined>;
|
@@ -512,15 +657,18 @@ export declare namespace DcqlQueryResult {
|
|
512
657
|
readonly credential_index: v.NumberSchema<undefined>;
|
513
658
|
readonly claim_set_index: v.UnionSchema<[v.NumberSchema<undefined>, v.UndefinedSchema<undefined>], undefined>;
|
514
659
|
}, undefined>, v.ObjectSchema<{
|
515
|
-
readonly all: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.UnionSchema<[v.UndefinedSchema<undefined>, v.ObjectSchema<{
|
516
|
-
readonly output: v.
|
517
|
-
readonly
|
660
|
+
readonly all: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.UndefinedSchema<undefined>, v.ObjectSchema<{
|
661
|
+
readonly output: v.VariantSchema<"credentialFormat", [v.ObjectSchema<{
|
662
|
+
readonly credentialFormat: v.LiteralSchema<"mso_mdoc", undefined>;
|
663
|
+
readonly doctype: v.StringSchema<undefined>;
|
664
|
+
readonly namespaces: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
518
665
|
}, undefined>, v.ObjectSchema<{
|
666
|
+
readonly credentialFormat: v.LiteralSchema<"vc+sd-jwt", undefined>;
|
519
667
|
readonly vct: v.StringSchema<undefined>;
|
520
668
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
521
669
|
}, undefined>, v.ObjectSchema<{
|
522
|
-
readonly
|
523
|
-
readonly
|
670
|
+
readonly credentialFormat: v.PicklistSchema<["jwt_vc_json-ld", "jwt_vc_json"], undefined>;
|
671
|
+
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<import("../u-dcql.js").Json, import("../u-dcql.js").Json, v.BaseIssue<unknown>>, undefined>;
|
524
672
|
}, undefined>], undefined>;
|
525
673
|
readonly success: v.LiteralSchema<true, undefined>;
|
526
674
|
readonly typed: v.LiteralSchema<true, undefined>;
|
@@ -534,7 +682,7 @@ export declare namespace DcqlQueryResult {
|
|
534
682
|
readonly issues: v.SchemaWithPipe<[v.ArraySchema<v.UnknownSchema, undefined>, v.CustomSchema<[unknown, ...unknown[]], undefined>]>;
|
535
683
|
readonly credential_index: v.NumberSchema<undefined>;
|
536
684
|
readonly claim_set_index: v.UnionSchema<[v.NumberSchema<undefined>, v.UndefinedSchema<undefined>], undefined>;
|
537
|
-
}, undefined>], undefined>, undefined>,
|
685
|
+
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
538
686
|
output: unknown;
|
539
687
|
success: false;
|
540
688
|
typed: boolean;
|
@@ -543,28 +691,97 @@ export declare namespace DcqlQueryResult {
|
|
543
691
|
credential_index: number;
|
544
692
|
} | {
|
545
693
|
output: {
|
694
|
+
credentialFormat: "mso_mdoc";
|
695
|
+
doctype: string;
|
696
|
+
namespaces: {
|
697
|
+
[x: string]: {
|
698
|
+
[x: string]: unknown;
|
699
|
+
};
|
700
|
+
};
|
701
|
+
} | {
|
702
|
+
credentialFormat: "vc+sd-jwt";
|
703
|
+
vct: string;
|
546
704
|
claims: {
|
547
705
|
[x: string]: import("../u-dcql.js").Json;
|
548
706
|
};
|
549
707
|
} | {
|
708
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
550
709
|
claims: {
|
551
710
|
[x: string]: import("../u-dcql.js").Json;
|
552
711
|
};
|
712
|
+
};
|
713
|
+
success: true;
|
714
|
+
typed: true;
|
715
|
+
claim_set_index: number | undefined;
|
716
|
+
credential_index: number;
|
717
|
+
issues?: undefined;
|
718
|
+
} | undefined, ...({
|
719
|
+
output: unknown;
|
720
|
+
success: false;
|
721
|
+
typed: boolean;
|
722
|
+
issues: [unknown, ...unknown[]];
|
723
|
+
claim_set_index: number | undefined;
|
724
|
+
credential_index: number;
|
725
|
+
} | {
|
726
|
+
output: {
|
727
|
+
credentialFormat: "mso_mdoc";
|
728
|
+
doctype: string;
|
729
|
+
namespaces: {
|
730
|
+
[x: string]: {
|
731
|
+
[x: string]: unknown;
|
732
|
+
};
|
733
|
+
};
|
734
|
+
} | {
|
735
|
+
credentialFormat: "vc+sd-jwt";
|
553
736
|
vct: string;
|
737
|
+
claims: {
|
738
|
+
[x: string]: import("../u-dcql.js").Json;
|
739
|
+
};
|
554
740
|
} | {
|
555
|
-
|
741
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
742
|
+
claims: {
|
743
|
+
[x: string]: import("../u-dcql.js").Json;
|
744
|
+
};
|
745
|
+
};
|
746
|
+
success: true;
|
747
|
+
typed: true;
|
748
|
+
claim_set_index: number | undefined;
|
749
|
+
credential_index: number;
|
750
|
+
issues?: undefined;
|
751
|
+
} | undefined)[]], undefined>]>, undefined>, v.CustomSchema<[[{
|
752
|
+
output: unknown;
|
753
|
+
success: false;
|
754
|
+
typed: boolean;
|
755
|
+
issues: [unknown, ...unknown[]];
|
756
|
+
claim_set_index: number | undefined;
|
757
|
+
credential_index: number;
|
758
|
+
} | {
|
759
|
+
output: {
|
760
|
+
credentialFormat: "mso_mdoc";
|
761
|
+
doctype: string;
|
556
762
|
namespaces: {
|
557
763
|
[x: string]: {
|
558
764
|
[x: string]: unknown;
|
559
765
|
};
|
560
766
|
};
|
767
|
+
} | {
|
768
|
+
credentialFormat: "vc+sd-jwt";
|
769
|
+
vct: string;
|
770
|
+
claims: {
|
771
|
+
[x: string]: import("../u-dcql.js").Json;
|
772
|
+
};
|
773
|
+
} | {
|
774
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
775
|
+
claims: {
|
776
|
+
[x: string]: import("../u-dcql.js").Json;
|
777
|
+
};
|
561
778
|
};
|
562
779
|
success: true;
|
563
780
|
typed: true;
|
564
781
|
claim_set_index: number | undefined;
|
565
782
|
credential_index: number;
|
566
783
|
issues?: undefined;
|
567
|
-
} | undefined
|
784
|
+
} | undefined, ...({
|
568
785
|
output: unknown;
|
569
786
|
success: false;
|
570
787
|
typed: boolean;
|
@@ -573,28 +790,97 @@ export declare namespace DcqlQueryResult {
|
|
573
790
|
credential_index: number;
|
574
791
|
} | {
|
575
792
|
output: {
|
793
|
+
credentialFormat: "mso_mdoc";
|
794
|
+
doctype: string;
|
795
|
+
namespaces: {
|
796
|
+
[x: string]: {
|
797
|
+
[x: string]: unknown;
|
798
|
+
};
|
799
|
+
};
|
800
|
+
} | {
|
801
|
+
credentialFormat: "vc+sd-jwt";
|
802
|
+
vct: string;
|
576
803
|
claims: {
|
577
804
|
[x: string]: import("../u-dcql.js").Json;
|
578
805
|
};
|
579
806
|
} | {
|
807
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
580
808
|
claims: {
|
581
809
|
[x: string]: import("../u-dcql.js").Json;
|
582
810
|
};
|
811
|
+
};
|
812
|
+
success: true;
|
813
|
+
typed: true;
|
814
|
+
claim_set_index: number | undefined;
|
815
|
+
credential_index: number;
|
816
|
+
issues?: undefined;
|
817
|
+
} | undefined)[]], ...[{
|
818
|
+
output: unknown;
|
819
|
+
success: false;
|
820
|
+
typed: boolean;
|
821
|
+
issues: [unknown, ...unknown[]];
|
822
|
+
claim_set_index: number | undefined;
|
823
|
+
credential_index: number;
|
824
|
+
} | {
|
825
|
+
output: {
|
826
|
+
credentialFormat: "mso_mdoc";
|
827
|
+
doctype: string;
|
828
|
+
namespaces: {
|
829
|
+
[x: string]: {
|
830
|
+
[x: string]: unknown;
|
831
|
+
};
|
832
|
+
};
|
833
|
+
} | {
|
834
|
+
credentialFormat: "vc+sd-jwt";
|
583
835
|
vct: string;
|
836
|
+
claims: {
|
837
|
+
[x: string]: import("../u-dcql.js").Json;
|
838
|
+
};
|
584
839
|
} | {
|
585
|
-
|
840
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
841
|
+
claims: {
|
842
|
+
[x: string]: import("../u-dcql.js").Json;
|
843
|
+
};
|
844
|
+
};
|
845
|
+
success: true;
|
846
|
+
typed: true;
|
847
|
+
claim_set_index: number | undefined;
|
848
|
+
credential_index: number;
|
849
|
+
issues?: undefined;
|
850
|
+
} | undefined, ...({
|
851
|
+
output: unknown;
|
852
|
+
success: false;
|
853
|
+
typed: boolean;
|
854
|
+
issues: [unknown, ...unknown[]];
|
855
|
+
claim_set_index: number | undefined;
|
856
|
+
credential_index: number;
|
857
|
+
} | {
|
858
|
+
output: {
|
859
|
+
credentialFormat: "mso_mdoc";
|
860
|
+
doctype: string;
|
586
861
|
namespaces: {
|
587
862
|
[x: string]: {
|
588
863
|
[x: string]: unknown;
|
589
864
|
};
|
590
865
|
};
|
866
|
+
} | {
|
867
|
+
credentialFormat: "vc+sd-jwt";
|
868
|
+
vct: string;
|
869
|
+
claims: {
|
870
|
+
[x: string]: import("../u-dcql.js").Json;
|
871
|
+
};
|
872
|
+
} | {
|
873
|
+
credentialFormat: "jwt_vc_json" | "jwt_vc_json-ld";
|
874
|
+
claims: {
|
875
|
+
[x: string]: import("../u-dcql.js").Json;
|
876
|
+
};
|
591
877
|
};
|
592
878
|
success: true;
|
593
879
|
typed: true;
|
594
880
|
claim_set_index: number | undefined;
|
595
881
|
credential_index: number;
|
596
882
|
issues?: undefined;
|
597
|
-
} | undefined)[][]], undefined>]>;
|
883
|
+
} | undefined)[]][]], undefined>]>;
|
598
884
|
readonly success: v.LiteralSchema<false, undefined>;
|
599
885
|
readonly typed: v.BooleanSchema<undefined>;
|
600
886
|
readonly output: v.UnknownSchema;
|
@@ -642,8 +928,8 @@ export declare namespace DcqlQueryResult {
|
|
642
928
|
}, undefined>;
|
643
929
|
export type Input = v.InferInput<typeof vModel>;
|
644
930
|
export type Output = v.InferOutput<typeof vModel>;
|
645
|
-
export type CredentialMatch =
|
646
|
-
export type CredentialMatchRecord =
|
931
|
+
export type CredentialMatch = Input['credential_matches'][number];
|
932
|
+
export type CredentialMatchRecord = Input['credential_matches'];
|
647
933
|
export {};
|
648
934
|
}
|
649
935
|
export type DcqlQueryResult = DcqlQueryResult.Output;
|