@meeco/svx-api-sdk 1.0.0-develop.20230901133029.648bf91 → 1.0.0-develop.20230914124325.546f9f7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/.openapi-generator/FILES +13 -5
  2. package/lib/esm/apis/ConnectionsApi.js +5 -2
  3. package/lib/esm/apis/OrganisationsApi.js +5 -2
  4. package/lib/esm/apis/SecurityRightsApi.js +5 -2
  5. package/lib/esm/apis/TenantsApi.js +5 -2
  6. package/lib/esm/apis/VerifiablePresentationsApi.js +49 -4
  7. package/lib/esm/models/{VaultMeta.js → ATOMGenesisRequest.js} +9 -12
  8. package/lib/esm/models/AttachmentsFolderResponse.js +3 -2
  9. package/lib/esm/models/ClassificationNodesResponse.js +3 -3
  10. package/lib/esm/models/ClientTaskQueueResponse.js +3 -2
  11. package/lib/esm/models/ConnectionsResponse.js +3 -2
  12. package/lib/esm/models/DelegationInvitationsResponse.js +3 -2
  13. package/lib/esm/models/EventActivityFeedResponse.js +3 -3
  14. package/lib/esm/models/EventFeedResponse.js +3 -3
  15. package/lib/esm/models/InvitationsResponse.js +3 -2
  16. package/lib/esm/models/ItemTemplatesResponse.js +3 -2
  17. package/lib/esm/models/ItemsResponse.js +3 -2
  18. package/lib/esm/models/SharesIncomingResponse.js +3 -2
  19. package/lib/esm/models/SharesOutgoingResponse.js +3 -2
  20. package/lib/esm/models/ShreIntentListResponse.js +3 -2
  21. package/lib/esm/models/VCCreateCredentialTypeDto.js +2 -0
  22. package/lib/esm/models/VCCredentialTypeModelDto.js +3 -0
  23. package/lib/esm/models/VCCredentialTypeModelDtoSchema.js +3 -0
  24. package/lib/esm/models/VCCredentialTypeSchemaDto.js +3 -0
  25. package/lib/esm/models/VCCredentialVerificationResultResponseDto.js +3 -3
  26. package/lib/esm/models/{VCErrorResponseModel.js → VCErrorResponseDto.js} +6 -6
  27. package/lib/esm/models/{VCErrorsResponseModelDto.js → VCErrorsResponseDto.js} +9 -9
  28. package/lib/esm/models/VCIdTokenVerificationOptionsDto.js +52 -0
  29. package/lib/esm/models/{VCPresentationResponseVerificationResultResponseDto.js → VCIdTokenVerificationResultResponseDto.js} +10 -10
  30. package/lib/esm/models/VCOldPresentationRequestResponseVerificationResultResponseDto.js +61 -0
  31. package/lib/esm/models/VCPresentationDefinitionToSchemaModel.js +6 -0
  32. package/lib/esm/models/VCPresentationRequestResponseVerificationOptionsDto.js +58 -0
  33. package/lib/esm/models/VCPresentationRequestResponseVerificationResultResponseDto.js +73 -0
  34. package/lib/esm/models/VCPresentationRequestSubmissionModelDto.js +3 -3
  35. package/lib/esm/models/VCPresentationRequestSubmissionModelDtoVerificationResult.js +39 -0
  36. package/lib/esm/models/VCPresentationRequestUpdateSubmissionDto.js +3 -3
  37. package/lib/esm/models/VCPresentationRequestUpdateVerificationResultRequestDto.js +73 -0
  38. package/lib/esm/models/VCPresentationRequestVerificationResultResponseDto.js +3 -3
  39. package/lib/esm/models/VCPresentationVerificationOptionsDto.js +52 -0
  40. package/lib/esm/models/VCPresentationVerificationResultResponseDto.js +3 -3
  41. package/lib/esm/models/VCRequestVerificationOptionsDto.js +51 -0
  42. package/lib/esm/models/VCUpdateCredentialTypeDto.js +2 -0
  43. package/lib/esm/models/VCVerifyPresentationRequestResponsePayloadDto.js +4 -0
  44. package/lib/esm/models/VaultCollectionReport.js +67 -0
  45. package/lib/esm/models/index.js +13 -5
  46. package/lib/types/apis/ConnectionsApi.d.ts +2 -1
  47. package/lib/types/apis/OrganisationsApi.d.ts +2 -1
  48. package/lib/types/apis/SecurityRightsApi.d.ts +2 -1
  49. package/lib/types/apis/TenantsApi.d.ts +2 -1
  50. package/lib/types/apis/VerifiablePresentationsApi.d.ts +20 -5
  51. package/lib/types/models/ATOMGenesisRequest.d.ts +31 -0
  52. package/lib/types/models/AttachmentsFolderResponse.d.ts +3 -2
  53. package/lib/types/models/ClassificationNodesResponse.d.ts +3 -3
  54. package/lib/types/models/ClientTaskQueueResponse.d.ts +3 -2
  55. package/lib/types/models/ConnectionsResponse.d.ts +3 -2
  56. package/lib/types/models/DelegationInvitationsResponse.d.ts +3 -2
  57. package/lib/types/models/EventActivityFeedResponse.d.ts +3 -3
  58. package/lib/types/models/EventFeedResponse.d.ts +3 -3
  59. package/lib/types/models/InvitationsResponse.d.ts +3 -2
  60. package/lib/types/models/ItemTemplatesResponse.d.ts +3 -2
  61. package/lib/types/models/ItemsResponse.d.ts +3 -2
  62. package/lib/types/models/SharesIncomingResponse.d.ts +3 -2
  63. package/lib/types/models/SharesOutgoingResponse.d.ts +3 -2
  64. package/lib/types/models/ShreIntentListResponse.d.ts +3 -2
  65. package/lib/types/models/VCCreateCredentialTypeDto.d.ts +6 -0
  66. package/lib/types/models/VCCredentialTypeModelDto.d.ts +6 -0
  67. package/lib/types/models/VCCredentialTypeModelDtoSchema.d.ts +6 -0
  68. package/lib/types/models/VCCredentialTypeSchemaDto.d.ts +6 -0
  69. package/lib/types/models/VCCredentialVerificationResultResponseDto.d.ts +2 -2
  70. package/lib/types/models/VCErrorResponseDto.d.ts +61 -0
  71. package/lib/types/models/VCErrorsResponseDto.d.ts +32 -0
  72. package/lib/types/models/VCIdTokenVerificationOptionsDto.d.ts +41 -0
  73. package/lib/types/models/VCIdTokenVerificationResultResponseDto.d.ts +56 -0
  74. package/lib/types/models/VCOldPresentationRequestResponseVerificationResultResponseDto.d.ts +56 -0
  75. package/lib/types/models/VCPresentationDefinitionToSchemaModel.d.ts +12 -0
  76. package/lib/types/models/VCPresentationRequestResponseVerificationOptionsDto.d.ts +59 -0
  77. package/lib/types/models/VCPresentationRequestResponseVerificationResultResponseDto.d.ts +77 -0
  78. package/lib/types/models/VCPresentationRequestSubmissionModelDto.d.ts +3 -3
  79. package/lib/types/models/VCPresentationRequestSubmissionModelDtoVerificationResult.d.ts +22 -0
  80. package/lib/types/models/VCPresentationRequestUpdateSubmissionDto.d.ts +3 -3
  81. package/lib/types/models/VCPresentationRequestUpdateVerificationResultRequestDto.d.ts +77 -0
  82. package/lib/types/models/VCPresentationRequestVerificationResultResponseDto.d.ts +2 -2
  83. package/lib/types/models/VCPresentationVerificationOptionsDto.d.ts +41 -0
  84. package/lib/types/models/VCPresentationVerificationResultResponseDto.d.ts +2 -2
  85. package/lib/types/models/VCRequestVerificationOptionsDto.d.ts +40 -0
  86. package/lib/types/models/VCUpdateCredentialTypeDto.d.ts +6 -0
  87. package/lib/types/models/VCVerifyPresentationRequestResponsePayloadDto.d.ts +7 -0
  88. package/lib/types/models/VaultCollectionReport.d.ts +79 -0
  89. package/lib/types/models/index.d.ts +13 -5
  90. package/lib/umd/apis/ConnectionsApi.js +5 -2
  91. package/lib/umd/apis/OrganisationsApi.js +5 -2
  92. package/lib/umd/apis/SecurityRightsApi.js +5 -2
  93. package/lib/umd/apis/TenantsApi.js +5 -2
  94. package/lib/umd/apis/VerifiablePresentationsApi.js +48 -3
  95. package/lib/umd/models/ATOMGenesisRequest.js +50 -0
  96. package/lib/umd/models/AttachmentsFolderResponse.js +3 -2
  97. package/lib/umd/models/ClassificationNodesResponse.js +3 -3
  98. package/lib/umd/models/ClientTaskQueueResponse.js +3 -2
  99. package/lib/umd/models/ConnectionsResponse.js +3 -2
  100. package/lib/umd/models/DelegationInvitationsResponse.js +3 -2
  101. package/lib/umd/models/EventActivityFeedResponse.js +3 -3
  102. package/lib/umd/models/EventFeedResponse.js +3 -3
  103. package/lib/umd/models/InvitationsResponse.js +3 -2
  104. package/lib/umd/models/ItemTemplatesResponse.js +3 -2
  105. package/lib/umd/models/ItemsResponse.js +3 -2
  106. package/lib/umd/models/SharesIncomingResponse.js +3 -2
  107. package/lib/umd/models/SharesOutgoingResponse.js +3 -2
  108. package/lib/umd/models/ShreIntentListResponse.js +3 -2
  109. package/lib/umd/models/VCCreateCredentialTypeDto.js +2 -0
  110. package/lib/umd/models/VCCredentialTypeModelDto.js +3 -0
  111. package/lib/umd/models/VCCredentialTypeModelDtoSchema.js +3 -0
  112. package/lib/umd/models/VCCredentialTypeSchemaDto.js +3 -0
  113. package/lib/umd/models/VCCredentialVerificationResultResponseDto.js +3 -3
  114. package/lib/umd/models/{VCErrorResponseModel.js → VCErrorResponseDto.js} +11 -11
  115. package/lib/umd/models/VCErrorsResponseDto.js +51 -0
  116. package/lib/umd/models/VCIdTokenVerificationOptionsDto.js +59 -0
  117. package/lib/umd/models/{VCPresentationResponseVerificationResultResponseDto.js → VCIdTokenVerificationResultResponseDto.js} +15 -15
  118. package/lib/umd/models/VCOldPresentationRequestResponseVerificationResultResponseDto.js +68 -0
  119. package/lib/umd/models/VCPresentationDefinitionToSchemaModel.js +6 -0
  120. package/lib/umd/models/VCPresentationRequestResponseVerificationOptionsDto.js +65 -0
  121. package/lib/umd/models/VCPresentationRequestResponseVerificationResultResponseDto.js +80 -0
  122. package/lib/umd/models/VCPresentationRequestSubmissionModelDto.js +3 -3
  123. package/lib/umd/models/VCPresentationRequestSubmissionModelDtoVerificationResult.js +45 -0
  124. package/lib/umd/models/VCPresentationRequestUpdateSubmissionDto.js +3 -3
  125. package/lib/umd/models/VCPresentationRequestUpdateVerificationResultRequestDto.js +80 -0
  126. package/lib/umd/models/VCPresentationRequestVerificationResultResponseDto.js +3 -3
  127. package/lib/umd/models/VCPresentationVerificationOptionsDto.js +59 -0
  128. package/lib/umd/models/VCPresentationVerificationResultResponseDto.js +3 -3
  129. package/lib/umd/models/VCRequestVerificationOptionsDto.js +58 -0
  130. package/lib/umd/models/VCUpdateCredentialTypeDto.js +2 -0
  131. package/lib/umd/models/VCVerifyPresentationRequestResponsePayloadDto.js +4 -0
  132. package/lib/umd/models/VaultCollectionReport.js +74 -0
  133. package/lib/umd/models/index.js +13 -5
  134. package/package.json +1 -1
  135. package/lib/esm/models/VCPresentationRequestUpdateVerificationResultDto.js +0 -60
  136. package/lib/types/models/VCErrorResponseModel.d.ts +0 -61
  137. package/lib/types/models/VCErrorsResponseModelDto.d.ts +0 -32
  138. package/lib/types/models/VCPresentationRequestUpdateVerificationResultDto.d.ts +0 -55
  139. package/lib/types/models/VCPresentationResponseVerificationResultResponseDto.d.ts +0 -56
  140. package/lib/types/models/VaultMeta.d.ts +0 -37
  141. package/lib/umd/models/VCErrorsResponseModelDto.js +0 -51
  142. package/lib/umd/models/VCPresentationRequestUpdateVerificationResultDto.js +0 -67
  143. package/lib/umd/models/VaultMeta.js +0 -53
