@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
package/.openapi-generator/FILES
CHANGED
|
@@ -302,15 +302,18 @@ models/VCCredentialTypeStyleDto.ts
|
|
|
302
302
|
models/VCCredentialTypesResponseDto.ts
|
|
303
303
|
models/VCCredentialVerificationResultResponseDto.ts
|
|
304
304
|
models/VCDatabase.ts
|
|
305
|
-
models/
|
|
306
|
-
models/
|
|
305
|
+
models/VCErrorResponseDto.ts
|
|
306
|
+
models/VCErrorsResponseDto.ts
|
|
307
307
|
models/VCGenerateCredentialDto.ts
|
|
308
308
|
models/VCGenerateCredentialPayloadDto.ts
|
|
309
309
|
models/VCGeneratePresentationDto.ts
|
|
310
310
|
models/VCGeneratePresentationPayloadDto.ts
|
|
311
311
|
models/VCHealthCheck.ts
|
|
312
|
+
models/VCIdTokenVerificationOptionsDto.ts
|
|
313
|
+
models/VCIdTokenVerificationResultResponseDto.ts
|
|
312
314
|
models/VCInputDescriptorsDto.ts
|
|
313
315
|
models/VCMeta.ts
|
|
316
|
+
models/VCOldPresentationRequestResponseVerificationResultResponseDto.ts
|
|
314
317
|
models/VCOrganizationResponseDto.ts
|
|
315
318
|
models/VCPaginatedCredentialsResponseDto.ts
|
|
316
319
|
models/VCPaginatedPresentationDefinitionsResponseDto.ts
|
|
@@ -324,17 +327,21 @@ models/VCPresentationRequestCreateSubmissionDto.ts
|
|
|
324
327
|
models/VCPresentationRequestIdTokenResponseDto.ts
|
|
325
328
|
models/VCPresentationRequestModelDto.ts
|
|
326
329
|
models/VCPresentationRequestResponseDto.ts
|
|
330
|
+
models/VCPresentationRequestResponseVerificationOptionsDto.ts
|
|
331
|
+
models/VCPresentationRequestResponseVerificationResultResponseDto.ts
|
|
327
332
|
models/VCPresentationRequestSubmissionModelDto.ts
|
|
333
|
+
models/VCPresentationRequestSubmissionModelDtoVerificationResult.ts
|
|
328
334
|
models/VCPresentationRequestSubmissionResponseDto.ts
|
|
329
335
|
models/VCPresentationRequestSubmissionsResponseDto.ts
|
|
330
336
|
models/VCPresentationRequestTokenPropertiesModelDto.ts
|
|
331
337
|
models/VCPresentationRequestTokensModelDto.ts
|
|
332
338
|
models/VCPresentationRequestUpdateSubmissionDto.ts
|
|
333
339
|
models/VCPresentationRequestUpdateSubmissionPayloadDto.ts
|
|
334
|
-
models/
|
|
340
|
+
models/VCPresentationRequestUpdateVerificationResultRequestDto.ts
|
|
335
341
|
models/VCPresentationRequestVerificationResultResponseDto.ts
|
|
336
|
-
models/
|
|
342
|
+
models/VCPresentationVerificationOptionsDto.ts
|
|
337
343
|
models/VCPresentationVerificationResultResponseDto.ts
|
|
344
|
+
models/VCRequestVerificationOptionsDto.ts
|
|
338
345
|
models/VCRequiredCredentials.ts
|
|
339
346
|
models/VCSchemaJSONResponseDto.ts
|
|
340
347
|
models/VCSchemaResponseDto.ts
|
|
@@ -380,6 +387,7 @@ models/VaultClassificationNode.ts
|
|
|
380
387
|
models/VaultClassificationNodeAttributes.ts
|
|
381
388
|
models/VaultClassificationNodeAttributesWithDeletion.ts
|
|
382
389
|
models/VaultClientTask.ts
|
|
390
|
+
models/VaultCollectionReport.ts
|
|
383
391
|
models/VaultCompactAttachment.ts
|
|
384
392
|
models/VaultCompactShareIntent.ts
|
|
385
393
|
models/VaultCompactSlot.ts
|
|
@@ -420,7 +428,6 @@ models/VaultItemTemplate.ts
|
|
|
420
428
|
models/VaultItemTemplateClassificationRequest.ts
|
|
421
429
|
models/VaultItemTemplateResponse.ts
|
|
422
430
|
models/VaultMeResponse.ts
|
|
423
|
-
models/VaultMeta.ts
|
|
424
431
|
models/VaultNestedSlotAttributes.ts
|
|
425
432
|
models/VaultOrganization.ts
|
|
426
433
|
models/VaultOrganizationMember.ts
|
|
@@ -38,6 +38,9 @@ export class ConnectionsApi extends runtime.BaseAPI {
|
|
|
38
38
|
if (requestParameters.perPage !== undefined) {
|
|
39
39
|
queryParameters['per_page'] = requestParameters.perPage;
|
|
40
40
|
}
|
|
41
|
+
if (requestParameters.page !== undefined) {
|
|
42
|
+
queryParameters['page'] = requestParameters.page;
|
|
43
|
+
}
|
|
41
44
|
if (requestParameters.delegation !== undefined) {
|
|
42
45
|
queryParameters['delegation'] = requestParameters.delegation;
|
|
43
46
|
}
|
|
@@ -67,9 +70,9 @@ export class ConnectionsApi extends runtime.BaseAPI {
|
|
|
67
70
|
/**
|
|
68
71
|
* Get connections
|
|
69
72
|
*/
|
|
70
|
-
connectionsGet(nextPageAfter, perPage, delegation, meecoDelegationId, meecoOrganisationId, initOverrides) {
|
|
73
|
+
connectionsGet(nextPageAfter, perPage, page, delegation, meecoDelegationId, meecoOrganisationId, initOverrides) {
|
|
71
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
-
const response = yield this.connectionsGetRaw({ nextPageAfter: nextPageAfter, perPage: perPage, delegation: delegation, meecoDelegationId: meecoDelegationId, meecoOrganisationId: meecoOrganisationId }, initOverrides);
|
|
75
|
+
const response = yield this.connectionsGetRaw({ nextPageAfter: nextPageAfter, perPage: perPage, page: page, delegation: delegation, meecoDelegationId: meecoDelegationId, meecoOrganisationId: meecoOrganisationId }, initOverrides);
|
|
73
76
|
return yield response.value();
|
|
74
77
|
});
|
|
75
78
|
}
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { VCCreatePresentationDefinitionPayloadDtoToJSON, VCCreatePresentationRequestIdTokenRequestDtoToJSON, VCCreatePresentationRequestPayloadDtoToJSON, VCGeneratePresentationPayloadDtoToJSON, VCPaginatedPresentationDefinitionsResponseDtoFromJSON, VCPaginatedPresentationRequestResponseDtoFromJSON, VCPresentationDefinitionJsonResponseDtoFromJSON, VCPresentationDefinitionResponseDtoFromJSON, VCPresentationRequestCreateSubmissionDtoToJSON, VCPresentationRequestIdTokenResponseDtoFromJSON, VCPresentationRequestResponseDtoFromJSON, VCPresentationRequestSubmissionResponseDtoFromJSON, VCPresentationRequestSubmissionsResponseDtoFromJSON, VCPresentationRequestUpdateSubmissionPayloadDtoToJSON, VCPresentationRequestVerificationResultResponseDtoFromJSON,
|
|
24
|
+
import { VCCreatePresentationDefinitionPayloadDtoToJSON, VCCreatePresentationRequestIdTokenRequestDtoToJSON, VCCreatePresentationRequestPayloadDtoToJSON, VCGeneratePresentationPayloadDtoToJSON, VCPaginatedPresentationDefinitionsResponseDtoFromJSON, VCPaginatedPresentationRequestResponseDtoFromJSON, VCPresentationDefinitionJsonResponseDtoFromJSON, VCPresentationDefinitionResponseDtoFromJSON, VCPresentationRequestCreateSubmissionDtoToJSON, VCPresentationRequestIdTokenResponseDtoFromJSON, VCPresentationRequestResponseDtoFromJSON, VCPresentationRequestResponseVerificationResultResponseDtoFromJSON, VCPresentationRequestSubmissionResponseDtoFromJSON, VCPresentationRequestSubmissionsResponseDtoFromJSON, VCPresentationRequestUpdateSubmissionPayloadDtoToJSON, VCPresentationRequestVerificationResultResponseDtoFromJSON, VCPresentationVerificationResultResponseDtoFromJSON, VCUnsignedPresentationResponseDtoFromJSON, VCUpdatePresentationRequestPayloadDtoToJSON, VCVerifyPresentationRequestPayloadDtoToJSON, VCVerifyPresentationRequestResponsePayloadDtoToJSON, VCVerifySignedPresentationRequestPayloadDtoToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -487,7 +487,7 @@ export class VerifiablePresentationsApi extends runtime.BaseAPI {
|
|
|
487
487
|
});
|
|
488
488
|
}
|
|
489
489
|
/**
|
|
490
|
-
* <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>
|
|
490
|
+
* <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>
|
|
491
491
|
* Verify a Presentation Request Submission
|
|
492
492
|
*/
|
|
493
493
|
oidcPresentationsResponseVerifyPostRaw(requestParameters, initOverrides) {
|
|
@@ -515,11 +515,11 @@ export class VerifiablePresentationsApi extends runtime.BaseAPI {
|
|
|
515
515
|
query: queryParameters,
|
|
516
516
|
body: VCVerifyPresentationRequestResponsePayloadDtoToJSON(requestParameters.vCVerifyPresentationRequestResponsePayloadDto),
|
|
517
517
|
}, initOverrides);
|
|
518
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
518
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VCPresentationRequestResponseVerificationResultResponseDtoFromJSON(jsonValue));
|
|
519
519
|
});
|
|
520
520
|
}
|
|
521
521
|
/**
|
|
522
|
-
* <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>
|
|
522
|
+
* <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>
|
|
523
523
|
* Verify a Presentation Request Submission
|
|
524
524
|
*/
|
|
525
525
|
oidcPresentationsResponseVerifyPost(vCVerifyPresentationRequestResponsePayloadDto, meecoOrganisationID, initOverrides) {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { VaultAttachmentsFolderFromJSON, VaultAttachmentsFolderToJSON, } from './VaultAttachmentsFolder';
|
|
15
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the AttachmentsFolderResponse interface.
|
|
17
18
|
*/
|
|
@@ -32,7 +33,7 @@ export function AttachmentsFolderResponseFromJSONTyped(json, ignoreDiscriminator
|
|
|
32
33
|
return {
|
|
33
34
|
'next_page_after': json['next_page_after'],
|
|
34
35
|
'attachments_folders': (json['attachments_folders'].map(VaultAttachmentsFolderFromJSON)),
|
|
35
|
-
'meta': json['meta'],
|
|
36
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function AttachmentsFolderResponseToJSON(value) {
|
|
@@ -45,6 +46,6 @@ export function AttachmentsFolderResponseToJSON(value) {
|
|
|
45
46
|
return {
|
|
46
47
|
'next_page_after': value.next_page_after,
|
|
47
48
|
'attachments_folders': (value.attachments_folders.map(VaultAttachmentsFolderToJSON)),
|
|
48
|
-
'meta': value.meta,
|
|
49
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { VaultClassificationNodeFromJSON, VaultClassificationNodeToJSON, } from './VaultClassificationNode';
|
|
16
|
-
import {
|
|
16
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
17
17
|
/**
|
|
18
18
|
* Check if a given object implements the ClassificationNodesResponse interface.
|
|
19
19
|
*/
|
|
@@ -33,7 +33,7 @@ export function ClassificationNodesResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
33
33
|
return {
|
|
34
34
|
'next_page_after': !exists(json, 'next_page_after') ? undefined : json['next_page_after'],
|
|
35
35
|
'classification_nodes': (json['classification_nodes'].map(VaultClassificationNodeFromJSON)),
|
|
36
|
-
'meta':
|
|
36
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
export function ClassificationNodesResponseToJSON(value) {
|
|
@@ -46,6 +46,6 @@ export function ClassificationNodesResponseToJSON(value) {
|
|
|
46
46
|
return {
|
|
47
47
|
'next_page_after': value.next_page_after,
|
|
48
48
|
'classification_nodes': (value.classification_nodes.map(VaultClassificationNodeToJSON)),
|
|
49
|
-
'meta':
|
|
49
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { VaultClientTaskFromJSON, VaultClientTaskToJSON, } from './VaultClientTask';
|
|
15
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the ClientTaskQueueResponse interface.
|
|
17
18
|
*/
|
|
@@ -32,7 +33,7 @@ export function ClientTaskQueueResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
32
33
|
return {
|
|
33
34
|
'next_page_after': json['next_page_after'],
|
|
34
35
|
'client_tasks': (json['client_tasks'].map(VaultClientTaskFromJSON)),
|
|
35
|
-
'meta': json['meta'],
|
|
36
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function ClientTaskQueueResponseToJSON(value) {
|
|
@@ -45,6 +46,6 @@ export function ClientTaskQueueResponseToJSON(value) {
|
|
|
45
46
|
return {
|
|
46
47
|
'next_page_after': value.next_page_after,
|
|
47
48
|
'client_tasks': (value.client_tasks.map(VaultClientTaskToJSON)),
|
|
48
|
-
'meta': value.meta,
|
|
49
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
14
15
|
import { VaultConnectionFromJSON, VaultConnectionToJSON, } from './VaultConnection';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the ConnectionsResponse interface.
|
|
@@ -31,7 +32,7 @@ export function ConnectionsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
32
|
}
|
|
32
33
|
return {
|
|
33
34
|
'connections': (json['connections'].map(VaultConnectionFromJSON)),
|
|
34
|
-
'meta': json['meta'],
|
|
35
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
35
36
|
'next_page_after': json['next_page_after'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
@@ -44,7 +45,7 @@ export function ConnectionsResponseToJSON(value) {
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'connections': (value.connections.map(VaultConnectionToJSON)),
|
|
47
|
-
'meta': value.meta,
|
|
48
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
48
49
|
'next_page_after': value.next_page_after,
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
14
15
|
import { VaultDelegationInvitationFromJSON, VaultDelegationInvitationToJSON, } from './VaultDelegationInvitation';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the DelegationInvitationsResponse interface.
|
|
@@ -32,7 +33,7 @@ export function DelegationInvitationsResponseFromJSONTyped(json, ignoreDiscrimin
|
|
|
32
33
|
return {
|
|
33
34
|
'next_page_after': json['next_page_after'],
|
|
34
35
|
'delegation_invitations': (json['delegation_invitations'].map(VaultDelegationInvitationFromJSON)),
|
|
35
|
-
'meta': json['meta'],
|
|
36
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function DelegationInvitationsResponseToJSON(value) {
|
|
@@ -45,6 +46,6 @@ export function DelegationInvitationsResponseToJSON(value) {
|
|
|
45
46
|
return {
|
|
46
47
|
'next_page_after': value.next_page_after,
|
|
47
48
|
'delegation_invitations': (value.delegation_invitations.map(VaultDelegationInvitationToJSON)),
|
|
48
|
-
'meta': value.meta,
|
|
49
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { VaultActivityFromJSON, VaultActivityToJSON, } from './VaultActivity';
|
|
15
|
-
import {
|
|
15
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
16
16
|
/**
|
|
17
17
|
* Check if a given object implements the EventActivityFeedResponse interface.
|
|
18
18
|
*/
|
|
@@ -33,7 +33,7 @@ export function EventActivityFeedResponseFromJSONTyped(json, ignoreDiscriminator
|
|
|
33
33
|
return {
|
|
34
34
|
'next_page_after': json['next_page_after'],
|
|
35
35
|
'activities': (json['activities'].map(VaultActivityFromJSON)),
|
|
36
|
-
'meta':
|
|
36
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
export function EventActivityFeedResponseToJSON(value) {
|
|
@@ -46,6 +46,6 @@ export function EventActivityFeedResponseToJSON(value) {
|
|
|
46
46
|
return {
|
|
47
47
|
'next_page_after': value.next_page_after,
|
|
48
48
|
'activities': (value.activities.map(VaultActivityToJSON)),
|
|
49
|
-
'meta':
|
|
49
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the EventFeedResponse interface.
|
|
17
17
|
*/
|
|
@@ -32,7 +32,7 @@ export function EventFeedResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
return {
|
|
33
33
|
'next_page_after': json['next_page_after'],
|
|
34
34
|
'events': json['events'],
|
|
35
|
-
'meta':
|
|
35
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
export function EventFeedResponseToJSON(value) {
|
|
@@ -45,6 +45,6 @@ export function EventFeedResponseToJSON(value) {
|
|
|
45
45
|
return {
|
|
46
46
|
'next_page_after': value.next_page_after,
|
|
47
47
|
'events': value.events,
|
|
48
|
-
'meta':
|
|
48
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
49
49
|
};
|
|
50
50
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
14
15
|
import { VaultInvitationFromJSON, VaultInvitationToJSON, } from './VaultInvitation';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the InvitationsResponse interface.
|
|
@@ -32,7 +33,7 @@ export function InvitationsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
return {
|
|
33
34
|
'next_page_after': json['next_page_after'],
|
|
34
35
|
'invitations': (json['invitations'].map(VaultInvitationFromJSON)),
|
|
35
|
-
'meta': json['meta'],
|
|
36
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function InvitationsResponseToJSON(value) {
|
|
@@ -45,6 +46,6 @@ export function InvitationsResponseToJSON(value) {
|
|
|
45
46
|
return {
|
|
46
47
|
'next_page_after': value.next_page_after,
|
|
47
48
|
'invitations': (value.invitations.map(VaultInvitationToJSON)),
|
|
48
|
-
'meta': value.meta,
|
|
49
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { VaultAttachmentFromJSON, VaultAttachmentToJSON, } from './VaultAttachment';
|
|
15
15
|
import { VaultClassificationNodeFromJSON, VaultClassificationNodeToJSON, } from './VaultClassificationNode';
|
|
16
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
16
17
|
import { VaultItemTemplateFromJSON, VaultItemTemplateToJSON, } from './VaultItemTemplate';
|
|
17
18
|
import { VaultSlotFromJSON, VaultSlotToJSON, } from './VaultSlot';
|
|
18
19
|
import { VaultThumbnailFromJSON, VaultThumbnailToJSON, } from './VaultThumbnail';
|
|
@@ -44,7 +45,7 @@ export function ItemTemplatesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
45
|
'classification_nodes': (json['classification_nodes'].map(VaultClassificationNodeFromJSON)),
|
|
45
46
|
'slots': (json['slots'].map(VaultSlotFromJSON)),
|
|
46
47
|
'item_templates': (json['item_templates'].map(VaultItemTemplateFromJSON)),
|
|
47
|
-
'meta': json['meta'],
|
|
48
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
export function ItemTemplatesResponseToJSON(value) {
|
|
@@ -61,6 +62,6 @@ export function ItemTemplatesResponseToJSON(value) {
|
|
|
61
62
|
'classification_nodes': (value.classification_nodes.map(VaultClassificationNodeToJSON)),
|
|
62
63
|
'slots': (value.slots.map(VaultSlotToJSON)),
|
|
63
64
|
'item_templates': (value.item_templates.map(VaultItemTemplateToJSON)),
|
|
64
|
-
'meta': value.meta,
|
|
65
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
65
66
|
};
|
|
66
67
|
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { VaultAttachmentFromJSON, VaultAttachmentToJSON, } from './VaultAttachment';
|
|
15
15
|
import { VaultClassificationNodeFromJSON, VaultClassificationNodeToJSON, } from './VaultClassificationNode';
|
|
16
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
16
17
|
import { VaultItemFromJSON, VaultItemToJSON, } from './VaultItem';
|
|
17
18
|
import { VaultSlotFromJSON, VaultSlotToJSON, } from './VaultSlot';
|
|
18
19
|
import { VaultThumbnailFromJSON, VaultThumbnailToJSON, } from './VaultThumbnail';
|
|
@@ -44,7 +45,7 @@ export function ItemsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
45
|
'classification_nodes': (json['classification_nodes'].map(VaultClassificationNodeFromJSON)),
|
|
45
46
|
'slots': (json['slots'].map(VaultSlotFromJSON)),
|
|
46
47
|
'items': (json['items'].map(VaultItemFromJSON)),
|
|
47
|
-
'meta': json['meta'],
|
|
48
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
export function ItemsResponseToJSON(value) {
|
|
@@ -61,6 +62,6 @@ export function ItemsResponseToJSON(value) {
|
|
|
61
62
|
'classification_nodes': (value.classification_nodes.map(VaultClassificationNodeToJSON)),
|
|
62
63
|
'slots': (value.slots.map(VaultSlotToJSON)),
|
|
63
64
|
'items': (value.items.map(VaultItemToJSON)),
|
|
64
|
-
'meta': value.meta,
|
|
65
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
65
66
|
};
|
|
66
67
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
14
15
|
import { VaultShareFromJSON, VaultShareToJSON, } from './VaultShare';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the SharesIncomingResponse interface.
|
|
@@ -32,7 +33,7 @@ export function SharesIncomingResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
return {
|
|
33
34
|
'next_page_after': json['next_page_after'],
|
|
34
35
|
'shares': (json['shares'].map(VaultShareFromJSON)),
|
|
35
|
-
'meta': json['meta'],
|
|
36
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function SharesIncomingResponseToJSON(value) {
|
|
@@ -45,6 +46,6 @@ export function SharesIncomingResponseToJSON(value) {
|
|
|
45
46
|
return {
|
|
46
47
|
'next_page_after': value.next_page_after,
|
|
47
48
|
'shares': (value.shares.map(VaultShareToJSON)),
|
|
48
|
-
'meta': value.meta,
|
|
49
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
14
15
|
import { VaultShareFromJSON, VaultShareToJSON, } from './VaultShare';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the SharesOutgoingResponse interface.
|
|
@@ -32,7 +33,7 @@ export function SharesOutgoingResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
return {
|
|
33
34
|
'next_page_after': json['next_page_after'],
|
|
34
35
|
'shares': (json['shares'].map(VaultShareFromJSON)),
|
|
35
|
-
'meta': json['meta'],
|
|
36
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function SharesOutgoingResponseToJSON(value) {
|
|
@@ -45,6 +46,6 @@ export function SharesOutgoingResponseToJSON(value) {
|
|
|
45
46
|
return {
|
|
46
47
|
'next_page_after': value.next_page_after,
|
|
47
48
|
'shares': (value.shares.map(VaultShareToJSON)),
|
|
48
|
-
'meta': value.meta,
|
|
49
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { VaultCollectionReportFromJSON, VaultCollectionReportToJSON, } from './VaultCollectionReport';
|
|
14
15
|
import { VaultShareIntentFromJSON, VaultShareIntentToJSON, } from './VaultShareIntent';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the ShreIntentListResponse interface.
|
|
@@ -32,7 +33,7 @@ export function ShreIntentListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
return {
|
|
33
34
|
'next_page_after': json['next_page_after'],
|
|
34
35
|
'share_intents': (json['share_intents'].map(VaultShareIntentFromJSON)),
|
|
35
|
-
'meta': json['meta'],
|
|
36
|
+
'meta': VaultCollectionReportFromJSON(json['meta']),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function ShreIntentListResponseToJSON(value) {
|
|
@@ -45,6 +46,6 @@ export function ShreIntentListResponseToJSON(value) {
|
|
|
45
46
|
return {
|
|
46
47
|
'next_page_after': value.next_page_after,
|
|
47
48
|
'share_intents': (value.share_intents.map(VaultShareIntentToJSON)),
|
|
48
|
-
'meta': value.meta,
|
|
49
|
+
'meta': VaultCollectionReportToJSON(value.meta),
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -33,6 +33,7 @@ export function VCCreateCredentialTypeDtoFromJSONTyped(json, ignoreDiscriminator
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'name': json['name'],
|
|
36
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
36
37
|
'schema_id': json['schema_id'],
|
|
37
38
|
'style': VCCreateCredentialTypeStyleDtoFromJSON(json['style']),
|
|
38
39
|
'external_issuer': !exists(json, 'external_issuer') ? undefined : VCCreateCredentialTypeExternalIssuerDtoFromJSON(json['external_issuer']),
|
|
@@ -47,6 +48,7 @@ export function VCCreateCredentialTypeDtoToJSON(value) {
|
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
49
50
|
'name': value.name,
|
|
51
|
+
'type': value.type,
|
|
50
52
|
'schema_id': value.schema_id,
|
|
51
53
|
'style': VCCreateCredentialTypeStyleDtoToJSON(value.style),
|
|
52
54
|
'external_issuer': VCCreateCredentialTypeExternalIssuerDtoToJSON(value.external_issuer),
|
|
@@ -21,6 +21,7 @@ export function instanceOfVCCredentialTypeModelDto(value) {
|
|
|
21
21
|
let isInstance = true;
|
|
22
22
|
isInstance = isInstance && "id" in value;
|
|
23
23
|
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "type" in value;
|
|
24
25
|
isInstance = isInstance && "organization_id" in value;
|
|
25
26
|
isInstance = isInstance && "schema" in value;
|
|
26
27
|
isInstance = isInstance && "style" in value;
|
|
@@ -40,6 +41,7 @@ export function VCCredentialTypeModelDtoFromJSONTyped(json, ignoreDiscriminator)
|
|
|
40
41
|
return {
|
|
41
42
|
'id': json['id'],
|
|
42
43
|
'name': json['name'],
|
|
44
|
+
'type': json['type'],
|
|
43
45
|
'organization_id': json['organization_id'],
|
|
44
46
|
'schema': VCCredentialTypeModelDtoSchemaFromJSON(json['schema']),
|
|
45
47
|
'style': VCCredentialTypeModelDtoStyleFromJSON(json['style']),
|
|
@@ -59,6 +61,7 @@ export function VCCredentialTypeModelDtoToJSON(value) {
|
|
|
59
61
|
return {
|
|
60
62
|
'id': value.id,
|
|
61
63
|
'name': value.name,
|
|
64
|
+
'type': value.type,
|
|
62
65
|
'organization_id': value.organization_id,
|
|
63
66
|
'schema': VCCredentialTypeModelDtoSchemaToJSON(value.schema),
|
|
64
67
|
'style': VCCredentialTypeModelDtoStyleToJSON(value.style),
|
|
@@ -16,12 +16,12 @@ import { VCVerificationCheckResponseDtoFromJSON, VCVerificationCheckResponseDtoT
|
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
18
|
export const VCCredentialVerificationResultResponseDtoChecksEnum = {
|
|
19
|
-
Signature: 'signature',
|
|
20
19
|
Format: 'format',
|
|
20
|
+
Signature: 'signature',
|
|
21
21
|
Expiration: 'expiration',
|
|
22
|
+
Nonce: 'nonce',
|
|
22
23
|
Schema: 'schema',
|
|
23
|
-
RevocationStatus: 'revocation_status'
|
|
24
|
-
ResponseMatchRequest: 'response_match_request'
|
|
24
|
+
RevocationStatus: 'revocation_status'
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* Check if a given object implements the VCCredentialVerificationResultResponseDto interface.
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the VCErrorResponseDto interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfVCErrorResponseDto(value) {
|
|
18
18
|
let isInstance = true;
|
|
19
19
|
isInstance = isInstance && "error" in value;
|
|
20
20
|
isInstance = isInstance && "message" in value;
|
|
@@ -24,10 +24,10 @@ export function instanceOfVCErrorResponseModel(value) {
|
|
|
24
24
|
isInstance = isInstance && "message_in_requested_language" in value;
|
|
25
25
|
return isInstance;
|
|
26
26
|
}
|
|
27
|
-
export function
|
|
28
|
-
return
|
|
27
|
+
export function VCErrorResponseDtoFromJSON(json) {
|
|
28
|
+
return VCErrorResponseDtoFromJSONTyped(json, false);
|
|
29
29
|
}
|
|
30
|
-
export function
|
|
30
|
+
export function VCErrorResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
31
|
if ((json === undefined) || (json === null)) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
@@ -40,7 +40,7 @@ export function VCErrorResponseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'message_in_requested_language': json['message_in_requested_language'],
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
export function
|
|
43
|
+
export function VCErrorResponseDtoToJSON(value) {
|
|
44
44
|
if (value === undefined) {
|
|
45
45
|
return undefined;
|
|
46
46
|
}
|
|
@@ -11,27 +11,27 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { VCErrorResponseDtoFromJSON, VCErrorResponseDtoToJSON, } from './VCErrorResponseDto';
|
|
15
15
|
/**
|
|
16
|
-
* Check if a given object implements the
|
|
16
|
+
* Check if a given object implements the VCErrorsResponseDto interface.
|
|
17
17
|
*/
|
|
18
|
-
export function
|
|
18
|
+
export function instanceOfVCErrorsResponseDto(value) {
|
|
19
19
|
let isInstance = true;
|
|
20
20
|
isInstance = isInstance && "errors" in value;
|
|
21
21
|
return isInstance;
|
|
22
22
|
}
|
|
23
|
-
export function
|
|
24
|
-
return
|
|
23
|
+
export function VCErrorsResponseDtoFromJSON(json) {
|
|
24
|
+
return VCErrorsResponseDtoFromJSONTyped(json, false);
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
26
|
+
export function VCErrorsResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
27
|
if ((json === undefined) || (json === null)) {
|
|
28
28
|
return json;
|
|
29
29
|
}
|
|
30
30
|
return {
|
|
31
|
-
'errors': (json['errors'].map(
|
|
31
|
+
'errors': (json['errors'].map(VCErrorResponseDtoFromJSON)),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function
|
|
34
|
+
export function VCErrorsResponseDtoToJSON(value) {
|
|
35
35
|
if (value === undefined) {
|
|
36
36
|
return undefined;
|
|
37
37
|
}
|
|
@@ -39,6 +39,6 @@ export function VCErrorsResponseModelDtoToJSON(value) {
|
|
|
39
39
|
return null;
|
|
40
40
|
}
|
|
41
41
|
return {
|
|
42
|
-
'errors': (value.errors.map(
|
|
42
|
+
'errors': (value.errors.map(VCErrorResponseDtoToJSON)),
|
|
43
43
|
};
|
|
44
44
|
}
|