@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
@@ -73,8 +73,8 @@ export interface PresentationsGeneratePostRequest {
73
73
  meecoOrganisationID?: string;
74
74
  }
75
75
  export interface PresentationsVerifyPostRequest {
76
- meecoOrganisationID: string;
77
76
  vCVerifySignedPresentationRequestPayloadDto: VCVerifySignedPresentationRequestPayloadDto;
77
+ meecoOrganisationID?: string;
78
78
  }
79
79
  /**
80
80
  *
@@ -121,12 +121,12 @@ export declare class VerifiablePresentationsApi extends runtime.BaseAPI {
121
121
  */
122
122
  openidPresentationsRequestsIdRestorePost(id: string, meecoOrganisationID?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCPresentationRequestResponseDto>;
123
123
  /**
124
- * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br />Register Presentation Request for organisation<br /><p>When using a Presentation Definition with a <code>format</code> of <code>vc+sd-jwt</code>,the <code>vp_formats</code> of the Generated Presentation Request <code>registration</code> will be set to <pre><code>\"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ], <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ] <br /> } </code>, </pre>and <code>subject_syntax_types_supported</code> will be set to <code>urn:ietf:params:oauth:jwk-thumbprint</code>.</p><br /><br /><pre><code>\"registration\": { <br /> ... <br /> \"subject_syntax_types_supported\": [ <br /> \"urn:ietf:params:oauth:jwk-thumbprint\" <br /> ], <br /> \"vp_formats\": { <br /> \"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ], <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ] <br /> }, <br /> ... <br />} <br /></code></pre>
124
+ * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br />Register Presentation Request for organisation
125
125
  * Create a Presentation Request
126
126
  */
127
127
  openidPresentationsRequestsPostRaw(requestParameters: OpenidPresentationsRequestsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VCPresentationRequestResponseDto>>;
128
128
  /**
129
- * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br />Register Presentation Request for organisation<br /><p>When using a Presentation Definition with a <code>format</code> of <code>vc+sd-jwt</code>,the <code>vp_formats</code> of the Generated Presentation Request <code>registration</code> will be set to <pre><code>\"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ], <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ] <br /> } </code>, </pre>and <code>subject_syntax_types_supported</code> will be set to <code>urn:ietf:params:oauth:jwk-thumbprint</code>.</p><br /><br /><pre><code>\"registration\": { <br /> ... <br /> \"subject_syntax_types_supported\": [ <br /> \"urn:ietf:params:oauth:jwk-thumbprint\" <br /> ], <br /> \"vp_formats\": { <br /> \"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ], <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ] <br /> }, <br /> ... <br />} <br /></code></pre>
129
+ * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br />Register Presentation Request for organisation
130
130
  * Create a Presentation Request
131
131
  */
132
132
  openidPresentationsRequestsPost(vCCreatePresentationRequestPayloadDto: VCCreatePresentationRequestPayloadDto, meecoOrganisationID?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCPresentationRequestResponseDto>;
@@ -191,12 +191,12 @@ export declare class VerifiablePresentationsApi extends runtime.BaseAPI {
191
191
  */
192
192
  presentationDefinitionsIdRestorePost(id: string, meecoOrganisationID: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCPresentationDefinitionResponseDto>;
193
193
  /**
194
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />Register Presentation Definitions for organisation<br /><p><code>input_descriptors</code> property MUST follow the <a target=\"_blank\" href=\"https://identity.foundation/presentation-exchange/spec/v2.1.1/#input-descriptor\">DIF Presentation Exchange Specification</a></p><p>When <code>format</code> of the Presentation Definition is set to <code>vc+sd-jwt</code>, then <code>vp_formats</code> of the Generated Presentation Request <code>registration</code> will be set to</p><pre><code>{ <br /> \"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", <br /> \"EdDSA\" <br /> ], <br /> \"kb-jwt_alg_values\": [ <br /> \"ES256\", <br /> \"EdDSA\" <br /> ] <br /> } <br />} <br /></code></pre><p>and <code>subject_syntax_types_supported</code> will be set to <code>urn:ietf:params:oauth:jwk-thumbprint</code>.</p><br />
194
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />Register Presentation Definitions for organisation<br /><p><code>input_descriptors</code> property MUST follow the <a target=\"_blank\" href=\"https://identity.foundation/presentation-exchange/spec/v2.1.1/#input-descriptor\">DIF Presentation Exchange Specification</a></p>
195
195
  * Create a Presentation Definition
196
196
  */
197
197
  presentationDefinitionsPostRaw(requestParameters: PresentationDefinitionsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VCPresentationDefinitionResponseDto>>;
198
198
  /**
199
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />Register Presentation Definitions for organisation<br /><p><code>input_descriptors</code> property MUST follow the <a target=\"_blank\" href=\"https://identity.foundation/presentation-exchange/spec/v2.1.1/#input-descriptor\">DIF Presentation Exchange Specification</a></p><p>When <code>format</code> of the Presentation Definition is set to <code>vc+sd-jwt</code>, then <code>vp_formats</code> of the Generated Presentation Request <code>registration</code> will be set to</p><pre><code>{ <br /> \"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", <br /> \"EdDSA\" <br /> ], <br /> \"kb-jwt_alg_values\": [ <br /> \"ES256\", <br /> \"EdDSA\" <br /> ] <br /> } <br />} <br /></code></pre><p>and <code>subject_syntax_types_supported</code> will be set to <code>urn:ietf:params:oauth:jwk-thumbprint</code>.</p><br />
199
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />Register Presentation Definitions for organisation<br /><p><code>input_descriptors</code> property MUST follow the <a target=\"_blank\" href=\"https://identity.foundation/presentation-exchange/spec/v2.1.1/#input-descriptor\">DIF Presentation Exchange Specification</a></p>
200
200
  * Create a Presentation Definition
201
201
  */
202
202
  presentationDefinitionsPost(meecoOrganisationID: string, vCCreatePresentationDefinitionPayloadDto: VCCreatePresentationDefinitionPayloadDto, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCPresentationDefinitionResponseDto>;
@@ -211,15 +211,15 @@ export declare class VerifiablePresentationsApi extends runtime.BaseAPI {
211
211
  */
212
212
  presentationsGeneratePost(vCGeneratePresentationPayloadDto: VCGeneratePresentationPayloadDto, meecoOrganisationID?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCUnsignedPresentationResponseDto>;
213
213
  /**
214
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><p>Verify a verifiable presentation</p><p><b>Checks performed:</b><ul><li>Verifiable presentation signature</li><li>Verifiable presentation format and required attributes</li><li>Verifiable presentation expiration if present</li><li>Verifiable presentation credentials if present <em>(check <code>POST /credentials/verify</code> for more information)</em></li></ul></p><p>Presentation expiration check is not considered critical and will be returned under <code>warnings</code> attribute. It is up for the client application to decide how it should be handled. All other failed checks will be served under <code>errors</code> attribute.</p><p><code>failed_to_verify_jwt</code> error might appear in both: errors and warnings list. <br />So far, the only case when <code>failed_to_verify_jwt</code> appears in the warnings list is when presentation is expired. <br /></p>
214
+ * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br /><p>Verify a verifiable presentation</p><p><b>Checks performed:</b><ul><li>Verifiable presentation signature</li><li>Verifiable presentation format and required attributes</li><li>Verifiable presentation expiration if present</li><li>Verifiable presentation credentials if present <em>(check <code>POST /credentials/verify</code> for more information)</em></li></ul></p><p>Presentation expiration check is not considered critical and will be returned under <code>warnings</code> attribute. It is up for the client application to decide how it should be handled. All other failed checks will be served under <code>errors</code> attribute.</p><p><code>failed_to_verify_jwt</code> error might appear in both: errors and warnings list. <br />So far, the only case when <code>failed_to_verify_jwt</code> appears in the warnings list is when presentation is expired. <br /></p>
215
215
  * Verify a verifiable presentation
216
216
  */
217
217
  presentationsVerifyPostRaw(requestParameters: PresentationsVerifyPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VCPresentationVerificationResultResponseDto>>;
218
218
  /**
219
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><p>Verify a verifiable presentation</p><p><b>Checks performed:</b><ul><li>Verifiable presentation signature</li><li>Verifiable presentation format and required attributes</li><li>Verifiable presentation expiration if present</li><li>Verifiable presentation credentials if present <em>(check <code>POST /credentials/verify</code> for more information)</em></li></ul></p><p>Presentation expiration check is not considered critical and will be returned under <code>warnings</code> attribute. It is up for the client application to decide how it should be handled. All other failed checks will be served under <code>errors</code> attribute.</p><p><code>failed_to_verify_jwt</code> error might appear in both: errors and warnings list. <br />So far, the only case when <code>failed_to_verify_jwt</code> appears in the warnings list is when presentation is expired. <br /></p>
219
+ * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br /><p>Verify a verifiable presentation</p><p><b>Checks performed:</b><ul><li>Verifiable presentation signature</li><li>Verifiable presentation format and required attributes</li><li>Verifiable presentation expiration if present</li><li>Verifiable presentation credentials if present <em>(check <code>POST /credentials/verify</code> for more information)</em></li></ul></p><p>Presentation expiration check is not considered critical and will be returned under <code>warnings</code> attribute. It is up for the client application to decide how it should be handled. All other failed checks will be served under <code>errors</code> attribute.</p><p><code>failed_to_verify_jwt</code> error might appear in both: errors and warnings list. <br />So far, the only case when <code>failed_to_verify_jwt</code> appears in the warnings list is when presentation is expired. <br /></p>
220
220
  * Verify a verifiable presentation
221
221
  */
222
- presentationsVerifyPost(meecoOrganisationID: string, vCVerifySignedPresentationRequestPayloadDto: VCVerifySignedPresentationRequestPayloadDto, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCPresentationVerificationResultResponseDto>;
222
+ presentationsVerifyPost(vCVerifySignedPresentationRequestPayloadDto: VCVerifySignedPresentationRequestPayloadDto, meecoOrganisationID?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCPresentationVerificationResultResponseDto>;
223
223
  /**
224
224
  * <p>Returns JWT Issuer discovery information.</p><p>Response includes public keys in JWK format for token verification.</p>
225
225
  * JWT issuer discovery information
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { VCCreateCredentialTypeConfigDtoExpiry } from './VCCreateCredentialTypeConfigDtoExpiry';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -22,12 +21,30 @@ export interface VCCreateCredentialTypeConfigDto {
22
21
  * @memberof VCCreateCredentialTypeConfigDto
23
22
  */
24
23
  vct?: string;
24
+ /**
25
+ * Valid in value in seconds.
26
+ * @type {number}
27
+ * @memberof VCCreateCredentialTypeConfigDto
28
+ */
29
+ valid_in?: number;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof VCCreateCredentialTypeConfigDto
34
+ */
35
+ valid_at?: Date;
36
+ /**
37
+ * Expires in value in seconds.
38
+ * @type {number}
39
+ * @memberof VCCreateCredentialTypeConfigDto
40
+ */
41
+ expires_in?: number;
25
42
  /**
26
43
  *
27
- * @type {VCCreateCredentialTypeConfigDtoExpiry}
44
+ * @type {Date}
28
45
  * @memberof VCCreateCredentialTypeConfigDto
29
46
  */
30
- expiry?: VCCreateCredentialTypeConfigDtoExpiry;
47
+ expires_at?: Date;
31
48
  /**
32
49
  *
33
50
  * @type {string}
@@ -26,7 +26,7 @@ export interface VCCreatePresentationRequestOptionsRequestDto {
26
26
  * @export
27
27
  */
28
28
  export declare const VCCreatePresentationRequestOptionsRequestDtoProtocolVersionEnum: {
29
- readonly Oid4vpDraft18: "oid4vp-draft18";
29
+ readonly Openid4vpDraft18: "openid4vp-draft18";
30
30
  };
31
31
  export type VCCreatePresentationRequestOptionsRequestDtoProtocolVersionEnum = typeof VCCreatePresentationRequestOptionsRequestDtoProtocolVersionEnum[keyof typeof VCCreatePresentationRequestOptionsRequestDtoProtocolVersionEnum];
32
32
  /**
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { VCCredentialTypeConfigDtoExpiry } from './VCCredentialTypeConfigDtoExpiry';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -21,25 +20,43 @@ export interface VCCredentialTypeConfigDto {
21
20
  * @type {string}
22
21
  * @memberof VCCredentialTypeConfigDto
23
22
  */
24
- vct: string;
23
+ vct: string | null;
25
24
  /**
26
25
  *
27
- * @type {VCCredentialTypeConfigDtoExpiry}
26
+ * @type {number}
28
27
  * @memberof VCCredentialTypeConfigDto
29
28
  */
30
- expiry?: VCCredentialTypeConfigDtoExpiry;
29
+ valid_in: number | null;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof VCCredentialTypeConfigDto
34
+ */
35
+ valid_at: Date | null;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof VCCredentialTypeConfigDto
40
+ */
41
+ expires_in: number | null;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof VCCredentialTypeConfigDto
46
+ */
47
+ expires_at: Date | null;
31
48
  /**
32
49
  *
33
50
  * @type {string}
34
51
  * @memberof VCCredentialTypeConfigDto
35
52
  */
36
- issuer_credential_configurations_supported_name: string;
53
+ issuer_credential_configurations_supported_name: string | null;
37
54
  /**
38
55
  * Disclosure frame for vc+sd-jwt format credential
39
56
  * @type {object}
40
57
  * @memberof VCCredentialTypeConfigDto
41
58
  */
42
- disclosure_frame?: object;
59
+ disclosure_frame: object | null;
43
60
  }
44
61
  /**
45
62
  * Check if a given object implements the VCCredentialTypeConfigDto interface.
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { VCCredentialTypeModelDtoConfig } from './VCCredentialTypeModelDtoConfig';
13
- import type { VCCredentialTypeModelDtoSchema } from './VCCredentialTypeModelDtoSchema';
14
- import type { VCCredentialTypeModelDtoStyle } from './VCCredentialTypeModelDtoStyle';
12
+ import type { VCCredentialTypeConfigDto } from './VCCredentialTypeConfigDto';
13
+ import type { VCCredentialTypeSchemaDto } from './VCCredentialTypeSchemaDto';
14
+ import type { VCCredentialTypeStyleDto } from './VCCredentialTypeStyleDto';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -44,16 +44,16 @@ export interface VCCredentialTypeModelDto {
44
44
  organization_id: string;
45
45
  /**
46
46
  *
47
- * @type {VCCredentialTypeModelDtoSchema}
47
+ * @type {VCCredentialTypeSchemaDto}
48
48
  * @memberof VCCredentialTypeModelDto
49
49
  */
50
- schema: VCCredentialTypeModelDtoSchema;
50
+ schema: VCCredentialTypeSchemaDto;
51
51
  /**
52
52
  *
53
- * @type {VCCredentialTypeModelDtoStyle}
53
+ * @type {VCCredentialTypeStyleDto}
54
54
  * @memberof VCCredentialTypeModelDto
55
55
  */
56
- style: VCCredentialTypeModelDtoStyle;
56
+ style: VCCredentialTypeStyleDto;
57
57
  /**
58
58
  *
59
59
  * @type {string}
@@ -62,10 +62,10 @@ export interface VCCredentialTypeModelDto {
62
62
  format: VCCredentialTypeModelDtoFormatEnum;
63
63
  /**
64
64
  *
65
- * @type {VCCredentialTypeModelDtoConfig}
65
+ * @type {VCCredentialTypeConfigDto}
66
66
  * @memberof VCCredentialTypeModelDto
67
67
  */
68
- config?: VCCredentialTypeModelDtoConfig;
68
+ config: VCCredentialTypeConfigDto;
69
69
  /**
70
70
  *
71
71
  * @type {Date}
@@ -83,7 +83,7 @@ export interface VCCredentialTypeModelDto {
83
83
  * @type {Date}
84
84
  * @memberof VCCredentialTypeModelDto
85
85
  */
86
- archived_at: Date;
86
+ archived_at: Date | null;
87
87
  }
88
88
  /**
89
89
  * @export
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { VCFilterContainsDto } from './VCFilterContainsDto';
13
+ import type { VCFilterItemsDto } from './VCFilterItemsDto';
12
14
  import type { VCFilterNotPredicateDto } from './VCFilterNotPredicateDto';
13
15
  /**
14
16
  *
@@ -76,6 +78,18 @@ export interface VCFieldsDtoFilter {
76
78
  * @memberof VCFieldsDtoFilter
77
79
  */
78
80
  not?: VCFilterNotPredicateDto;
81
+ /**
82
+ *
83
+ * @type {VCFilterItemsDto}
84
+ * @memberof VCFieldsDtoFilter
85
+ */
86
+ items?: VCFilterItemsDto;
87
+ /**
88
+ *
89
+ * @type {VCFilterContainsDto}
90
+ * @memberof VCFieldsDtoFilter
91
+ */
92
+ contains?: VCFilterContainsDto;
79
93
  }
80
94
  /**
81
95
  * Check if a given object implements the VCFieldsDtoFilter interface.
@@ -0,0 +1,37 @@
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 VCFilterContainsDto
16
+ */
17
+ export interface VCFilterContainsDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof VCFilterContainsDto
22
+ */
23
+ type?: string;
24
+ /**
25
+ * The const can be a number | string | boolean | object.However, since openapi-generator fails to generate correct SDK for swagger file using oneOf property, here it is described only as string
26
+ * @type {string}
27
+ * @memberof VCFilterContainsDto
28
+ */
29
+ _const?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the VCFilterContainsDto interface.
33
+ */
34
+ export declare function instanceOfVCFilterContainsDto(value: object): boolean;
35
+ export declare function VCFilterContainsDtoFromJSON(json: any): VCFilterContainsDto;
36
+ export declare function VCFilterContainsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCFilterContainsDto;
37
+ export declare function VCFilterContainsDtoToJSON(value?: VCFilterContainsDto | null): any;
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { VCFilterContainsDto } from './VCFilterContainsDto';
13
+ import type { VCFilterItemsDto } from './VCFilterItemsDto';
12
14
  import type { VCFilterNotPredicateDto } from './VCFilterNotPredicateDto';
13
15
  /**
14
16
  *
@@ -76,6 +78,18 @@ export interface VCFilterDto {
76
78
  * @memberof VCFilterDto
77
79
  */
78
80
  not?: VCFilterNotPredicateDto;
81
+ /**
82
+ *
83
+ * @type {VCFilterItemsDto}
84
+ * @memberof VCFilterDto
85
+ */
86
+ items?: VCFilterItemsDto;
87
+ /**
88
+ *
89
+ * @type {VCFilterContainsDto}
90
+ * @memberof VCFilterDto
91
+ */
92
+ contains?: VCFilterContainsDto;
79
93
  }
80
94
  /**
81
95
  * Check if a given object implements the VCFilterDto interface.
@@ -0,0 +1,31 @@
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 VCFilterItemsDto
16
+ */
17
+ export interface VCFilterItemsDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof VCFilterItemsDto
22
+ */
23
+ type: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the VCFilterItemsDto interface.
27
+ */
28
+ export declare function instanceOfVCFilterItemsDto(value: object): boolean;
29
+ export declare function VCFilterItemsDtoFromJSON(json: any): VCFilterItemsDto;
30
+ export declare function VCFilterItemsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCFilterItemsDto;
31
+ export declare function VCFilterItemsDtoToJSON(value?: VCFilterItemsDto | null): any;
@@ -40,6 +40,12 @@ export interface VCInputDescriptorDto {
40
40
  * @memberof VCInputDescriptorDto
41
41
  */
42
42
  constraints: VCConstraintsDto;
43
+ /**
44
+ *
45
+ * @type {object}
46
+ * @memberof VCInputDescriptorDto
47
+ */
48
+ format?: object;
43
49
  }
44
50
  /**
45
51
  * Check if a given object implements the VCInputDescriptorDto interface.
@@ -207,9 +207,7 @@ export * from './VCClaimsDto';
207
207
  export * from './VCCnfDto';
208
208
  export * from './VCConstraintsDto';
209
209
  export * from './VCCreateCredentialTypeConfigDto';
210
- export * from './VCCreateCredentialTypeConfigDtoExpiry';
211
210
  export * from './VCCreateCredentialTypeDto';
212
- export * from './VCCreateCredentialTypeExpiryDto';
213
211
  export * from './VCCreateCredentialTypePayloadDto';
214
212
  export * from './VCCreateCredentialTypeStyleDto';
215
213
  export * from './VCCreatePresentationDefinitionDto';
@@ -223,12 +221,7 @@ export * from './VCCredentialJSONSchemaPayloadDto';
223
221
  export * from './VCCredentialModelDto';
224
222
  export * from './VCCredentialResponseDto';
225
223
  export * from './VCCredentialTypeConfigDto';
226
- export * from './VCCredentialTypeConfigDtoExpiry';
227
- export * from './VCCredentialTypeExpiryDto';
228
224
  export * from './VCCredentialTypeModelDto';
229
- export * from './VCCredentialTypeModelDtoConfig';
230
- export * from './VCCredentialTypeModelDtoSchema';
231
- export * from './VCCredentialTypeModelDtoStyle';
232
225
  export * from './VCCredentialTypeResponseDto';
233
226
  export * from './VCCredentialTypeSchemaDto';
234
227
  export * from './VCCredentialTypeStyleDto';
@@ -241,7 +234,9 @@ export * from './VCErrorResponseDto';
241
234
  export * from './VCErrorsResponseDto';
242
235
  export * from './VCFieldsDto';
243
236
  export * from './VCFieldsDtoFilter';
237
+ export * from './VCFilterContainsDto';
244
238
  export * from './VCFilterDto';
239
+ export * from './VCFilterItemsDto';
245
240
  export * from './VCFilterNotPredicateDto';
246
241
  export * from './VCGenerateCredentialDto';
247
242
  export * from './VCGenerateCredentialDtoClaims';
@@ -333,7 +333,7 @@ class VerifiableCredentialsApi extends runtime.BaseAPI {
333
333
  });
334
334
  }
335
335
  /**
336
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><hr /><p>Generates unsigned verifiable credential token in JWT format. Client is expected to sign it with a private key.</p><hr /><p>An example of how credential signing in Javascript:</p><pre><code>import { Ed25519 } from \'@meeco/sdk\'; <br />import { EdDSASigner, hexToBytes } from \'did-jwt\'; <br /><br />const key = new Ed25519(hexToBytes(SEED_HEX)); <br />const signerFn = EdDSASigner(key.getSecretKey()); <br /><br />const signature = await signerFn(unsignedJwt); <br />const vcJwt = [unsignedJwt, signature].join(\'.\');</code></pre><hr /><br /><h4>Issuer property caveat</h4><p>We use <b>openapi-generator</b> to generate Typescript SDK for the given API swagger definition. However, <b>openapi-generator</b> does not support <b>oneOf</b> configuration properly and generates an invalid Typescript SDK. To avoid the problem, swagger defines <b>issuer</b> property only as string for the moment. While in fact, endpoint accepts issuer as an object in format of <code>{id: string; name: string;}</code> as well.</p><br /><h4>Type property caveat</h4><p> <code>Type</code> is required for <code>vc+sd-jwt</code> format and must be a string <br /> however, endpoint accepts <code>Type</code> as an Array of string for <code>JWT VC</code> in format of <code>[\"VerifiableCredential\", \"AlumniCredential\"]</code> as well. <br /></p>
336
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><hr /><p>Generates unsigned verifiable credential token in JWT format. Client is expected to sign it with a private key.</p><hr /><p>An example of credential signing in Javascript:</p><pre><code>import { Ed25519 } from \'@meeco/sdk\'; <br />import { EdDSASigner, hexToBytes } from \'did-jwt\'; <br /><br />const key = new Ed25519(hexToBytes(SEED_HEX)); <br />const signerFn = EdDSASigner(key.getSecretKey()); <br /><br />const signature = await signerFn(unsignedJwt); <br />const vcJwt = [unsignedJwt, signature].join(\'.\');</code></pre><hr /><br /><h4>Issuer property caveat</h4><p>We use <b>openapi-generator</b> to generate Typescript SDK for the given API swagger definition. However, <b>openapi-generator</b> does not support <b>oneOf</b> configuration properly and generates an invalid Typescript SDK. To avoid the problem, swagger defines <b>issuer</b> property only as string for the moment. While in fact, endpoint accepts issuer as an object in format of <code>{id: string; name: string;}</code> as well.</p><br /><h4>Type property caveat</h4><p> <code>Type</code> is required for <code>vc+sd-jwt</code> format and must be a string <br /> however, endpoint accepts <code>Type</code> as an Array of string for <code>JWT VC</code> in format of <code>[\"VerifiableCredential\", \"AlumniCredential\"]</code> as well. <br /></p>
337
337
  * Generate credential based on type and claims provided
338
338
  */
339
339
  credentialsGeneratePostRaw(requestParameters, initOverrides) {
@@ -368,7 +368,7 @@ class VerifiableCredentialsApi extends runtime.BaseAPI {
368
368
  });
369
369
  }
370
370
  /**
371
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><hr /><p>Generates unsigned verifiable credential token in JWT format. Client is expected to sign it with a private key.</p><hr /><p>An example of how credential signing in Javascript:</p><pre><code>import { Ed25519 } from \'@meeco/sdk\'; <br />import { EdDSASigner, hexToBytes } from \'did-jwt\'; <br /><br />const key = new Ed25519(hexToBytes(SEED_HEX)); <br />const signerFn = EdDSASigner(key.getSecretKey()); <br /><br />const signature = await signerFn(unsignedJwt); <br />const vcJwt = [unsignedJwt, signature].join(\'.\');</code></pre><hr /><br /><h4>Issuer property caveat</h4><p>We use <b>openapi-generator</b> to generate Typescript SDK for the given API swagger definition. However, <b>openapi-generator</b> does not support <b>oneOf</b> configuration properly and generates an invalid Typescript SDK. To avoid the problem, swagger defines <b>issuer</b> property only as string for the moment. While in fact, endpoint accepts issuer as an object in format of <code>{id: string; name: string;}</code> as well.</p><br /><h4>Type property caveat</h4><p> <code>Type</code> is required for <code>vc+sd-jwt</code> format and must be a string <br /> however, endpoint accepts <code>Type</code> as an Array of string for <code>JWT VC</code> in format of <code>[\"VerifiableCredential\", \"AlumniCredential\"]</code> as well. <br /></p>
371
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><hr /><p>Generates unsigned verifiable credential token in JWT format. Client is expected to sign it with a private key.</p><hr /><p>An example of credential signing in Javascript:</p><pre><code>import { Ed25519 } from \'@meeco/sdk\'; <br />import { EdDSASigner, hexToBytes } from \'did-jwt\'; <br /><br />const key = new Ed25519(hexToBytes(SEED_HEX)); <br />const signerFn = EdDSASigner(key.getSecretKey()); <br /><br />const signature = await signerFn(unsignedJwt); <br />const vcJwt = [unsignedJwt, signature].join(\'.\');</code></pre><hr /><br /><h4>Issuer property caveat</h4><p>We use <b>openapi-generator</b> to generate Typescript SDK for the given API swagger definition. However, <b>openapi-generator</b> does not support <b>oneOf</b> configuration properly and generates an invalid Typescript SDK. To avoid the problem, swagger defines <b>issuer</b> property only as string for the moment. While in fact, endpoint accepts issuer as an object in format of <code>{id: string; name: string;}</code> as well.</p><br /><h4>Type property caveat</h4><p> <code>Type</code> is required for <code>vc+sd-jwt</code> format and must be a string <br /> however, endpoint accepts <code>Type</code> as an Array of string for <code>JWT VC</code> in format of <code>[\"VerifiableCredential\", \"AlumniCredential\"]</code> as well. <br /></p>
372
372
  * Generate credential based on type and claims provided
373
373
  */
374
374
  credentialsGeneratePost(meecoOrganisationID, vCGenerateCredentialPayloadDto, initOverrides) {
@@ -228,7 +228,7 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
228
228
  });
229
229
  }
230
230
  /**
231
- * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br />Register Presentation Request for organisation<br /><p>When using a Presentation Definition with a <code>format</code> of <code>vc+sd-jwt</code>,the <code>vp_formats</code> of the Generated Presentation Request <code>registration</code> will be set to <pre><code>\"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ], <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ] <br /> } </code>, </pre>and <code>subject_syntax_types_supported</code> will be set to <code>urn:ietf:params:oauth:jwk-thumbprint</code>.</p><br /><br /><pre><code>\"registration\": { <br /> ... <br /> \"subject_syntax_types_supported\": [ <br /> \"urn:ietf:params:oauth:jwk-thumbprint\" <br /> ], <br /> \"vp_formats\": { <br /> \"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ], <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ] <br /> }, <br /> ... <br />} <br /></code></pre>
231
+ * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br />Register Presentation Request for organisation
232
232
  * Create a Presentation Request
233
233
  */
234
234
  openidPresentationsRequestsPostRaw(requestParameters, initOverrides) {
@@ -260,7 +260,7 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
260
260
  });
261
261
  }
262
262
  /**
263
- * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br />Register Presentation Request for organisation<br /><p>When using a Presentation Definition with a <code>format</code> of <code>vc+sd-jwt</code>,the <code>vp_formats</code> of the Generated Presentation Request <code>registration</code> will be set to <pre><code>\"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ], <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ] <br /> } </code>, </pre>and <code>subject_syntax_types_supported</code> will be set to <code>urn:ietf:params:oauth:jwk-thumbprint</code>.</p><br /><br /><pre><code>\"registration\": { <br /> ... <br /> \"subject_syntax_types_supported\": [ <br /> \"urn:ietf:params:oauth:jwk-thumbprint\" <br /> ], <br /> \"vp_formats\": { <br /> \"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ], <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", \"EdDSA\" <br /> ] <br /> }, <br /> ... <br />} <br /></code></pre>
263
+ * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br />Register Presentation Request for organisation
264
264
  * Create a Presentation Request
265
265
  */
266
266
  openidPresentationsRequestsPost(vCCreatePresentationRequestPayloadDto, meecoOrganisationID, initOverrides) {
@@ -536,7 +536,7 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
536
536
  });
537
537
  }
538
538
  /**
539
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />Register Presentation Definitions for organisation<br /><p><code>input_descriptors</code> property MUST follow the <a target=\"_blank\" href=\"https://identity.foundation/presentation-exchange/spec/v2.1.1/#input-descriptor\">DIF Presentation Exchange Specification</a></p><p>When <code>format</code> of the Presentation Definition is set to <code>vc+sd-jwt</code>, then <code>vp_formats</code> of the Generated Presentation Request <code>registration</code> will be set to</p><pre><code>{ <br /> \"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", <br /> \"EdDSA\" <br /> ], <br /> \"kb-jwt_alg_values\": [ <br /> \"ES256\", <br /> \"EdDSA\" <br /> ] <br /> } <br />} <br /></code></pre><p>and <code>subject_syntax_types_supported</code> will be set to <code>urn:ietf:params:oauth:jwk-thumbprint</code>.</p><br />
539
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />Register Presentation Definitions for organisation<br /><p><code>input_descriptors</code> property MUST follow the <a target=\"_blank\" href=\"https://identity.foundation/presentation-exchange/spec/v2.1.1/#input-descriptor\">DIF Presentation Exchange Specification</a></p>
540
540
  * Create a Presentation Definition
541
541
  */
542
542
  presentationDefinitionsPostRaw(requestParameters, initOverrides) {
@@ -571,7 +571,7 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
571
571
  });
