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.
Files changed (102) hide show
  1. package/dist/src/dcql-error/e-base.d.ts.map +1 -0
  2. package/dist/src/dcql-error/e-base.js.map +1 -0
  3. package/dist/src/{e-dcql.d.ts → dcql-error/e-dcql.d.ts} +6 -0
  4. package/dist/src/dcql-error/e-dcql.d.ts.map +1 -0
  5. package/dist/src/{e-dcql.js → dcql-error/e-dcql.js} +9 -3
  6. package/dist/src/dcql-error/e-dcql.js.map +1 -0
  7. package/dist/src/dcql-error/index.d.ts +3 -0
  8. package/dist/src/dcql-error/index.d.ts.map +1 -0
  9. package/dist/src/dcql-error/index.js +23 -0
  10. package/dist/src/dcql-error/index.js.map +1 -0
  11. package/dist/src/dcql-parser/claims-path.test.d.ts.map +1 -0
  12. package/dist/src/{dcql-query → dcql-parser}/claims-path.test.js +1 -1
  13. package/dist/src/dcql-parser/claims-path.test.js.map +1 -0
  14. package/dist/src/{dcql-query-result → dcql-parser}/dcql-claims-query-result.d.ts +6 -3
  15. package/dist/src/dcql-parser/dcql-claims-query-result.d.ts.map +1 -0
  16. package/dist/src/{dcql-query-result → dcql-parser}/dcql-claims-query-result.js +18 -15
  17. package/dist/src/dcql-parser/dcql-claims-query-result.js.map +1 -0
  18. package/dist/src/{dcql-query-result → dcql-parser}/dcql-credential-query-result.d.ts +2 -2
  19. package/dist/src/dcql-parser/dcql-credential-query-result.d.ts.map +1 -0
  20. package/dist/src/{dcql-query-result → dcql-parser}/dcql-credential-query-result.js +5 -5
  21. package/dist/src/dcql-parser/dcql-credential-query-result.js.map +1 -0
  22. package/dist/src/dcql-presentation/index.d.ts +3 -2
  23. package/dist/src/dcql-presentation/index.d.ts.map +1 -1
  24. package/dist/src/dcql-presentation/index.js +10 -16
  25. package/dist/src/dcql-presentation/index.js.map +1 -1
  26. package/dist/src/{u-dcql-credential-presentation.d.ts → dcql-presentation/m-dcql-credential-presentation.d.ts} +18 -12
  27. package/dist/src/dcql-presentation/m-dcql-credential-presentation.d.ts.map +1 -0
  28. package/dist/src/{u-dcql-credential-presentation.js → dcql-presentation/m-dcql-credential-presentation.js} +7 -7
  29. package/dist/src/dcql-presentation/m-dcql-credential-presentation.js.map +1 -0
  30. package/dist/src/dcql-presentation/m-dcql-presentation-result.d.ts +62 -53
  31. package/dist/src/dcql-presentation/m-dcql-presentation-result.d.ts.map +1 -1
  32. package/dist/src/dcql-presentation/m-dcql-presentation-result.js +11 -8
  33. package/dist/src/dcql-presentation/m-dcql-presentation-result.js.map +1 -1
  34. package/dist/src/dcql-query/dcql-query-complex.test.d.ts +2 -0
  35. package/dist/src/dcql-query/dcql-query-complex.test.d.ts.map +1 -0
  36. package/dist/src/dcql-query/dcql-query-complex.test.js +3631 -0
  37. package/dist/src/dcql-query/dcql-query-complex.test.js.map +1 -0
  38. package/dist/src/dcql-query/dcql-query.test.js +180 -12
  39. package/dist/src/dcql-query/dcql-query.test.js.map +1 -1
  40. package/dist/src/dcql-query/index.d.ts +5 -0
  41. package/dist/src/dcql-query/index.d.ts.map +1 -0
  42. package/dist/src/dcql-query/index.js +12 -0
  43. package/dist/src/dcql-query/index.js.map +1 -0
  44. package/dist/src/dcql-query/m-dcql-credential-query.js +1 -1
  45. package/dist/src/dcql-query/m-dcql-credential-query.js.map +1 -1
  46. package/dist/src/dcql-query/m-dcql-query.d.ts +172 -150
  47. package/dist/src/dcql-query/m-dcql-query.d.ts.map +1 -1
  48. package/dist/src/dcql-query/m-dcql-query.js +3 -3
  49. package/dist/src/dcql-query/m-dcql-query.js.map +1 -1
  50. package/dist/src/dcql-query-result/index.d.ts +3 -0
  51. package/dist/src/dcql-query-result/index.d.ts.map +1 -0
  52. package/dist/src/dcql-query-result/index.js +8 -0
  53. package/dist/src/dcql-query-result/index.js.map +1 -0
  54. package/dist/src/dcql-query-result/m-dcql-query-result.d.ts +294 -299
  55. package/dist/src/dcql-query-result/m-dcql-query-result.d.ts.map +1 -1
  56. package/dist/src/dcql-query-result/m-dcql-query-result.js +11 -29
  57. package/dist/src/dcql-query-result/m-dcql-query-result.js.map +1 -1
  58. package/dist/src/dcql-query-result/run-dcql-query.d.ts +8 -0
  59. package/dist/src/dcql-query-result/run-dcql-query.d.ts.map +1 -0
  60. package/dist/src/{dcql-query/dcql-query.js → dcql-query-result/run-dcql-query.js} +15 -12
  61. package/dist/src/dcql-query-result/run-dcql-query.js.map +1 -0
  62. package/dist/src/index.d.ts +4 -8
  63. package/dist/src/index.d.ts.map +1 -1
  64. package/dist/src/index.js +5 -19
  65. package/dist/src/index.js.map +1 -1
  66. package/dist/src/u-dcql-credential.d.ts +36 -32
  67. package/dist/src/u-dcql-credential.d.ts.map +1 -1
  68. package/dist/src/u-dcql-credential.js +10 -11
  69. package/dist/src/u-dcql-credential.js.map +1 -1
  70. package/dist/src/u-dcql.d.ts +16 -21
  71. package/dist/src/u-dcql.d.ts.map +1 -1
  72. package/dist/src/u-dcql.js +7 -13
  73. package/dist/src/u-dcql.js.map +1 -1
  74. package/dist/src/{model.d.ts → u-model.d.ts} +2 -2
  75. package/dist/src/u-model.d.ts.map +1 -0
  76. package/dist/src/{model.js → u-model.js} +2 -2
  77. package/dist/src/u-model.js.map +1 -0
  78. package/package.json +1 -1
  79. package/dist/src/dcql-query/claims-path.d.ts +0 -14
  80. package/dist/src/dcql-query/claims-path.d.ts.map +0 -1
  81. package/dist/src/dcql-query/claims-path.js +0 -23
  82. package/dist/src/dcql-query/claims-path.js.map +0 -1
  83. package/dist/src/dcql-query/claims-path.test.d.ts.map +0 -1
  84. package/dist/src/dcql-query/claims-path.test.js.map +0 -1
  85. package/dist/src/dcql-query/dcql-query.d.ts +0 -8
  86. package/dist/src/dcql-query/dcql-query.d.ts.map +0 -1
  87. package/dist/src/dcql-query/dcql-query.js.map +0 -1
  88. package/dist/src/dcql-query-result/dcql-claims-query-result.d.ts.map +0 -1
  89. package/dist/src/dcql-query-result/dcql-claims-query-result.js.map +0 -1
  90. package/dist/src/dcql-query-result/dcql-credential-query-result.d.ts.map +0 -1
  91. package/dist/src/dcql-query-result/dcql-credential-query-result.js.map +0 -1
  92. package/dist/src/e-base.d.ts.map +0 -1
  93. package/dist/src/e-base.js.map +0 -1
  94. package/dist/src/e-dcql.d.ts.map +0 -1
  95. package/dist/src/e-dcql.js.map +0 -1
  96. package/dist/src/model.d.ts.map +0 -1
  97. package/dist/src/model.js.map +0 -1
  98. package/dist/src/u-dcql-credential-presentation.d.ts.map +0 -1
  99. package/dist/src/u-dcql-credential-presentation.js.map +0 -1
  100. /package/dist/src/{e-base.d.ts → dcql-error/e-base.d.ts} +0 -0
  101. /package/dist/src/{e-base.js → dcql-error/e-base.js} +0 -0
  102. /package/dist/src/{dcql-query → dcql-parser}/claims-path.test.d.ts +0 -0
