@meeco/svx-api-sdk 1.0.0-develop.20250108183718.7fc3d67 → 1.0.0-develop.20250108184711.803db02

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 (59) hide show
  1. package/.openapi-generator/FILES +2 -8
  2. package/lib/esm/apis/VerifiableCredentialsApi.js +2 -2
  3. package/lib/esm/apis/VerifiablePresentationsApi.js +8 -11
  4. package/lib/esm/models/VCCreateCredentialTypeConfigDto.js +8 -3
  5. package/lib/esm/models/VCCreatePresentationRequestOptionsRequestDto.js +1 -1
  6. package/lib/esm/models/VCCredentialTypeConfigDto.js +14 -5
  7. package/lib/esm/models/VCCredentialTypeModelDto.js +12 -12
  8. package/lib/esm/models/VCFieldsDtoFilter.js +6 -0
  9. package/lib/esm/models/VCFilterContainsDto.js +45 -0
  10. package/lib/esm/models/VCFilterDto.js +6 -0
  11. package/lib/esm/models/VCFilterItemsDto.js +43 -0
  12. package/lib/esm/models/VCInputDescriptorDto.js +2 -0
  13. package/lib/esm/models/index.js +2 -7
  14. package/lib/types/apis/VerifiableCredentialsApi.d.ts +2 -2
  15. package/lib/types/apis/VerifiablePresentationsApi.d.ts +8 -8
  16. package/lib/types/models/VCCreateCredentialTypeConfigDto.d.ts +20 -3
  17. package/lib/types/models/VCCreatePresentationRequestOptionsRequestDto.d.ts +1 -1
  18. package/lib/types/models/VCCredentialTypeConfigDto.d.ts +23 -6
  19. package/lib/types/models/VCCredentialTypeModelDto.d.ts +10 -10
  20. package/lib/types/models/VCFieldsDtoFilter.d.ts +14 -0
  21. package/lib/types/models/VCFilterContainsDto.d.ts +37 -0
  22. package/lib/types/models/VCFilterDto.d.ts +14 -0
  23. package/lib/types/models/VCFilterItemsDto.d.ts +31 -0
  24. package/lib/types/models/VCInputDescriptorDto.d.ts +6 -0
  25. package/lib/types/models/index.d.ts +2 -7
  26. package/lib/umd/apis/VerifiableCredentialsApi.js +2 -2
  27. package/lib/umd/apis/VerifiablePresentationsApi.js +8 -11
  28. package/lib/umd/models/VCCreateCredentialTypeConfigDto.js +8 -3
  29. package/lib/umd/models/VCCreatePresentationRequestOptionsRequestDto.js +1 -1
  30. package/lib/umd/models/VCCredentialTypeConfigDto.js +14 -5
  31. package/lib/umd/models/VCCredentialTypeModelDto.js +12 -12
  32. package/lib/umd/models/VCFieldsDtoFilter.js +6 -0
  33. package/lib/umd/models/VCFilterContainsDto.js +52 -0
  34. package/lib/umd/models/VCFilterDto.js +6 -0
  35. package/lib/umd/models/VCFilterItemsDto.js +50 -0
  36. package/lib/umd/models/VCInputDescriptorDto.js +2 -0
  37. package/lib/umd/models/index.js +2 -7
  38. package/package.json +1 -1
  39. package/lib/esm/models/VCCreateCredentialTypeConfigDtoExpiry.js +0 -49
  40. package/lib/esm/models/VCCreateCredentialTypeExpiryDto.js +0 -49
  41. package/lib/esm/models/VCCredentialTypeConfigDtoExpiry.js +0 -49
  42. package/lib/esm/models/VCCredentialTypeExpiryDto.js +0 -49
  43. package/lib/esm/models/VCCredentialTypeModelDtoConfig.js +0 -52
  44. package/lib/esm/models/VCCredentialTypeModelDtoSchema.js +0 -55
  45. package/lib/esm/models/VCCredentialTypeModelDtoStyle.js +0 -49
  46. package/lib/types/models/VCCreateCredentialTypeConfigDtoExpiry.d.ts +0 -43
  47. package/lib/types/models/VCCreateCredentialTypeExpiryDto.d.ts +0 -43
  48. package/lib/types/models/VCCredentialTypeConfigDtoExpiry.d.ts +0 -43
  49. package/lib/types/models/VCCredentialTypeExpiryDto.d.ts +0 -43
  50. package/lib/types/models/VCCredentialTypeModelDtoConfig.d.ts +0 -50
  51. package/lib/types/models/VCCredentialTypeModelDtoSchema.d.ts +0 -55
  52. package/lib/types/models/VCCredentialTypeModelDtoStyle.d.ts +0 -43
  53. package/lib/umd/models/VCCreateCredentialTypeConfigDtoExpiry.js +0 -56
  54. package/lib/umd/models/VCCreateCredentialTypeExpiryDto.js +0 -56
  55. package/lib/umd/models/VCCredentialTypeConfigDtoExpiry.js +0 -56
  56. package/lib/umd/models/VCCredentialTypeExpiryDto.js +0 -56
  57. package/lib/umd/models/VCCredentialTypeModelDtoConfig.js +0 -59
  58. package/lib/umd/models/VCCredentialTypeModelDtoSchema.js +0 -62
  59. package/lib/umd/models/VCCredentialTypeModelDtoStyle.js +0 -56