572
572
  }
573
573
  /**
574
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />Register Presentation Definitions for organisation<br /><p><code>input_descriptors</code> property MUST follow the <a target=\"_blank\" href=\"https://identity.foundation/presentation-exchange/spec/v2.1.1/#input-descriptor\">DIF Presentation Exchange Specification</a></p><p>When <code>format</code> of the Presentation Definition is set to <code>vc+sd-jwt</code>, then <code>vp_formats</code> of the Generated Presentation Request <code>registration</code> will be set to</p><pre><code>{ <br /> \"vc+sd-jwt\": { <br /> \"sd-jwt_alg_values\": [ <br /> \"ES256\", <br /> \"EdDSA\" <br /> ], <br /> \"kb-jwt_alg_values\": [ <br /> \"ES256\", <br /> \"EdDSA\" <br /> ] <br /> } <br />} <br /></code></pre><p>and <code>subject_syntax_types_supported</code> will be set to <code>urn:ietf:params:oauth:jwk-thumbprint</code>.</p><br />
574
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />Register Presentation Definitions for organisation<br /><p><code>input_descriptors</code> property MUST follow the <a target=\"_blank\" href=\"https://identity.foundation/presentation-exchange/spec/v2.1.1/#input-descriptor\">DIF Presentation Exchange Specification</a></p>
575
575
  * Create a Presentation Definition
576
576
  */
