@meeco/svx-api-sdk 1.0.0-develop.20230901133029.648bf91 → 1.0.0-develop.20230907123837.3e65718
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 +12 -5
- package/lib/esm/apis/ConnectionsApi.js +5 -2
- package/lib/esm/apis/VerifiablePresentationsApi.js +4 -4
- 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/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/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 +12 -5
- package/lib/types/apis/ConnectionsApi.d.ts +2 -1
- package/lib/types/apis/VerifiablePresentationsApi.d.ts +5 -5
- 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/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/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 +12 -5
- package/lib/umd/apis/ConnectionsApi.js +5 -2
- package/lib/umd/apis/VerifiablePresentationsApi.js +3 -3
- 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/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/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 +12 -5
- package/package.json +1 -1
- package/lib/esm/models/VCPresentationRequestUpdateVerificationResultDto.js +0 -60
- package/lib/esm/models/VaultMeta.js +0 -46
- 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,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.14.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.VCRequestVerificationOptionsDtoToJSON = exports.VCRequestVerificationOptionsDtoFromJSONTyped = exports.VCRequestVerificationOptionsDtoFromJSON = exports.instanceOfVCRequestVerificationOptionsDto = exports.VCRequestVerificationOptionsDtoChecksEnum = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.VCRequestVerificationOptionsDtoChecksEnum = {
|
|
22
|
+
Format: 'format',
|
|
23
|
+
Signature: 'signature',
|
|
24
|
+
Expiration: 'expiration'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the VCRequestVerificationOptionsDto interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfVCRequestVerificationOptionsDto(value) {
|
|
30
|
+
let isInstance = true;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfVCRequestVerificationOptionsDto = instanceOfVCRequestVerificationOptionsDto;
|
|
34
|
+
function VCRequestVerificationOptionsDtoFromJSON(json) {
|
|
35
|
+
return VCRequestVerificationOptionsDtoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.VCRequestVerificationOptionsDtoFromJSON = VCRequestVerificationOptionsDtoFromJSON;
|
|
38
|
+
function VCRequestVerificationOptionsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'checks': !(0, runtime_1.exists)(json, 'checks') ? undefined : json['checks'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.VCRequestVerificationOptionsDtoFromJSONTyped = VCRequestVerificationOptionsDtoFromJSONTyped;
|
|
47
|
+
function VCRequestVerificationOptionsDtoToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'checks': value.checks,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.VCRequestVerificationOptionsDtoToJSON = VCRequestVerificationOptionsDtoToJSON;
|
|
@@ -37,6 +37,7 @@ function VCUpdateCredentialTypeDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
39
|
'name': json['name'],
|
|
40
|
+
'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
|
|
40
41
|
'style': (0, VCCreateCredentialTypeStyleDto_1.VCCreateCredentialTypeStyleDtoFromJSON)(json['style']),
|
|
41
42
|
'external_issuer': !(0, runtime_1.exists)(json, 'external_issuer') ? undefined : (0, VCCreateCredentialTypeExternalIssuerDto_1.VCCreateCredentialTypeExternalIssuerDtoFromJSON)(json['external_issuer']),
|
|
42
43
|
};
|
|
@@ -51,6 +52,7 @@ function VCUpdateCredentialTypeDtoToJSON(value) {
|
|
|
51
52
|
}
|
|
52
53
|
return {
|
|
53
54
|
'name': value.name,
|
|
55
|
+
'type': value.type,
|
|
54
56
|
'style': (0, VCCreateCredentialTypeStyleDto_1.VCCreateCredentialTypeStyleDtoToJSON)(value.style),
|
|
55
57
|
'external_issuer': (0, VCCreateCredentialTypeExternalIssuerDto_1.VCCreateCredentialTypeExternalIssuerDtoToJSON)(value.external_issuer),
|
|
56
58
|
};
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.VCVerifyPresentationRequestResponsePayloadDtoToJSON = exports.VCVerifyPresentationRequestResponsePayloadDtoFromJSONTyped = exports.VCVerifyPresentationRequestResponsePayloadDtoFromJSON = exports.instanceOfVCVerifyPresentationRequestResponsePayloadDto = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const VCPresentationRequestResponseVerificationOptionsDto_1 = require("./VCPresentationRequestResponseVerificationOptionsDto");
|
|
17
19
|
const VCVerifyPresentationRequestResponseDto_1 = require("./VCVerifyPresentationRequestResponseDto");
|
|
18
20
|
/**
|
|
19
21
|
* Check if a given object implements the VCVerifyPresentationRequestResponsePayloadDto interface.
|
|
@@ -34,6 +36,7 @@ function VCVerifyPresentationRequestResponsePayloadDtoFromJSONTyped(json, ignore
|
|
|
34
36
|
}
|
|
35
37
|
return {
|
|
36
38
|
'presentation_request_response': (0, VCVerifyPresentationRequestResponseDto_1.VCVerifyPresentationRequestResponseDtoFromJSON)(json['presentation_request_response']),
|
|
39
|
+
'options': !(0, runtime_1.exists)(json, 'options') ? undefined : (0, VCPresentationRequestResponseVerificationOptionsDto_1.VCPresentationRequestResponseVerificationOptionsDtoFromJSON)(json['options']),
|
|
37
40
|
};
|
|
38
41
|
}
|
|
39
42
|
exports.VCVerifyPresentationRequestResponsePayloadDtoFromJSONTyped = VCVerifyPresentationRequestResponsePayloadDtoFromJSONTyped;
|
|
@@ -46,6 +49,7 @@ function VCVerifyPresentationRequestResponsePayloadDtoToJSON(value) {
|
|
|
46
49
|
}
|
|
47
50
|
return {
|
|
48
51
|
'presentation_request_response': (0, VCVerifyPresentationRequestResponseDto_1.VCVerifyPresentationRequestResponseDtoToJSON)(value.presentation_request_response),
|
|
52
|
+
'options': (0, VCPresentationRequestResponseVerificationOptionsDto_1.VCPresentationRequestResponseVerificationOptionsDtoToJSON)(value.options),
|
|
49
53
|
};
|
|
50
54
|
}
|
|
51
55
|
exports.VCVerifyPresentationRequestResponsePayloadDtoToJSON = VCVerifyPresentationRequestResponsePayloadDtoToJSON;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.14.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.VaultCollectionReportToJSON = exports.VaultCollectionReportFromJSONTyped = exports.VaultCollectionReportFromJSON = exports.instanceOfVaultCollectionReport = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the VaultCollectionReport interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfVaultCollectionReport(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "order_by" in value;
|
|
23
|
+
isInstance = isInstance && "order" in value;
|
|
24
|
+
isInstance = isInstance && "order_from_params" in value;
|
|
25
|
+
isInstance = isInstance && "per_page" in value;
|
|
26
|
+
isInstance = isInstance && "per_page_from_params" in value;
|
|
27
|
+
isInstance = isInstance && "current_cursor" in value;
|
|
28
|
+
isInstance = isInstance && "records_count" in value;
|
|
29
|
+
isInstance = isInstance && "page" in value;
|
|
30
|
+
isInstance = isInstance && "page_count" in value;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfVaultCollectionReport = instanceOfVaultCollectionReport;
|
|
34
|
+
function VaultCollectionReportFromJSON(json) {
|
|
35
|
+
return VaultCollectionReportFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.VaultCollectionReportFromJSON = VaultCollectionReportFromJSON;
|
|
38
|
+
function VaultCollectionReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'order_by': json['order_by'],
|
|
44
|
+
'order': json['order'],
|
|
45
|
+
'order_from_params': json['order_from_params'],
|
|
46
|
+
'per_page': json['per_page'],
|
|
47
|
+
'per_page_from_params': json['per_page_from_params'],
|
|
48
|
+
'current_cursor': json['current_cursor'],
|
|
49
|
+
'records_count': json['records_count'],
|
|
50
|
+
'page': json['page'],
|
|
51
|
+
'page_count': json['page_count'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.VaultCollectionReportFromJSONTyped = VaultCollectionReportFromJSONTyped;
|
|
55
|
+
function VaultCollectionReportToJSON(value) {
|
|
56
|
+
if (value === undefined) {
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
if (value === null) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'order_by': value.order_by,
|
|
64
|
+
'order': value.order,
|
|
65
|
+
'order_from_params': value.order_from_params,
|
|
66
|
+
'per_page': value.per_page,
|
|
67
|
+
'per_page_from_params': value.per_page_from_params,
|
|
68
|
+
'current_cursor': value.current_cursor,
|
|
69
|
+
'records_count': value.records_count,
|
|
70
|
+
'page': value.page,
|
|
71
|
+
'page_count': value.page_count,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
exports.VaultCollectionReportToJSON = VaultCollectionReportToJSON;
|
package/lib/umd/models/index.js
CHANGED
|
@@ -301,15 +301,18 @@ __exportStar(require("./VCCredentialTypeStyleDto"), exports);
|
|
|
301
301
|
__exportStar(require("./VCCredentialTypesResponseDto"), exports);
|
|
302
302
|
__exportStar(require("./VCCredentialVerificationResultResponseDto"), exports);
|
|
303
303
|
__exportStar(require("./VCDatabase"), exports);
|
|
304
|
-
__exportStar(require("./
|
|
305
|
-
__exportStar(require("./
|
|
304
|
+
__exportStar(require("./VCErrorResponseDto"), exports);
|
|
305
|
+
__exportStar(require("./VCErrorsResponseDto"), exports);
|
|
306
306
|
__exportStar(require("./VCGenerateCredentialDto"), exports);
|
|
307
307
|
__exportStar(require("./VCGenerateCredentialPayloadDto"), exports);
|
|
308
308
|
__exportStar(require("./VCGeneratePresentationDto"), exports);
|
|
309
309
|
__exportStar(require("./VCGeneratePresentationPayloadDto"), exports);
|
|
310
310
|
__exportStar(require("./VCHealthCheck"), exports);
|
|
311
|
+
__exportStar(require("./VCIdTokenVerificationOptionsDto"), exports);
|
|
312
|
+
__exportStar(require("./VCIdTokenVerificationResultResponseDto"), exports);
|
|
311
313
|
__exportStar(require("./VCInputDescriptorsDto"), exports);
|
|
312
314
|
__exportStar(require("./VCMeta"), exports);
|
|
315
|
+
__exportStar(require("./VCOldPresentationRequestResponseVerificationResultResponseDto"), exports);
|
|
313
316
|
__exportStar(require("./VCOrganizationResponseDto"), exports);
|
|
314
317
|
__exportStar(require("./VCPaginatedCredentialsResponseDto"), exports);
|
|
315
318
|
__exportStar(require("./VCPaginatedPresentationDefinitionsResponseDto"), exports);
|
|
@@ -323,17 +326,21 @@ __exportStar(require("./VCPresentationRequestCreateSubmissionDto"), exports);
|
|
|
323
326
|
__exportStar(require("./VCPresentationRequestIdTokenResponseDto"), exports);
|
|
324
327
|
__exportStar(require("./VCPresentationRequestModelDto"), exports);
|
|
325
328
|
__exportStar(require("./VCPresentationRequestResponseDto"), exports);
|
|
329
|
+
__exportStar(require("./VCPresentationRequestResponseVerificationOptionsDto"), exports);
|
|
330
|
+
__exportStar(require("./VCPresentationRequestResponseVerificationResultResponseDto"), exports);
|
|
326
331
|
__exportStar(require("./VCPresentationRequestSubmissionModelDto"), exports);
|
|
332
|
+
__exportStar(require("./VCPresentationRequestSubmissionModelDtoVerificationResult"), exports);
|
|
327
333
|
__exportStar(require("./VCPresentationRequestSubmissionResponseDto"), exports);
|
|
328
334
|
__exportStar(require("./VCPresentationRequestSubmissionsResponseDto"), exports);
|
|
329
335
|
__exportStar(require("./VCPresentationRequestTokenPropertiesModelDto"), exports);
|
|
330
336
|
__exportStar(require("./VCPresentationRequestTokensModelDto"), exports);
|
|
331
337
|
__exportStar(require("./VCPresentationRequestUpdateSubmissionDto"), exports);
|
|
332
338
|
__exportStar(require("./VCPresentationRequestUpdateSubmissionPayloadDto"), exports);
|
|
333
|
-
__exportStar(require("./
|
|
339
|
+
__exportStar(require("./VCPresentationRequestUpdateVerificationResultRequestDto"), exports);
|
|
334
340
|
__exportStar(require("./VCPresentationRequestVerificationResultResponseDto"), exports);
|
|
335
|
-
__exportStar(require("./
|
|
341
|
+
__exportStar(require("./VCPresentationVerificationOptionsDto"), exports);
|
|
336
342
|
__exportStar(require("./VCPresentationVerificationResultResponseDto"), exports);
|
|
343
|
+
__exportStar(require("./VCRequestVerificationOptionsDto"), exports);
|
|
337
344
|
__exportStar(require("./VCRequiredCredentials"), exports);
|
|
338
345
|
__exportStar(require("./VCSchemaJSONResponseDto"), exports);
|
|
339
346
|
__exportStar(require("./VCSchemaResponseDto"), exports);
|
|
@@ -379,6 +386,7 @@ __exportStar(require("./VaultClassificationNode"), exports);
|
|
|
379
386
|
__exportStar(require("./VaultClassificationNodeAttributes"), exports);
|
|
380
387
|
__exportStar(require("./VaultClassificationNodeAttributesWithDeletion"), exports);
|
|
381
388
|
__exportStar(require("./VaultClientTask"), exports);
|
|
389
|
+
__exportStar(require("./VaultCollectionReport"), exports);
|
|
382
390
|
__exportStar(require("./VaultCompactAttachment"), exports);
|
|
383
391
|
__exportStar(require("./VaultCompactShareIntent"), exports);
|
|
384
392
|
__exportStar(require("./VaultCompactSlot"), exports);
|
|
@@ -419,7 +427,6 @@ __exportStar(require("./VaultItemTemplate"), exports);
|
|
|
419
427
|
__exportStar(require("./VaultItemTemplateClassificationRequest"), exports);
|
|
420
428
|
__exportStar(require("./VaultItemTemplateResponse"), exports);
|
|
421
429
|
__exportStar(require("./VaultMeResponse"), exports);
|
|
422
|
-
__exportStar(require("./VaultMeta"), exports);
|
|
423
430
|
__exportStar(require("./VaultNestedSlotAttributes"), exports);
|
|
424
431
|
__exportStar(require("./VaultOrganization"), exports);
|
|
425
432
|
__exportStar(require("./VaultOrganizationMember"), exports);
|
package/package.json
CHANGED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SVX API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 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
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const VCPresentationRequestUpdateVerificationResultDtoChecksEnum = {
|
|
18
|
-
Signature: 'signature',
|
|
19
|
-
Format: 'format',
|
|
20
|
-
Expiration: 'expiration',
|
|
21
|
-
Schema: 'schema',
|
|
22
|
-
RevocationStatus: 'revocation_status',
|
|
23
|
-
ResponseMatchRequest: 'response_match_request'
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the VCPresentationRequestUpdateVerificationResultDto interface.
|
|
27
|
-
*/
|
|
28
|
-
export function instanceOfVCPresentationRequestUpdateVerificationResultDto(value) {
|
|
29
|
-
let isInstance = true;
|
|
30
|
-
isInstance = isInstance && "checks" in value;
|
|
31
|
-
isInstance = isInstance && "warnings" in value;
|
|
32
|
-
isInstance = isInstance && "errors" in value;
|
|
33
|
-
return isInstance;
|
|
34
|
-
}
|
|
35
|
-
export function VCPresentationRequestUpdateVerificationResultDtoFromJSON(json) {
|
|
36
|
-
return VCPresentationRequestUpdateVerificationResultDtoFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function VCPresentationRequestUpdateVerificationResultDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if ((json === undefined) || (json === null)) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'checks': json['checks'],
|
|
44
|
-
'warnings': json['warnings'],
|
|
45
|
-
'errors': json['errors'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
export function VCPresentationRequestUpdateVerificationResultDtoToJSON(value) {
|
|
49
|
-
if (value === undefined) {
|
|
50
|
-
return undefined;
|
|
51
|
-
}
|
|
52
|
-
if (value === null) {
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'checks': value.checks,
|
|
57
|
-
'warnings': value.warnings,
|
|
58
|
-
'errors': value.errors,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SVX API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 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 VaultMeta interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfVaultMeta(value) {
|
|
18
|
-
let isInstance = true;
|
|
19
|
-
isInstance = isInstance && "pages" in value;
|
|
20
|
-
isInstance = isInstance && "total_count" in value;
|
|
21
|
-
return isInstance;
|
|
22
|
-
}
|
|
23
|
-
export function VaultMetaFromJSON(json) {
|
|
24
|
-
return VaultMetaFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function VaultMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if ((json === undefined) || (json === null)) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'pages': json['pages'],
|
|
32
|
-
'total_count': json['total_count'],
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function VaultMetaToJSON(value) {
|
|
36
|
-
if (value === undefined) {
|
|
37
|
-
return undefined;
|
|
38
|
-
}
|
|
39
|
-
if (value === null) {
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'pages': value.pages,
|
|
44
|
-
'total_count': value.total_count,
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SVX API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 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 VCErrorResponseModel
|
|
16
|
-
*/
|
|
17
|
-
export interface VCErrorResponseModel {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VCErrorResponseModel
|
|
22
|
-
*/
|
|
23
|
-
error: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {object}
|
|
27
|
-
* @memberof VCErrorResponseModel
|
|
28
|
-
*/
|
|
29
|
-
message: object;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof VCErrorResponseModel
|
|
34
|
-
*/
|
|
35
|
-
http_code: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {object}
|
|
39
|
-
* @memberof VCErrorResponseModel
|
|
40
|
-
*/
|
|
41
|
-
extra_info: object;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {object}
|
|
45
|
-
* @memberof VCErrorResponseModel
|
|
46
|
-
*/
|
|
47
|
-
requested_language: object;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {object}
|
|
51
|
-
* @memberof VCErrorResponseModel
|
|
52
|
-
*/
|
|
53
|
-
message_in_requested_language: object;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the VCErrorResponseModel interface.
|
|
57
|
-
*/
|
|
58
|
-
export declare function instanceOfVCErrorResponseModel(value: object): boolean;
|
|
59
|
-
export declare function VCErrorResponseModelFromJSON(json: any): VCErrorResponseModel;
|
|
60
|
-
export declare function VCErrorResponseModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCErrorResponseModel;
|
|
61
|
-
export declare function VCErrorResponseModelToJSON(value?: VCErrorResponseModel | null): any;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SVX API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 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
|
-
import type { VCErrorResponseModel } from './VCErrorResponseModel';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface VCErrorsResponseModelDto
|
|
17
|
-
*/
|
|
18
|
-
export interface VCErrorsResponseModelDto {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<VCErrorResponseModel>}
|
|
22
|
-
* @memberof VCErrorsResponseModelDto
|
|
23
|
-
*/
|
|
24
|
-
errors: Array<VCErrorResponseModel>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the VCErrorsResponseModelDto interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfVCErrorsResponseModelDto(value: object): boolean;
|
|
30
|
-
export declare function VCErrorsResponseModelDtoFromJSON(json: any): VCErrorsResponseModelDto;
|
|
31
|
-
export declare function VCErrorsResponseModelDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCErrorsResponseModelDto;
|
|
32
|
-
export declare function VCErrorsResponseModelDtoToJSON(value?: VCErrorsResponseModelDto | null): any;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SVX API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 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 VCPresentationRequestUpdateVerificationResultDto
|
|
16
|
-
*/
|
|
17
|
-
export interface VCPresentationRequestUpdateVerificationResultDto {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof VCPresentationRequestUpdateVerificationResultDto
|
|
22
|
-
*/
|
|
23
|
-
checks: Array<VCPresentationRequestUpdateVerificationResultDtoChecksEnum>;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<object>}
|
|
27
|
-
* @memberof VCPresentationRequestUpdateVerificationResultDto
|
|
28
|
-
*/
|
|
29
|
-
warnings: Array<object>;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<object>}
|
|
33
|
-
* @memberof VCPresentationRequestUpdateVerificationResultDto
|
|
34
|
-
*/
|
|
35
|
-
errors: Array<object>;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const VCPresentationRequestUpdateVerificationResultDtoChecksEnum: {
|
|
41
|
-
readonly Signature: "signature";
|
|
42
|
-
readonly Format: "format";
|
|
43
|
-
readonly Expiration: "expiration";
|
|
44
|
-
readonly Schema: "schema";
|
|
45
|
-
readonly RevocationStatus: "revocation_status";
|
|
46
|
-
readonly ResponseMatchRequest: "response_match_request";
|
|
47
|
-
};
|
|
48
|
-
export type VCPresentationRequestUpdateVerificationResultDtoChecksEnum = typeof VCPresentationRequestUpdateVerificationResultDtoChecksEnum[keyof typeof VCPresentationRequestUpdateVerificationResultDtoChecksEnum];
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the VCPresentationRequestUpdateVerificationResultDto interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfVCPresentationRequestUpdateVerificationResultDto(value: object): boolean;
|
|
53
|
-
export declare function VCPresentationRequestUpdateVerificationResultDtoFromJSON(json: any): VCPresentationRequestUpdateVerificationResultDto;
|
|
54
|
-
export declare function VCPresentationRequestUpdateVerificationResultDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCPresentationRequestUpdateVerificationResultDto;
|
|
55
|
-
export declare function VCPresentationRequestUpdateVerificationResultDtoToJSON(value?: VCPresentationRequestUpdateVerificationResultDto | null): any;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SVX API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 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
|
-
import type { VCVerificationCheckResponseDto } from './VCVerificationCheckResponseDto';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface VCPresentationResponseVerificationResultResponseDto
|
|
17
|
-
*/
|
|
18
|
-
export interface VCPresentationResponseVerificationResultResponseDto {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<string>}
|
|
22
|
-
* @memberof VCPresentationResponseVerificationResultResponseDto
|
|
23
|
-
*/
|
|
24
|
-
checks: Array<VCPresentationResponseVerificationResultResponseDtoChecksEnum>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<VCVerificationCheckResponseDto>}
|
|
28
|
-
* @memberof VCPresentationResponseVerificationResultResponseDto
|
|
29
|
-
*/
|
|
30
|
-
warnings: Array<VCVerificationCheckResponseDto>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Array<VCVerificationCheckResponseDto>}
|
|
34
|
-
* @memberof VCPresentationResponseVerificationResultResponseDto
|
|
35
|
-
*/
|
|
36
|
-
errors: Array<VCVerificationCheckResponseDto>;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @export
|
|
40
|
-
*/
|
|
41
|
-
export declare const VCPresentationResponseVerificationResultResponseDtoChecksEnum: {
|
|
42
|
-
readonly Signature: "signature";
|
|
43
|
-
readonly Format: "format";
|
|
44
|
-
readonly Expiration: "expiration";
|
|
45
|
-
readonly Schema: "schema";
|
|
46
|
-
readonly RevocationStatus: "revocation_status";
|
|
47
|
-
readonly ResponseMatchRequest: "response_match_request";
|
|
48
|
-
};
|
|
49
|
-
export type VCPresentationResponseVerificationResultResponseDtoChecksEnum = typeof VCPresentationResponseVerificationResultResponseDtoChecksEnum[keyof typeof VCPresentationResponseVerificationResultResponseDtoChecksEnum];
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the VCPresentationResponseVerificationResultResponseDto interface.
|
|
52
|
-
*/
|
|
53
|
-
export declare function instanceOfVCPresentationResponseVerificationResultResponseDto(value: object): boolean;
|
|
54
|
-
export declare function VCPresentationResponseVerificationResultResponseDtoFromJSON(json: any): VCPresentationResponseVerificationResultResponseDto;
|
|
55
|
-
export declare function VCPresentationResponseVerificationResultResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCPresentationResponseVerificationResultResponseDto;
|
|
56
|
-
export declare function VCPresentationResponseVerificationResultResponseDtoToJSON(value?: VCPresentationResponseVerificationResultResponseDto | null): any;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SVX API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 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
|
-
* Describes the total number of pageable items and the number of pages in response.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface VaultMeta
|
|
16
|
-
*/
|
|
17
|
-
export interface VaultMeta {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof VaultMeta
|
|
22
|
-
*/
|
|
23
|
-
pages: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof VaultMeta
|
|
28
|
-
*/
|
|
29
|
-
total_count: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the VaultMeta interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfVaultMeta(value: object): boolean;
|
|
35
|
-
export declare function VaultMetaFromJSON(json: any): VaultMeta;
|
|
36
|
-
export declare function VaultMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): VaultMeta;
|
|
37
|
-
export declare function VaultMetaToJSON(value?: VaultMeta | null): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* SVX API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.14.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.VCErrorsResponseModelDtoToJSON = exports.VCErrorsResponseModelDtoFromJSONTyped = exports.VCErrorsResponseModelDtoFromJSON = exports.instanceOfVCErrorsResponseModelDto = void 0;
|
|
17
|
-
const VCErrorResponseModel_1 = require("./VCErrorResponseModel");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the VCErrorsResponseModelDto interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfVCErrorsResponseModelDto(value) {
|
|
22
|
-
let isInstance = true;
|
|
23
|
-
isInstance = isInstance && "errors" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfVCErrorsResponseModelDto = instanceOfVCErrorsResponseModelDto;
|
|
27
|
-
function VCErrorsResponseModelDtoFromJSON(json) {
|
|
28
|
-
return VCErrorsResponseModelDtoFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.VCErrorsResponseModelDtoFromJSON = VCErrorsResponseModelDtoFromJSON;
|
|
31
|
-
function VCErrorsResponseModelDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'errors': (json['errors'].map(VCErrorResponseModel_1.VCErrorResponseModelFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.VCErrorsResponseModelDtoFromJSONTyped = VCErrorsResponseModelDtoFromJSONTyped;
|
|
40
|
-
function VCErrorsResponseModelDtoToJSON(value) {
|
|
41
|
-
if (value === undefined) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'errors': (value.errors.map(VCErrorResponseModel_1.VCErrorResponseModelToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.VCErrorsResponseModelDtoToJSON = VCErrorsResponseModelDtoToJSON;
|