@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
@@ -33,6 +33,7 @@ models/ATOMComponent.ts
33
33
  models/ATOMCreateOrUpdateOrgRequest.ts
34
34
  models/ATOMCreateOrUpdateTenantRequest.ts
35
35
  models/ATOMError.ts
36
+ models/ATOMGenesisRequest.ts
36
37
  models/ATOMNewAgentRequest.ts
37
38
  models/ATOMOneAgent.ts
38
39
  models/ATOMOneOrg.ts
@@ -302,15 +303,18 @@ models/VCCredentialTypeStyleDto.ts
302
303
  models/VCCredentialTypesResponseDto.ts
303
304
  models/VCCredentialVerificationResultResponseDto.ts
304
305
  models/VCDatabase.ts
305
- models/VCErrorResponseModel.ts
306
- models/VCErrorsResponseModelDto.ts
306
+ models/VCErrorResponseDto.ts
307
+ models/VCErrorsResponseDto.ts
307
308
  models/VCGenerateCredentialDto.ts
308
309
  models/VCGenerateCredentialPayloadDto.ts
309
310
  models/VCGeneratePresentationDto.ts
310
311
  models/VCGeneratePresentationPayloadDto.ts
311
312
  models/VCHealthCheck.ts
313
+ models/VCIdTokenVerificationOptionsDto.ts
314
+ models/VCIdTokenVerificationResultResponseDto.ts
312
315
  models/VCInputDescriptorsDto.ts
313
316
  models/VCMeta.ts
317
+ models/VCOldPresentationRequestResponseVerificationResultResponseDto.ts
314
318
  models/VCOrganizationResponseDto.ts
315
319
  models/VCPaginatedCredentialsResponseDto.ts
316
320
  models/VCPaginatedPresentationDefinitionsResponseDto.ts
@@ -324,17 +328,21 @@ models/VCPresentationRequestCreateSubmissionDto.ts
324
328
  models/VCPresentationRequestIdTokenResponseDto.ts
325
329
  models/VCPresentationRequestModelDto.ts
326
330
  models/VCPresentationRequestResponseDto.ts
331
+ models/VCPresentationRequestResponseVerificationOptionsDto.ts
332
+ models/VCPresentationRequestResponseVerificationResultResponseDto.ts
327
333
  models/VCPresentationRequestSubmissionModelDto.ts
334
+ models/VCPresentationRequestSubmissionModelDtoVerificationResult.ts
328
335
  models/VCPresentationRequestSubmissionResponseDto.ts
329
336
  models/VCPresentationRequestSubmissionsResponseDto.ts
330
337
  models/VCPresentationRequestTokenPropertiesModelDto.ts
331
338
  models/VCPresentationRequestTokensModelDto.ts
332
339
  models/VCPresentationRequestUpdateSubmissionDto.ts
333
340
  models/VCPresentationRequestUpdateSubmissionPayloadDto.ts
334
- models/VCPresentationRequestUpdateVerificationResultDto.ts
341
+ models/VCPresentationRequestUpdateVerificationResultRequestDto.ts
335
342
  models/VCPresentationRequestVerificationResultResponseDto.ts
336
- models/VCPresentationResponseVerificationResultResponseDto.ts
343
+ models/VCPresentationVerificationOptionsDto.ts
337
344
  models/VCPresentationVerificationResultResponseDto.ts
345
+ models/VCRequestVerificationOptionsDto.ts
338
346
  models/VCRequiredCredentials.ts
339
347
  models/VCSchemaJSONResponseDto.ts
340
348
  models/VCSchemaResponseDto.ts
@@ -380,6 +388,7 @@ models/VaultClassificationNode.ts
380
388
  models/VaultClassificationNodeAttributes.ts
381
389
  models/VaultClassificationNodeAttributesWithDeletion.ts
382
390
  models/VaultClientTask.ts
391
+ models/VaultCollectionReport.ts
383
392
  models/VaultCompactAttachment.ts
384
393
  models/VaultCompactShareIntent.ts
385
394
  models/VaultCompactSlot.ts
@@ -420,7 +429,6 @@ models/VaultItemTemplate.ts
420
429
  models/VaultItemTemplateClassificationRequest.ts