@@ -14,15 +14,18 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.VCCredentialTypeConfigDtoToJSON = exports.VCCredentialTypeConfigDtoFromJSONTyped = exports.VCCredentialTypeConfigDtoFromJSON = exports.instanceOfVCCredentialTypeConfigDto = void 0;
17
- const runtime_1 = require("../runtime");
18
- const VCCredentialTypeConfigDtoExpiry_1 = require("./VCCredentialTypeConfigDtoExpiry");
19
17
  /**
20
18
  * Check if a given object implements the VCCredentialTypeConfigDto interface.
21
19
  */
22
20
  function instanceOfVCCredentialTypeConfigDto(value) {
23
21
  let isInstance = true;
24
22
  isInstance = isInstance && "vct" in value;
23
+ isInstance = isInstance && "valid_in" in value;
24
+ isInstance = isInstance && "valid_at" in value;
25
+ isInstance = isInstance && "expires_in" in value;
26
+ isInstance = isInstance && "expires_at" in value;
25
27
  isInstance = isInstance && "issuer_credential_configurations_supported_name" in value;
28
+ isInstance = isInstance && "disclosure_frame" in value;
26
29
  return isInstance;
27
30
  }
28
31
  exports.instanceOfVCCredentialTypeConfigDto = instanceOfVCCredentialTypeConfigDto;
@@ -36,9 +39,12 @@ function VCCredentialTypeConfigDtoFromJSONTyped(json, ignoreDiscriminator) {
36
39
  }
37
40
  return {
38
41
  'vct': json['vct'],
39
- 'expiry': !(0, runtime_1.exists)(json, 'expiry') ? undefined : (0, VCCredentialTypeConfigDtoExpiry_1.VCCredentialTypeConfigDtoExpiryFromJSON)(json['expiry']),
42
+ 'valid_in': json['valid_in'],
43
+ 'valid_at': (json['valid_at'] === null ? null : new Date(json['valid_at'])),
44
+ 'expires_in': json['expires_in'],
45
+ 'expires_at': (json['expires_at'] === null ? null : new Date(json['expires_at'])),
40
46
  'issuer_credential_configurations_supported_name': json['issuer_credential_configurations_supported_name'],
41
- 'disclosure_frame': !(0, runtime_1.exists)(json, 'disclosure_frame') ? undefined : json['disclosure_frame'],
47
+ 'disclosure_frame': json['disclosure_frame'],
42
48
  };
43
49
  }
44
50
  exports.VCCredentialTypeConfigDtoFromJSONTyped = VCCredentialTypeConfigDtoFromJSONTyped;
@@ -51,7 +57,10 @@ function VCCredentialTypeConfigDtoToJSON(value) {
51
57
  }
52
58
  return {
53
59
  'vct': value.vct,
54
- 'expiry': (0, VCCredentialTypeConfigDtoExpiry_1.VCCredentialTypeConfigDtoExpiryToJSON)(value.expiry),
60
+ 'valid_in': value.valid_in,
61
+ 'valid_at': (value.valid_at === null ? null : value.valid_at.toISOString()),
62
+ 'expires_in': value.expires_in,
63
+ 'expires_at': (value.expires_at === null ? null : value.expires_at.toISOString()),
55
64
  'issuer_credential_configurations_supported_name': value.issuer_credential_configurations_supported_name,
56
65
  'disclosure_frame': value.disclosure_frame,
57
66
  };