577
577
  presentationDefinitionsPost(meecoOrganisationID, vCCreatePresentationDefinitionPayloadDto, initOverrides) {
@@ -623,14 +623,11 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
623
623
  });
624
624
  }
625
625
  /**
626
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><p>Verify a verifiable presentation</p><p><b>Checks performed:</b><ul><li>Verifiable presentation signature</li><li>Verifiable presentation format and required attributes</li><li>Verifiable presentation expiration if present</li><li>Verifiable presentation credentials if present <em>(check <code>POST /credentials/verify</code> for more information)</em></li></ul></p><p>Presentation expiration check is not considered critical and will be returned under <code>warnings</code> attribute. It is up for the client application to decide how it should be handled. All other failed checks will be served under <code>errors</code> attribute.</p><p><code>failed_to_verify_jwt</code> error might appear in both: errors and warnings list. <br />So far, the only case when <code>failed_to_verify_jwt</code> appears in the warnings list is when presentation is expired. <br /></p>
626
+ * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br /><p>Verify a verifiable presentation</p><p><b>Checks performed:</b><ul><li>Verifiable presentation signature</li><li>Verifiable presentation format and required attributes</li><li>Verifiable presentation expiration if present</li><li>Verifiable presentation credentials if present <em>(check <code>POST /credentials/verify</code> for more information)</em></li></ul></p><p>Presentation expiration check is not considered critical and will be returned under <code>warnings</code> attribute. It is up for the client application to decide how it should be handled. All other failed checks will be served under <code>errors</code> attribute.</p><p><code>failed_to_verify_jwt</code> error might appear in both: errors and warnings list. <br />So far, the only case when <code>failed_to_verify_jwt</code> appears in the warnings list is when presentation is expired. <br /></p>
627
627
  * Verify a verifiable presentation
628
628
  */
