@meeco/svx-api-sdk 1.0.0-develop.20230901133029.648bf91 → 1.0.0-develop.20230914124325.546f9f7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +13 -5
- package/lib/esm/apis/ConnectionsApi.js +5 -2
- package/lib/esm/apis/OrganisationsApi.js +5 -2
- package/lib/esm/apis/SecurityRightsApi.js +5 -2
- package/lib/esm/apis/TenantsApi.js +5 -2
- package/lib/esm/apis/VerifiablePresentationsApi.js +49 -4
- package/lib/esm/models/{VaultMeta.js → ATOMGenesisRequest.js} +9 -12
- package/lib/esm/models/AttachmentsFolderResponse.js +3 -2
- package/lib/esm/models/ClassificationNodesResponse.js +3 -3
- package/lib/esm/models/ClientTaskQueueResponse.js +3 -2
- package/lib/esm/models/ConnectionsResponse.js +3 -2
- package/lib/esm/models/DelegationInvitationsResponse.js +3 -2
- package/lib/esm/models/EventActivityFeedResponse.js +3 -3
- package/lib/esm/models/EventFeedResponse.js +3 -3
- package/lib/esm/models/InvitationsResponse.js +3 -2
- package/lib/esm/models/ItemTemplatesResponse.js +3 -2
- package/lib/esm/models/ItemsResponse.js +3 -2
- package/lib/esm/models/SharesIncomingResponse.js +3 -2
- package/lib/esm/models/SharesOutgoingResponse.js +3 -2
- package/lib/esm/models/ShreIntentListResponse.js +3 -2
- package/lib/esm/models/VCCreateCredentialTypeDto.js +2 -0
- package/lib/esm/models/VCCredentialTypeModelDto.js +3 -0
- package/lib/esm/models/VCCredentialTypeModelDtoSchema.js +3 -0
- package/lib/esm/models/VCCredentialTypeSchemaDto.js +3 -0
- package/lib/esm/models/VCCredentialVerificationResultResponseDto.js +3 -3
- package/lib/esm/models/{VCErrorResponseModel.js → VCErrorResponseDto.js} +6 -6
- package/lib/esm/models/{VCErrorsResponseModelDto.js → VCErrorsResponseDto.js} +9 -9
- package/lib/esm/models/VCIdTokenVerificationOptionsDto.js +52 -0
- package/lib/esm/models/{VCPresentationResponseVerificationResultResponseDto.js → VCIdTokenVerificationResultResponseDto.js} +10 -10
- package/lib/esm/models/VCOldPresentationRequestResponseVerificationResultResponseDto.js +61 -0
- package/lib/esm/models/VCPresentationDefinitionToSchemaModel.js +6 -0
- package/lib/esm/models/VCPresentationRequestResponseVerificationOptionsDto.js +58 -0
- package/lib/esm/models/VCPresentationRequestResponseVerificationResultResponseDto.js +73 -0
- package/lib/esm/models/VCPresentationRequestSubmissionModelDto.js +3 -3
- package/lib/esm/models/VCPresentationRequestSubmissionModelDtoVerificationResult.js +39 -0
- package/lib/esm/models/VCPresentationRequestUpdateSubmissionDto.js +3 -3
- package/lib/esm/models/VCPresentationRequestUpdateVerificationResultRequestDto.js +73 -0
- package/lib/esm/models/VCPresentationRequestVerificationResultResponseDto.js +3 -3
- package/lib/esm/models/VCPresentationVerificationOptionsDto.js +52 -0
- package/lib/esm/models/VCPresentationVerificationResultResponseDto.js +3 -3
- package/lib/esm/models/VCRequestVerificationOptionsDto.js +51 -0
- package/lib/esm/models/VCUpdateCredentialTypeDto.js +2 -0
- package/lib/esm/models/VCVerifyPresentationRequestResponsePayloadDto.js +4 -0
- package/lib/esm/models/VaultCollectionReport.js +67 -0
- package/lib/esm/models/index.js +13 -5
- package/lib/types/apis/ConnectionsApi.d.ts +2 -1
- package/lib/types/apis/OrganisationsApi.d.ts +2 -1
- package/lib/types/apis/SecurityRightsApi.d.ts +2 -1
- package/lib/types/apis/TenantsApi.d.ts +2 -1
- package/lib/types/apis/VerifiablePresentationsApi.d.ts +20 -5
- package/lib/types/models/ATOMGenesisRequest.d.ts +31 -0
- package/lib/types/models/AttachmentsFolderResponse.d.ts +3 -2
- package/lib/types/models/ClassificationNodesResponse.d.ts +3 -3
- package/lib/types/models/ClientTaskQueueResponse.d.ts +3 -2
- package/lib/types/models/ConnectionsResponse.d.ts +3 -2
- package/lib/types/models/DelegationInvitationsResponse.d.ts +3 -2
- package/lib/types/models/EventActivityFeedResponse.d.ts +3 -3
- package/lib/types/models/EventFeedResponse.d.ts +3 -3
- package/lib/types/models/InvitationsResponse.d.ts +3 -2
- package/lib/types/models/ItemTemplatesResponse.d.ts +3 -2
- package/lib/types/models/ItemsResponse.d.ts +3 -2
- package/lib/types/models/SharesIncomingResponse.d.ts +3 -2
- package/lib/types/models/SharesOutgoingResponse.d.ts +3 -2
- package/lib/types/models/ShreIntentListResponse.d.ts +3 -2
- package/lib/types/models/VCCreateCredentialTypeDto.d.ts +6 -0
- package/lib/types/models/VCCredentialTypeModelDto.d.ts +6 -0
- package/lib/types/models/VCCredentialTypeModelDtoSchema.d.ts +6 -0
- package/lib/types/models/VCCredentialTypeSchemaDto.d.ts +6 -0
- package/lib/types/models/VCCredentialVerificationResultResponseDto.d.ts +2 -2
- package/lib/types/models/VCErrorResponseDto.d.ts +61 -0
- package/lib/types/models/VCErrorsResponseDto.d.ts +32 -0
- package/lib/types/models/VCIdTokenVerificationOptionsDto.d.ts +41 -0
- package/lib/types/models/VCIdTokenVerificationResultResponseDto.d.ts +56 -0
- package/lib/types/models/VCOldPresentationRequestResponseVerificationResultResponseDto.d.ts +56 -0
- package/lib/types/models/VCPresentationDefinitionToSchemaModel.d.ts +12 -0
- package/lib/types/models/VCPresentationRequestResponseVerificationOptionsDto.d.ts +59 -0
- package/lib/types/models/VCPresentationRequestResponseVerificationResultResponseDto.d.ts +77 -0
- package/lib/types/models/VCPresentationRequestSubmissionModelDto.d.ts +3 -3
- package/lib/types/models/VCPresentationRequestSubmissionModelDtoVerificationResult.d.ts +22 -0
- package/lib/types/models/VCPresentationRequestUpdateSubmissionDto.d.ts +3 -3
- package/lib/types/models/VCPresentationRequestUpdateVerificationResultRequestDto.d.ts +77 -0
- package/lib/types/models/VCPresentationRequestVerificationResultResponseDto.d.ts +2 -2
- package/lib/types/models/VCPresentationVerificationOptionsDto.d.ts +41 -0
- package/lib/types/models/VCPresentationVerificationResultResponseDto.d.ts +2 -2
- package/lib/types/models/VCRequestVerificationOptionsDto.d.ts +40 -0
- package/lib/types/models/VCUpdateCredentialTypeDto.d.ts +6 -0
- package/lib/types/models/VCVerifyPresentationRequestResponsePayloadDto.d.ts +7 -0
- package/lib/types/models/VaultCollectionReport.d.ts +79 -0
- package/lib/types/models/index.d.ts +13 -5
- package/lib/umd/apis/ConnectionsApi.js +5 -2
- package/lib/umd/apis/OrganisationsApi.js +5 -2
- package/lib/umd/apis/SecurityRightsApi.js +5 -2
- package/lib/umd/apis/TenantsApi.js +5 -2
- package/lib/umd/apis/VerifiablePresentationsApi.js +48 -3
- package/lib/umd/models/ATOMGenesisRequest.js +50 -0
- package/lib/umd/models/AttachmentsFolderResponse.js +3 -2
- package/lib/umd/models/ClassificationNodesResponse.js +3 -3
- package/lib/umd/models/ClientTaskQueueResponse.js +3 -2
- package/lib/umd/models/ConnectionsResponse.js +3 -2
- package/lib/umd/models/DelegationInvitationsResponse.js +3 -2
- package/lib/umd/models/EventActivityFeedResponse.js +3 -3
- package/lib/umd/models/EventFeedResponse.js +3 -3
- package/lib/umd/models/InvitationsResponse.js +3 -2
- package/lib/umd/models/ItemTemplatesResponse.js +3 -2
- package/lib/umd/models/ItemsResponse.js +3 -2
- package/lib/umd/models/SharesIncomingResponse.js +3 -2
- package/lib/umd/models/SharesOutgoingResponse.js +3 -2
- package/lib/umd/models/ShreIntentListResponse.js +3 -2
- package/lib/umd/models/VCCreateCredentialTypeDto.js +2 -0
- package/lib/umd/models/VCCredentialTypeModelDto.js +3 -0
- package/lib/umd/models/VCCredentialTypeModelDtoSchema.js +3 -0
- package/lib/umd/models/VCCredentialTypeSchemaDto.js +3 -0
- package/lib/umd/models/VCCredentialVerificationResultResponseDto.js +3 -3
- package/lib/umd/models/{VCErrorResponseModel.js → VCErrorResponseDto.js} +11 -11
- package/lib/umd/models/VCErrorsResponseDto.js +51 -0
- package/lib/umd/models/VCIdTokenVerificationOptionsDto.js +59 -0
- package/lib/umd/models/{VCPresentationResponseVerificationResultResponseDto.js → VCIdTokenVerificationResultResponseDto.js} +15 -15
- package/lib/umd/models/VCOldPresentationRequestResponseVerificationResultResponseDto.js +68 -0
- package/lib/umd/models/VCPresentationDefinitionToSchemaModel.js +6 -0
- package/lib/umd/models/VCPresentationRequestResponseVerificationOptionsDto.js +65 -0
- package/lib/umd/models/VCPresentationRequestResponseVerificationResultResponseDto.js +80 -0
- package/lib/umd/models/VCPresentationRequestSubmissionModelDto.js +3 -3
- package/lib/umd/models/VCPresentationRequestSubmissionModelDtoVerificationResult.js +45 -0
- package/lib/umd/models/VCPresentationRequestUpdateSubmissionDto.js +3 -3
- package/lib/umd/models/VCPresentationRequestUpdateVerificationResultRequestDto.js +80 -0
- package/lib/umd/models/VCPresentationRequestVerificationResultResponseDto.js +3 -3
- package/lib/umd/models/VCPresentationVerificationOptionsDto.js +59 -0
- package/lib/umd/models/VCPresentationVerificationResultResponseDto.js +3 -3
- package/lib/umd/models/VCRequestVerificationOptionsDto.js +58 -0
- package/lib/umd/models/VCUpdateCredentialTypeDto.js +2 -0
- package/lib/umd/models/VCVerifyPresentationRequestResponsePayloadDto.js +4 -0
- package/lib/umd/models/VaultCollectionReport.js +74 -0
- package/lib/umd/models/index.js +13 -5
- package/package.json +1 -1
- package/lib/esm/models/VCPresentationRequestUpdateVerificationResultDto.js +0 -60
- package/lib/types/models/VCErrorResponseModel.d.ts +0 -61
- package/lib/types/models/VCErrorsResponseModelDto.d.ts +0 -32
- package/lib/types/models/VCPresentationRequestUpdateVerificationResultDto.d.ts +0 -55
- package/lib/types/models/VCPresentationResponseVerificationResultResponseDto.d.ts +0 -56
- package/lib/types/models/VaultMeta.d.ts +0 -37
- package/lib/umd/models/VCErrorsResponseModelDto.js +0 -51
- package/lib/umd/models/VCPresentationRequestUpdateVerificationResultDto.js +0 -67
- package/lib/umd/models/VaultMeta.js +0 -53
|
@@ -33,6 +33,7 @@ export function VCCreateCredentialTypeDtoFromJSONTyped(json, ignoreDiscriminator
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'name': json['name'],
|
|
36
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
36
37
|
'schema_id': json['schema_id'],
|
|
37
38
|
'style': VCCreateCredentialTypeStyleDtoFromJSON(json['style']),
|
|
38
39
|
'external_issuer': !exists(json, 'external_issuer') ? undefined : VCCreateCredentialTypeExternalIssuerDtoFromJSON(json['external_issuer']),
|
|
@@ -47,6 +48,7 @@ export function VCCreateCredentialTypeDtoToJSON(value) {
|
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
49
50
|
'name': value.name,
|
|
51
|
+
'type': value.type,
|
|
50
52
|
'schema_id': value.schema_id,
|
|
51
53
|
'style': VCCreateCredentialTypeStyleDtoToJSON(value.style),
|
|
52
54
|
'external_issuer': VCCreateCredentialTypeExternalIssuerDtoToJSON(value.external_issuer),
|
|
@@ -21,6 +21,7 @@ export function instanceOfVCCredentialTypeModelDto(value) {
|
|
|
21
21
|
let isInstance = true;
|
|
22
22
|
isInstance = isInstance && "id" in value;
|
|
23
23
|
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "type" in value;
|
|
24
25
|
isInstance = isInstance && "organization_id" in value;
|
|
25
26
|
isInstance = isInstance && "schema" in value;
|
|
26
27
|
isInstance = isInstance && "style" in value;
|
|
@@ -40,6 +41,7 @@ export function VCCredentialTypeModelDtoFromJSONTyped(json, ignoreDiscriminator)
|
|
|
40
41
|
return {
|
|
41
42
|
'id': json['id'],
|
|
42
43
|
'name': json['name'],
|
|
44
|
+
'type': json['type'],
|
|
43
45
|
'organization_id': json['organization_id'],
|
|
44
46
|
'schema': VCCredentialTypeModelDtoSchemaFromJSON(json['schema']),
|
|
45
47
|
'style': VCCredentialTypeModelDtoStyleFromJSON(json['style']),
|
|
@@ -59,6 +61,7 @@ export function VCCredentialTypeModelDtoToJSON(value) {
|
|
|
59
61
|
return {
|
|
60
62
|
'id': value.id,
|
|
61
63
|
'name': value.name,
|
|
64
|
+
'type': value.type,
|
|
62
65
|
'organization_id': value.organization_id,
|
|
63
66
|
'schema': VCCredentialTypeModelDtoSchemaToJSON(value.schema),
|
|
64
67
|
'style': VCCredentialTypeModelDtoStyleToJSON(value.style),
|
|
@@ -18,6 +18,7 @@ export function instanceOfVCCredentialTypeModelDtoSchema(value) {
|
|
|
18
18
|
let isInstance = true;
|
|
19
19
|
isInstance = isInstance && "id" in value;
|
|
20
20
|
isInstance = isInstance && "schema_url" in value;
|
|
21
|
+
isInstance = isInstance && "name" in value;
|
|
21
22
|
return isInstance;
|
|
22
23
|
}
|
|
23
24
|
export function VCCredentialTypeModelDtoSchemaFromJSON(json) {
|
|
@@ -30,6 +31,7 @@ export function VCCredentialTypeModelDtoSchemaFromJSONTyped(json, ignoreDiscrimi
|
|
|
30
31
|
return {
|
|
31
32
|
'id': json['id'],
|
|
32
33
|
'schema_url': json['schema_url'],
|
|
34
|
+
'name': json['name'],
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
export function VCCredentialTypeModelDtoSchemaToJSON(value) {
|
|
@@ -42,5 +44,6 @@ export function VCCredentialTypeModelDtoSchemaToJSON(value) {
|
|
|
42
44
|
return {
|
|
43
45
|
'id': value.id,
|
|
44
46
|
'schema_url': value.schema_url,
|
|
47
|
+
'name': value.name,
|
|
45
48
|
};
|
|
46
49
|
}
|
|
@@ -18,6 +18,7 @@ export function instanceOfVCCredentialTypeSchemaDto(value) {
|
|
|
18
18
|
let isInstance = true;
|
|
19
19
|
isInstance = isInstance && "id" in value;
|
|
20
20
|
isInstance = isInstance && "schema_url" in value;
|
|
21
|
+
isInstance = isInstance && "name" in value;
|
|
21
22
|
return isInstance;
|
|
22
23
|
}
|
|
23
24
|
export function VCCredentialTypeSchemaDtoFromJSON(json) {
|
|
@@ -30,6 +31,7 @@ export function VCCredentialTypeSchemaDtoFromJSONTyped(json, ignoreDiscriminator
|
|
|
30
31
|
return {
|
|
31
32
|
'id': json['id'],
|
|
32
33
|
'schema_url': json['schema_url'],
|
|
34
|
+
'name': json['name'],
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
export function VCCredentialTypeSchemaDtoToJSON(value) {
|
|
@@ -42,5 +44,6 @@ export function VCCredentialTypeSchemaDtoToJSON(value) {
|
|
|
42
44
|
return {
|
|
43
45
|
'id': value.id,
|
|
44
46
|
'schema_url': value.schema_url,
|
|
47
|
+
'name': value.name,
|
|
45
48
|
};
|
|
46
49
|
}
|
|
@@ -16,12 +16,12 @@ import { VCVerificationCheckResponseDtoFromJSON, VCVerificationCheckResponseDtoT
|
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
18
|
export const VCCredentialVerificationResultResponseDtoChecksEnum = {
|
|
19
|
-
Signature: 'signature',
|
|
20
19
|
Format: 'format',
|
|
20
|
+
Signature: 'signature',
|
|
21
21
|
Expiration: 'expiration',
|
|
22
|
+
Nonce: 'nonce',
|
|
22
23
|
Schema: 'schema',
|
|
23
|
-
RevocationStatus: 'revocation_status'
|
|
24
|
-
ResponseMatchRequest: 'response_match_request'
|
|
24
|
+
RevocationStatus: 'revocation_status'
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* Check if a given object implements the VCCredentialVerificationResultResponseDto interface.
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the VCErrorResponseDto interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfVCErrorResponseDto(value) {
|
|
18
18
|
let isInstance = true;
|
|
19
19
|
isInstance = isInstance && "error" in value;
|
|
20
20
|
isInstance = isInstance && "message" in value;
|
|
@@ -24,10 +24,10 @@ export function instanceOfVCErrorResponseModel(value) {
|
|
|
24
24
|
isInstance = isInstance && "message_in_requested_language" in value;
|
|
25
25
|
return isInstance;
|
|
26
26
|
}
|
|
27
|
-
export function
|
|
28
|
-
return
|
|
27
|
+
export function VCErrorResponseDtoFromJSON(json) {
|
|
28
|
+
return VCErrorResponseDtoFromJSONTyped(json, false);
|
|
29
29
|
}
|
|
30
|
-
export function
|
|
30
|
+
export function VCErrorResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
31
|
if ((json === undefined) || (json === null)) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
@@ -40,7 +40,7 @@ export function VCErrorResponseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'message_in_requested_language': json['message_in_requested_language'],
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
export function
|
|
43
|
+
export function VCErrorResponseDtoToJSON(value) {
|
|
44
44
|
if (value === undefined) {
|
|
45
45
|
return undefined;
|
|
46
46
|
}
|
|
@@ -11,27 +11,27 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { VCErrorResponseDtoFromJSON, VCErrorResponseDtoToJSON, } from './VCErrorResponseDto';
|
|
15
15
|
/**
|
|
16
|
-
* Check if a given object implements the
|
|
16
|
+
* Check if a given object implements the VCErrorsResponseDto interface.
|
|
17
17
|
*/
|
|
18
|
-
export function
|
|
18
|
+
export function instanceOfVCErrorsResponseDto(value) {
|
|
19
19
|
let isInstance = true;
|
|
20
20
|
isInstance = isInstance && "errors" in value;
|
|
21
21
|
return isInstance;
|
|
22
22
|
}
|
|
23
|
-
export function
|
|
24
|
-
return
|
|
23
|
+
export function VCErrorsResponseDtoFromJSON(json) {
|
|
24
|
+
return VCErrorsResponseDtoFromJSONTyped(json, false);
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
26
|
+
export function VCErrorsResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
27
|
if ((json === undefined) || (json === null)) {
|
|
28
28
|
return json;
|
|
29
29
|
}
|
|
30
30
|
return {
|
|
31
|
-
'errors': (json['errors'].map(
|
|
31
|
+
'errors': (json['errors'].map(VCErrorResponseDtoFromJSON)),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function
|
|
34
|
+
export function VCErrorsResponseDtoToJSON(value) {
|
|
35
35
|
if (value === undefined) {
|
|
36
36
|
return undefined;
|
|
37
37
|
}
|
|
@@ -39,6 +39,6 @@ export function VCErrorsResponseModelDtoToJSON(value) {
|
|
|
39
39
|
return null;
|
|
40
40
|
}
|
|
41
41
|
return {
|
|
42
|
-
'errors': (value.errors.map(
|
|
42
|
+
'errors': (value.errors.map(VCErrorResponseDtoToJSON)),
|
|
43
43
|
};
|
|
44
44
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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: 1.14.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
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const VCIdTokenVerificationOptionsDtoChecksEnum = {
|
|
19
|
+
Format: 'format',
|
|
20
|
+
Signature: 'signature',
|
|
21
|
+
Expiration: 'expiration',
|
|
22
|
+
Nonce: 'nonce'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the VCIdTokenVerificationOptionsDto interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfVCIdTokenVerificationOptionsDto(value) {
|
|
28
|
+
let isInstance = true;
|
|
29
|
+
return isInstance;
|
|
30
|
+
}
|
|
31
|
+
export function VCIdTokenVerificationOptionsDtoFromJSON(json) {
|
|
32
|
+
return VCIdTokenVerificationOptionsDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function VCIdTokenVerificationOptionsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'checks': !exists(json, 'checks') ? undefined : json['checks'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function VCIdTokenVerificationOptionsDtoToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'checks': value.checks,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -15,28 +15,28 @@ import { VCVerificationCheckResponseDtoFromJSON, VCVerificationCheckResponseDtoT
|
|
|
15
15
|
/**
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
|
-
export const
|
|
19
|
-
Signature: 'signature',
|
|
18
|
+
export const VCIdTokenVerificationResultResponseDtoChecksEnum = {
|
|
20
19
|
Format: 'format',
|
|
20
|
+
Signature: 'signature',
|
|
21
21
|
Expiration: 'expiration',
|
|
22
|
+
Nonce: 'nonce',
|
|
22
23
|
Schema: 'schema',
|
|
23
|
-
RevocationStatus: 'revocation_status'
|
|
24
|
-
ResponseMatchRequest: 'response_match_request'
|
|
24
|
+
RevocationStatus: 'revocation_status'
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Check if a given object implements the
|
|
27
|
+
* Check if a given object implements the VCIdTokenVerificationResultResponseDto interface.
|
|
28
28
|
*/
|
|
29
|
-
export function
|
|
29
|
+
export function instanceOfVCIdTokenVerificationResultResponseDto(value) {
|
|
30
30
|
let isInstance = true;
|
|
31
31
|
isInstance = isInstance && "checks" in value;
|
|
32
32
|
isInstance = isInstance && "warnings" in value;
|
|
33
33
|
isInstance = isInstance && "errors" in value;
|
|
34
34
|
return isInstance;
|
|
35
35
|
}
|
|
36
|
-
export function
|
|
37
|
-
return
|
|
36
|
+
export function VCIdTokenVerificationResultResponseDtoFromJSON(json) {
|
|
37
|
+
return VCIdTokenVerificationResultResponseDtoFromJSONTyped(json, false);
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
39
|
+
export function VCIdTokenVerificationResultResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
40
|
if ((json === undefined) || (json === null)) {
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
@@ -46,7 +46,7 @@ export function VCPresentationResponseVerificationResultResponseDtoFromJSONTyped
|
|
|
46
46
|
'errors': (json['errors'].map(VCVerificationCheckResponseDtoFromJSON)),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
export function
|
|
49
|
+
export function VCIdTokenVerificationResultResponseDtoToJSON(value) {
|
|
50
50
|
if (value === undefined) {
|
|
51
51
|
return undefined;
|
|
52
52
|
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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: 1.14.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 { VCVerificationCheckResponseDtoFromJSON, VCVerificationCheckResponseDtoToJSON, } from './VCVerificationCheckResponseDto';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const VCOldPresentationRequestResponseVerificationResultResponseDtoChecksEnum = {
|
|
19
|
+
Format: 'format',
|
|
20
|
+
Signature: 'signature',
|
|
21
|
+
Expiration: 'expiration',
|
|
22
|
+
Nonce: 'nonce',
|
|
23
|
+
Schema: 'schema',
|
|
24
|
+
RevocationStatus: 'revocation_status'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the VCOldPresentationRequestResponseVerificationResultResponseDto interface.
|
|
28
|
+
*/
|
|
29
|
+
export function instanceOfVCOldPresentationRequestResponseVerificationResultResponseDto(value) {
|
|
30
|
+
let isInstance = true;
|
|
31
|
+
isInstance = isInstance && "checks" in value;
|
|
32
|
+
isInstance = isInstance && "warnings" in value;
|
|
33
|
+
isInstance = isInstance && "errors" in value;
|
|
34
|
+
return isInstance;
|
|
35
|
+
}
|
|
36
|
+
export function VCOldPresentationRequestResponseVerificationResultResponseDtoFromJSON(json) {
|
|
37
|
+
return VCOldPresentationRequestResponseVerificationResultResponseDtoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function VCOldPresentationRequestResponseVerificationResultResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if ((json === undefined) || (json === null)) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'checks': json['checks'],
|
|
45
|
+
'warnings': (json['warnings'].map(VCVerificationCheckResponseDtoFromJSON)),
|
|
46
|
+
'errors': (json['errors'].map(VCVerificationCheckResponseDtoFromJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function VCOldPresentationRequestResponseVerificationResultResponseDtoToJSON(value) {
|
|
50
|
+
if (value === undefined) {
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
if (value === null) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'checks': value.checks,
|
|
58
|
+
'warnings': (value.warnings.map(VCVerificationCheckResponseDtoToJSON)),
|
|
59
|
+
'errors': (value.errors.map(VCVerificationCheckResponseDtoToJSON)),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -19,6 +19,8 @@ export function instanceOfVCPresentationDefinitionToSchemaModel(value) {
|
|
|
19
19
|
isInstance = isInstance && "id" in value;
|
|
20
20
|
isInstance = isInstance && "schema_id" in value;
|
|
21
21
|
isInstance = isInstance && "issuer_id" in value;
|
|
22
|
+
isInstance = isInstance && "schema_name" in value;
|
|
23
|
+
isInstance = isInstance && "schema_version" in value;
|
|
22
24
|
return isInstance;
|
|
23
25
|
}
|
|
24
26
|
export function VCPresentationDefinitionToSchemaModelFromJSON(json) {
|
|
@@ -32,6 +34,8 @@ export function VCPresentationDefinitionToSchemaModelFromJSONTyped(json, ignoreD
|
|
|
32
34
|
'id': json['id'],
|
|
33
35
|
'schema_id': json['schema_id'],
|
|
34
36
|
'issuer_id': json['issuer_id'],
|
|
37
|
+
'schema_name': json['schema_name'],
|
|
38
|
+
'schema_version': json['schema_version'],
|
|
35
39
|
};
|
|
36
40
|
}
|
|
37
41
|
export function VCPresentationDefinitionToSchemaModelToJSON(value) {
|
|
@@ -45,5 +49,7 @@ export function VCPresentationDefinitionToSchemaModelToJSON(value) {
|
|
|
45
49
|
'id': value.id,
|
|
46
50
|
'schema_id': value.schema_id,
|
|
47
51
|
'issuer_id': value.issuer_id,
|
|
52
|
+
'schema_name': value.schema_name,
|
|
53
|
+
'schema_version': value.schema_version,
|
|
48
54
|
};
|
|
49
55
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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: 1.14.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 { VCIdTokenVerificationOptionsDtoFromJSON, VCIdTokenVerificationOptionsDtoToJSON, } from './VCIdTokenVerificationOptionsDto';
|
|
16
|
+
import { VCPresentationVerificationOptionsDtoFromJSON, VCPresentationVerificationOptionsDtoToJSON, } from './VCPresentationVerificationOptionsDto';
|
|
17
|
+
import { VCRequestVerificationOptionsDtoFromJSON, VCRequestVerificationOptionsDtoToJSON, } from './VCRequestVerificationOptionsDto';
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export const VCPresentationRequestResponseVerificationOptionsDtoChecksEnum = {
|
|
22
|
+
Format: 'format'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the VCPresentationRequestResponseVerificationOptionsDto interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfVCPresentationRequestResponseVerificationOptionsDto(value) {
|
|
28
|
+
let isInstance = true;
|
|
29
|
+
return isInstance;
|
|
30
|
+
}
|
|
31
|
+
export function VCPresentationRequestResponseVerificationOptionsDtoFromJSON(json) {
|
|
32
|
+
return VCPresentationRequestResponseVerificationOptionsDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function VCPresentationRequestResponseVerificationOptionsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'checks': !exists(json, 'checks') ? undefined : json['checks'],
|
|
40
|
+
'request': !exists(json, 'request') ? undefined : VCRequestVerificationOptionsDtoFromJSON(json['request']),
|
|
41
|
+
'id_token': !exists(json, 'id_token') ? undefined : VCIdTokenVerificationOptionsDtoFromJSON(json['id_token']),
|
|
42
|
+
'vp_token': !exists(json, 'vp_token') ? undefined : VCPresentationVerificationOptionsDtoFromJSON(json['vp_token']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function VCPresentationRequestResponseVerificationOptionsDtoToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'checks': value.checks,
|
|
54
|
+
'request': VCRequestVerificationOptionsDtoToJSON(value.request),
|
|
55
|
+
'id_token': VCIdTokenVerificationOptionsDtoToJSON(value.id_token),
|
|
56
|
+
'vp_token': VCPresentationVerificationOptionsDtoToJSON(value.vp_token),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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: 1.14.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 { VCIdTokenVerificationResultResponseDtoFromJSON, VCIdTokenVerificationResultResponseDtoToJSON, } from './VCIdTokenVerificationResultResponseDto';
|
|
15
|
+
import { VCPresentationRequestVerificationResultResponseDtoFromJSON, VCPresentationRequestVerificationResultResponseDtoToJSON, } from './VCPresentationRequestVerificationResultResponseDto';
|
|
16
|
+
import { VCPresentationVerificationResultResponseDtoFromJSON, VCPresentationVerificationResultResponseDtoToJSON, } from './VCPresentationVerificationResultResponseDto';
|
|
17
|
+
import { VCVerificationCheckResponseDtoFromJSON, VCVerificationCheckResponseDtoToJSON, } from './VCVerificationCheckResponseDto';
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export const VCPresentationRequestResponseVerificationResultResponseDtoChecksEnum = {
|
|
22
|
+
Format: 'format',
|
|
23
|
+
Signature: 'signature',
|
|
24
|
+
Expiration: 'expiration',
|
|
25
|
+
Nonce: 'nonce',
|
|
26
|
+
Schema: 'schema',
|
|
27
|
+
RevocationStatus: 'revocation_status'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the VCPresentationRequestResponseVerificationResultResponseDto interface.
|
|
31
|
+
*/
|
|
32
|
+
export function instanceOfVCPresentationRequestResponseVerificationResultResponseDto(value) {
|
|
33
|
+
let isInstance = true;
|
|
34
|
+
isInstance = isInstance && "checks" in value;
|
|
35
|
+
isInstance = isInstance && "warnings" in value;
|
|
36
|
+
isInstance = isInstance && "errors" in value;
|
|
37
|
+
isInstance = isInstance && "request" in value;
|
|
38
|
+
isInstance = isInstance && "id_token" in value;
|
|
39
|
+
isInstance = isInstance && "vp_token" in value;
|
|
40
|
+
return isInstance;
|
|
41
|
+
}
|
|
42
|
+
export function VCPresentationRequestResponseVerificationResultResponseDtoFromJSON(json) {
|
|
43
|
+
return VCPresentationRequestResponseVerificationResultResponseDtoFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function VCPresentationRequestResponseVerificationResultResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if ((json === undefined) || (json === null)) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'checks': json['checks'],
|
|
51
|
+
'warnings': (json['warnings'].map(VCVerificationCheckResponseDtoFromJSON)),
|
|
52
|
+
'errors': (json['errors'].map(VCVerificationCheckResponseDtoFromJSON)),
|
|
53
|
+
'request': VCPresentationRequestVerificationResultResponseDtoFromJSON(json['request']),
|
|
54
|
+
'id_token': VCIdTokenVerificationResultResponseDtoFromJSON(json['id_token']),
|
|
55
|
+
'vp_token': VCPresentationVerificationResultResponseDtoFromJSON(json['vp_token']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export function VCPresentationRequestResponseVerificationResultResponseDtoToJSON(value) {
|
|
59
|
+
if (value === undefined) {
|
|
60
|
+
return undefined;
|
|
61
|
+
}
|
|
62
|
+
if (value === null) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'checks': value.checks,
|
|
67
|
+
'warnings': (value.warnings.map(VCVerificationCheckResponseDtoToJSON)),
|
|
68
|
+
'errors': (value.errors.map(VCVerificationCheckResponseDtoToJSON)),
|
|
69
|
+
'request': VCPresentationRequestVerificationResultResponseDtoToJSON(value.request),
|
|
70
|
+
'id_token': VCIdTokenVerificationResultResponseDtoToJSON(value.id_token),
|
|
71
|
+
'vp_token': VCPresentationVerificationResultResponseDtoToJSON(value.vp_token),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { VCPresentationRequestSubmissionModelDtoVerificationResultFromJSON, VCPresentationRequestSubmissionModelDtoVerificationResultToJSON, } from './VCPresentationRequestSubmissionModelDtoVerificationResult';
|
|
15
15
|
/**
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
@@ -53,7 +53,7 @@ export function VCPresentationRequestSubmissionModelDtoFromJSONTyped(json, ignor
|
|
|
53
53
|
'status': json['status'],
|
|
54
54
|
'updated_at': (new Date(json['updated_at'])),
|
|
55
55
|
'created_at': (new Date(json['created_at'])),
|
|
56
|
-
'verification_result':
|
|
56
|
+
'verification_result': VCPresentationRequestSubmissionModelDtoVerificationResultFromJSON(json['verification_result']),
|
|
57
57
|
'last_verified_at': (new Date(json['last_verified_at'])),
|
|
58
58
|
};
|
|
59
59
|
}
|
|
@@ -73,7 +73,7 @@ export function VCPresentationRequestSubmissionModelDtoToJSON(value) {
|
|
|
73
73
|
'status': value.status,
|
|
74
74
|
'updated_at': (value.updated_at.toISOString()),
|
|
75
75
|
'created_at': (value.created_at.toISOString()),
|
|
76
|
-
'verification_result':
|
|
76
|
+
'verification_result': VCPresentationRequestSubmissionModelDtoVerificationResultToJSON(value.verification_result),
|
|
77
77
|
'last_verified_at': (value.last_verified_at.toISOString()),
|
|
78
78
|
};
|
|
79
79
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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: 1.14.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 { instanceOfVCOldPresentationRequestResponseVerificationResultResponseDto, VCOldPresentationRequestResponseVerificationResultResponseDtoFromJSONTyped, VCOldPresentationRequestResponseVerificationResultResponseDtoToJSON, } from './VCOldPresentationRequestResponseVerificationResultResponseDto';
|
|
15
|
+
import { instanceOfVCPresentationRequestResponseVerificationResultResponseDto, VCPresentationRequestResponseVerificationResultResponseDtoFromJSONTyped, VCPresentationRequestResponseVerificationResultResponseDtoToJSON, } from './VCPresentationRequestResponseVerificationResultResponseDto';
|
|
16
|
+
export function VCPresentationRequestSubmissionModelDtoVerificationResultFromJSON(json) {
|
|
17
|
+
return VCPresentationRequestSubmissionModelDtoVerificationResultFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function VCPresentationRequestSubmissionModelDtoVerificationResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return Object.assign(Object.assign({}, VCOldPresentationRequestResponseVerificationResultResponseDtoFromJSONTyped(json, true)), VCPresentationRequestResponseVerificationResultResponseDtoFromJSONTyped(json, true));
|
|
24
|
+
}
|
|
25
|
+
export function VCPresentationRequestSubmissionModelDtoVerificationResultToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
if (instanceOfVCOldPresentationRequestResponseVerificationResultResponseDto(value)) {
|
|
33
|
+
return VCOldPresentationRequestResponseVerificationResultResponseDtoToJSON(value);
|
|
34
|
+
}
|
|
35
|
+
if (instanceOfVCPresentationRequestResponseVerificationResultResponseDto(value)) {
|
|
36
|
+
return VCPresentationRequestResponseVerificationResultResponseDtoToJSON(value);
|
|
37
|
+
}
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { VCPresentationRequestUpdateVerificationResultRequestDtoFromJSON, VCPresentationRequestUpdateVerificationResultRequestDtoToJSON, } from './VCPresentationRequestUpdateVerificationResultRequestDto';
|
|
15
15
|
/**
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
@@ -38,7 +38,7 @@ export function VCPresentationRequestUpdateSubmissionDtoFromJSONTyped(json, igno
|
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
40
|
'status': json['status'],
|
|
41
|
-
'verification_result':
|
|
41
|
+
'verification_result': VCPresentationRequestUpdateVerificationResultRequestDtoFromJSON(json['verification_result']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
export function VCPresentationRequestUpdateSubmissionDtoToJSON(value) {
|
|
@@ -50,6 +50,6 @@ export function VCPresentationRequestUpdateSubmissionDtoToJSON(value) {
|
|
|
50
50
|
}
|
|
51
51
|
return {
|
|
52
52
|
'status': value.status,
|
|
53
|
-
'verification_result':
|
|
53
|
+
'verification_result': VCPresentationRequestUpdateVerificationResultRequestDtoToJSON(value.verification_result),
|
|
54
54
|
};
|
|
55
55
|
}
|