@@ -14,10 +14,9 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.VCCredentialTypeModelDtoToJSON = exports.VCCredentialTypeModelDtoFromJSONTyped = exports.VCCredentialTypeModelDtoFromJSON = exports.instanceOfVCCredentialTypeModelDto = exports.VCCredentialTypeModelDtoFormatEnum = void 0;
17
- const runtime_1 = require("../runtime");
18
- const VCCredentialTypeModelDtoConfig_1 = require("./VCCredentialTypeModelDtoConfig");
19
- const VCCredentialTypeModelDtoSchema_1 = require("./VCCredentialTypeModelDtoSchema");
20
- const VCCredentialTypeModelDtoStyle_1 = require("./VCCredentialTypeModelDtoStyle");
17
+ const VCCredentialTypeConfigDto_1 = require("./VCCredentialTypeConfigDto");
18
+ const VCCredentialTypeSchemaDto_1 = require("./VCCredentialTypeSchemaDto");
19
+ const VCCredentialTypeStyleDto_1 = require("./VCCredentialTypeStyleDto");
21
20
  /**
22
21
  * @export
23
22
  */
@@ -37,6 +36,7 @@ function instanceOfVCCredentialTypeModelDto(value) {
37
36
  isInstance = isInstance && "schema" in value;
38
37
  isInstance = isInstance && "style" in value;
39
38
  isInstance = isInstance && "format" in value;
39
+ isInstance = isInstance && "config" in value;
40
40
  isInstance = isInstance && "created_at" in value;
41
41
  isInstance = isInstance && "archived" in value;
42
42
  isInstance = isInstance && "archived_at" in value;
@@ -56,13 +56,13 @@ function VCCredentialTypeModelDtoFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'name': json['name'],
57
57
  'type': json['type'],
58
58
  'organization_id': json['organization_id'],
59
- 'schema': (0, VCCredentialTypeModelDtoSchema_1.VCCredentialTypeModelDtoSchemaFromJSON)(json['schema']),
60
- 'style': (0, VCCredentialTypeModelDtoStyle_1.VCCredentialTypeModelDtoStyleFromJSON)(json['style']),
59
+ 'schema': (0, VCCredentialTypeSchemaDto_1.VCCredentialTypeSchemaDtoFromJSON)(json['schema']),
60
+ 'style': (0, VCCredentialTypeStyleDto_1.VCCredentialTypeStyleDtoFromJSON)(json['style']),
61
61
  'format': json['format'],
62
- 'config': !(0, runtime_1.exists)(json, 'config') ? undefined : (0, VCCredentialTypeModelDtoConfig_1.VCCredentialTypeModelDtoConfigFromJSON)(json['config']),
62
+ 'config': (0, VCCredentialTypeConfigDto_1.VCCredentialTypeConfigDtoFromJSON)(json['config']),
63
63
  'created_at': (new Date(json['created_at'])),
64
64
  'archived': json['archived'],
65
- 'archived_at': (new Date(json['archived_at'])),
65
+ 'archived_at': (json['archived_at'] === null ? null : new Date(json['archived_at'])),
66
66
  };
67
67
  }
68
68
  exports.VCCredentialTypeModelDtoFromJSONTyped = VCCredentialTypeModelDtoFromJSONTyped;
