@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
|
@@ -283,15 +283,18 @@ export * from './VCCredentialTypeStyleDto';
|
|
|
283
283
|
export * from './VCCredentialTypesResponseDto';
|
|
284
284
|
export * from './VCCredentialVerificationResultResponseDto';
|
|
285
285
|
export * from './VCDatabase';
|
|
286
|
-
export * from './
|
|
287
|
-
export * from './
|
|
286
|
+
export * from './VCErrorResponseDto';
|
|
287
|
+
export * from './VCErrorsResponseDto';
|
|
288
288
|
export * from './VCGenerateCredentialDto';
|
|
289
289
|
export * from './VCGenerateCredentialPayloadDto';
|
|
290
290
|
export * from './VCGeneratePresentationDto';
|
|
291
291
|
export * from './VCGeneratePresentationPayloadDto';
|
|
292
292
|
export * from './VCHealthCheck';
|
|
293
|
+
export * from './VCIdTokenVerificationOptionsDto';
|
|
294
|
+
export * from './VCIdTokenVerificationResultResponseDto';
|
|
293
295
|
export * from './VCInputDescriptorsDto';
|
|
294
296
|
export * from './VCMeta';
|
|
297
|
+
export * from './VCOldPresentationRequestResponseVerificationResultResponseDto';
|
|
295
298
|
export * from './VCOrganizationResponseDto';
|
|
296
299
|
export * from './VCPaginatedCredentialsResponseDto';
|
|
297
300
|
export * from './VCPaginatedPresentationDefinitionsResponseDto';
|
|
@@ -305,17 +308,21 @@ export * from './VCPresentationRequestCreateSubmissionDto';
|
|
|
305
308
|
export * from './VCPresentationRequestIdTokenResponseDto';
|
|
306
309
|
export * from './VCPresentationRequestModelDto';
|
|
307
310
|
export * from './VCPresentationRequestResponseDto';
|
|
311
|
+
export * from './VCPresentationRequestResponseVerificationOptionsDto';
|
|
312
|
+
export * from './VCPresentationRequestResponseVerificationResultResponseDto';
|
|
308
313
|
export * from './VCPresentationRequestSubmissionModelDto';
|
|
314
|
+
export * from './VCPresentationRequestSubmissionModelDtoVerificationResult';
|
|
309
315
|
export * from './VCPresentationRequestSubmissionResponseDto';
|
|
310
316
|
export * from './VCPresentationRequestSubmissionsResponseDto';
|
|
311
317
|
export * from './VCPresentationRequestTokenPropertiesModelDto';
|
|
312
318
|
export * from './VCPresentationRequestTokensModelDto';
|
|
313
319
|
export * from './VCPresentationRequestUpdateSubmissionDto';
|
|
314
320
|
export * from './VCPresentationRequestUpdateSubmissionPayloadDto';
|
|
315
|
-
export * from './
|
|
321
|
+
export * from './VCPresentationRequestUpdateVerificationResultRequestDto';
|
|
316
322
|
export * from './VCPresentationRequestVerificationResultResponseDto';
|
|
317
|
-
export * from './
|
|
323
|
+
export * from './VCPresentationVerificationOptionsDto';
|
|
318
324
|
export * from './VCPresentationVerificationResultResponseDto';
|
|
325
|
+
export * from './VCRequestVerificationOptionsDto';
|
|
319
326
|
export * from './VCRequiredCredentials';
|
|
320
327
|
export * from './VCSchemaJSONResponseDto';
|
|
321
328
|
export * from './VCSchemaResponseDto';
|
|
@@ -361,6 +368,7 @@ export * from './VaultClassificationNode';
|
|
|
361
368
|
export * from './VaultClassificationNodeAttributes';
|
|
362
369
|
export * from './VaultClassificationNodeAttributesWithDeletion';
|
|
363
370
|
export * from './VaultClientTask';
|
|
371
|
+
export * from './VaultCollectionReport';
|
|
364
372
|
export * from './VaultCompactAttachment';
|
|
365
373
|
export * from './VaultCompactShareIntent';
|
|
366
374
|
export * from './VaultCompactSlot';
|
|
@@ -401,7 +409,6 @@ export * from './VaultItemTemplate';
|
|
|
401
409
|
export * from './VaultItemTemplateClassificationRequest';
|
|
402
410
|
export * from './VaultItemTemplateResponse';
|
|
403
411
|
export * from './VaultMeResponse';
|
|
404
|
-
export * from './VaultMeta';
|
|
405
412
|
export * from './VaultNestedSlotAttributes';
|
|
406
413
|
export * from './VaultOrganization';
|
|
407
414
|
export * from './VaultOrganizationMember';
|
|
@@ -64,6 +64,9 @@ class ConnectionsApi extends runtime.BaseAPI {
|
|
|
64
64
|
if (requestParameters.perPage !== undefined) {
|
|
65
65
|
queryParameters['per_page'] = requestParameters.perPage;
|
|
66
66
|
}
|
|
67
|
+
if (requestParameters.page !== undefined) {
|
|
68
|
+
queryParameters['page'] = requestParameters.page;
|
|
69
|
+
}
|
|
67
70
|
if (requestParameters.delegation !== undefined) {
|
|
68
71
|
queryParameters['delegation'] = requestParameters.delegation;
|
|
69
72
|
}
|
|
@@ -93,9 +96,9 @@ class ConnectionsApi extends runtime.BaseAPI {
|
|
|
93
96
|
/**
|
|
94
97
|
* Get connections
|
|
95
98
|
*/
|
|
96
|
-
connectionsGet(nextPageAfter, perPage, delegation, meecoDelegationId, meecoOrganisationId, initOverrides) {
|
|
99
|
+
connectionsGet(nextPageAfter, perPage, page, delegation, meecoDelegationId, meecoOrganisationId, initOverrides) {
|
|
97
100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
98
|
-
const response = yield this.connectionsGetRaw({ nextPageAfter: nextPageAfter, perPage: perPage, delegation: delegation, meecoDelegationId: meecoDelegationId, meecoOrganisationId: meecoOrganisationId }, initOverrides);
|
|
101
|
+
const response = yield this.connectionsGetRaw({ nextPageAfter: nextPageAfter, perPage: perPage, page: page, delegation: delegation, meecoDelegationId: meecoDelegationId, meecoOrganisationId: meecoOrganisationId }, initOverrides);
|
|
99
102
|
return yield response.value();
|
|
100
103
|
});
|
|
101
104
|
}
|
|
@@ -513,7 +513,7 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
|
|
|
513
513
|
});
|
|
514
514
|
}
|
|
515
515
|
/**
|
|
516
|
-
* <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>
|
|
516
|
+
* <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>
|
|
517
517
|
* Verify a Presentation Request Submission
|
|
518
518
|
*/
|
|
519
519
|
oidcPresentationsResponseVerifyPostRaw(requestParameters, initOverrides) {
|
|
@@ -541,11 +541,11 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
|
|
|
541
541
|
query: queryParameters,
|
|
542
542
|
body: (0, models_1.VCVerifyPresentationRequestResponsePayloadDtoToJSON)(requestParameters.vCVerifyPresentationRequestResponsePayloadDto),
|
|
543
543
|
}, initOverrides);
|
|
544
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.
|
|
544
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.VCPresentationRequestResponseVerificationResultResponseDtoFromJSON)(jsonValue));
|
|
545
545
|
});
|
|
546
546
|
}
|
|
547
547
|
/**
|
|
548
|
-
* <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>
|
|
548
|
+
* <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>
|
|
549
549
|
* Verify a Presentation Request Submission
|
|
550
550
|
*/
|
|
551
551
|
oidcPresentationsResponseVerifyPost(vCVerifyPresentationRequestResponsePayloadDto, meecoOrganisationID, initOverrides) {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AttachmentsFolderResponseToJSON = exports.AttachmentsFolderResponseFromJSONTyped = exports.AttachmentsFolderResponseFromJSON = exports.instanceOfAttachmentsFolderResponse = void 0;
|
|
17
17
|
const VaultAttachmentsFolder_1 = require("./VaultAttachmentsFolder");
|
|
18
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the AttachmentsFolderResponse interface.
|
|
20
21
|
*/
|
|
@@ -37,7 +38,7 @@ function AttachmentsFolderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return {
|
|
38
39
|
'next_page_after': json['next_page_after'],
|
|
39
40
|
'attachments_folders': (json['attachments_folders'].map(VaultAttachmentsFolder_1.VaultAttachmentsFolderFromJSON)),
|
|
40
|
-
'meta': json['meta'],
|
|
41
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.AttachmentsFolderResponseFromJSONTyped = AttachmentsFolderResponseFromJSONTyped;
|
|
@@ -51,7 +52,7 @@ function AttachmentsFolderResponseToJSON(value) {
|
|
|
51
52
|
return {
|
|
52
53
|
'next_page_after': value.next_page_after,
|
|
53
54
|
'attachments_folders': (value.attachments_folders.map(VaultAttachmentsFolder_1.VaultAttachmentsFolderToJSON)),
|
|
54
|
-
'meta': value.meta,
|
|
55
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
exports.AttachmentsFolderResponseToJSON = AttachmentsFolderResponseToJSON;
|
|
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.ClassificationNodesResponseToJSON = exports.ClassificationNodesResponseFromJSONTyped = exports.ClassificationNodesResponseFromJSON = exports.instanceOfClassificationNodesResponse = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const VaultClassificationNode_1 = require("./VaultClassificationNode");
|
|
19
|
-
const
|
|
19
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
20
20
|
/**
|
|
21
21
|
* Check if a given object implements the ClassificationNodesResponse interface.
|
|
22
22
|
*/
|
|
@@ -38,7 +38,7 @@ function ClassificationNodesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'next_page_after': !(0, runtime_1.exists)(json, 'next_page_after') ? undefined : json['next_page_after'],
|
|
40
40
|
'classification_nodes': (json['classification_nodes'].map(VaultClassificationNode_1.VaultClassificationNodeFromJSON)),
|
|
41
|
-
'meta': (0,
|
|
41
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
exports.ClassificationNodesResponseFromJSONTyped = ClassificationNodesResponseFromJSONTyped;
|
|
@@ -52,7 +52,7 @@ function ClassificationNodesResponseToJSON(value) {
|
|
|
52
52
|
return {
|
|
53
53
|
'next_page_after': value.next_page_after,
|
|
54
54
|
'classification_nodes': (value.classification_nodes.map(VaultClassificationNode_1.VaultClassificationNodeToJSON)),
|
|
55
|
-
'meta': (0,
|
|
55
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
exports.ClassificationNodesResponseToJSON = ClassificationNodesResponseToJSON;
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ClientTaskQueueResponseToJSON = exports.ClientTaskQueueResponseFromJSONTyped = exports.ClientTaskQueueResponseFromJSON = exports.instanceOfClientTaskQueueResponse = void 0;
|
|
17
17
|
const VaultClientTask_1 = require("./VaultClientTask");
|
|
18
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the ClientTaskQueueResponse interface.
|
|
20
21
|
*/
|
|
@@ -37,7 +38,7 @@ function ClientTaskQueueResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return {
|
|
38
39
|
'next_page_after': json['next_page_after'],
|
|
39
40
|
'client_tasks': (json['client_tasks'].map(VaultClientTask_1.VaultClientTaskFromJSON)),
|
|
40
|
-
'meta': json['meta'],
|
|
41
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.ClientTaskQueueResponseFromJSONTyped = ClientTaskQueueResponseFromJSONTyped;
|
|
@@ -51,7 +52,7 @@ function ClientTaskQueueResponseToJSON(value) {
|
|
|
51
52
|
return {
|
|
52
53
|
'next_page_after': value.next_page_after,
|
|
53
54
|
'client_tasks': (value.client_tasks.map(VaultClientTask_1.VaultClientTaskToJSON)),
|
|
54
|
-
'meta': value.meta,
|
|
55
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
exports.ClientTaskQueueResponseToJSON = ClientTaskQueueResponseToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ConnectionsResponseToJSON = exports.ConnectionsResponseFromJSONTyped = exports.ConnectionsResponseFromJSON = exports.instanceOfConnectionsResponse = void 0;
|
|
17
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
17
18
|
const VaultConnection_1 = require("./VaultConnection");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the ConnectionsResponse interface.
|
|
@@ -36,7 +37,7 @@ function ConnectionsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
}
|
|
37
38
|
return {
|
|
38
39
|
'connections': (json['connections'].map(VaultConnection_1.VaultConnectionFromJSON)),
|
|
39
|
-
'meta': json['meta'],
|
|
40
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
40
41
|
'next_page_after': json['next_page_after'],
|
|
41
42
|
};
|
|
42
43
|
}
|
|
@@ -50,7 +51,7 @@ function ConnectionsResponseToJSON(value) {
|
|
|
50
51
|
}
|
|
51
52
|
return {
|
|
52
53
|
'connections': (value.connections.map(VaultConnection_1.VaultConnectionToJSON)),
|
|
53
|
-
'meta': value.meta,
|
|
54
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
54
55
|
'next_page_after': value.next_page_after,
|
|
55
56
|
};
|
|
56
57
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DelegationInvitationsResponseToJSON = exports.DelegationInvitationsResponseFromJSONTyped = exports.DelegationInvitationsResponseFromJSON = exports.instanceOfDelegationInvitationsResponse = void 0;
|
|
17
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
17
18
|
const VaultDelegationInvitation_1 = require("./VaultDelegationInvitation");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the DelegationInvitationsResponse interface.
|
|
@@ -37,7 +38,7 @@ function DelegationInvitationsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return {
|
|
38
39
|
'next_page_after': json['next_page_after'],
|
|
39
40
|
'delegation_invitations': (json['delegation_invitations'].map(VaultDelegationInvitation_1.VaultDelegationInvitationFromJSON)),
|
|
40
|
-
'meta': json['meta'],
|
|
41
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.DelegationInvitationsResponseFromJSONTyped = DelegationInvitationsResponseFromJSONTyped;
|
|
@@ -51,7 +52,7 @@ function DelegationInvitationsResponseToJSON(value) {
|
|
|
51
52
|
return {
|
|
52
53
|
'next_page_after': value.next_page_after,
|
|
53
54
|
'delegation_invitations': (value.delegation_invitations.map(VaultDelegationInvitation_1.VaultDelegationInvitationToJSON)),
|
|
54
|
-
'meta': value.meta,
|
|
55
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
exports.DelegationInvitationsResponseToJSON = DelegationInvitationsResponseToJSON;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.EventActivityFeedResponseToJSON = exports.EventActivityFeedResponseFromJSONTyped = exports.EventActivityFeedResponseFromJSON = exports.instanceOfEventActivityFeedResponse = void 0;
|
|
17
17
|
const VaultActivity_1 = require("./VaultActivity");
|
|
18
|
-
const
|
|
18
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
19
19
|
/**
|
|
20
20
|
* Check if a given object implements the EventActivityFeedResponse interface.
|
|
21
21
|
*/
|
|
@@ -38,7 +38,7 @@ function EventActivityFeedResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'next_page_after': json['next_page_after'],
|
|
40
40
|
'activities': (json['activities'].map(VaultActivity_1.VaultActivityFromJSON)),
|
|
41
|
-
'meta': (0,
|
|
41
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
exports.EventActivityFeedResponseFromJSONTyped = EventActivityFeedResponseFromJSONTyped;
|
|
@@ -52,7 +52,7 @@ function EventActivityFeedResponseToJSON(value) {
|
|
|
52
52
|
return {
|
|
53
53
|
'next_page_after': value.next_page_after,
|
|
54
54
|
'activities': (value.activities.map(VaultActivity_1.VaultActivityToJSON)),
|
|
55
|
-
'meta': (0,
|
|
55
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
exports.EventActivityFeedResponseToJSON = EventActivityFeedResponseToJSON;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.EventFeedResponseToJSON = exports.EventFeedResponseFromJSONTyped = exports.EventFeedResponseFromJSON = exports.instanceOfEventFeedResponse = void 0;
|
|
17
|
-
const
|
|
17
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the EventFeedResponse interface.
|
|
20
20
|
*/
|
|
@@ -37,7 +37,7 @@ function EventFeedResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
return {
|
|
38
38
|
'next_page_after': json['next_page_after'],
|
|
39
39
|
'events': json['events'],
|
|
40
|
-
'meta': (0,
|
|
40
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
exports.EventFeedResponseFromJSONTyped = EventFeedResponseFromJSONTyped;
|
|
@@ -51,7 +51,7 @@ function EventFeedResponseToJSON(value) {
|
|
|
51
51
|
return {
|
|
52
52
|
'next_page_after': value.next_page_after,
|
|
53
53
|
'events': value.events,
|
|
54
|
-
'meta': (0,
|
|
54
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
exports.EventFeedResponseToJSON = EventFeedResponseToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.InvitationsResponseToJSON = exports.InvitationsResponseFromJSONTyped = exports.InvitationsResponseFromJSON = exports.instanceOfInvitationsResponse = void 0;
|
|
17
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
17
18
|
const VaultInvitation_1 = require("./VaultInvitation");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the InvitationsResponse interface.
|
|
@@ -37,7 +38,7 @@ function InvitationsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return {
|
|
38
39
|
'next_page_after': json['next_page_after'],
|
|
39
40
|
'invitations': (json['invitations'].map(VaultInvitation_1.VaultInvitationFromJSON)),
|
|
40
|
-
'meta': json['meta'],
|
|
41
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.InvitationsResponseFromJSONTyped = InvitationsResponseFromJSONTyped;
|
|
@@ -51,7 +52,7 @@ function InvitationsResponseToJSON(value) {
|
|
|
51
52
|
return {
|
|
52
53
|
'next_page_after': value.next_page_after,
|
|
53
54
|
'invitations': (value.invitations.map(VaultInvitation_1.VaultInvitationToJSON)),
|
|
54
|
-
'meta': value.meta,
|
|
55
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
exports.InvitationsResponseToJSON = InvitationsResponseToJSON;
|
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.ItemTemplatesResponseToJSON = exports.ItemTemplatesResponseFromJSONTyped = exports.ItemTemplatesResponseFromJSON = exports.instanceOfItemTemplatesResponse = void 0;
|
|
17
17
|
const VaultAttachment_1 = require("./VaultAttachment");
|
|
18
18
|
const VaultClassificationNode_1 = require("./VaultClassificationNode");
|
|
19
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
19
20
|
const VaultItemTemplate_1 = require("./VaultItemTemplate");
|
|
20
21
|
const VaultSlot_1 = require("./VaultSlot");
|
|
21
22
|
const VaultThumbnail_1 = require("./VaultThumbnail");
|
|
@@ -49,7 +50,7 @@ function ItemTemplatesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
50
|
'classification_nodes': (json['classification_nodes'].map(VaultClassificationNode_1.VaultClassificationNodeFromJSON)),
|
|
50
51
|
'slots': (json['slots'].map(VaultSlot_1.VaultSlotFromJSON)),
|
|
51
52
|
'item_templates': (json['item_templates'].map(VaultItemTemplate_1.VaultItemTemplateFromJSON)),
|
|
52
|
-
'meta': json['meta'],
|
|
53
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
53
54
|
};
|
|
54
55
|
}
|
|
55
56
|
exports.ItemTemplatesResponseFromJSONTyped = ItemTemplatesResponseFromJSONTyped;
|
|
@@ -67,7 +68,7 @@ function ItemTemplatesResponseToJSON(value) {
|
|
|
67
68
|
'classification_nodes': (value.classification_nodes.map(VaultClassificationNode_1.VaultClassificationNodeToJSON)),
|
|
68
69
|
'slots': (value.slots.map(VaultSlot_1.VaultSlotToJSON)),
|
|
69
70
|
'item_templates': (value.item_templates.map(VaultItemTemplate_1.VaultItemTemplateToJSON)),
|
|
70
|
-
'meta': value.meta,
|
|
71
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
71
72
|
};
|
|
72
73
|
}
|
|
73
74
|
exports.ItemTemplatesResponseToJSON = ItemTemplatesResponseToJSON;
|
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.ItemsResponseToJSON = exports.ItemsResponseFromJSONTyped = exports.ItemsResponseFromJSON = exports.instanceOfItemsResponse = void 0;
|
|
17
17
|
const VaultAttachment_1 = require("./VaultAttachment");
|
|
18
18
|
const VaultClassificationNode_1 = require("./VaultClassificationNode");
|
|
19
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
19
20
|
const VaultItem_1 = require("./VaultItem");
|
|
20
21
|
const VaultSlot_1 = require("./VaultSlot");
|
|
21
22
|
const VaultThumbnail_1 = require("./VaultThumbnail");
|
|
@@ -49,7 +50,7 @@ function ItemsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
50
|
'classification_nodes': (json['classification_nodes'].map(VaultClassificationNode_1.VaultClassificationNodeFromJSON)),
|
|
50
51
|
'slots': (json['slots'].map(VaultSlot_1.VaultSlotFromJSON)),
|
|
51
52
|
'items': (json['items'].map(VaultItem_1.VaultItemFromJSON)),
|
|
52
|
-
'meta': json['meta'],
|
|
53
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
53
54
|
};
|
|
54
55
|
}
|
|
55
56
|
exports.ItemsResponseFromJSONTyped = ItemsResponseFromJSONTyped;
|
|
@@ -67,7 +68,7 @@ function ItemsResponseToJSON(value) {
|
|
|
67
68
|
'classification_nodes': (value.classification_nodes.map(VaultClassificationNode_1.VaultClassificationNodeToJSON)),
|
|
68
69
|
'slots': (value.slots.map(VaultSlot_1.VaultSlotToJSON)),
|
|
69
70
|
'items': (value.items.map(VaultItem_1.VaultItemToJSON)),
|
|
70
|
-
'meta': value.meta,
|
|
71
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
71
72
|
};
|
|
72
73
|
}
|
|
73
74
|
exports.ItemsResponseToJSON = ItemsResponseToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SharesIncomingResponseToJSON = exports.SharesIncomingResponseFromJSONTyped = exports.SharesIncomingResponseFromJSON = exports.instanceOfSharesIncomingResponse = void 0;
|
|
17
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
17
18
|
const VaultShare_1 = require("./VaultShare");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the SharesIncomingResponse interface.
|
|
@@ -37,7 +38,7 @@ function SharesIncomingResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return {
|
|
38
39
|
'next_page_after': json['next_page_after'],
|
|
39
40
|
'shares': (json['shares'].map(VaultShare_1.VaultShareFromJSON)),
|
|
40
|
-
'meta': json['meta'],
|
|
41
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.SharesIncomingResponseFromJSONTyped = SharesIncomingResponseFromJSONTyped;
|
|
@@ -51,7 +52,7 @@ function SharesIncomingResponseToJSON(value) {
|
|
|
51
52
|
return {
|
|
52
53
|
'next_page_after': value.next_page_after,
|
|
53
54
|
'shares': (value.shares.map(VaultShare_1.VaultShareToJSON)),
|
|
54
|
-
'meta': value.meta,
|
|
55
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
exports.SharesIncomingResponseToJSON = SharesIncomingResponseToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SharesOutgoingResponseToJSON = exports.SharesOutgoingResponseFromJSONTyped = exports.SharesOutgoingResponseFromJSON = exports.instanceOfSharesOutgoingResponse = void 0;
|
|
17
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
17
18
|
const VaultShare_1 = require("./VaultShare");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the SharesOutgoingResponse interface.
|
|
@@ -37,7 +38,7 @@ function SharesOutgoingResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return {
|
|
38
39
|
'next_page_after': json['next_page_after'],
|
|
39
40
|
'shares': (json['shares'].map(VaultShare_1.VaultShareFromJSON)),
|
|
40
|
-
'meta': json['meta'],
|
|
41
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.SharesOutgoingResponseFromJSONTyped = SharesOutgoingResponseFromJSONTyped;
|
|
@@ -51,7 +52,7 @@ function SharesOutgoingResponseToJSON(value) {
|
|
|
51
52
|
return {
|
|
52
53
|
'next_page_after': value.next_page_after,
|
|
53
54
|
'shares': (value.shares.map(VaultShare_1.VaultShareToJSON)),
|
|
54
|
-
'meta': value.meta,
|
|
55
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
exports.SharesOutgoingResponseToJSON = SharesOutgoingResponseToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ShreIntentListResponseToJSON = exports.ShreIntentListResponseFromJSONTyped = exports.ShreIntentListResponseFromJSON = exports.instanceOfShreIntentListResponse = void 0;
|
|
17
|
+
const VaultCollectionReport_1 = require("./VaultCollectionReport");
|
|
17
18
|
const VaultShareIntent_1 = require("./VaultShareIntent");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the ShreIntentListResponse interface.
|
|
@@ -37,7 +38,7 @@ function ShreIntentListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return {
|
|
38
39
|
'next_page_after': json['next_page_after'],
|
|
39
40
|
'share_intents': (json['share_intents'].map(VaultShareIntent_1.VaultShareIntentFromJSON)),
|
|
40
|
-
'meta': json['meta'],
|
|
41
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportFromJSON)(json['meta']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.ShreIntentListResponseFromJSONTyped = ShreIntentListResponseFromJSONTyped;
|
|
@@ -51,7 +52,7 @@ function ShreIntentListResponseToJSON(value) {
|
|
|
51
52
|
return {
|
|
52
53
|
'next_page_after': value.next_page_after,
|
|
53
54
|
'share_intents': (value.share_intents.map(VaultShareIntent_1.VaultShareIntentToJSON)),
|
|
54
|
-
'meta': value.meta,
|
|
55
|
+
'meta': (0, VaultCollectionReport_1.VaultCollectionReportToJSON)(value.meta),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
exports.ShreIntentListResponseToJSON = ShreIntentListResponseToJSON;
|
|
@@ -38,6 +38,7 @@ function VCCreateCredentialTypeDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
40
|
'name': json['name'],
|
|
41
|
+
'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
|
|
41
42
|
'schema_id': json['schema_id'],
|
|
42
43
|
'style': (0, VCCreateCredentialTypeStyleDto_1.VCCreateCredentialTypeStyleDtoFromJSON)(json['style']),
|
|
43
44
|
'external_issuer': !(0, runtime_1.exists)(json, 'external_issuer') ? undefined : (0, VCCreateCredentialTypeExternalIssuerDto_1.VCCreateCredentialTypeExternalIssuerDtoFromJSON)(json['external_issuer']),
|
|
@@ -53,6 +54,7 @@ function VCCreateCredentialTypeDtoToJSON(value) {
|
|
|
53
54
|
}
|
|
54
55
|
return {
|
|
55
56
|
'name': value.name,
|
|
57
|
+
'type': value.type,
|
|
56
58
|
'schema_id': value.schema_id,
|
|
57
59
|
'style': (0, VCCreateCredentialTypeStyleDto_1.VCCreateCredentialTypeStyleDtoToJSON)(value.style),
|
|
58
60
|
'external_issuer': (0, VCCreateCredentialTypeExternalIssuerDto_1.VCCreateCredentialTypeExternalIssuerDtoToJSON)(value.external_issuer),
|
|
@@ -24,6 +24,7 @@ function instanceOfVCCredentialTypeModelDto(value) {
|
|
|
24
24
|
let isInstance = true;
|
|
25
25
|
isInstance = isInstance && "id" in value;
|
|
26
26
|
isInstance = isInstance && "name" in value;
|
|
27
|
+
isInstance = isInstance && "type" in value;
|
|
27
28
|
isInstance = isInstance && "organization_id" in value;
|
|
28
29
|
isInstance = isInstance && "schema" in value;
|
|
29
30
|
isInstance = isInstance && "style" in value;
|
|
@@ -45,6 +46,7 @@ function VCCredentialTypeModelDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
46
|
return {
|
|
46
47
|
'id': json['id'],
|
|
47
48
|
'name': json['name'],
|
|
49
|
+
'type': json['type'],
|
|
48
50
|
'organization_id': json['organization_id'],
|
|
49
51
|
'schema': (0, VCCredentialTypeModelDtoSchema_1.VCCredentialTypeModelDtoSchemaFromJSON)(json['schema']),
|
|
50
52
|
'style': (0, VCCredentialTypeModelDtoStyle_1.VCCredentialTypeModelDtoStyleFromJSON)(json['style']),
|
|
@@ -65,6 +67,7 @@ function VCCredentialTypeModelDtoToJSON(value) {
|
|
|
65
67
|
return {
|
|
66
68
|
'id': value.id,
|
|
67
69
|
'name': value.name,
|
|
70
|
+
'type': value.type,
|
|
68
71
|
'organization_id': value.organization_id,
|
|
69
72
|
'schema': (0, VCCredentialTypeModelDtoSchema_1.VCCredentialTypeModelDtoSchemaToJSON)(value.schema),
|
|
70
73
|
'style': (0, VCCredentialTypeModelDtoStyle_1.VCCredentialTypeModelDtoStyleToJSON)(value.style),
|
|
@@ -19,12 +19,12 @@ const VCVerificationCheckResponseDto_1 = require("./VCVerificationCheckResponseD
|
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.VCCredentialVerificationResultResponseDtoChecksEnum = {
|
|
22
|
-
Signature: 'signature',
|
|
23
22
|
Format: 'format',
|
|
23
|
+
Signature: 'signature',
|
|
24
24
|
Expiration: 'expiration',
|
|
25
|
+
Nonce: 'nonce',
|
|
25
26
|
Schema: 'schema',
|
|
26
|
-
RevocationStatus: 'revocation_status'
|
|
27
|
-
ResponseMatchRequest: 'response_match_request'
|
|
27
|
+
RevocationStatus: 'revocation_status'
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Check if a given object implements the VCCredentialVerificationResultResponseDto interface.
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.VCErrorResponseDtoToJSON = exports.VCErrorResponseDtoFromJSONTyped = exports.VCErrorResponseDtoFromJSON = exports.instanceOfVCErrorResponseDto = void 0;
|
|
17
17
|
/**
|
|
18
|
-
* Check if a given object implements the
|
|
18
|
+
* Check if a given object implements the VCErrorResponseDto interface.
|
|
19
19
|
*/
|
|
20
|
-
function
|
|
20
|
+
function instanceOfVCErrorResponseDto(value) {
|
|
21
21
|
let isInstance = true;
|
|
22
22
|
isInstance = isInstance && "error" in value;
|
|
23
23
|
isInstance = isInstance && "message" in value;
|
|
@@ -27,12 +27,12 @@ function instanceOfVCErrorResponseModel(value) {
|
|
|
27
27
|
isInstance = isInstance && "message_in_requested_language" in value;
|
|
28
28
|
return isInstance;
|
|
29
29
|
}
|
|
30
|
-
exports.
|
|
31
|
-
function
|
|
32
|
-
return
|
|
30
|
+
exports.instanceOfVCErrorResponseDto = instanceOfVCErrorResponseDto;
|
|
31
|
+
function VCErrorResponseDtoFromJSON(json) {
|
|
32
|
+
return VCErrorResponseDtoFromJSONTyped(json, false);
|
|
33
33
|
}
|
|
34
|
-
exports.
|
|
35
|
-
function
|
|
34
|
+
exports.VCErrorResponseDtoFromJSON = VCErrorResponseDtoFromJSON;
|
|
35
|
+
function VCErrorResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
36
|
if ((json === undefined) || (json === null)) {
|
|
37
37
|
return json;
|
|
38
38
|
}
|
|
@@ -45,8 +45,8 @@ function VCErrorResponseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'message_in_requested_language': json['message_in_requested_language'],
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
exports.
|
|
49
|
-
function
|
|
48
|
+
exports.VCErrorResponseDtoFromJSONTyped = VCErrorResponseDtoFromJSONTyped;
|
|
49
|
+
function VCErrorResponseDtoToJSON(value) {
|
|
50
50
|
if (value === undefined) {
|
|
51
51
|
return undefined;
|
|
52
52
|
}
|
|
@@ -62,4 +62,4 @@ function VCErrorResponseModelToJSON(value) {
|
|
|
62
62
|
'message_in_requested_language': value.message_in_requested_language,
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
exports.
|
|
65
|
+
exports.VCErrorResponseDtoToJSON = VCErrorResponseDtoToJSON;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.VCErrorsResponseDtoToJSON = exports.VCErrorsResponseDtoFromJSONTyped = exports.VCErrorsResponseDtoFromJSON = exports.instanceOfVCErrorsResponseDto = void 0;
|
|
17
|
+
const VCErrorResponseDto_1 = require("./VCErrorResponseDto");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the VCErrorsResponseDto interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfVCErrorsResponseDto(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "errors" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfVCErrorsResponseDto = instanceOfVCErrorsResponseDto;
|
|
27
|
+
function VCErrorsResponseDtoFromJSON(json) {
|
|
28
|
+
return VCErrorsResponseDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.VCErrorsResponseDtoFromJSON = VCErrorsResponseDtoFromJSON;
|
|
31
|
+
function VCErrorsResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'errors': (json['errors'].map(VCErrorResponseDto_1.VCErrorResponseDtoFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.VCErrorsResponseDtoFromJSONTyped = VCErrorsResponseDtoFromJSONTyped;
|
|
40
|
+
function VCErrorsResponseDtoToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'errors': (value.errors.map(VCErrorResponseDto_1.VCErrorResponseDtoToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.VCErrorsResponseDtoToJSON = VCErrorsResponseDtoToJSON;
|