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