@@ -78,13 +78,13 @@ function VCCredentialTypeModelDtoToJSON(value) {
78
78
  'name': value.name,
79
79
  'type': value.type,
80
80
  'organization_id': value.organization_id,
81
- 'schema': (0, VCCredentialTypeModelDtoSchema_1.VCCredentialTypeModelDtoSchemaToJSON)(value.schema),
82
- 'style': (0, VCCredentialTypeModelDtoStyle_1.VCCredentialTypeModelDtoStyleToJSON)(value.style),
81
+ 'schema': (0, VCCredentialTypeSchemaDto_1.VCCredentialTypeSchemaDtoToJSON)(value.schema),
82
+ 'style': (0, VCCredentialTypeStyleDto_1.VCCredentialTypeStyleDtoToJSON)(value.style),
83
83
  'format': value.format,
84
- 'config': (0, VCCredentialTypeModelDtoConfig_1.VCCredentialTypeModelDtoConfigToJSON)(value.config),
84
+ 'config': (0, VCCredentialTypeConfigDto_1.VCCredentialTypeConfigDtoToJSON)(value.config),
85
85
  'created_at': (value.created_at.toISOString()),
86
86
  'archived': value.archived,
87
- 'archived_at': (value.archived_at.toISOString()),
87
+ 'archived_at': (value.archived_at === null ? null : value.archived_at.toISOString()),
88
88
  };
89
89
  }
90
90
  exports.VCCredentialTypeModelDtoToJSON = VCCredentialTypeModelDtoToJSON;
@@ -15,6 +15,8 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.VCFieldsDtoFilterToJSON = exports.VCFieldsDtoFilterFromJSONTyped = exports.VCFieldsDtoFilterFromJSON = exports.instanceOfVCFieldsDtoFilter = void 0;
17
17
  const runtime_1 = require("../runtime");
18
+ const VCFilterContainsDto_1 = require("./VCFilterContainsDto");
19
+ const VCFilterItemsDto_1 = require("./VCFilterItemsDto");
18
20
  const VCFilterNotPredicateDto_1 = require("./VCFilterNotPredicateDto");
19
21
  /**
20
22
  * Check if a given object implements the VCFieldsDtoFilter interface.
@@ -44,6 +46,8 @@ function VCFieldsDtoFilterFromJSONTyped(json, ignoreDiscriminator) {
44
46
  'maximum': !(0, runtime_1.exists)(json, 'maximum') ? undefined : json['maximum'],
45
47
  '_enum': !(0, runtime_1.exists)(json, 'enum') ? undefined : json['enum'],
46
48
  'not': !(0, runtime_1.exists)(json, 'not') ? undefined : (0, VCFilterNotPredicateDto_1.VCFilterNotPredicateDtoFromJSON)(json['not']),
49
+ 'items': !(0, runtime_1.exists)(json, 'items') ? undefined : (0, VCFilterItemsDto_1.VCFilterItemsDtoFromJSON)(json['items']),
50
+ 'contains': !(0, runtime_1.exists)(json, 'contains') ? undefined : (0, VCFilterContainsDto_1.VCFilterContainsDtoFromJSON)(json['contains']),
47
51
  };
48
52
  }
49
53
  exports.VCFieldsDtoFilterFromJSONTyped = VCFieldsDtoFilterFromJSONTyped;
@@ -65,6 +69,8 @@ function VCFieldsDtoFilterToJSON(value) {
65
69
  'maximum': value.maximum,
66
70
  'enum': value._enum,
67
71
  'not': (0, VCFilterNotPredicateDto_1.VCFilterNotPredicateDtoToJSON)(value.not),
72
+ 'items': (0, VCFilterItemsDto_1.VCFilterItemsDtoToJSON)(value.items),
73
+ 'contains': (0, VCFilterContainsDto_1.VCFilterContainsDtoToJSON)(value.contains),
68
74
  };
69
75
  }
70
76
  exports.VCFieldsDtoFilterToJSON = VCFieldsDtoFilterToJSON;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SVX API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.VCFilterContainsDtoToJSON = exports.VCFilterContainsDtoFromJSONTyped = exports.VCFilterContainsDtoFromJSON = exports.instanceOfVCFilterContainsDto = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the VCFilterContainsDto interface.
20
+ */
21
+ function instanceOfVCFilterContainsDto(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfVCFilterContainsDto = instanceOfVCFilterContainsDto;
26
+ function VCFilterContainsDtoFromJSON(json) {
27
+ return VCFilterContainsDtoFromJSONTyped(json, false);
28
+ }
29
+ exports.VCFilterContainsDtoFromJSON = VCFilterContainsDtoFromJSON;
30
+ function VCFilterContainsDtoFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
36
+ '_const': !(0, runtime_1.exists)(json, 'const') ? undefined : json['const'],
37
+ };
38
+ }
39
+ exports.VCFilterContainsDtoFromJSONTyped = VCFilterContainsDtoFromJSONTyped;
40
+ function VCFilterContainsDtoToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'type': value.type,
49
+ 'const': value._const,
50
+ };
51
+ }
52
+ exports.VCFilterContainsDtoToJSON = VCFilterContainsDtoToJSON;
@@ -15,6 +15,8 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.VCFilterDtoToJSON = exports.VCFilterDtoFromJSONTyped = exports.VCFilterDtoFromJSON = exports.instanceOfVCFilterDto = void 0;
17
17
  const runtime_1 = require("../runtime");