421
430
  models/VaultItemTemplateResponse.ts
422
431
  models/VaultMeResponse.ts
423
- models/VaultMeta.ts
424
432
  models/VaultNestedSlotAttributes.ts
425
433
  models/VaultOrganization.ts
426
434
  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
  }
@@ -430,6 +430,9 @@ export class OrganisationsApi extends runtime.BaseAPI {
430
430
  if (requestParameters.status !== undefined) {
431
431
  queryParameters['status'] = requestParameters.status;
432
432
  }
433
+ if (requestParameters.email !== undefined) {
434
+ queryParameters['email'] = requestParameters.email;
435
+ }
433
436
  if (requestParameters.perPage !== undefined) {
434
437
  queryParameters['per_page'] = requestParameters.perPage;
435
438
  }
@@ -463,9 +466,9 @@ export class OrganisationsApi extends runtime.BaseAPI {
463
466
  * List admins of an organisation. It is also possible to request a list of archived admins of the organisation, that is, users who used to have organisation security rights for the given organisation, but do not have them now. In order to execute this action the current user must have * security right `atom:org:list_org_admins` for the organisation with the ID in parameter `org_id` or * security right `atom:tenant:list_admins_of_all_orgs_of_tenant` for the parent tenant of the organisation `org_id` or * global security right `atom:global:list_admins_of_all_orgs
464
467
  * List admins of an organisation
465
468
  */
466
- orgsOrgIdAdminsGet(orgId, status, perPage, page, order, nextPageAfter, initOverrides) {
469
+ orgsOrgIdAdminsGet(orgId, status, email, perPage, page, order, nextPageAfter, initOverrides) {
467
470
  return __awaiter(this, void 0, void 0, function* () {
468
- const response = yield this.orgsOrgIdAdminsGetRaw({ orgId: orgId, status: status, perPage: perPage, page: page, order: order, nextPageAfter: nextPageAfter }, initOverrides);
471
+ const response = yield this.orgsOrgIdAdminsGetRaw({ orgId: orgId, status: status, email: email, perPage: perPage, page: page, order: order, nextPageAfter: nextPageAfter }, initOverrides);
469
472
  return yield response.value();
470
473
  });
471
474
  }
@@ -113,6 +113,9 @@ export class SecurityRightsApi extends runtime.BaseAPI {
113
113
  globalAdminsGetRaw(requestParameters, initOverrides) {
114
114
  return __awaiter(this, void 0, void 0, function* () {
115
115
  const queryParameters = {};
116
+ if (requestParameters.email !== undefined) {
117
+ queryParameters['email'] = requestParameters.email;
118
+ }
116
119
  if (requestParameters.status !== undefined) {
117
120
  queryParameters['status'] = requestParameters.status;
118
121
  }
@@ -149,9 +152,9 @@ export class SecurityRightsApi extends runtime.BaseAPI {
149
152
  * List all users with global security rights. It is also possible to request a list of archived global admins, that is, users who used to have global security rights, but do not have them now. In order to execute this action the current user must have \"security right `atom:global:assign_global_sr_to_user`.
150
153
  * List all users with global security rights
151
154
  */
152
- globalAdminsGet(status, perPage, order, page, nextPageAfter, initOverrides) {
155
+ globalAdminsGet(email, status, perPage, order, page, nextPageAfter, initOverrides) {
153
156
  return __awaiter(this, void 0, void 0, function* () {
154
- const response = yield this.globalAdminsGetRaw({ status: status, perPage: perPage, order: order, page: page, nextPageAfter: nextPageAfter }, initOverrides);
157
+ const response = yield this.globalAdminsGetRaw({ email: email, status: status, perPage: perPage, order: order, page: page, nextPageAfter: nextPageAfter }, initOverrides);
155
158
  return yield response.value();
156
159
  });
157
160
  }
@@ -318,6 +318,9 @@ export class TenantsApi extends runtime.BaseAPI {
318
318
  if (requestParameters.status !== undefined) {
319
319
  queryParameters['status'] = requestParameters.status;
320
320
  }
321
+ if (requestParameters.email !== undefined) {
322
+ queryParameters['email'] = requestParameters.email;
323
+ }
321
324
  if (requestParameters.perPage !== undefined) {
322
325
  queryParameters['per_page'] = requestParameters.perPage;
323
326
  }
@@ -351,9 +354,9 @@ export class TenantsApi extends runtime.BaseAPI {
351
354
  * List admins of a tenant. In order to execute this action the current user must have In order to execute this action the current user must have security right `atom:tenant:list_tenant_admins` for the tenant with the ID in parameter `tenant_id`
352
355
  * List admins of a tenant
353
356
  */
354
- tenantsTenantIdAdminsGet(tenantId, status, perPage, order, page, nextPageAfter, initOverrides) {
357
+ tenantsTenantIdAdminsGet(tenantId, status, email, perPage, order, page, nextPageAfter, initOverrides) {
355
358
  return __awaiter(this, void 0, void 0, function* () {
356
- const response = yield this.tenantsTenantIdAdminsGetRaw({ tenantId: tenantId, status: status, perPage: perPage, order: order, page: page, nextPageAfter: nextPageAfter }, initOverrides);
359
+ const response = yield this.tenantsTenantIdAdminsGetRaw({ tenantId: tenantId, status: status, email: email, perPage: perPage, order: order, page: page, nextPageAfter: nextPageAfter }, initOverrides);
357
360
  return yield response.value();
358
361
  });
359
362
  }
@@ -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, VCPresentationResponseVerificationResultResponseDtoFromJSON, VCPresentationVerificationResultResponseDtoFromJSON, VCUnsignedPresentationResponseDtoFromJSON, VCUpdatePresentationRequestPayloadDtoToJSON, VCVerifyPresentationRequestPayloadDtoToJSON, VCVerifyPresentationRequestResponsePayloadDtoToJSON, VCVerifySignedPresentationRequestPayloadDtoToJSON, } from '../models';
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
  */
@@ -360,6 +360,51 @@ export class VerifiablePresentationsApi extends runtime.BaseAPI {
360
360
  return yield response.value();
361
361
  });
362
362
  }
363
+ /**
364
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />
365
+ * delete presentation request submission
366
+ */
367
+ oidcPresentationsRequestsIdSubmissionsSubmissionIdDeleteRaw(requestParameters, initOverrides) {
368
+ return __awaiter(this, void 0, void 0, function* () {
369
+ if (requestParameters.id === null || requestParameters.id === undefined) {
370
+ throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling oidcPresentationsRequestsIdSubmissionsSubmissionIdDelete.');
371
+ }
372
+ if (requestParameters.submissionId === null || requestParameters.submissionId === undefined) {
373
+ throw new runtime.RequiredError('submissionId', 'Required parameter requestParameters.submissionId was null or undefined when calling oidcPresentationsRequestsIdSubmissionsSubmissionIdDelete.');
374
+ }
375
+ if (requestParameters.meecoOrganisationID === null || requestParameters.meecoOrganisationID === undefined) {
376
+ throw new runtime.RequiredError('meecoOrganisationID', 'Required parameter requestParameters.meecoOrganisationID was null or undefined when calling oidcPresentationsRequestsIdSubmissionsSubmissionIdDelete.');
377
+ }
378
+ const queryParameters = {};
379
+ const headerParameters = {};
380
+ if (requestParameters.meecoOrganisationID !== undefined && requestParameters.meecoOrganisationID !== null) {
381
+ headerParameters['Meeco-Organisation-ID'] = String(requestParameters.meecoOrganisationID);
382
+ }
383
+ if (this.configuration && this.configuration.accessToken) {
384
+ const token = this.configuration.accessToken;
385
+ const tokenString = yield token("SVX-JWT", []);
386
+ if (tokenString) {
387
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
388
+ }
389
+ }
390
+ const response = yield this.request({
391
+ path: `/oidc/presentations/requests/{id}/submissions/{submission_id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))).replace(`{${"submission_id"}}`, encodeURIComponent(String(requestParameters.submissionId))),
392
+ method: 'DELETE',
393
+ headers: headerParameters,
394
+ query: queryParameters,
395
+ }, initOverrides);
396
+ return new runtime.VoidApiResponse(response);
397
+ });
398
+ }
399
+ /**
400
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />
401
+ * delete presentation request submission
402
+ */
403
+ oidcPresentationsRequestsIdSubmissionsSubmissionIdDelete(id, submissionId, meecoOrganisationID, initOverrides) {
404
+ return __awaiter(this, void 0, void 0, function* () {
405
+ yield this.oidcPresentationsRequestsIdSubmissionsSubmissionIdDeleteRaw({ id: id, submissionId: submissionId, meecoOrganisationID: meecoOrganisationID }, initOverrides);
406
+ });
407
+ }
363
408
  /**
364
409
  * Update presentation request submission
365
410
  * Update presentation request submission
@@ -487,7 +532,7 @@ export class VerifiablePresentationsApi extends runtime.BaseAPI {
487
532
  });
488
533
  }
489
534
  /**
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>
535
+ * <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
536
  * Verify a Presentation Request Submission
492
537
  */