629
629
  presentationsVerifyPostRaw(requestParameters, initOverrides) {
630
630
  return __awaiter(this, void 0, void 0, function* () {
631
- if (requestParameters.meecoOrganisationID === null || requestParameters.meecoOrganisationID === undefined) {
632
- throw new runtime.RequiredError('meecoOrganisationID', 'Required parameter requestParameters.meecoOrganisationID was null or undefined when calling presentationsVerifyPost.');
633
- }
634
631
  if (requestParameters.vCVerifySignedPresentationRequestPayloadDto === null || requestParameters.vCVerifySignedPresentationRequestPayloadDto === undefined) {
635
632
  throw new runtime.RequiredError('vCVerifySignedPresentationRequestPayloadDto', 'Required parameter requestParameters.vCVerifySignedPresentationRequestPayloadDto was null or undefined when calling presentationsVerifyPost.');
636
633
  }
@@ -658,12 +655,12 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
658
655
  });
659
656
  }
660
657
  /**
661
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><p>Verify a verifiable presentation</p><p><b>Checks performed:</b><ul><li>Verifiable presentation signature</li><li>Verifiable presentation format and required attributes</li><li>Verifiable presentation expiration if present</li><li>Verifiable presentation credentials if present <em>(check <code>POST /credentials/verify</code> for more information)</em></li></ul></p><p>Presentation expiration check is not considered critical and will be returned under <code>warnings</code> attribute. It is up for the client application to decide how it should be handled. All other failed checks will be served under <code>errors</code> attribute.</p><p><code>failed_to_verify_jwt</code> error might appear in both: errors and warnings list. <br />So far, the only case when <code>failed_to_verify_jwt</code> appears in the warnings list is when presentation is expired. <br /></p>
658
+ * <h4>Depending on the presence of the <code>Meeco-Organisation-ID</code> header, endpoint requires one of the following security rights:</h4><ul><li><code>vc:tenant:manage</code> if <code>Meeco-Organisation-ID</code> is not specified</li><li><code>vc:org:manage</code> if <code>Meeco-Organisation-ID</code> is specified</li></ul><br /><p>Verify a verifiable presentation</p><p><b>Checks performed:</b><ul><li>Verifiable presentation signature</li><li>Verifiable presentation format and required attributes</li><li>Verifiable presentation expiration if present</li><li>Verifiable presentation credentials if present <em>(check <code>POST /credentials/verify</code> for more information)</em></li></ul></p><p>Presentation expiration check is not considered critical and will be returned under <code>warnings</code> attribute. It is up for the client application to decide how it should be handled. All other failed checks will be served under <code>errors</code> attribute.</p><p><code>failed_to_verify_jwt</code> error might appear in both: errors and warnings list. <br />So far, the only case when <code>failed_to_verify_jwt</code> appears in the warnings list is when presentation is expired. <br /></p>
662
659
  * Verify a verifiable presentation
663
660
  */