18
+ const VCFilterContainsDto_1 = require("./VCFilterContainsDto");
19
+ const VCFilterItemsDto_1 = require("./VCFilterItemsDto");
18
20
  const VCFilterNotPredicateDto_1 = require("./VCFilterNotPredicateDto");
19
21
  /**
20
22
  * Check if a given object implements the VCFilterDto interface.
@@ -44,6 +46,8 @@ function VCFilterDtoFromJSONTyped(json, ignoreDiscriminator) {
44
46
  'maximum': !(0, runtime_1.exists)(json, 'maximum') ? undefined : json['maximum'],
45
47
  '_enum': !(0, runtime_1.exists)(json, 'enum') ? undefined : json['enum'],
46
48
  'not': !(0, runtime_1.exists)(json, 'not') ? undefined : (0, VCFilterNotPredicateDto_1.VCFilterNotPredicateDtoFromJSON)(json['not']),
49
+ 'items': !(0, runtime_1.exists)(json, 'items') ? undefined : (0, VCFilterItemsDto_1.VCFilterItemsDtoFromJSON)(json['items']),
50
+ 'contains': !(0, runtime_1.exists)(json, 'contains') ? undefined : (0, VCFilterContainsDto_1.VCFilterContainsDtoFromJSON)(json['contains']),
47
51
  };
48
52
  }
49
53
  exports.VCFilterDtoFromJSONTyped = VCFilterDtoFromJSONTyped;
@@ -65,6 +69,8 @@ function VCFilterDtoToJSON(value) {
65
69
  'maximum': value.maximum,
66
70
  'enum': value._enum,
67
71
  'not': (0, VCFilterNotPredicateDto_1.VCFilterNotPredicateDtoToJSON)(value.not),
72
+ 'items': (0, VCFilterItemsDto_1.VCFilterItemsDtoToJSON)(value.items),
73
+ 'contains': (0, VCFilterContainsDto_1.VCFilterContainsDtoToJSON)(value.contains),
68
74
  };
69
75
  }
70
76
  exports.VCFilterDtoToJSON = VCFilterDtoToJSON;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SVX API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.VCFilterItemsDtoToJSON = exports.VCFilterItemsDtoFromJSONTyped = exports.VCFilterItemsDtoFromJSON = exports.instanceOfVCFilterItemsDto = void 0;
17
+ /**
18
+ * Check if a given object implements the VCFilterItemsDto interface.
19
+ */
20
+ function instanceOfVCFilterItemsDto(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "type" in value;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfVCFilterItemsDto = instanceOfVCFilterItemsDto;
26
+ function VCFilterItemsDtoFromJSON(json) {
27
+ return VCFilterItemsDtoFromJSONTyped(json, false);
28
+ }
29
+ exports.VCFilterItemsDtoFromJSON = VCFilterItemsDtoFromJSON;
30
+ function VCFilterItemsDtoFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'type': json['type'],
36
+ };
37
+ }
38
+ exports.VCFilterItemsDtoFromJSONTyped = VCFilterItemsDtoFromJSONTyped;
39
+ function VCFilterItemsDtoToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'type': value.type,
48
+ };
49
+ }
50
+ exports.VCFilterItemsDtoToJSON = VCFilterItemsDtoToJSON;
@@ -39,6 +39,7 @@ function VCInputDescriptorDtoFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
40
40
  'purpose': !(0, runtime_1.exists)(json, 'purpose') ? undefined : json['purpose'],
41
41
  'constraints': (0, VCConstraintsDto_1.VCConstraintsDtoFromJSON)(json['constraints']),