@@ -386,6 +386,51 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
386
386
  return yield response.value();
387
387
  });
388
388
  }
389
+ /**
390
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />
391
+ * delete presentation request submission
392
+ */
393
+ oidcPresentationsRequestsIdSubmissionsSubmissionIdDeleteRaw(requestParameters, initOverrides) {
394
+ return __awaiter(this, void 0, void 0, function* () {
395
+ if (requestParameters.id === null || requestParameters.id === undefined) {
396
+ throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling oidcPresentationsRequestsIdSubmissionsSubmissionIdDelete.');
397
+ }
398
+ if (requestParameters.submissionId === null || requestParameters.submissionId === undefined) {
399
+ throw new runtime.RequiredError('submissionId', 'Required parameter requestParameters.submissionId was null or undefined when calling oidcPresentationsRequestsIdSubmissionsSubmissionIdDelete.');
400
+ }
401
+ if (requestParameters.meecoOrganisationID === null || requestParameters.meecoOrganisationID === undefined) {
402
+ throw new runtime.RequiredError('meecoOrganisationID', 'Required parameter requestParameters.meecoOrganisationID was null or undefined when calling oidcPresentationsRequestsIdSubmissionsSubmissionIdDelete.');
403
+ }
404
+ const queryParameters = {};
405
+ const headerParameters = {};
406
+ if (requestParameters.meecoOrganisationID !== undefined && requestParameters.meecoOrganisationID !== null) {
407
+ headerParameters['Meeco-Organisation-ID'] = String(requestParameters.meecoOrganisationID);
408
+ }
409
+ if (this.configuration && this.configuration.accessToken) {
410
+ const token = this.configuration.accessToken;
411
+ const tokenString = yield token("SVX-JWT", []);
412
+ if (tokenString) {
413
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
414
+ }
415
+ }
416
+ const response = yield this.request({
417
+ path: `/oidc/presentations/requests/{id}/submissions/{submission_id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))).replace(`{${"submission_id"}}`, encodeURIComponent(String(requestParameters.submissionId))),
418
+ method: 'DELETE',
419
+ headers: headerParameters,
420
+ query: queryParameters,
421
+ }, initOverrides);
422
+ return new runtime.VoidApiResponse(response);
423
+ });
424
+ }
425
+ /**
426
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />
427
+ * delete presentation request submission
428
+ */
429
+ oidcPresentationsRequestsIdSubmissionsSubmissionIdDelete(id, submissionId, meecoOrganisationID, initOverrides) {
430
+ return __awaiter(this, void 0, void 0, function* () {
431
+ yield this.oidcPresentationsRequestsIdSubmissionsSubmissionIdDeleteRaw({ id: id, submissionId: submissionId, meecoOrganisationID: meecoOrganisationID }, initOverrides);
432
+ });
433
+ }
389
434
  /**
390
435
  * Update presentation request submission
391
436
  * Update presentation request submission
@@ -513,7 +558,7 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
513
558
  });
514
559
  }
515
560
  /**
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>
561
+ * <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
562
  * Verify a Presentation Request Submission
518
563
  */
519
564
  oidcPresentationsResponseVerifyPostRaw(requestParameters, initOverrides) {
@@ -541,11 +586,11 @@ class VerifiablePresentationsApi extends runtime.BaseAPI {
541
586
  query: queryParameters,
542
587
  body: (0, models_1.VCVerifyPresentationRequestResponsePayloadDtoToJSON)(requestParameters.vCVerifyPresentationRequestResponsePayloadDto),
543
588
  }, initOverrides);
544
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.VCPresentationResponseVerificationResultResponseDtoFromJSON)(jsonValue));
589
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.VCPresentationRequestResponseVerificationResultResponseDtoFromJSON)(jsonValue));
545
590
  });
546
591
  }
547
592
  /**
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>
593
+ * <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
594
  * Verify a Presentation Request Submission
550
595
  */
551
596
  oidcPresentationsResponseVerifyPost(vCVerifyPresentationRequestResponsePayloadDto, meecoOrganisationID, initOverrides) {
@@ -0,0 +1,50 @@
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.ATOMGenesisRequestToJSON = exports.ATOMGenesisRequestFromJSONTyped = exports.ATOMGenesisRequestFromJSON = exports.instanceOfATOMGenesisRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the ATOMGenesisRequest interface.
19
+ */
20
+ function instanceOfATOMGenesisRequest(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "user_id" in value;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfATOMGenesisRequest = instanceOfATOMGenesisRequest;
26
+ function ATOMGenesisRequestFromJSON(json) {
27
+ return ATOMGenesisRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.ATOMGenesisRequestFromJSON = ATOMGenesisRequestFromJSON;
30
+ function ATOMGenesisRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'user_id': json['user_id'],
36
+ };
37
+ }
38
+ exports.ATOMGenesisRequestFromJSONTyped = ATOMGenesisRequestFromJSONTyped;
39
+ function ATOMGenesisRequestToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'user_id': value.user_id,
48
+ };
49
+ }
50
+ exports.ATOMGenesisRequestToJSON = ATOMGenesisRequestToJSON;
@@ -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 VaultMeta_1 = require("./VaultMeta");
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, VaultMeta_1.VaultMetaFromJSON)(json['meta']),
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, VaultMeta_1.VaultMetaToJSON)(value.meta),
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 VaultMeta_1 = require("./VaultMeta");
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, VaultMeta_1.VaultMetaFromJSON)(json['meta']),
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, VaultMeta_1.VaultMetaToJSON)(value.meta),
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 VaultMeta_1 = require("./VaultMeta");
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, VaultMeta_1.VaultMetaFromJSON)(json['meta']),
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, VaultMeta_1.VaultMetaToJSON)(value.meta),
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),
@@ -21,6 +21,7 @@ function instanceOfVCCredentialTypeModelDtoSchema(value) {
21
21
  let isInstance = true;
22
22
  isInstance = isInstance && "id" in value;
23
23
  isInstance = isInstance && "schema_url" in value;
24
+ isInstance = isInstance && "name" in value;
24
25
  return isInstance;
25
26
  }
26
27
  exports.instanceOfVCCredentialTypeModelDtoSchema = instanceOfVCCredentialTypeModelDtoSchema;
@@ -35,6 +36,7 @@ function VCCredentialTypeModelDtoSchemaFromJSONTyped(json, ignoreDiscriminator)
35
36
  return {
36
37
  'id': json['id'],
37
38
  'schema_url': json['schema_url'],
39
+ 'name': json['name'],
38
40
  };
39
41
  }
40
42
  exports.VCCredentialTypeModelDtoSchemaFromJSONTyped = VCCredentialTypeModelDtoSchemaFromJSONTyped;
@@ -48,6 +50,7 @@ function VCCredentialTypeModelDtoSchemaToJSON(value) {
48
50
  return {
49
51
  'id': value.id,
50
52
  'schema_url': value.schema_url,
53
+ 'name': value.name,
51
54
  };
52
55
  }
53
56
  exports.VCCredentialTypeModelDtoSchemaToJSON = VCCredentialTypeModelDtoSchemaToJSON;
@@ -21,6 +21,7 @@ function instanceOfVCCredentialTypeSchemaDto(value) {
21
21
  let isInstance = true;
22
22
  isInstance = isInstance && "id" in value;
23
23
  isInstance = isInstance && "schema_url" in value;
24
+ isInstance = isInstance && "name" in value;
24
25
  return isInstance;
25
26
  }
26
27
  exports.instanceOfVCCredentialTypeSchemaDto = instanceOfVCCredentialTypeSchemaDto;
@@ -35,6 +36,7 @@ function VCCredentialTypeSchemaDtoFromJSONTyped(json, ignoreDiscriminator) {
35
36
  return {
36
37
  'id': json['id'],
37
38
  'schema_url': json['schema_url'],
39
+ 'name': json['name'],
38
40
  };
39
41
  }
40
42
  exports.VCCredentialTypeSchemaDtoFromJSONTyped = VCCredentialTypeSchemaDtoFromJSONTyped;
@@ -48,6 +50,7 @@ function VCCredentialTypeSchemaDtoToJSON(value) {
48
50
  return {
49
51
  'id': value.id,
50
52
  'schema_url': value.schema_url,
53
+ 'name': value.name,
51
54
  };
52
55
  }
53
56
  exports.VCCredentialTypeSchemaDtoToJSON = VCCredentialTypeSchemaDtoToJSON;
@@ -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.VCErrorResponseModelToJSON = exports.VCErrorResponseModelFromJSONTyped = exports.VCErrorResponseModelFromJSON = exports.instanceOfVCErrorResponseModel = void 0;
16
+ exports.VCErrorResponseDtoToJSON = exports.VCErrorResponseDtoFromJSONTyped = exports.VCErrorResponseDtoFromJSON = exports.instanceOfVCErrorResponseDto = void 0;
17
17
  /**
18
- * Check if a given object implements the VCErrorResponseModel interface.
18
+ * Check if a given object implements the VCErrorResponseDto interface.
19
19
  */
20
- function instanceOfVCErrorResponseModel(value) {
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.instanceOfVCErrorResponseModel = instanceOfVCErrorResponseModel;
31
- function VCErrorResponseModelFromJSON(json) {
32
- return VCErrorResponseModelFromJSONTyped(json, false);
30
+ exports.instanceOfVCErrorResponseDto = instanceOfVCErrorResponseDto;
31
+ function VCErrorResponseDtoFromJSON(json) {
32
+ return VCErrorResponseDtoFromJSONTyped(json, false);
33
33
  }
34
- exports.VCErrorResponseModelFromJSON = VCErrorResponseModelFromJSON;
35
- function VCErrorResponseModelFromJSONTyped(json, ignoreDiscriminator) {
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.VCErrorResponseModelFromJSONTyped = VCErrorResponseModelFromJSONTyped;
49
- function VCErrorResponseModelToJSON(value) {
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.VCErrorResponseModelToJSON = VCErrorResponseModelToJSON;
65
+ exports.VCErrorResponseDtoToJSON = VCErrorResponseDtoToJSON;