664
- presentationsVerifyPost(meecoOrganisationID, vCVerifySignedPresentationRequestPayloadDto, initOverrides) {
661
+ presentationsVerifyPost(vCVerifySignedPresentationRequestPayloadDto, meecoOrganisationID, initOverrides) {
665
662
  return __awaiter(this, void 0, void 0, function* () {
666
- const response = yield this.presentationsVerifyPostRaw({ meecoOrganisationID: meecoOrganisationID, vCVerifySignedPresentationRequestPayloadDto: vCVerifySignedPresentationRequestPayloadDto }, initOverrides);
663
+ const response = yield this.presentationsVerifyPostRaw({ vCVerifySignedPresentationRequestPayloadDto: vCVerifySignedPresentationRequestPayloadDto, meecoOrganisationID: meecoOrganisationID }, initOverrides);
667
664
  return yield response.value();
668
665
  });
669
666
  }
@@ -15,7 +15,6 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.VCCreateCredentialTypeConfigDtoToJSON = exports.VCCreateCredentialTypeConfigDtoFromJSONTyped = exports.VCCreateCredentialTypeConfigDtoFromJSON = exports.instanceOfVCCreateCredentialTypeConfigDto = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const VCCreateCredentialTypeConfigDtoExpiry_1 = require("./VCCreateCredentialTypeConfigDtoExpiry");
19
18
  /**
20
19
  * Check if a given object implements the VCCreateCredentialTypeConfigDto interface.
21
20
  */
@@ -34,7 +33,10 @@ function VCCreateCredentialTypeConfigDtoFromJSONTyped(json, ignoreDiscriminator)
34
33
  }