@@ -97,7 +97,6 @@ export declare namespace DcqlQuery {
97
97
  }, undefined>], undefined>, undefined>, v.CustomSchema<[{
98
98
  id: string;
99
99
  format: "mso_mdoc";
100
- claim_sets?: [string[], ...string[][]] | undefined;
101
100
  claims?: [{
102
101
  namespace: string;
103
102
  claim_name: string;
@@ -109,13 +108,13 @@ export declare namespace DcqlQuery {
109
108
  values?: (string | number | boolean)[] | undefined;
110
109
  id?: string | undefined;
111
110
  }[]] | undefined;
111
+ claim_sets?: [string[], ...string[][]] | undefined;
112
112
  meta?: {
113
113
  doctype_value?: string | undefined;
114
114
  } | undefined;
115
115
  } | {
116
116
  id: string;
117
117
  format: "vc+sd-jwt";
118
- claim_sets?: [string[], ...string[][]] | undefined;
119
118
  claims?: [{
120
119
  path: (string | number | null)[];
121
120
  values?: (string | number | boolean)[] | undefined;
@@ -125,13 +124,13 @@ export declare namespace DcqlQuery {
125
124
  values?: (string | number | boolean)[] | undefined;
126
125
  id?: string | undefined;
127
126
  }[]] | undefined;
127
+ claim_sets?: [string[], ...string[][]] | undefined;
128
128
  meta?: {
129
129
  vct_values?: string[] | undefined;
130
130
  } | undefined;
131
131
  } | {
132
132
  id: string;
133
- format: "jwt_vc_json" | "jwt_vc_json-ld";
134
- claim_sets?: [string[], ...string[][]] | undefined;
133
+ format: "jwt_vc_json-ld" | "jwt_vc_json";
135
134
  claims?: [{
136
135
  path: (string | number | null)[];
137
136
  values?: (string | number | boolean)[] | undefined;
@@ -141,10 +140,10 @@ export declare namespace DcqlQuery {
141
140
  values?: (string | number | boolean)[] | undefined;
142
141
  id?: string | undefined;
143
142
  }[]] | undefined;
143
+ claim_sets?: [string[], ...string[][]] | undefined;
144
144
  }, ...({
145
145
  id: string;
146
146
  format: "mso_mdoc";
147
- claim_sets?: [string[], ...string[][]] | undefined;
148
147
  claims?: [{
149
148
  namespace: string;
150
149
  claim_name: string;
@@ -156,13 +155,13 @@ export declare namespace DcqlQuery {
156
155
  values?: (string | number | boolean)[] | undefined;
157
156
  id?: string | undefined;
158
157
  }[]] | undefined;
158
+ claim_sets?: [string[], ...string[][]] | undefined;
159
159
  meta?: {
160
160
  doctype_value?: string | undefined;
161
161
  } | undefined;
162
162
  } | {
163
163
  id: string;
164
164
  format: "vc+sd-jwt";
165
- claim_sets?: [string[], ...string[][]] | undefined;
166
165
  claims?: [{
167
166
  path: (string | number | null)[];
168
167
  values?: (string | number | boolean)[] | undefined;
@@ -172,13 +171,13 @@ export declare namespace DcqlQuery {
172
171
  values?: (string | number | boolean)[] | undefined;
173
172
  id?: string | undefined;
174
173
  }[]] | undefined;
174
+ claim_sets?: [string[], ...string[][]] | undefined;
175
175
  meta?: {
176
176
  vct_values?: string[] | undefined;
177
177
  } | undefined;
178
178
  } | {
179
179
  id: string;
180
- format: "jwt_vc_json" | "jwt_vc_json-ld";
181
- claim_sets?: [string[], ...string[][]] | undefined;
180
+ format: "jwt_vc_json-ld" | "jwt_vc_json";
182
181
  claims?: [{
183
182
  path: (string | number | null)[];
184
183
  values?: (string | number | boolean)[] | undefined;
@@ -188,10 +187,10 @@ export declare namespace DcqlQuery {
188
187
  values?: (string | number | boolean)[] | undefined;
189
188
  id?: string | undefined;
190
189
  }[]] | undefined;
190
+ claim_sets?: [string[], ...string[][]] | undefined;
191
191
  })[]], undefined>, v.DescriptionAction<[{
192
192
  id: string;
193
193
  format: "mso_mdoc";
194
- claim_sets?: [string[], ...string[][]] | undefined;
195
194
  claims?: [{
196
195
  namespace: string;
197
196
  claim_name: string;
@@ -203,13 +202,13 @@ export declare namespace DcqlQuery {
203
202
  values?: (string | number | boolean)[] | undefined;
204
203
  id?: string | undefined;
205
204
  }[]] | undefined;
205
+ claim_sets?: [string[], ...string[][]] | undefined;
206
206
  meta?: {
207
207
  doctype_value?: string | undefined;
208
208
  } | undefined;
209
209
  } | {
210
210
  id: string;
211
211
  format: "vc+sd-jwt";
212
- claim_sets?: [string[], ...string[][]] | undefined;
213
212
  claims?: [{
214
213
  path: (string | number | null)[];
215
214
  values?: (string | number | boolean)[] | undefined;
@@ -219,13 +218,13 @@ export declare namespace DcqlQuery {
219
218
  values?: (string | number | boolean)[] | undefined;
220
219
  id?: string | undefined;
221
220
  }[]] | undefined;
221
+ claim_sets?: [string[], ...string[][]] | undefined;
222
222
  meta?: {
223
223
  vct_values?: string[] | undefined;
224
224
  } | undefined;
225
225
  } | {
226
226
  id: string;
227
- format: "jwt_vc_json" | "jwt_vc_json-ld";
228
- claim_sets?: [string[], ...string[][]] | undefined;
227
+ format: "jwt_vc_json-ld" | "jwt_vc_json";
229
228
  claims?: [{
230
229
  path: (string | number | null)[];
231
230
  values?: (string | number | boolean)[] | undefined;
@@ -235,10 +234,10 @@ export declare namespace DcqlQuery {
235
234
  values?: (string | number | boolean)[] | undefined;
236
235
  id?: string | undefined;
237
236
  }[]] | undefined;
237
+ claim_sets?: [string[], ...string[][]] | undefined;
238
238
  }, ...({
239
239
  id: string;
240
240
  format: "mso_mdoc";
241
- claim_sets?: [string[], ...string[][]] | undefined;
242
241
  claims?: [{
243
242
  namespace: string;
244
243
  claim_name: string;
@@ -250,13 +249,13 @@ export declare namespace DcqlQuery {
250
249
  values?: (string | number | boolean)[] | undefined;
251
250
  id?: string | undefined;
252
251
  }[]] | undefined;
252
+ claim_sets?: [string[], ...string[][]] | undefined;
253
253
  meta?: {
254
254
  doctype_value?: string | undefined;
255
255
  } | undefined;
256
256
  } | {
257
257
  id: string;
258
258
  format: "vc+sd-jwt";
259
- claim_sets?: [string[], ...string[][]] | undefined;
260
259
  claims?: [{
261
260
  path: (string | number | null)[];
262
261
  values?: (string | number | boolean)[] | undefined;
@@ -266,13 +265,13 @@ export declare namespace DcqlQuery {
266
265
  values?: (string | number | boolean)[] | undefined;
267
266
  id?: string | undefined;
268
267
  }[]] | undefined;
268
+ claim_sets?: [string[], ...string[][]] | undefined;
269
269
  meta?: {
270
270
  vct_values?: string[] | undefined;
271
271
  } | undefined;
272
272
  } | {
273
273
  id: string;
274
- format: "jwt_vc_json" | "jwt_vc_json-ld";
275
- claim_sets?: [string[], ...string[][]] | undefined;
274
+ format: "jwt_vc_json-ld" | "jwt_vc_json";
276
275
  claims?: [{
277
276
  path: (string | number | null)[];
278
277
  values?: (string | number | boolean)[] | undefined;
@@ -282,6 +281,7 @@ export declare namespace DcqlQuery {
282
281
  values?: (string | number | boolean)[] | undefined;
283
282
  id?: string | undefined;
284
283
  }[]] | undefined;
284
+ claim_sets?: [string[], ...string[][]] | undefined;
285
285
  })[]], "REQUIRED. A non-empty array of Credential Queries that specify the requested Verifiable Credentials.">]>;
286
286
  readonly credential_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
287
287
  readonly options: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>, v.DescriptionAction<[string[], ...string[][]], "REQUIRED. A non-empty array, where each value in the array is a list of Credential Query identifiers representing one set of Credentials that satisfies the use case.">]>;
@@ -322,7 +322,6 @@ export declare namespace DcqlQuery {
322
322
  credentials: [{
323
323
  id: string;
324
324
  format: "mso_mdoc";
325
- claim_sets?: [string[], ...string[][]] | undefined;
326
325
  claims?: [{
327
326
  namespace: string;
328
327
  claim_name: string;
@@ -334,13 +333,13 @@ export declare namespace DcqlQuery {
334
333
  values?: (string | number | boolean)[] | undefined;
335
334
  id?: string | undefined;
336
335
  }[]] | undefined;
336
+ claim_sets?: [string[], ...string[][]] | undefined;
337
337
  meta?: {
338
338
  doctype_value?: string | undefined;
339
339
  } | undefined;
340
340
  } | {
341
341
  id: string;
342
342
  format: "vc+sd-jwt";
343
- claim_sets?: [string[], ...string[][]] | undefined;
344
343
  claims?: [{
345
344
  path: (string | number | null)[];
346
345
  values?: (string | number | boolean)[] | undefined;
@@ -350,13 +349,13 @@ export declare namespace DcqlQuery {
350
349
  values?: (string | number | boolean)[] | undefined;
351
350
  id?: string | undefined;
352
351
  }[]] | undefined;
352
+ claim_sets?: [string[], ...string[][]] | undefined;
353
353
  meta?: {
354
354
  vct_values?: string[] | undefined;
355
355
  } | undefined;
356
356
  } | {
357
357
  id: string;
358
- format: "jwt_vc_json" | "jwt_vc_json-ld";
359
- claim_sets?: [string[], ...string[][]] | undefined;
358
+ format: "jwt_vc_json-ld" | "jwt_vc_json";
360
359
  claims?: [{
361
360
  path: (string | number | null)[];
362
361
  values?: (string | number | boolean)[] | undefined;
@@ -366,10 +365,10 @@ export declare namespace DcqlQuery {
366
365
  values?: (string | number | boolean)[] | undefined;
367
366
  id?: string | undefined;
368
367
  }[]] | undefined;
368
+ claim_sets?: [string[], ...string[][]] | undefined;
369
369
  }, ...({
370
370
  id: string;
371
371
  format: "mso_mdoc";
372
- claim_sets?: [string[], ...string[][]] | undefined;
373
372
  claims?: [{
374
373
  namespace: string;
375
374
  claim_name: string;
@@ -381,13 +380,13 @@ export declare namespace DcqlQuery {
381
380
  values?: (string | number | boolean)[] | undefined;
382
381
  id?: string | undefined;
383
382
  }[]] | undefined;
383
+ claim_sets?: [string[], ...string[][]] | undefined;
384
384
  meta?: {
385
385
  doctype_value?: string | undefined;
386
386
  } | undefined;
387
387
  } | {
388
388
  id: string;
389
389
  format: "vc+sd-jwt";
390
- claim_sets?: [string[], ...string[][]] | undefined;
391
390
  claims?: [{
392
391
  path: (string | number | null)[];
393
392
  values?: (string | number | boolean)[] | undefined;
@@ -397,13 +396,13 @@ export declare namespace DcqlQuery {
397
396
  values?: (string | number | boolean)[] | undefined;
398
397
  id?: string | undefined;
399
398
  }[]] | undefined;
399
+ claim_sets?: [string[], ...string[][]] | undefined;
400
400
  meta?: {
401
401
  vct_values?: string[] | undefined;
402
402
  } | undefined;
403
403
  } | {
404
404
  id: string;
405
- format: "jwt_vc_json" | "jwt_vc_json-ld";
406
- claim_sets?: [string[], ...string[][]] | undefined;
405
+ format: "jwt_vc_json-ld" | "jwt_vc_json";
407
406
  claims?: [{
408
407
  path: (string | number | null)[];
409
408
  values?: (string | number | boolean)[] | undefined;
@@ -413,279 +412,302 @@ export declare namespace DcqlQuery {
413
412
  values?: (string | number | boolean)[] | undefined;
414
413
  id?: string | undefined;
415
414
  }[]] | undefined;
415
+ claim_sets?: [string[], ...string[][]] | undefined;
416
416
  })[]];
417
417
  credential_matches: {
418
418
  [x: string]: {
419
419
  output: {
420
- claims: {
421
- [x: string]: import("../u-dcql.js").Json;
420
+ credential_format: "mso_mdoc";
421
+ doctype: string;
422
+ namespaces: {
423
+ [x: string]: {
424
+ [x: string]: unknown;
425
+ };
422
426
  };
423
427
  } | {
428
+ credential_format: "vc+sd-jwt";
429
+ vct: string;
424
430
  claims: {
425
431
  [x: string]: import("../u-dcql.js").Json;
426
432
  };
427
- vct: string;
428
433
  } | {
429
- docType: string;
430
- namespaces: {
431
- [x: string]: {
432
- [x: string]: unknown;
433
- };
434
+ credential_format: "jwt_vc_json-ld" | "jwt_vc_json";
435
+ claims: {
436
+ [x: string]: import("../u-dcql.js").Json;
434
437
  };
435
438
  };
436
439
  success: true;
437
440
  typed: true;
438
441
  claim_set_index: number | undefined;
439
- credential_index: number;
442
+ input_credential_index: number;
440
443
  all: [[{
441
- output: unknown;
442
- success: false;
443
- typed: boolean;
444
- issues: [unknown, ...unknown[]];
445
- claim_set_index: number | undefined;
446
- credential_index: number;
447
- } | {
448
444
  output: {
449
- claims: {
450
- [x: string]: import("../u-dcql.js").Json;
445
+ credential_format: "mso_mdoc";
446
+ doctype: string;
447
+ namespaces: {
448
+ [x: string]: {
449
+ [x: string]: unknown;
450
+ };
451
451
  };
452
452
  } | {
453
+ credential_format: "vc+sd-jwt";
454
+ vct: string;
453
455
  claims: {
454
456
  [x: string]: import("../u-dcql.js").Json;
455
457
  };
456
- vct: string;
457
458
  } | {
458
- docType: string;
459
- namespaces: {
460
- [x: string]: {
461
- [x: string]: unknown;
462
- };
459
+ credential_format: "jwt_vc_json-ld" | "jwt_vc_json";
460
+ claims: {
461
+ [x: string]: import("../u-dcql.js").Json;
463
462
  };
464
463
  };
465
464
  success: true;
466
465
  typed: true;
467
466
  claim_set_index: number | undefined;
468
- credential_index: number;
467
+ input_credential_index: number;
469
468
  issues?: undefined;
470
- } | undefined, ...({
469
+ } | {
471
470
  output: unknown;
472
471
  success: false;
473
472
  typed: boolean;
474
473
  issues: [unknown, ...unknown[]];
475
474
  claim_set_index: number | undefined;
476
- credential_index: number;
477
- } | {
475
+ input_credential_index: number;
476
+ } | undefined, ...({
478
477
  output: {
479
- claims: {
480
- [x: string]: import("../u-dcql.js").Json;
478
+ credential_format: "mso_mdoc";
479
+ doctype: string;
480
+ namespaces: {
481
+ [x: string]: {
482
+ [x: string]: unknown;
483
+ };
481
484
  };
482
485
  } | {
486
+ credential_format: "vc+sd-jwt";
487
+ vct: string;
483
488
  claims: {
484
489
  [x: string]: import("../u-dcql.js").Json;
485
490
  };
486
- vct: string;
487
491
  } | {
488
- docType: string;
489
- namespaces: {
490
- [x: string]: {
491
- [x: string]: unknown;
492
- };
492
+ credential_format: "jwt_vc_json-ld" | "jwt_vc_json";
493
+ claims: {
494
+ [x: string]: import("../u-dcql.js").Json;
493
495
  };
494
496
  };
495
497
  success: true;
496
498
  typed: true;
497
499
  claim_set_index: number | undefined;
498
- credential_index: number;
500
+ input_credential_index: number;
499
501
  issues?: undefined;
500
- } | undefined)[]], ...[{
502
+ } | {
501
503
  output: unknown;
502
504
  success: false;
503
505
  typed: boolean;
504
506
  issues: [unknown, ...unknown[]];
505
507
  claim_set_index: number | undefined;
506
- credential_index: number;
507
- } | {
508
+ input_credential_index: number;
509
+ } | undefined)[]], ...[{
508
510
  output: {
509
- claims: {
510
- [x: string]: import("../u-dcql.js").Json;
511
+ credential_format: "mso_mdoc";
512
+ doctype: string;
513
+ namespaces: {
514
+ [x: string]: {
515
+ [x: string]: unknown;
516
+ };
511
517
  };
512
518
  } | {
519
+ credential_format: "vc+sd-jwt";
520
+ vct: string;
513
521
  claims: {
514
522
  [x: string]: import("../u-dcql.js").Json;
515
523
  };
516
- vct: string;
517
524
  } | {
518
- docType: string;
519
- namespaces: {
520
- [x: string]: {
521
- [x: string]: unknown;
522
- };
525
+ credential_format: "jwt_vc_json-ld" | "jwt_vc_json";
526
+ claims: {
527
+ [x: string]: import("../u-dcql.js").Json;
523
528
  };
524
529
  };
525
530
  success: true;
526
531
  typed: true;
527
532
  claim_set_index: number | undefined;
528
- credential_index: number;
533
+ input_credential_index: number;
529
534
  issues?: undefined;
530
- } | undefined, ...({
535
+ } | {
531
536
  output: unknown;
532
537
  success: false;
533
538
  typed: boolean;
534
539
  issues: [unknown, ...unknown[]];
535
540
  claim_set_index: number | undefined;
536
- credential_index: number;
537
- } | {
541
+ input_credential_index: number;
542
+ } | undefined, ...({
538
543
  output: {
539
- claims: {
540
- [x: string]: import("../u-dcql.js").Json;
544
+ credential_format: "mso_mdoc";
545
+ doctype: string;
546
+ namespaces: {
547
+ [x: string]: {
548
+ [x: string]: unknown;
549
+ };
541
550
  };
542
551
  } | {
552
+ credential_format: "vc+sd-jwt";
553
+ vct: string;
543
554
  claims: {
544
555
  [x: string]: import("../u-dcql.js").Json;
545
556
  };
546
- vct: string;
547
557
  } | {
548
- docType: string;
549
- namespaces: {
550
- [x: string]: {
551
- [x: string]: unknown;
552
- };
558
+ credential_format: "jwt_vc_json-ld" | "jwt_vc_json";
559
+ claims: {
560
+ [x: string]: import("../u-dcql.js").Json;
553
561
  };
554
562
  };
555
563
  success: true;
556
564
  typed: true;
557
565
  claim_set_index: number | undefined;
558
- credential_index: number;
566
+ input_credential_index: number;
559
567
  issues?: undefined;
560
- } | undefined)[]][]];
561
- issues?: undefined;
562
- } | {
563
- output: unknown;
564
- success: false;
565
- typed: boolean;
566
- issues: [unknown, ...unknown[]];
567
- claim_set_index: number | undefined;
568
- credential_index: number;
569
- all: [[{
568
+ } | {
570
569
  output: unknown;
571
570
  success: false;
572
571
  typed: boolean;
573
572
  issues: [unknown, ...unknown[]];
574
573
  claim_set_index: number | undefined;
575
- credential_index: number;
576
- } | {
574
+ input_credential_index: number;
575
+ } | undefined)[]][]];
576
+ issues?: undefined;
577
+ } | {
578
+ success: false;
579
+ all: [[{
577
580
  output: {
578
- claims: {
579
- [x: string]: import("../u-dcql.js").Json;
581
+ credential_format: "mso_mdoc";
582
+ doctype: string;
583
+ namespaces: {
584
+ [x: string]: {
585
+ [x: string]: unknown;
586
+ };
580
587
  };
581
588
  } | {
589
+ credential_format: "vc+sd-jwt";
590
+ vct: string;
582
591
  claims: {
583
592
  [x: string]: import("../u-dcql.js").Json;
584
593
  };
585
- vct: string;
586
594
  } | {
587
- docType: string;
588
- namespaces: {
589
- [x: string]: {
590
- [x: string]: unknown;
591
- };
595
+ credential_format: "jwt_vc_json-ld" | "jwt_vc_json";
596
+ claims: {
597
+ [x: string]: import("../u-dcql.js").Json;
592
598
  };
593
599
  };
594
600
  success: true;
595
601
  typed: true;
596
602
  claim_set_index: number | undefined;
597
- credential_index: number;
603
+ input_credential_index: number;
598
604
  issues?: undefined;
599
- } | undefined, ...({
605
+ } | {
600
606
  output: unknown;
601
607
  success: false;
602
608
  typed: boolean;
603
609
  issues: [unknown, ...unknown[]];
604
610
  claim_set_index: number | undefined;
605
- credential_index: number;
606
- } | {
611
+ input_credential_index: number;
612
+ } | undefined, ...({
607
613
  output: {
608
- claims: {
609
- [x: string]: import("../u-dcql.js").Json;
614
+ credential_format: "mso_mdoc";
615
+ doctype: string;
616
+ namespaces: {
617
+ [x: string]: {
618
+ [x: string]: unknown;
619
+ };
610
620
  };
611
621
  } | {
622
+ credential_format: "vc+sd-jwt";
623
+ vct: string;
612
624
  claims: {
613
625
  [x: string]: import("../u-dcql.js").Json;
614
626
  };
615
- vct: string;
616
627
  } | {
617
- docType: string;
618
- namespaces: {
619
- [x: string]: {
620
- [x: string]: unknown;
621
- };
628
+ credential_format: "jwt_vc_json-ld" | "jwt_vc_json";
629
+ claims: {
630
+ [x: string]: import("../u-dcql.js").Json;
622
631
  };
623
632
  };
624
633
  success: true;
625
634
  typed: true;
626
635
  claim_set_index: number | undefined;
627
- credential_index: number;
636
+ input_credential_index: number;
628
637
  issues?: undefined;
629
- } | undefined)[]], ...[{
638
+ } | {
630
639
  output: unknown;
631
640
  success: false;
632
641
  typed: boolean;
633
642
  issues: [unknown, ...unknown[]];
634
643
  claim_set_index: number | undefined;
635
- credential_index: number;
636
- } | {
644
+ input_credential_index: number;
645
+ } | undefined)[]], ...[{
637
646
  output: {
638
- claims: {
639
- [x: string]: import("../u-dcql.js").Json;
647
+ credential_format: "mso_mdoc";
648
+ doctype: string;
649
+ namespaces: {
650
+ [x: string]: {
651
+ [x: string]: unknown;
652
+ };
640
653
  };
641
654
  } | {
655
+ credential_format: "vc+sd-jwt";
656
+ vct: string;
642
657
  claims: {
643
658
  [x: string]: import("../u-dcql.js").Json;
644
659
  };
645
- vct: string;
646
660
  } | {
647
- docType: string;
648
- namespaces: {
649
- [x: string]: {
650
- [x: string]: unknown;
651
- };
661
+ credential_format: "jwt_vc_json-ld" | "jwt_vc_json";
662
+ claims: {
663
+ [x: string]: import("../u-dcql.js").Json;
652
664
  };
653
665
  };
654
666
  success: true;
655
667
  typed: true;
656
668
  claim_set_index: number | undefined;
657
- credential_index: number;
669
+ input_credential_index: number;
658
670
  issues?: undefined;
659
- } | undefined, ...({
671
+ } | {
660
672
  output: unknown;
661
673
  success: false;
662
674
  typed: boolean;
663
675
  issues: [unknown, ...unknown[]];
664
676
  claim_set_index: number | undefined;
665
- credential_index: number;
666
- } | {
677
+ input_credential_index: number;
678
+ } | undefined, ...({
667
679
  output: {
668
- claims: {
669
- [x: string]: import("../u-dcql.js").Json;
680
+ credential_format: "mso_mdoc";
681
+ doctype: string;
682
+ namespaces: {
683
+ [x: string]: {
684
+ [x: string]: unknown;
685
+ };
670
686
  };
671
687
  } | {
688
+ credential_format: "vc+sd-jwt";
689
+ vct: string;
672
690
  claims: {
673
691
  [x: string]: import("../u-dcql.js").Json;
674
692
  };
675
- vct: string;
676
693
  } | {
677
- docType: string;
678
- namespaces: {
679
- [x: string]: {
680
- [x: string]: unknown;
681
- };
694
+ credential_format: "jwt_vc_json-ld" | "jwt_vc_json";
695
+ claims: {
696
+ [x: string]: import("../u-dcql.js").Json;
682
697
  };
683
698
  };
684
699
  success: true;
685
700
  typed: true;
686
701
  claim_set_index: number | undefined;
687
- credential_index: number;
702
+ input_credential_index: number;
688
703
  issues?: undefined;
704
+ } | {
705
+ output: unknown;
706
+ success: false;
707
+ typed: boolean;
708
+ issues: [unknown, ...unknown[]];
709
+ claim_set_index: number | undefined;
710
+ input_credential_index: number;
689
711
  } | undefined)[]][]];
690
712
  };
691
713
  };
@@ -710,7 +732,6 @@ export declare namespace DcqlQuery {
710
732
  credentials: [{
711
733
  id: string;
712
734
  format: "mso_mdoc";
713
- claim_sets?: [string[], ...string[][]] | undefined;
714
735
  claims?: [{
715
736
  namespace: string;
716
737
  claim_name: string;
@@ -722,13 +743,13 @@ export declare namespace DcqlQuery {
722
743
  values?: (string | number | boolean)[] | undefined;
723
744
  id?: string | undefined;
724
745
  }[]] | undefined;
746
+ claim_sets?: [string[], ...string[][]] | undefined;
725
747
  meta?: {
726
748
  doctype_value?: string | undefined;
727
749
  } | undefined;
728
750
  } | {
729
751
  id: string;
730
752
  format: "vc+sd-jwt";
731
- claim_sets?: [string[], ...string[][]] | undefined;
732
753
  claims?: [{
733
754
  path: (string | number | null)[];
734
755
  values?: (string | number | boolean)[] | undefined;
@@ -738,13 +759,13 @@ export declare namespace DcqlQuery {
738
759
  values?: (string | number | boolean)[] | undefined;
739
760
  id?: string | undefined;
740
761
  }[]] | undefined;
762
+ claim_sets?: [string[], ...string[][]] | undefined;
741
763
  meta?: {
742
764
  vct_values?: string[] | undefined;
743
765
  } | undefined;
744
766
  } | {
745
767
  id: string;
746
- format: "jwt_vc_json" | "jwt_vc_json-ld";
747
- claim_sets?: [string[], ...string[][]] | undefined;
768
+ format: "jwt_vc_json-ld" | "jwt_vc_json";
748
769
  claims?: [{
749
770
  path: (string | number | null)[];
750
771
  values?: (string | number | boolean)[] | undefined;
@@ -754,10 +775,10 @@ export declare namespace DcqlQuery {
754
775
  values?: (string | number | boolean)[] | undefined;
755
776
  id?: string | undefined;
756
777
  }[]] | undefined;
778
+ claim_sets?: [string[], ...string[][]] | undefined;
757
779
  }, ...({
758
780
  id: string;
759
781
  format: "mso_mdoc";
760
- claim_sets?: [string[], ...string[][]] | undefined;
761
782
  claims?: [{
762
783
  namespace: string;
763
784
  claim_name: string;
@@ -769,13 +790,13 @@ export declare namespace DcqlQuery {
769
790
  values?: (string | number | boolean)[] | undefined;
770
791
  id?: string | undefined;
771
792
  }[]] | undefined;
793
+ claim_sets?: [string[], ...string[][]] | undefined;
772
794
  meta?: {
773
795
  doctype_value?: string | undefined;
774
796
  } | undefined;
775
797
  } | {
776
798
  id: string;
777
799
  format: "vc+sd-jwt";
778
- claim_sets?: [string[], ...string[][]] | undefined;
779
800
  claims?: [{
780
801
  path: (string | number | null)[];
781
802
  values?: (string | number | boolean)[] | undefined;
@@ -785,13 +806,13 @@ export declare namespace DcqlQuery {
785
806
  values?: (string | number | boolean)[] | undefined;
786
807
  id?: string | undefined;
787
808
  }[]] | undefined;
809
+ claim_sets?: [string[], ...string[][]] | undefined;
788
810
  meta?: {
789
811
  vct_values?: string[] | undefined;
790
812
  } | undefined;
791
813
  } | {
792
814
  id: string;
793
- format: "jwt_vc_json" | "jwt_vc_json-ld";
794
- claim_sets?: [string[], ...string[][]] | undefined;
815
+ format: "jwt_vc_json-ld" | "jwt_vc_json";
795
816
  claims?: [{
796
817
  path: (string | number | null)[];
797
818
  values?: (string | number | boolean)[] | undefined;
@@ -801,6 +822,7 @@ export declare namespace DcqlQuery {
801
822
  values?: (string | number | boolean)[] | undefined;
802
823
  id?: string | undefined;
803
824
  }[]] | undefined;
825
+ claim_sets?: [string[], ...string[][]] | undefined;
804
826
  })[]];
805
827
  credential_sets?: [{
806
828
  options: [string[], ...string[][]];