42
+ 'format': !(0, runtime_1.exists)(json, 'format') ? undefined : json['format'],
42
43
  };
43
44
  }
44
45
  exports.VCInputDescriptorDtoFromJSONTyped = VCInputDescriptorDtoFromJSONTyped;
@@ -54,6 +55,7 @@ function VCInputDescriptorDtoToJSON(value) {
54
55
  'name': value.name,
55
56
  'purpose': value.purpose,
56
57
  'constraints': (0, VCConstraintsDto_1.VCConstraintsDtoToJSON)(value.constraints),
58
+ 'format': value.format,
57
59
  };
58
60
  }
59
61
  exports.VCInputDescriptorDtoToJSON = VCInputDescriptorDtoToJSON;
@@ -225,9 +225,7 @@ __exportStar(require("./VCClaimsDto"), exports);
225
225
  __exportStar(require("./VCCnfDto"), exports);
226
226
  __exportStar(require("./VCConstraintsDto"), exports);
227
227
  __exportStar(require("./VCCreateCredentialTypeConfigDto"), exports);
228
- __exportStar(require("./VCCreateCredentialTypeConfigDtoExpiry"), exports);
229
228
  __exportStar(require("./VCCreateCredentialTypeDto"), exports);
230
- __exportStar(require("./VCCreateCredentialTypeExpiryDto"), exports);
231
229
  __exportStar(require("./VCCreateCredentialTypePayloadDto"), exports);
232
230
  __exportStar(require("./VCCreateCredentialTypeStyleDto"), exports);
233
231
  __exportStar(require("./VCCreatePresentationDefinitionDto"), exports);
@@ -241,12 +239,7 @@ __exportStar(require("./VCCredentialJSONSchemaPayloadDto"), exports);
241
239
  __exportStar(require("./VCCredentialModelDto"), exports);
242
240
  __exportStar(require("./VCCredentialResponseDto"), exports);
243
241
  __exportStar(require("./VCCredentialTypeConfigDto"), exports);
244
- __exportStar(require("./VCCredentialTypeConfigDtoExpiry"), exports);
245
- __exportStar(require("./VCCredentialTypeExpiryDto"), exports);
246
242
  __exportStar(require("./VCCredentialTypeModelDto"), exports);
247
- __exportStar(require("./VCCredentialTypeModelDtoConfig"), exports);
248
- __exportStar(require("./VCCredentialTypeModelDtoSchema"), exports);
249
- __exportStar(require("./VCCredentialTypeModelDtoStyle"), exports);
250
243
  __exportStar(require("./VCCredentialTypeResponseDto"), exports);
251
244
  __exportStar(require("./VCCredentialTypeSchemaDto"), exports);
252
245
  __exportStar(require("./VCCredentialTypeStyleDto"), exports);
@@ -259,7 +252,9 @@ __exportStar(require("./VCErrorResponseDto"), exports);
259
252
  __exportStar(require("./VCErrorsResponseDto"), exports);
260
253
  __exportStar(require("./VCFieldsDto"), exports);
261
254
  __exportStar(require("./VCFieldsDtoFilter"), exports);
255
+ __exportStar(require("./VCFilterContainsDto"), exports);
262
256
  __exportStar(require("./VCFilterDto"), exports);
257
+ __exportStar(require("./VCFilterItemsDto"), exports);
263
258
  __exportStar(require("./VCFilterNotPredicateDto"), exports);
264
259
  __exportStar(require("./VCGenerateCredentialDto"), exports);