35
34
  return {
36
35
  'vct': !(0, runtime_1.exists)(json, 'vct') ? undefined : json['vct'],
37
- 'expiry': !(0, runtime_1.exists)(json, 'expiry') ? undefined : (0, VCCreateCredentialTypeConfigDtoExpiry_1.VCCreateCredentialTypeConfigDtoExpiryFromJSON)(json['expiry']),
36
+ 'valid_in': !(0, runtime_1.exists)(json, 'valid_in') ? undefined : json['valid_in'],
37
+ 'valid_at': !(0, runtime_1.exists)(json, 'valid_at') ? undefined : (new Date(json['valid_at'])),
38
+ 'expires_in': !(0, runtime_1.exists)(json, 'expires_in') ? undefined : json['expires_in'],
39
+ 'expires_at': !(0, runtime_1.exists)(json, 'expires_at') ? undefined : (new Date(json['expires_at'])),
38
40
  'issuer_credential_configurations_supported_name': !(0, runtime_1.exists)(json, 'issuer_credential_configurations_supported_name') ? undefined : json['issuer_credential_configurations_supported_name'],
39
41
  'disclosure_frame': !(0, runtime_1.exists)(json, 'disclosure_frame') ? undefined : json['disclosure_frame'],
40
42
  };
@@ -49,7 +51,10 @@ function VCCreateCredentialTypeConfigDtoToJSON(value) {
49
51
  }
