@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
@@ -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 VCCredentialTypeModelDtoStyle interface.
16
- */
17
- export function instanceOfVCCredentialTypeModelDtoStyle(value) {
18
- let isInstance = true;
19
- isInstance = isInstance && "text_color" in value;
20
- isInstance = isInstance && "background" in value;
21
- isInstance = isInstance && "image" in value;
22
- return isInstance;
23
- }
24
- export function VCCredentialTypeModelDtoStyleFromJSON(json) {
25
- return VCCredentialTypeModelDtoStyleFromJSONTyped(json, false);
26
- }
27
- export function VCCredentialTypeModelDtoStyleFromJSONTyped(json, ignoreDiscriminator) {
28
- if ((json === undefined) || (json === null)) {
29
- return json;
30
- }
31
- return {
32
- 'text_color': json['text-color'],
33
- 'background': json['background'],
34
- 'image': json['image'],
35
- };
36
- }
37
- export function VCCredentialTypeModelDtoStyleToJSON(value) {
38
- if (value === undefined) {
39
- return undefined;
40
- }
41
- if (value === null) {
42
- return null;
43
- }
44
- return {
45
- 'text-color': value.text_color,
46
- 'background': value.background,
47
- 'image': value.image,
48
- };
49
- }
@@ -1,43 +0,0 @@
1
- /**
2
- * SVX API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface VCCreateCredentialTypeConfigDtoExpiry
16
- */
17
- export interface VCCreateCredentialTypeConfigDtoExpiry {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof VCCreateCredentialTypeConfigDtoExpiry
22
- */
23
- year: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof VCCreateCredentialTypeConfigDtoExpiry
28
- */
29
- month: number;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof VCCreateCredentialTypeConfigDtoExpiry
34
- */
35
- day: number;
36
- }
37
- /**
38
- * Check if a given object implements the VCCreateCredentialTypeConfigDtoExpiry interface.
39
- */
40
- export declare function instanceOfVCCreateCredentialTypeConfigDtoExpiry(value: object): boolean;
41
- export declare function VCCreateCredentialTypeConfigDtoExpiryFromJSON(json: any): VCCreateCredentialTypeConfigDtoExpiry;
42
- export declare function VCCreateCredentialTypeConfigDtoExpiryFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCCreateCredentialTypeConfigDtoExpiry;
43
- export declare function VCCreateCredentialTypeConfigDtoExpiryToJSON(value?: VCCreateCredentialTypeConfigDtoExpiry | null): any;
@@ -1,43 +0,0 @@
1
- /**
2
- * SVX API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface VCCreateCredentialTypeExpiryDto
16
- */
17
- export interface VCCreateCredentialTypeExpiryDto {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof VCCreateCredentialTypeExpiryDto
22
- */
23
- year: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof VCCreateCredentialTypeExpiryDto
28
- */
29
- month: number;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof VCCreateCredentialTypeExpiryDto
34
- */
35
- day: number;
36
- }
37
- /**
38
- * Check if a given object implements the VCCreateCredentialTypeExpiryDto interface.
39
- */
40
- export declare function instanceOfVCCreateCredentialTypeExpiryDto(value: object): boolean;
41
- export declare function VCCreateCredentialTypeExpiryDtoFromJSON(json: any): VCCreateCredentialTypeExpiryDto;
42
- export declare function VCCreateCredentialTypeExpiryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCCreateCredentialTypeExpiryDto;
43
- export declare function VCCreateCredentialTypeExpiryDtoToJSON(value?: VCCreateCredentialTypeExpiryDto | null): any;
@@ -1,43 +0,0 @@
1
- /**
2
- * SVX API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface VCCredentialTypeConfigDtoExpiry
16
- */
17
- export interface VCCredentialTypeConfigDtoExpiry {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof VCCredentialTypeConfigDtoExpiry
22
- */
23
- year: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof VCCredentialTypeConfigDtoExpiry
28
- */
29
- month: number;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof VCCredentialTypeConfigDtoExpiry
34
- */
35
- day: number;
36
- }
37
- /**
38
- * Check if a given object implements the VCCredentialTypeConfigDtoExpiry interface.
39
- */
40
- export declare function instanceOfVCCredentialTypeConfigDtoExpiry(value: object): boolean;
41
- export declare function VCCredentialTypeConfigDtoExpiryFromJSON(json: any): VCCredentialTypeConfigDtoExpiry;
42
- export declare function VCCredentialTypeConfigDtoExpiryFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCCredentialTypeConfigDtoExpiry;
43
- export declare function VCCredentialTypeConfigDtoExpiryToJSON(value?: VCCredentialTypeConfigDtoExpiry | null): any;
@@ -1,43 +0,0 @@
1
- /**
2
- * SVX API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface VCCredentialTypeExpiryDto
16
- */
17
- export interface VCCredentialTypeExpiryDto {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof VCCredentialTypeExpiryDto
22
- */
23
- year: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof VCCredentialTypeExpiryDto
28
- */
29
- month: number;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof VCCredentialTypeExpiryDto
34
- */
35
- day: number;
36
- }
37
- /**
38
- * Check if a given object implements the VCCredentialTypeExpiryDto interface.
39
- */
40
- export declare function instanceOfVCCredentialTypeExpiryDto(value: object): boolean;
41
- export declare function VCCredentialTypeExpiryDtoFromJSON(json: any): VCCredentialTypeExpiryDto;
42
- export declare function VCCredentialTypeExpiryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCCredentialTypeExpiryDto;
43
- export declare function VCCredentialTypeExpiryDtoToJSON(value?: VCCredentialTypeExpiryDto | null): any;
@@ -1,50 +0,0 @@
1
- /**
2
- * SVX API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { VCCredentialTypeConfigDtoExpiry } from './VCCredentialTypeConfigDtoExpiry';
13
- /**
14
- *
15
- * @export
16
- * @interface VCCredentialTypeModelDtoConfig
17
- */
18
- export interface VCCredentialTypeModelDtoConfig {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof VCCredentialTypeModelDtoConfig
23
- */
24
- vct: string;
25
- /**
26
- *
27
- * @type {VCCredentialTypeConfigDtoExpiry}
28
- * @memberof VCCredentialTypeModelDtoConfig
29
- */
30
- expiry?: VCCredentialTypeConfigDtoExpiry;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof VCCredentialTypeModelDtoConfig
35
- */
36
- issuer_credential_configurations_supported_name: string;
37
- /**
38
- * Disclosure frame for vc+sd-jwt format credential
39
- * @type {object}
40
- * @memberof VCCredentialTypeModelDtoConfig
41
- */
42
- disclosure_frame?: object;
43
- }
44
- /**
45
- * Check if a given object implements the VCCredentialTypeModelDtoConfig interface.
46
- */
47
- export declare function instanceOfVCCredentialTypeModelDtoConfig(value: object): boolean;
48
- export declare function VCCredentialTypeModelDtoConfigFromJSON(json: any): VCCredentialTypeModelDtoConfig;
49
- export declare function VCCredentialTypeModelDtoConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCCredentialTypeModelDtoConfig;
50
- export declare function VCCredentialTypeModelDtoConfigToJSON(value?: VCCredentialTypeModelDtoConfig | null): any;
@@ -1,55 +0,0 @@
1
- /**
2
- * SVX API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface VCCredentialTypeModelDtoSchema
16
- */
17
- export interface VCCredentialTypeModelDtoSchema {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof VCCredentialTypeModelDtoSchema
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof VCCredentialTypeModelDtoSchema
28
- */
29
- schema_url: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof VCCredentialTypeModelDtoSchema
34
- */
35
- name: string;
36
- /**
37
- *
38
- * @type {boolean}
39
- * @memberof VCCredentialTypeModelDtoSchema
40
- */
41
- archived: boolean;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof VCCredentialTypeModelDtoSchema
46
- */
47
- version: string;
48
- }
49
- /**
50
- * Check if a given object implements the VCCredentialTypeModelDtoSchema interface.
51
- */
52
- export declare function instanceOfVCCredentialTypeModelDtoSchema(value: object): boolean;
53
- export declare function VCCredentialTypeModelDtoSchemaFromJSON(json: any): VCCredentialTypeModelDtoSchema;
54
- export declare function VCCredentialTypeModelDtoSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCCredentialTypeModelDtoSchema;
55
- export declare function VCCredentialTypeModelDtoSchemaToJSON(value?: VCCredentialTypeModelDtoSchema | null): any;
@@ -1,43 +0,0 @@
1
- /**
2
- * SVX API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface VCCredentialTypeModelDtoStyle
16
- */
17
- export interface VCCredentialTypeModelDtoStyle {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof VCCredentialTypeModelDtoStyle
22
- */
23
- text_color: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof VCCredentialTypeModelDtoStyle
28
- */
29
- background: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof VCCredentialTypeModelDtoStyle
34
- */
35
- image: string;
36
- }
37
- /**
38
- * Check if a given object implements the VCCredentialTypeModelDtoStyle interface.
39
- */
40
- export declare function instanceOfVCCredentialTypeModelDtoStyle(value: object): boolean;
41
- export declare function VCCredentialTypeModelDtoStyleFromJSON(json: any): VCCredentialTypeModelDtoStyle;
42
- export declare function VCCredentialTypeModelDtoStyleFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCCredentialTypeModelDtoStyle;
43
- export declare function VCCredentialTypeModelDtoStyleToJSON(value?: VCCredentialTypeModelDtoStyle | null): any;
@@ -1,56 +0,0 @@
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.VCCreateCredentialTypeConfigDtoExpiryToJSON = exports.VCCreateCredentialTypeConfigDtoExpiryFromJSONTyped = exports.VCCreateCredentialTypeConfigDtoExpiryFromJSON = exports.instanceOfVCCreateCredentialTypeConfigDtoExpiry = void 0;
17
- /**
18
- * Check if a given object implements the VCCreateCredentialTypeConfigDtoExpiry interface.
19
- */
20
- function instanceOfVCCreateCredentialTypeConfigDtoExpiry(value) {
21
- let isInstance = true;
22
- isInstance = isInstance && "year" in value;
23
- isInstance = isInstance && "month" in value;
24
- isInstance = isInstance && "day" in value;
25
- return isInstance;
26
- }
27
- exports.instanceOfVCCreateCredentialTypeConfigDtoExpiry = instanceOfVCCreateCredentialTypeConfigDtoExpiry;
28
- function VCCreateCredentialTypeConfigDtoExpiryFromJSON(json) {
29
- return VCCreateCredentialTypeConfigDtoExpiryFromJSONTyped(json, false);
30
- }
31
- exports.VCCreateCredentialTypeConfigDtoExpiryFromJSON = VCCreateCredentialTypeConfigDtoExpiryFromJSON;
32
- function VCCreateCredentialTypeConfigDtoExpiryFromJSONTyped(json, ignoreDiscriminator) {
33
- if ((json === undefined) || (json === null)) {
34
- return json;
35
- }
36
- return {
37
- 'year': json['year'],
38
- 'month': json['month'],
39
- 'day': json['day'],
40
- };
41
- }
42
- exports.VCCreateCredentialTypeConfigDtoExpiryFromJSONTyped = VCCreateCredentialTypeConfigDtoExpiryFromJSONTyped;
43
- function VCCreateCredentialTypeConfigDtoExpiryToJSON(value) {
44
- if (value === undefined) {
45
- return undefined;
46
- }
47
- if (value === null) {
48
- return null;
49
- }
50
- return {
51
- 'year': value.year,
52
- 'month': value.month,
53
- 'day': value.day,
54
- };
55
- }
56
- exports.VCCreateCredentialTypeConfigDtoExpiryToJSON = VCCreateCredentialTypeConfigDtoExpiryToJSON;
@@ -1,56 +0,0 @@
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.VCCreateCredentialTypeExpiryDtoToJSON = exports.VCCreateCredentialTypeExpiryDtoFromJSONTyped = exports.VCCreateCredentialTypeExpiryDtoFromJSON = exports.instanceOfVCCreateCredentialTypeExpiryDto = void 0;
17
- /**
18
- * Check if a given object implements the VCCreateCredentialTypeExpiryDto interface.
19
- */
20
- function instanceOfVCCreateCredentialTypeExpiryDto(value) {
21
- let isInstance = true;
22
- isInstance = isInstance && "year" in value;
23
- isInstance = isInstance && "month" in value;
24
- isInstance = isInstance && "day" in value;
25
- return isInstance;
26
- }
27
- exports.instanceOfVCCreateCredentialTypeExpiryDto = instanceOfVCCreateCredentialTypeExpiryDto;
28
- function VCCreateCredentialTypeExpiryDtoFromJSON(json) {
29
- return VCCreateCredentialTypeExpiryDtoFromJSONTyped(json, false);
30
- }
31
- exports.VCCreateCredentialTypeExpiryDtoFromJSON = VCCreateCredentialTypeExpiryDtoFromJSON;
32
- function VCCreateCredentialTypeExpiryDtoFromJSONTyped(json, ignoreDiscriminator) {
33
- if ((json === undefined) || (json === null)) {
34
- return json;
35
- }
36
- return {
37
- 'year': json['year'],
38
- 'month': json['month'],
39
- 'day': json['day'],
40
- };
41
- }
42
- exports.VCCreateCredentialTypeExpiryDtoFromJSONTyped = VCCreateCredentialTypeExpiryDtoFromJSONTyped;
43
- function VCCreateCredentialTypeExpiryDtoToJSON(value) {
44
- if (value === undefined) {
45
- return undefined;
46
- }
47
- if (value === null) {
48
- return null;
49
- }
50
- return {
51
- 'year': value.year,
52
- 'month': value.month,
53
- 'day': value.day,
54
- };
55
- }
56
- exports.VCCreateCredentialTypeExpiryDtoToJSON = VCCreateCredentialTypeExpiryDtoToJSON;
@@ -1,56 +0,0 @@
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.VCCredentialTypeConfigDtoExpiryToJSON = exports.VCCredentialTypeConfigDtoExpiryFromJSONTyped = exports.VCCredentialTypeConfigDtoExpiryFromJSON = exports.instanceOfVCCredentialTypeConfigDtoExpiry = void 0;
17
- /**
18
- * Check if a given object implements the VCCredentialTypeConfigDtoExpiry interface.
19
- */
20
- function instanceOfVCCredentialTypeConfigDtoExpiry(value) {
21
- let isInstance = true;
22
- isInstance = isInstance && "year" in value;
23
- isInstance = isInstance && "month" in value;
24
- isInstance = isInstance && "day" in value;
25
- return isInstance;
26
- }
27
- exports.instanceOfVCCredentialTypeConfigDtoExpiry = instanceOfVCCredentialTypeConfigDtoExpiry;
28
- function VCCredentialTypeConfigDtoExpiryFromJSON(json) {
29
- return VCCredentialTypeConfigDtoExpiryFromJSONTyped(json, false);
30
- }
31
- exports.VCCredentialTypeConfigDtoExpiryFromJSON = VCCredentialTypeConfigDtoExpiryFromJSON;
32
- function VCCredentialTypeConfigDtoExpiryFromJSONTyped(json, ignoreDiscriminator) {
33
- if ((json === undefined) || (json === null)) {
34
- return json;
35
- }
36
- return {
37
- 'year': json['year'],
38
- 'month': json['month'],
39
- 'day': json['day'],
40
- };
41
- }
42
- exports.VCCredentialTypeConfigDtoExpiryFromJSONTyped = VCCredentialTypeConfigDtoExpiryFromJSONTyped;
43
- function VCCredentialTypeConfigDtoExpiryToJSON(value) {
44
- if (value === undefined) {
45
- return undefined;
46
- }
47
- if (value === null) {
48
- return null;
49
- }
50
- return {
51
- 'year': value.year,
52
- 'month': value.month,
53
- 'day': value.day,
54
- };
55
- }
56
- exports.VCCredentialTypeConfigDtoExpiryToJSON = VCCredentialTypeConfigDtoExpiryToJSON;
@@ -1,56 +0,0 @@
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.VCCredentialTypeExpiryDtoToJSON = exports.VCCredentialTypeExpiryDtoFromJSONTyped = exports.VCCredentialTypeExpiryDtoFromJSON = exports.instanceOfVCCredentialTypeExpiryDto = void 0;
17
- /**
18
- * Check if a given object implements the VCCredentialTypeExpiryDto interface.
19
- */
20
- function instanceOfVCCredentialTypeExpiryDto(value) {
21
- let isInstance = true;
22
- isInstance = isInstance && "year" in value;
23
- isInstance = isInstance && "month" in value;
24
- isInstance = isInstance && "day" in value;
25
- return isInstance;
26
- }
27
- exports.instanceOfVCCredentialTypeExpiryDto = instanceOfVCCredentialTypeExpiryDto;
28
- function VCCredentialTypeExpiryDtoFromJSON(json) {
29
- return VCCredentialTypeExpiryDtoFromJSONTyped(json, false);
30
- }
31
- exports.VCCredentialTypeExpiryDtoFromJSON = VCCredentialTypeExpiryDtoFromJSON;
32
- function VCCredentialTypeExpiryDtoFromJSONTyped(json, ignoreDiscriminator) {
33
- if ((json === undefined) || (json === null)) {
34
- return json;
35
- }
36
- return {
37
- 'year': json['year'],
38
- 'month': json['month'],
39
- 'day': json['day'],
40
- };
41
- }
42
- exports.VCCredentialTypeExpiryDtoFromJSONTyped = VCCredentialTypeExpiryDtoFromJSONTyped;
43
- function VCCredentialTypeExpiryDtoToJSON(value) {
44
- if (value === undefined) {
45
- return undefined;
46
- }
47
- if (value === null) {
48
- return null;
49
- }
50
- return {
51
- 'year': value.year,
52
- 'month': value.month,
53
- 'day': value.day,
54
- };
55
- }
56
- exports.VCCredentialTypeExpiryDtoToJSON = VCCredentialTypeExpiryDtoToJSON;
@@ -1,59 +0,0 @@
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.VCCredentialTypeModelDtoConfigToJSON = exports.VCCredentialTypeModelDtoConfigFromJSONTyped = exports.VCCredentialTypeModelDtoConfigFromJSON = exports.instanceOfVCCredentialTypeModelDtoConfig = void 0;
17
- const runtime_1 = require("../runtime");
18
- const VCCredentialTypeConfigDtoExpiry_1 = require("./VCCredentialTypeConfigDtoExpiry");
19
- /**
20
- * Check if a given object implements the VCCredentialTypeModelDtoConfig interface.
21
- */
22
- function instanceOfVCCredentialTypeModelDtoConfig(value) {
23
- let isInstance = true;
24
- isInstance = isInstance && "vct" in value;
25
- isInstance = isInstance && "issuer_credential_configurations_supported_name" in value;
26
- return isInstance;
27
- }
28
- exports.instanceOfVCCredentialTypeModelDtoConfig = instanceOfVCCredentialTypeModelDtoConfig;
29
- function VCCredentialTypeModelDtoConfigFromJSON(json) {
30
- return VCCredentialTypeModelDtoConfigFromJSONTyped(json, false);
31
- }
32
- exports.VCCredentialTypeModelDtoConfigFromJSON = VCCredentialTypeModelDtoConfigFromJSON;
33
- function VCCredentialTypeModelDtoConfigFromJSONTyped(json, ignoreDiscriminator) {
34
- if ((json === undefined) || (json === null)) {
35
- return json;
36
- }
37
- return {
38
- 'vct': json['vct'],
39
- 'expiry': !(0, runtime_1.exists)(json, 'expiry') ? undefined : (0, VCCredentialTypeConfigDtoExpiry_1.VCCredentialTypeConfigDtoExpiryFromJSON)(json['expiry']),
40
- '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'],
42
- };
43
- }
44
- exports.VCCredentialTypeModelDtoConfigFromJSONTyped = VCCredentialTypeModelDtoConfigFromJSONTyped;
45
- function VCCredentialTypeModelDtoConfigToJSON(value) {
46
- if (value === undefined) {
47
- return undefined;
48
- }
49
- if (value === null) {
50
- return null;
51
- }
52
- return {
53
- 'vct': value.vct,
54
- 'expiry': (0, VCCredentialTypeConfigDtoExpiry_1.VCCredentialTypeConfigDtoExpiryToJSON)(value.expiry),
55
- 'issuer_credential_configurations_supported_name': value.issuer_credential_configurations_supported_name,
56
- 'disclosure_frame': value.disclosure_frame,
57
- };
58
- }
59
- exports.VCCredentialTypeModelDtoConfigToJSON = VCCredentialTypeModelDtoConfigToJSON;