@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
|
@@ -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 VCPresentationRequestUpdateVerificationResultRequestDtoChecksEnum = {
|
|
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 VCPresentationRequestUpdateVerificationResultRequestDto interface.
|
|
31
|
+
*/
|
|
32
|
+
export function instanceOfVCPresentationRequestUpdateVerificationResultRequestDto(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 VCPresentationRequestUpdateVerificationResultRequestDtoFromJSON(json) {
|
|
43
|
+
return VCPresentationRequestUpdateVerificationResultRequestDtoFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function VCPresentationRequestUpdateVerificationResultRequestDtoFromJSONTyped(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 VCPresentationRequestUpdateVerificationResultRequestDtoToJSON(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
|
+
}
|
|
@@ -16,12 +16,12 @@ import { VCVerificationCheckResponseDtoFromJSON, VCVerificationCheckResponseDtoT
|
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
18
|
export const VCPresentationRequestVerificationResultResponseDtoChecksEnum = {
|
|
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 VCPresentationRequestVerificationResultResponseDto interface.
|
|
@@ -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 VCPresentationVerificationOptionsDtoChecksEnum = {
|
|
19
|
+
Format: 'format',
|
|
20
|
+
Signature: 'signature',
|
|
21
|
+
Expiration: 'expiration',
|
|
22
|
+
Nonce: 'nonce'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the VCPresentationVerificationOptionsDto interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfVCPresentationVerificationOptionsDto(value) {
|
|
28
|
+
let isInstance = true;
|
|
29
|
+
return isInstance;
|
|
30
|
+
}
|
|
31
|
+
export function VCPresentationVerificationOptionsDtoFromJSON(json) {
|
|
32
|
+
return VCPresentationVerificationOptionsDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function VCPresentationVerificationOptionsDtoFromJSONTyped(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 VCPresentationVerificationOptionsDtoToJSON(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
|
+
}
|
|
@@ -17,12 +17,12 @@ import { VCVerificationCheckResponseDtoFromJSON, VCVerificationCheckResponseDtoT
|
|
|
17
17
|
* @export
|
|
18
18
|
*/
|
|
19
19
|
export const VCPresentationVerificationResultResponseDtoChecksEnum = {
|
|
20
|
-
Signature: 'signature',
|
|
21
20
|
Format: 'format',
|
|
21
|
+
Signature: 'signature',
|
|
22
22
|
Expiration: 'expiration',
|
|
23
|
+
Nonce: 'nonce',
|
|
23
24
|
Schema: 'schema',
|
|
24
|
-
RevocationStatus: 'revocation_status'
|
|
25
|
-
ResponseMatchRequest: 'response_match_request'
|
|
25
|
+
RevocationStatus: 'revocation_status'
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* Check if a given object implements the VCPresentationVerificationResultResponseDto interface.
|
|
@@ -0,0 +1,51 @@
|
|
|
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 VCRequestVerificationOptionsDtoChecksEnum = {
|
|
19
|
+
Format: 'format',
|
|
20
|
+
Signature: 'signature',
|
|
21
|
+
Expiration: 'expiration'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the VCRequestVerificationOptionsDto interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfVCRequestVerificationOptionsDto(value) {
|
|
27
|
+
let isInstance = true;
|
|
28
|
+
return isInstance;
|
|
29
|
+
}
|
|
30
|
+
export function VCRequestVerificationOptionsDtoFromJSON(json) {
|
|
31
|
+
return VCRequestVerificationOptionsDtoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function VCRequestVerificationOptionsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'checks': !exists(json, 'checks') ? undefined : json['checks'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function VCRequestVerificationOptionsDtoToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'checks': value.checks,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -32,6 +32,7 @@ export function VCUpdateCredentialTypeDtoFromJSONTyped(json, ignoreDiscriminator
|
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
34
|
'name': json['name'],
|
|
35
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
35
36
|
'style': VCCreateCredentialTypeStyleDtoFromJSON(json['style']),
|
|
36
37
|
'external_issuer': !exists(json, 'external_issuer') ? undefined : VCCreateCredentialTypeExternalIssuerDtoFromJSON(json['external_issuer']),
|
|
37
38
|
};
|
|
@@ -45,6 +46,7 @@ export function VCUpdateCredentialTypeDtoToJSON(value) {
|
|
|
45
46
|
}
|
|
46
47
|
return {
|
|
47
48
|
'name': value.name,
|
|
49
|
+
'type': value.type,
|
|
48
50
|
'style': VCCreateCredentialTypeStyleDtoToJSON(value.style),
|
|
49
51
|
'external_issuer': VCCreateCredentialTypeExternalIssuerDtoToJSON(value.external_issuer),
|
|
50
52
|
};
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
import { VCPresentationRequestResponseVerificationOptionsDtoFromJSON, VCPresentationRequestResponseVerificationOptionsDtoToJSON, } from './VCPresentationRequestResponseVerificationOptionsDto';
|
|
14
16
|
import { VCVerifyPresentationRequestResponseDtoFromJSON, VCVerifyPresentationRequestResponseDtoToJSON, } from './VCVerifyPresentationRequestResponseDto';
|
|
15
17
|
/**
|
|
16
18
|
* Check if a given object implements the VCVerifyPresentationRequestResponsePayloadDto interface.
|
|
@@ -29,6 +31,7 @@ export function VCVerifyPresentationRequestResponsePayloadDtoFromJSONTyped(json,
|
|
|
29
31
|
}
|
|
30
32
|
return {
|
|
31
33
|
'presentation_request_response': VCVerifyPresentationRequestResponseDtoFromJSON(json['presentation_request_response']),
|
|
34
|
+
'options': !exists(json, 'options') ? undefined : VCPresentationRequestResponseVerificationOptionsDtoFromJSON(json['options']),
|
|
32
35
|
};
|
|
33
36
|
}
|
|
34
37
|
export function VCVerifyPresentationRequestResponsePayloadDtoToJSON(value) {
|
|
@@ -40,5 +43,6 @@ export function VCVerifyPresentationRequestResponsePayloadDtoToJSON(value) {
|
|
|
40
43
|
}
|
|
41
44
|
return {
|
|
42
45
|
'presentation_request_response': VCVerifyPresentationRequestResponseDtoToJSON(value.presentation_request_response),
|
|
46
|
+
'options': VCPresentationRequestResponseVerificationOptionsDtoToJSON(value.options),
|
|
43
47
|
};
|
|
44
48
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the VaultCollectionReport interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVaultCollectionReport(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "order_by" in value;
|
|
20
|
+
isInstance = isInstance && "order" in value;
|
|
21
|
+
isInstance = isInstance && "order_from_params" in value;
|
|
22
|
+
isInstance = isInstance && "per_page" in value;
|
|
23
|
+
isInstance = isInstance && "per_page_from_params" in value;
|
|
24
|
+
isInstance = isInstance && "current_cursor" in value;
|
|
25
|
+
isInstance = isInstance && "records_count" in value;
|
|
26
|
+
isInstance = isInstance && "page" in value;
|
|
27
|
+
isInstance = isInstance && "page_count" in value;
|
|
28
|
+
return isInstance;
|
|
29
|
+
}
|
|
30
|
+
export function VaultCollectionReportFromJSON(json) {
|
|
31
|
+
return VaultCollectionReportFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function VaultCollectionReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'order_by': json['order_by'],
|
|
39
|
+
'order': json['order'],
|
|
40
|
+
'order_from_params': json['order_from_params'],
|
|
41
|
+
'per_page': json['per_page'],
|
|
42
|
+
'per_page_from_params': json['per_page_from_params'],
|
|
43
|
+
'current_cursor': json['current_cursor'],
|
|
44
|
+
'records_count': json['records_count'],
|
|
45
|
+
'page': json['page'],
|
|
46
|
+
'page_count': json['page_count'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function VaultCollectionReportToJSON(value) {
|
|
50
|
+
if (value === undefined) {
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
if (value === null) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'order_by': value.order_by,
|
|
58
|
+
'order': value.order,
|
|
59
|
+
'order_from_params': value.order_from_params,
|
|
60
|
+
'per_page': value.per_page,
|
|
61
|
+
'per_page_from_params': value.per_page_from_params,
|
|
62
|
+
'current_cursor': value.current_cursor,
|
|
63
|
+
'records_count': value.records_count,
|
|
64
|
+
'page': value.page,
|
|
65
|
+
'page_count': value.page_count,
|
|
66
|
+
};
|
|
67
|
+
}
|
package/lib/esm/models/index.js
CHANGED
|
@@ -16,6 +16,7 @@ export * from './ATOMComponent';
|
|
|
16
16
|
export * from './ATOMCreateOrUpdateOrgRequest';
|
|
17
17
|
export * from './ATOMCreateOrUpdateTenantRequest';
|
|
18
18
|
export * from './ATOMError';
|
|
19
|
+
export * from './ATOMGenesisRequest';
|
|
19
20
|
export * from './ATOMNewAgentRequest';
|
|
20
21
|
export * from './ATOMOneAgent';
|
|
21
22
|
export * from './ATOMOneOrg';
|
|
@@ -285,15 +286,18 @@ export * from './VCCredentialTypeStyleDto';
|
|
|
285
286
|
export * from './VCCredentialTypesResponseDto';
|
|
286
287
|
export * from './VCCredentialVerificationResultResponseDto';
|
|
287
288
|
export * from './VCDatabase';
|
|
288
|
-
export * from './
|
|
289
|
-
export * from './
|
|
289
|
+
export * from './VCErrorResponseDto';
|
|
290
|
+
export * from './VCErrorsResponseDto';
|
|
290
291
|
export * from './VCGenerateCredentialDto';
|
|
291
292
|
export * from './VCGenerateCredentialPayloadDto';
|
|
292
293
|
export * from './VCGeneratePresentationDto';
|
|
293
294
|
export * from './VCGeneratePresentationPayloadDto';
|
|
294
295
|
export * from './VCHealthCheck';
|
|
296
|
+
export * from './VCIdTokenVerificationOptionsDto';
|
|
297
|
+
export * from './VCIdTokenVerificationResultResponseDto';
|
|
295
298
|
export * from './VCInputDescriptorsDto';
|
|
296
299
|
export * from './VCMeta';
|
|
300
|
+
export * from './VCOldPresentationRequestResponseVerificationResultResponseDto';
|
|
297
301
|
export * from './VCOrganizationResponseDto';
|
|
298
302
|
export * from './VCPaginatedCredentialsResponseDto';
|
|
299
303
|
export * from './VCPaginatedPresentationDefinitionsResponseDto';
|
|
@@ -307,17 +311,21 @@ export * from './VCPresentationRequestCreateSubmissionDto';
|
|
|
307
311
|
export * from './VCPresentationRequestIdTokenResponseDto';
|
|
308
312
|
export * from './VCPresentationRequestModelDto';
|
|
309
313
|
export * from './VCPresentationRequestResponseDto';
|
|
314
|
+
export * from './VCPresentationRequestResponseVerificationOptionsDto';
|
|
315
|
+
export * from './VCPresentationRequestResponseVerificationResultResponseDto';
|
|
310
316
|
export * from './VCPresentationRequestSubmissionModelDto';
|
|
317
|
+
export * from './VCPresentationRequestSubmissionModelDtoVerificationResult';
|
|
311
318
|
export * from './VCPresentationRequestSubmissionResponseDto';
|
|
312
319
|
export * from './VCPresentationRequestSubmissionsResponseDto';
|
|
313
320
|
export * from './VCPresentationRequestTokenPropertiesModelDto';
|
|
314
321
|
export * from './VCPresentationRequestTokensModelDto';
|
|
315
322
|
export * from './VCPresentationRequestUpdateSubmissionDto';
|
|
316
323
|
export * from './VCPresentationRequestUpdateSubmissionPayloadDto';
|
|
317
|
-
export * from './
|
|
324
|
+
export * from './VCPresentationRequestUpdateVerificationResultRequestDto';
|
|
318
325
|
export * from './VCPresentationRequestVerificationResultResponseDto';
|
|
319
|
-
export * from './
|
|
326
|
+
export * from './VCPresentationVerificationOptionsDto';
|
|
320
327
|
export * from './VCPresentationVerificationResultResponseDto';
|
|
328
|
+
export * from './VCRequestVerificationOptionsDto';
|
|
321
329
|
export * from './VCRequiredCredentials';
|
|
322
330
|
export * from './VCSchemaJSONResponseDto';
|
|
323
331
|
export * from './VCSchemaResponseDto';
|
|
@@ -363,6 +371,7 @@ export * from './VaultClassificationNode';
|
|
|
363
371
|
export * from './VaultClassificationNodeAttributes';
|
|
364
372
|
export * from './VaultClassificationNodeAttributesWithDeletion';
|
|
365
373
|
export * from './VaultClientTask';
|
|
374
|
+
export * from './VaultCollectionReport';
|
|
366
375
|
export * from './VaultCompactAttachment';
|
|
367
376
|
export * from './VaultCompactShareIntent';
|
|
368
377
|
export * from './VaultCompactSlot';
|
|
@@ -403,7 +412,6 @@ export * from './VaultItemTemplate';
|
|
|
403
412
|
export * from './VaultItemTemplateClassificationRequest';
|
|
404
413
|
export * from './VaultItemTemplateResponse';
|
|
405
414
|
export * from './VaultMeResponse';
|
|
406
|
-
export * from './VaultMeta';
|
|
407
415
|
export * from './VaultNestedSlotAttributes';
|
|
408
416
|
export * from './VaultOrganization';
|
|
409
417
|
export * from './VaultOrganizationMember';
|
|
@@ -14,6 +14,7 @@ import type { AcceptInvitationsRequest, AcceptInvitationsRequest1, ConnectionsRe
|
|
|
14
14
|
export interface ConnectionsGetRequest {
|
|
15
15
|
nextPageAfter?: string;
|
|
16
16
|
perPage?: number;
|
|
17
|
+
page?: number;
|
|
17
18
|
delegation?: string;
|
|
18
19
|
meecoDelegationId?: string;
|
|
19
20
|
meecoOrganisationId?: string;
|
|
@@ -88,7 +89,7 @@ export declare class ConnectionsApi extends runtime.BaseAPI {
|
|
|
88
89
|
/**
|
|
89
90
|
* Get connections
|
|
90
91
|
*/
|
|
91
|
-
connectionsGet(nextPageAfter?: string, perPage?: number, delegation?: string, meecoDelegationId?: string, meecoOrganisationId?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConnectionsResponse>;
|
|
92
|
+
connectionsGet(nextPageAfter?: string, perPage?: number, page?: number, delegation?: string, meecoDelegationId?: string, meecoOrganisationId?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConnectionsResponse>;
|
|
92
93
|
/**
|
|
93
94
|
* Deletes a connection. A backend to backend call to the keystore will automatically delete the corresponding keystore delegation if applicable.
|
|
94
95
|
* Delete Connection
|
|
@@ -50,6 +50,7 @@ export interface OrgsIdRestorePostRequest {
|
|
|
50
50
|
export interface OrgsOrgIdAdminsGetRequest {
|
|
51
51
|
orgId: string;
|
|
52
52
|
status?: OrgsOrgIdAdminsGetStatusEnum;
|
|
53
|
+
email?: string;
|
|
53
54
|
perPage?: number;
|
|
54
55
|
page?: number;
|
|
55
56
|
order?: OrgsOrgIdAdminsGetOrderEnum;
|
|
@@ -207,7 +208,7 @@ export declare class OrganisationsApi extends runtime.BaseAPI {
|
|
|
207
208
|
* List admins of an organisation. It is also possible to request a list of archived admins of the organisation, that is, users who used to have organisation security rights for the given organisation, but do not have them now. In order to execute this action the current user must have * security right `atom:org:list_org_admins` for the organisation with the ID in parameter `org_id` or * security right `atom:tenant:list_admins_of_all_orgs_of_tenant` for the parent tenant of the organisation `org_id` or * global security right `atom:global:list_admins_of_all_orgs
|
|
208
209
|
* List admins of an organisation
|
|
209
210
|
*/
|
|
210
|
-
orgsOrgIdAdminsGet(orgId: string, status?: OrgsOrgIdAdminsGetStatusEnum, perPage?: number, page?: number, order?: OrgsOrgIdAdminsGetOrderEnum, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
211
|
+
orgsOrgIdAdminsGet(orgId: string, status?: OrgsOrgIdAdminsGetStatusEnum, email?: string, perPage?: number, page?: number, order?: OrgsOrgIdAdminsGetOrderEnum, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
211
212
|
/**
|
|
212
213
|
* Remove a user from admins of the given organisation, and put the admin into the registry of former admins of that organisation. In order to execute this action the current user must one of the following security rights: * `atom:global:assign_org_sr_to_user` * `atom:tenant:assign_org_sr_to_user` * `atom:org:assign_org_sr_to_user`
|
|
213
214
|
* Archive an organisation admin
|
|
@@ -20,6 +20,7 @@ export interface GlobalAdminsAdminIdSecurityRightsSecurityRightsDeleteRequest {
|
|
|
20
20
|
securityRights: string;
|
|
21
21
|
}
|
|
22
22
|
export interface GlobalAdminsGetRequest {
|
|
23
|
+
email?: string;
|
|
23
24
|
status?: GlobalAdminsGetStatusEnum;
|
|
24
25
|
perPage?: number;
|
|
25
26
|
order?: GlobalAdminsGetOrderEnum;
|
|
@@ -74,7 +75,7 @@ export declare class SecurityRightsApi extends runtime.BaseAPI {
|
|
|
74
75
|
* List all users with global security rights. It is also possible to request a list of archived global admins, that is, users who used to have global security rights, but do not have them now. In order to execute this action the current user must have \"security right `atom:global:assign_global_sr_to_user`.
|
|
75
76
|
* List all users with global security rights
|
|
76
77
|
*/
|
|
77
|
-
globalAdminsGet(status?: GlobalAdminsGetStatusEnum, perPage?: number, order?: GlobalAdminsGetOrderEnum, page?: number, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
78
|
+
globalAdminsGet(email?: string, status?: GlobalAdminsGetStatusEnum, perPage?: number, order?: GlobalAdminsGetOrderEnum, page?: number, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
78
79
|
/**
|
|
79
80
|
* Remove a user from global admins, and put the admin into the registry of former global admins. In order to execute this action the current user must have security right `atom:global:assign_global_sr_to_user`.
|
|
80
81
|
* Archive a global admin
|
|
@@ -41,6 +41,7 @@ export interface TenantsPostRequest {
|
|
|
41
41
|
export interface TenantsTenantIdAdminsGetRequest {
|
|
42
42
|
tenantId: string;
|
|
43
43
|
status?: TenantsTenantIdAdminsGetStatusEnum;
|
|
44
|
+
email?: string;
|
|
44
45
|
perPage?: number;
|
|
45
46
|
order?: TenantsTenantIdAdminsGetOrderEnum;
|
|
46
47
|
page?: number;
|
|
@@ -158,7 +159,7 @@ export declare class TenantsApi extends runtime.BaseAPI {
|
|
|
158
159
|
* List admins of a tenant. In order to execute this action the current user must have In order to execute this action the current user must have security right `atom:tenant:list_tenant_admins` for the tenant with the ID in parameter `tenant_id`
|
|
159
160
|
* List admins of a tenant
|
|
160
161
|
*/
|
|
161
|
-
tenantsTenantIdAdminsGet(tenantId: string, status?: TenantsTenantIdAdminsGetStatusEnum, perPage?: number, order?: TenantsTenantIdAdminsGetOrderEnum, page?: number, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
162
|
+
tenantsTenantIdAdminsGet(tenantId: string, status?: TenantsTenantIdAdminsGetStatusEnum, email?: string, perPage?: number, order?: TenantsTenantIdAdminsGetOrderEnum, page?: number, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
162
163
|
/**
|
|
163
164
|
* Remove a user from admins of the given tenant, and put the admin into the registry of former admins of that tenant. In order to execute this action the current user must have one of the following security rights: * `atom:global:assign_tenant_sr_to_tenant_admin` * `atom:tenant:assign_tenant_sr_to_tenant_admin`
|
|
164
165
|
* Archive a tenant admin
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { VCCreatePresentationDefinitionPayloadDto, VCCreatePresentationRequestIdTokenRequestDto, VCCreatePresentationRequestPayloadDto, VCGeneratePresentationPayloadDto, VCPaginatedPresentationDefinitionsResponseDto, VCPaginatedPresentationRequestResponseDto, VCPresentationDefinitionJsonResponseDto, VCPresentationDefinitionResponseDto, VCPresentationRequestCreateSubmissionDto, VCPresentationRequestIdTokenResponseDto, VCPresentationRequestResponseDto, VCPresentationRequestSubmissionResponseDto, VCPresentationRequestSubmissionsResponseDto, VCPresentationRequestUpdateSubmissionPayloadDto, VCPresentationRequestVerificationResultResponseDto,
|
|
13
|
+
import type { VCCreatePresentationDefinitionPayloadDto, VCCreatePresentationRequestIdTokenRequestDto, VCCreatePresentationRequestPayloadDto, VCGeneratePresentationPayloadDto, VCPaginatedPresentationDefinitionsResponseDto, VCPaginatedPresentationRequestResponseDto, VCPresentationDefinitionJsonResponseDto, VCPresentationDefinitionResponseDto, VCPresentationRequestCreateSubmissionDto, VCPresentationRequestIdTokenResponseDto, VCPresentationRequestResponseDto, VCPresentationRequestResponseVerificationResultResponseDto, VCPresentationRequestSubmissionResponseDto, VCPresentationRequestSubmissionsResponseDto, VCPresentationRequestUpdateSubmissionPayloadDto, VCPresentationRequestVerificationResultResponseDto, VCPresentationVerificationResultResponseDto, VCUnsignedPresentationResponseDto, VCUpdatePresentationRequestPayloadDto, VCVerifyPresentationRequestPayloadDto, VCVerifyPresentationRequestResponsePayloadDto, VCVerifySignedPresentationRequestPayloadDto } from '../models';
|
|
14
14
|
export interface OidcPresentationsRequestsGetRequest {
|
|
15
15
|
status?: OidcPresentationsRequestsGetStatusEnum;
|
|
16
16
|
search?: string;
|
|
@@ -47,6 +47,11 @@ export interface OidcPresentationsRequestsIdSubmissionsPostRequest {
|
|
|
47
47
|
id: string;
|
|
48
48
|
vCPresentationRequestCreateSubmissionDto: VCPresentationRequestCreateSubmissionDto;
|
|
49
49
|
}
|
|
50
|
+
export interface OidcPresentationsRequestsIdSubmissionsSubmissionIdDeleteRequest {
|
|
51
|
+
id: string;
|
|
52
|
+
submissionId: string;
|
|
53
|
+
meecoOrganisationID: string;
|
|
54
|
+
}
|
|
50
55
|
export interface OidcPresentationsRequestsIdSubmissionsSubmissionIdPatchRequest {
|
|
51
56
|
id: string;
|
|
52
57
|
submissionId: string;
|
|
@@ -186,6 +191,16 @@ export declare class VerifiablePresentationsApi extends runtime.BaseAPI {
|
|
|
186
191
|
* Present presentation request response
|
|
187
192
|
*/
|
|
188
193
|
oidcPresentationsRequestsIdSubmissionsPost(id: string, vCPresentationRequestCreateSubmissionDto: VCPresentationRequestCreateSubmissionDto, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCPresentationRequestSubmissionResponseDto>;
|
|
194
|
+
/**
|
|
195
|
+
* <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />
|
|
196
|
+
* delete presentation request submission
|
|
197
|
+
*/
|
|
198
|
+
oidcPresentationsRequestsIdSubmissionsSubmissionIdDeleteRaw(requestParameters: OidcPresentationsRequestsIdSubmissionsSubmissionIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
199
|
+
/**
|
|
200
|
+
* <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />
|
|
201
|
+
* delete presentation request submission
|
|
202
|
+
*/
|
|
203
|
+
oidcPresentationsRequestsIdSubmissionsSubmissionIdDelete(id: string, submissionId: string, meecoOrganisationID: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
189
204
|
/**
|
|
190
205
|
* Update presentation request submission
|
|
191
206
|
* Update presentation request submission
|
|
@@ -217,15 +232,15 @@ export declare class VerifiablePresentationsApi extends runtime.BaseAPI {
|
|
|
217
232
|
*/
|
|
218
233
|
oidcPresentationsRequestsVerifyPost(vCVerifyPresentationRequestPayloadDto: VCVerifyPresentationRequestPayloadDto, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCPresentationRequestVerificationResultResponseDto>;
|
|
219
234
|
/**
|
|
220
|
-
* <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><p>Verify a Presentation Request Submission</p><p><b>Checks performed:</b><ul><li>Presentation Request Submission Presentation Request</li><li>Presentation Request Submission Id Token</li><li>Presentation Request Submission VP Token</li><li>Signature for all of the above</li><li>Format for all of the above</li><li>Expiration for all of the above</li><li>Revocation status for credentials within vp token</li><li>Presentation_definition uri match credential schema uri within vp token</li></ul></p>
|
|
235
|
+
* <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><p>Verify a Presentation Request Submission</p><p><b>Checks performed:</b><ul><li>Presentation Request Submission Presentation Request</li><li>Presentation Request Submission Id Token</li><li>Presentation Request Submission VP Token</li><li>Signature for all of the above</li><li>Format for all of the above</li><li>Expiration for all of the above</li><li>Revocation status for credentials within vp token</li><li>Presentation_definition uri match credential schema uri within vp token</li></ul></p><p><b>Verification options</b></p><p>Certain set of checks is executed against each presentation request response attribute separately. Depending on the use-case some of those checks might not be necessary and could be disabled. To see the list of available check options - look at the schema of the verification options. If verification options were not provided all available checks will be executed. </p><p>Imagine expiration of the verifiable presentation is not relevant to our use-case. We can skip that check so no errors or wranings related to it would appear. Here is verification options payload example:</p><pre><code>{ <br /> \"presentation_request_response\": { ... }, <br /> \"options\": { <br /> \"vp_token\": { <br /> \"checks\": [\"format\", \"signature\", \"nonce\"], <br /> } <br /> }, <br />} <br /></code></pre><p>However, <b>some of the checks are mandatory</b>. If checks list includes <b>format</b> or <b>signature</b> option - it cannnot be taken out. Every other check is optional.</p>
|
|
221
236
|
* Verify a Presentation Request Submission
|
|
222
237
|
*/
|
|
223
|
-
oidcPresentationsResponseVerifyPostRaw(requestParameters: OidcPresentationsResponseVerifyPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
238
|
+
oidcPresentationsResponseVerifyPostRaw(requestParameters: OidcPresentationsResponseVerifyPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VCPresentationRequestResponseVerificationResultResponseDto>>;
|
|
224
239
|
/**
|
|
225
|
-
* <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><p>Verify a Presentation Request Submission</p><p><b>Checks performed:</b><ul><li>Presentation Request Submission Presentation Request</li><li>Presentation Request Submission Id Token</li><li>Presentation Request Submission VP Token</li><li>Signature for all of the above</li><li>Format for all of the above</li><li>Expiration for all of the above</li><li>Revocation status for credentials within vp token</li><li>Presentation_definition uri match credential schema uri within vp token</li></ul></p>
|
|
240
|
+
* <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><p>Verify a Presentation Request Submission</p><p><b>Checks performed:</b><ul><li>Presentation Request Submission Presentation Request</li><li>Presentation Request Submission Id Token</li><li>Presentation Request Submission VP Token</li><li>Signature for all of the above</li><li>Format for all of the above</li><li>Expiration for all of the above</li><li>Revocation status for credentials within vp token</li><li>Presentation_definition uri match credential schema uri within vp token</li></ul></p><p><b>Verification options</b></p><p>Certain set of checks is executed against each presentation request response attribute separately. Depending on the use-case some of those checks might not be necessary and could be disabled. To see the list of available check options - look at the schema of the verification options. If verification options were not provided all available checks will be executed. </p><p>Imagine expiration of the verifiable presentation is not relevant to our use-case. We can skip that check so no errors or wranings related to it would appear. Here is verification options payload example:</p><pre><code>{ <br /> \"presentation_request_response\": { ... }, <br /> \"options\": { <br /> \"vp_token\": { <br /> \"checks\": [\"format\", \"signature\", \"nonce\"], <br /> } <br /> }, <br />} <br /></code></pre><p>However, <b>some of the checks are mandatory</b>. If checks list includes <b>format</b> or <b>signature</b> option - it cannnot be taken out. Every other check is optional.</p>
|
|
226
241
|
* Verify a Presentation Request Submission
|
|
227
242
|
*/
|
|
228
|
-
oidcPresentationsResponseVerifyPost(vCVerifyPresentationRequestResponsePayloadDto: VCVerifyPresentationRequestResponsePayloadDto, meecoOrganisationID?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
243
|
+
oidcPresentationsResponseVerifyPost(vCVerifyPresentationRequestResponsePayloadDto: VCVerifyPresentationRequestResponsePayloadDto, meecoOrganisationID?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCPresentationRequestResponseVerificationResultResponseDto>;
|
|
229
244
|
/**
|
|
230
245
|
* <h4>Requires no security rights</h4><br />Generate id_token for request submission based on the Wallet information and the verifiable presentation token
|
|
231
246
|
* Generate id_token for presentation request submission
|
|
@@ -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: 1.14.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 ATOMGenesisRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ATOMGenesisRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Genensis user ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ATOMGenesisRequest
|
|
22
|
+
*/
|
|
23
|
+
user_id: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ATOMGenesisRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfATOMGenesisRequest(value: object): boolean;
|
|
29
|
+
export declare function ATOMGenesisRequestFromJSON(json: any): ATOMGenesisRequest;
|
|
30
|
+
export declare function ATOMGenesisRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ATOMGenesisRequest;
|
|
31
|
+
export declare function ATOMGenesisRequestToJSON(value?: ATOMGenesisRequest | null): any;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { VaultAttachmentsFolder } from './VaultAttachmentsFolder';
|
|
13
|
+
import type { VaultCollectionReport } from './VaultCollectionReport';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -30,10 +31,10 @@ export interface AttachmentsFolderResponse {
|
|
|
30
31
|
attachments_folders: Array<VaultAttachmentsFolder>;
|
|
31
32
|
/**
|
|
32
33
|
*
|
|
33
|
-
* @type {
|
|
34
|
+
* @type {VaultCollectionReport}
|
|
34
35
|
* @memberof AttachmentsFolderResponse
|
|
35
36
|
*/
|
|
36
|
-
meta:
|
|
37
|
+
meta: VaultCollectionReport;
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
39
40
|
* Check if a given object implements the AttachmentsFolderResponse interface.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { VaultClassificationNode } from './VaultClassificationNode';
|
|
13
|
-
import type {
|
|
13
|
+
import type { VaultCollectionReport } from './VaultCollectionReport';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -31,10 +31,10 @@ export interface ClassificationNodesResponse {
|
|
|
31
31
|
classification_nodes: Array<VaultClassificationNode>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @type {
|
|
34
|
+
* @type {VaultCollectionReport}
|
|
35
35
|
* @memberof ClassificationNodesResponse
|
|
36
36
|
*/
|
|
37
|
-
meta:
|
|
37
|
+
meta: VaultCollectionReport;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Check if a given object implements the ClassificationNodesResponse interface.
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { VaultClientTask } from './VaultClientTask';
|
|
13
|
+
import type { VaultCollectionReport } from './VaultCollectionReport';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -30,10 +31,10 @@ export interface ClientTaskQueueResponse {
|
|
|
30
31
|
client_tasks: Array<VaultClientTask>;
|
|
31
32
|
/**
|
|
32
33
|
*
|
|
33
|
-
* @type {
|
|
34
|
+
* @type {VaultCollectionReport}
|
|
34
35
|
* @memberof ClientTaskQueueResponse
|
|
35
36
|
*/
|
|
36
|
-
meta:
|
|
37
|
+
meta: VaultCollectionReport;
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
39
40
|
* Check if a given object implements the ClientTaskQueueResponse interface.
|