493
538
  oidcPresentationsResponseVerifyPostRaw(requestParameters, initOverrides) {
@@ -515,11 +560,11 @@ export class VerifiablePresentationsApi extends runtime.BaseAPI {
515
560
  query: queryParameters,
516
561
  body: VCVerifyPresentationRequestResponsePayloadDtoToJSON(requestParameters.vCVerifyPresentationRequestResponsePayloadDto),
517
562
  }, initOverrides);
518
- return new runtime.JSONApiResponse(response, (jsonValue) => VCPresentationResponseVerificationResultResponseDtoFromJSON(jsonValue));
563
+ return new runtime.JSONApiResponse(response, (jsonValue) => VCPresentationRequestResponseVerificationResultResponseDtoFromJSON(jsonValue));
519
564
  });
520
565
  }
521
566
  /**
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>
567
+ * <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
568
  * Verify a Presentation Request Submission
524
569
  */
525
570
  oidcPresentationsResponseVerifyPost(vCVerifyPresentationRequestResponsePayloadDto, meecoOrganisationID, initOverrides) {
@@ -12,27 +12,25 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the VaultMeta interface.
15
+ * Check if a given object implements the ATOMGenesisRequest interface.
16
16
  */
17
- export function instanceOfVaultMeta(value) {
17
+ export function instanceOfATOMGenesisRequest(value) {
18
18
  let isInstance = true;
19
- isInstance = isInstance && "pages" in value;
20
- isInstance = isInstance && "total_count" in value;
19
+ isInstance = isInstance && "user_id" in value;
21
20
  return isInstance;
22
21
  }
23
- export function VaultMetaFromJSON(json) {
24
- return VaultMetaFromJSONTyped(json, false);
22
+ export function ATOMGenesisRequestFromJSON(json) {
23
+ return ATOMGenesisRequestFromJSONTyped(json, false);
25
24
  }
26
- export function VaultMetaFromJSONTyped(json, ignoreDiscriminator) {
25
+ export function ATOMGenesisRequestFromJSONTyped(json, ignoreDiscriminator) {
27
26
  if ((json === undefined) || (json === null)) {
28
27
  return json;
29
28
  }
30
29
  return {
31
- 'pages': json['pages'],
32
- 'total_count': json['total_count'],
30
+ 'user_id': json['user_id'],
33
31
  };
34
32
  }
35
- export function VaultMetaToJSON(value) {
33
+ export function ATOMGenesisRequestToJSON(value) {
36
34
  if (value === undefined) {
37
35
  return undefined;
38
36
  }
@@ -40,7 +38,6 @@ export function VaultMetaToJSON(value) {
40
38
  return null;
41
39
  }
42
40
  return {
43
- 'pages': value.pages,
44
- 'total_count': value.total_count,
41
+ 'user_id': value.user_id,
45
42
  };
46
43
  }
@@ -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 { VaultMetaFromJSON, VaultMetaToJSON, } from './VaultMeta';
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': VaultMetaFromJSON(json['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': VaultMetaToJSON(value.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 { VaultMetaFromJSON, VaultMetaToJSON, } from './VaultMeta';
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': VaultMetaFromJSON(json['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': VaultMetaToJSON(value.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 { VaultMetaFromJSON, VaultMetaToJSON, } from './VaultMeta';
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': VaultMetaFromJSON(json['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': VaultMetaToJSON(value.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
  }