50
52
  return {
51
53
  'vct': value.vct,
52
- 'expiry': (0, VCCreateCredentialTypeConfigDtoExpiry_1.VCCreateCredentialTypeConfigDtoExpiryToJSON)(value.expiry),
54
+ 'valid_in': value.valid_in,
55
+ 'valid_at': value.valid_at === undefined ? undefined : (value.valid_at.toISOString()),
56
+ 'expires_in': value.expires_in,
57
+ 'expires_at': value.expires_at === undefined ? undefined : (value.expires_at.toISOString()),
53
58
  'issuer_credential_configurations_supported_name': value.issuer_credential_configurations_supported_name,
54
59
  'disclosure_frame': value.disclosure_frame,
55
60
  };
@@ -18,7 +18,7 @@ exports.VCCreatePresentationRequestOptionsRequestDtoToJSON = exports.VCCreatePre
18
18
  * @export
19
19
  */
20
20
  exports.VCCreatePresentationRequestOptionsRequestDtoProtocolVersionEnum = {
21
- Oid4vpDraft18: 'oid4vp-draft18'
21
+ Openid4vpDraft18: 'openid4vp-draft18'
22
22
  };
23
23
  /**
24
24
  * Check if a given object implements the VCCreatePresentationRequestOptionsRequestDto interface.