265
260
  __exportStar(require("./VCGenerateCredentialDtoClaims"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meeco/svx-api-sdk",
3
- "version": "1.0.0-develop.20250108183718.7fc3d67",
3
+ "version": "1.0.0-develop.20250108184711.803db02",
4
4
  "description": "Meeco SVX API SDK",
5
5
  "types": "./lib/types/index.d.ts",
6
6
  "browser": "./lib/esm/index.js",
@@ -1,49 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SVX API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 2.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the VCCreateCredentialTypeConfigDtoExpiry interface.
16
- */
17
- export function instanceOfVCCreateCredentialTypeConfigDtoExpiry(value) {
18
- let isInstance = true;
19
- isInstance = isInstance && "year" in value;
20
- isInstance = isInstance && "month" in value;
21
- isInstance = isInstance && "day" in value;
22
- return isInstance;
23
- }
24
- export function VCCreateCredentialTypeConfigDtoExpiryFromJSON(json) {
25
- return VCCreateCredentialTypeConfigDtoExpiryFromJSONTyped(json, false);
26
- }
27
- export function VCCreateCredentialTypeConfigDtoExpiryFromJSONTyped(json, ignoreDiscriminator) {
28
- if ((json === undefined) || (json === null)) {
29
- return json;
30
- }
31
- return {
32
- 'year': json['year'],
33
- 'month': json['month'],
34
- 'day': json['day'],
35
- };
36
- }
37
- export function VCCreateCredentialTypeConfigDtoExpiryToJSON(value) {
38
- if (value === undefined) {
39
- return undefined;
40
- }
41
- if (value === null) {
42
- return null;
43
- }
44
- return {
45
- 'year': value.year,
46
- 'month': value.month,
47
- 'day': value.day,
48
- };
49
- }
@@ -1,49 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SVX API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 2.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the VCCreateCredentialTypeExpiryDto interface.
16
- */
17
- export function instanceOfVCCreateCredentialTypeExpiryDto(value) {
18
- let isInstance = true;
19
- isInstance = isInstance && "year" in value;
20
- isInstance = isInstance && "month" in value;
21
- isInstance = isInstance && "day" in value;
22
- return isInstance;
23
- }
24
- export function VCCreateCredentialTypeExpiryDtoFromJSON(json) {
25
- return VCCreateCredentialTypeExpiryDtoFromJSONTyped(json, false);
26
- }
27
- export function VCCreateCredentialTypeExpiryDtoFromJSONTyped(json, ignoreDiscriminator) {
28
- if ((json === undefined) || (json === null)) {
29
- return json;
30
- }
31
- return {
32
- 'year': json['year'],
33
- 'month': json['month'],
34
- 'day': json['day'],
35
- };
36
- }
37
- export function VCCreateCredentialTypeExpiryDtoToJSON(value) {
38
- if (value === undefined) {
39
- return undefined;
40
- }
41
- if (value === null) {
42
- return null;
43
- }
44
- return {
45
- 'year': value.year,
46
- 'month': value.month,
47
- 'day': value.day,
48
- };
49
- }
@@ -1,49 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SVX API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 2.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the VCCredentialTypeConfigDtoExpiry interface.
16
- */
17
- export function instanceOfVCCredentialTypeConfigDtoExpiry(value) {
18
- let isInstance = true;
19
- isInstance = isInstance && "year" in value;
20
- isInstance = isInstance && "month" in value;
21
- isInstance = isInstance && "day" in value;
22
- return isInstance;
23
- }
24
- export function VCCredentialTypeConfigDtoExpiryFromJSON(json) {
25
- return VCCredentialTypeConfigDtoExpiryFromJSONTyped(json, false);
26
- }
27
- export function VCCredentialTypeConfigDtoExpiryFromJSONTyped(json, ignoreDiscriminator) {
28
- if ((json === undefined) || (json === null)) {
29
- return json;
30
- }
31
- return {
32
- 'year': json['year'],
33
- 'month': json['month'],
34
- 'day': json['day'],
35
- };
36
- }
37
- export function VCCredentialTypeConfigDtoExpiryToJSON(value) {
38
- if (value === undefined) {
39
- return undefined;
40
- }
41
- if (value === null) {
42
- return null;
43
- }
44
- return {
45
- 'year': value.year,
46
- 'month': value.month,
47
- 'day': value.day,
48
- };
49
- }
@@ -1,49 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SVX API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 2.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the VCCredentialTypeExpiryDto interface.
16
- */
17
- export function instanceOfVCCredentialTypeExpiryDto(value) {
18
- let isInstance = true;
19
- isInstance = isInstance && "year" in value;
20
- isInstance = isInstance && "month" in value;
21
- isInstance = isInstance && "day" in value;
22
- return isInstance;
23
- }
24
- export function VCCredentialTypeExpiryDtoFromJSON(json) {
25
- return VCCredentialTypeExpiryDtoFromJSONTyped(json, false);
26
- }
27
- export function VCCredentialTypeExpiryDtoFromJSONTyped(json, ignoreDiscriminator) {
28
- if ((json === undefined) || (json === null)) {
29
- return json;
30
- }
31
- return {
32
- 'year': json['year'],
33
- 'month': json['month'],
34
- 'day': json['day'],
35
- };
36
- }
37
- export function VCCredentialTypeExpiryDtoToJSON(value) {
38
- if (value === undefined) {
39
- return undefined;
40
- }
41
- if (value === null) {
42
- return null;
43
- }
44
- return {
45
- 'year': value.year,
46
- 'month': value.month,
47
- 'day': value.day,
48
- };
49
- }
@@ -1,52 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SVX API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 2.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { exists } from '../runtime';
15
- import { VCCredentialTypeConfigDtoExpiryFromJSON, VCCredentialTypeConfigDtoExpiryToJSON, } from './VCCredentialTypeConfigDtoExpiry';
16
- /**
17
- * Check if a given object implements the VCCredentialTypeModelDtoConfig interface.
18
- */
19
- export function instanceOfVCCredentialTypeModelDtoConfig(value) {
20
- let isInstance = true;
21
- isInstance = isInstance && "vct" in value;
22
- isInstance = isInstance && "issuer_credential_configurations_supported_name" in value;
23
- return isInstance;
24
- }
25
- export function VCCredentialTypeModelDtoConfigFromJSON(json) {
26
- return VCCredentialTypeModelDtoConfigFromJSONTyped(json, false);
27
- }
28
- export function VCCredentialTypeModelDtoConfigFromJSONTyped(json, ignoreDiscriminator) {
29
- if ((json === undefined) || (json === null)) {
30
- return json;
31
- }
32
- return {
33
- 'vct': json['vct'],
34
- 'expiry': !exists(json, 'expiry') ? undefined : VCCredentialTypeConfigDtoExpiryFromJSON(json['expiry']),
35
- 'issuer_credential_configurations_supported_name': json['issuer_credential_configurations_supported_name'],
36
- 'disclosure_frame': !exists(json, 'disclosure_frame') ? undefined : json['disclosure_frame'],
37
- };
38
- }
39
- export function VCCredentialTypeModelDtoConfigToJSON(value) {
40
- if (value === undefined) {
41
- return undefined;
42
- }
43
- if (value === null) {
44
- return null;
45
- }
46
- return {
47
- 'vct': value.vct,
48
- 'expiry': VCCredentialTypeConfigDtoExpiryToJSON(value.expiry),
49
- 'issuer_credential_configurations_supported_name': value.issuer_credential_configurations_supported_name,
50
- 'disclosure_frame': value.disclosure_frame,
51
- };
52
- }
@@ -1,55 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SVX API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 2.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the VCCredentialTypeModelDtoSchema interface.
16
- */
17
- export function instanceOfVCCredentialTypeModelDtoSchema(value) {
18
- let isInstance = true;
19
- isInstance = isInstance && "id" in value;
20
- isInstance = isInstance && "schema_url" in value;
21
- isInstance = isInstance && "name" in value;
22
- isInstance = isInstance && "archived" in value;
23
- isInstance = isInstance && "version" in value;
24
- return isInstance;
25
- }
26
- export function VCCredentialTypeModelDtoSchemaFromJSON(json) {
27
- return VCCredentialTypeModelDtoSchemaFromJSONTyped(json, false);
28
- }
29
- export function VCCredentialTypeModelDtoSchemaFromJSONTyped(json, ignoreDiscriminator) {
30
- if ((json === undefined) || (json === null)) {
31
- return json;
32
- }
33
- return {
34
- 'id': json['id'],
35
- 'schema_url': json['schema_url'],
36
- 'name': json['name'],
37
- 'archived': json['archived'],
38
- 'version': json['version'],
39
- };
40
- }
41
- export function VCCredentialTypeModelDtoSchemaToJSON(value) {
42
- if (value === undefined) {
43
- return undefined;
44
- }
45
- if (value === null) {
46
- return null;
47
- }
48
- return {
49
- 'id': value.id,
50
- 'schema_url': value.schema_url,
51
- 'name': value.name,
52
- 'archived': value.archived,
53
- 'version': value.version,
54
- };
55
- }