@meeco/svx-api-sdk 1.0.0-stage.20240502114933.d123429 → 1.0.0-stage.20240624095554.3e253ce

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 (62) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/lib/esm/apis/ConnectionsApi.js +69 -69
  3. package/lib/esm/apis/HelpersApi.js +14 -8
  4. package/lib/esm/apis/ItemsApi.js +24 -24
  5. package/lib/esm/apis/OrganisationsApi.js +176 -176
  6. package/lib/esm/apis/SecurityRightsApi.js +80 -80
  7. package/lib/esm/apis/SharesApi.js +24 -24
  8. package/lib/esm/apis/TenantsApi.js +174 -174
  9. package/lib/esm/apis/VerifiableCredentialsApi.js +12 -6
  10. package/lib/esm/apis/VerifiablePresentationsApi.js +1 -0
  11. package/lib/esm/models/ATOMBlobInfo.js +8 -0
  12. package/lib/esm/models/ATOMBlobPublicInfo.js +6 -0
  13. package/lib/esm/models/ATOMFileStorageBackend.js +45 -0
  14. package/lib/esm/models/ATOMFileStorageConfiguration.js +46 -0
  15. package/lib/esm/models/VCCredentialTypeModelDtoSchema.js +6 -0
  16. package/lib/esm/models/VCCredentialTypeSchemaDto.js +6 -0
  17. package/lib/esm/models/VCInputDescriptorsDto.js +3 -0
  18. package/lib/esm/models/VCPresentationDefinitionDto.js +0 -3
  19. package/lib/esm/models/VCPresentationDefinitionToSchemaModel.js +3 -0
  20. package/lib/esm/models/VCVerifyPresentationRequestResponseDto.js +3 -2
  21. package/lib/esm/models/index.js +2 -0
  22. package/lib/types/apis/ConnectionsApi.d.ts +36 -36
  23. package/lib/types/apis/HelpersApi.d.ts +8 -7
  24. package/lib/types/apis/ItemsApi.d.ts +18 -18
  25. package/lib/types/apis/OrganisationsApi.d.ts +82 -82
  26. package/lib/types/apis/SecurityRightsApi.d.ts +28 -28
  27. package/lib/types/apis/SharesApi.d.ts +16 -16
  28. package/lib/types/apis/TenantsApi.d.ts +82 -82
  29. package/lib/types/apis/VerifiableCredentialsApi.d.ts +6 -4
  30. package/lib/types/apis/VerifiablePresentationsApi.d.ts +1 -0
  31. package/lib/types/models/ATOMBlobInfo.d.ts +18 -0
  32. package/lib/types/models/ATOMBlobPublicInfo.d.ts +12 -0
  33. package/lib/types/models/ATOMFileStorageBackend.d.ts +37 -0
  34. package/lib/types/models/ATOMFileStorageConfiguration.d.ts +38 -0
  35. package/lib/types/models/VCCredentialTypeModelDtoSchema.d.ts +12 -0
  36. package/lib/types/models/VCCredentialTypeSchemaDto.d.ts +12 -0
  37. package/lib/types/models/VCInputDescriptorsDto.d.ts +7 -0
  38. package/lib/types/models/VCPresentationDefinitionDto.d.ts +0 -7
  39. package/lib/types/models/VCPresentationDefinitionToSchemaModel.d.ts +6 -0
  40. package/lib/types/models/VCVerifyPresentationRequestResponseDto.d.ts +7 -1
  41. package/lib/types/models/index.d.ts +2 -0
  42. package/lib/umd/apis/ConnectionsApi.js +69 -69
  43. package/lib/umd/apis/HelpersApi.js +14 -8
  44. package/lib/umd/apis/ItemsApi.js +24 -24
  45. package/lib/umd/apis/OrganisationsApi.js +176 -176
  46. package/lib/umd/apis/SecurityRightsApi.js +80 -80
  47. package/lib/umd/apis/SharesApi.js +24 -24
  48. package/lib/umd/apis/TenantsApi.js +174 -174
  49. package/lib/umd/apis/VerifiableCredentialsApi.js +12 -6
  50. package/lib/umd/apis/VerifiablePresentationsApi.js +1 -0
  51. package/lib/umd/models/ATOMBlobInfo.js +8 -0
  52. package/lib/umd/models/ATOMBlobPublicInfo.js +6 -0
  53. package/lib/umd/models/ATOMFileStorageBackend.js +52 -0
  54. package/lib/umd/models/ATOMFileStorageConfiguration.js +53 -0
  55. package/lib/umd/models/VCCredentialTypeModelDtoSchema.js +6 -0
  56. package/lib/umd/models/VCCredentialTypeSchemaDto.js +6 -0
  57. package/lib/umd/models/VCInputDescriptorsDto.js +3 -0
  58. package/lib/umd/models/VCPresentationDefinitionDto.js +0 -3
  59. package/lib/umd/models/VCPresentationDefinitionToSchemaModel.js +3 -0
  60. package/lib/umd/models/VCVerifyPresentationRequestResponseDto.js +3 -2
  61. package/lib/umd/models/index.js +2 -0
  62. package/package.json +1 -1
@@ -65,6 +65,9 @@ class VerifiableCredentialsApi extends runtime.BaseAPI {
65
65
  if (requestParameters.status !== undefined) {
66
66
  queryParameters['status'] = requestParameters.status;
67
67
  }
68
+ if (requestParameters.search !== undefined) {
69
+ queryParameters['search'] = requestParameters.search;
70
+ }
68
71
  if (requestParameters.order !== undefined) {
69
72
  queryParameters['order'] = requestParameters.order;
70
73
  }
@@ -101,9 +104,9 @@ class VerifiableCredentialsApi extends runtime.BaseAPI {
101
104
  * <h4>Requires no security rights</h4><br /><p>Endpoint works for a tenant and organisation user based on the <b>Meeco-Organisation-ID</b> header.</p><p>Returns a list of credential types available to the caller.</p><p>In case of tenant context, endpoint returns all credential types available in the tenancy.</p><p>In case of organization context, <b>organizations</b> list always contains only one item - caller organization ID.</p>
102
105
  * List available credential types
103
106
  */
104
- credentialTypesGet(externalIssuerEnabled, status, meecoOrganisationID, order, orderBy, perPage, page, initOverrides) {
107
+ credentialTypesGet(externalIssuerEnabled, status, search, meecoOrganisationID, order, orderBy, perPage, page, initOverrides) {
105
108
  return __awaiter(this, void 0, void 0, function* () {
106
- const response = yield this.credentialTypesGetRaw({ externalIssuerEnabled: externalIssuerEnabled, status: status, meecoOrganisationID: meecoOrganisationID, order: order, orderBy: orderBy, perPage: perPage, page: page }, initOverrides);
109
+ const response = yield this.credentialTypesGetRaw({ externalIssuerEnabled: externalIssuerEnabled, status: status, search: search, meecoOrganisationID: meecoOrganisationID, order: order, orderBy: orderBy, perPage: perPage, page: page }, initOverrides);
107
110
  return yield response.value();
108
111
  });
109
112
  }
@@ -330,7 +333,7 @@ class VerifiableCredentialsApi extends runtime.BaseAPI {
330
333
  });
331
334
  }
332
335
  /**
333
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><hr /><p>Generates unsigned verifiable credential token in JWT format. Client is expected to sign it with a private key.</p><hr /><p>An example of how credential signing in Javascript:</p><pre><code>import { generateKeyPairFromSeed } from \'@stablelib/ed25519\'; <br />import { EdDSASigner, hexToBytes } from \'did-jwt\'; <br /><br />const key = generateKeyPairFromSeed(hexToBytes(SECRET_HEX)); <br />const signerFn = EdDSASigner(key.secretKey); <br /><br />const signature = await signerFn(unsignedJwt); <br />const vcJwt = [unsignedJwt, signature].join(\'.\');</code></pre><hr /><br /><h4>Issuer property caveat</h4><p>We use <b>openapi-generator</b> to generate Typescript SDK for the given API swagger definition. However, <b>openapi-generator</b> does not support <b>oneOf</b> configuration properly and generates an invalid Typescript SDK. To avoid the problem, swagger defines <b>issuer</b> property only as string for the moment. While in fact, endpoint accepts issuer as an object in format of <code>{id: string; name: string;}</code> as well.</p><br /><h4>Type property caveat</h4><p> <code>Type</code> is required for <code>vc+sd-jwt</code> format and must be a string <br /> however, endpoint accepts <code>Type</code> as an Array of string for <code>JWT VC</code> in format of <code>[\"VerifiableCredential\", \"AlumniCredential\"]</code> as well. <br /></p>
336
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><hr /><p>Generates unsigned verifiable credential token in JWT format. Client is expected to sign it with a private key.</p><hr /><p>An example of how credential signing in Javascript:</p><pre><code>import { Ed25519 } from \'@meeco/sdk\'; <br />import { EdDSASigner, hexToBytes } from \'did-jwt\'; <br /><br />const key = new Ed25519(hexToBytes(SEED_HEX)); <br />const signerFn = EdDSASigner(key.getSecretKey()); <br /><br />const signature = await signerFn(unsignedJwt); <br />const vcJwt = [unsignedJwt, signature].join(\'.\');</code></pre><hr /><br /><h4>Issuer property caveat</h4><p>We use <b>openapi-generator</b> to generate Typescript SDK for the given API swagger definition. However, <b>openapi-generator</b> does not support <b>oneOf</b> configuration properly and generates an invalid Typescript SDK. To avoid the problem, swagger defines <b>issuer</b> property only as string for the moment. While in fact, endpoint accepts issuer as an object in format of <code>{id: string; name: string;}</code> as well.</p><br /><h4>Type property caveat</h4><p> <code>Type</code> is required for <code>vc+sd-jwt</code> format and must be a string <br /> however, endpoint accepts <code>Type</code> as an Array of string for <code>JWT VC</code> in format of <code>[\"VerifiableCredential\", \"AlumniCredential\"]</code> as well. <br /></p>
334
337
  * Generate credential based on type and claims provided
335
338
  */
336
339
  credentialsGeneratePostRaw(requestParameters, initOverrides) {
@@ -368,7 +371,7 @@ class VerifiableCredentialsApi extends runtime.BaseAPI {
368
371
  });
369
372
  }
370
373
  /**
371
- * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><hr /><p>Generates unsigned verifiable credential token in JWT format. Client is expected to sign it with a private key.</p><hr /><p>An example of how credential signing in Javascript:</p><pre><code>import { generateKeyPairFromSeed } from \'@stablelib/ed25519\'; <br />import { EdDSASigner, hexToBytes } from \'did-jwt\'; <br /><br />const key = generateKeyPairFromSeed(hexToBytes(SECRET_HEX)); <br />const signerFn = EdDSASigner(key.secretKey); <br /><br />const signature = await signerFn(unsignedJwt); <br />const vcJwt = [unsignedJwt, signature].join(\'.\');</code></pre><hr /><br /><h4>Issuer property caveat</h4><p>We use <b>openapi-generator</b> to generate Typescript SDK for the given API swagger definition. However, <b>openapi-generator</b> does not support <b>oneOf</b> configuration properly and generates an invalid Typescript SDK. To avoid the problem, swagger defines <b>issuer</b> property only as string for the moment. While in fact, endpoint accepts issuer as an object in format of <code>{id: string; name: string;}</code> as well.</p><br /><h4>Type property caveat</h4><p> <code>Type</code> is required for <code>vc+sd-jwt</code> format and must be a string <br /> however, endpoint accepts <code>Type</code> as an Array of string for <code>JWT VC</code> in format of <code>[\"VerifiableCredential\", \"AlumniCredential\"]</code> as well. <br /></p>
374
+ * <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br /><hr /><p>Generates unsigned verifiable credential token in JWT format. Client is expected to sign it with a private key.</p><hr /><p>An example of how credential signing in Javascript:</p><pre><code>import { Ed25519 } from \'@meeco/sdk\'; <br />import { EdDSASigner, hexToBytes } from \'did-jwt\'; <br /><br />const key = new Ed25519(hexToBytes(SEED_HEX)); <br />const signerFn = EdDSASigner(key.getSecretKey()); <br /><br />const signature = await signerFn(unsignedJwt); <br />const vcJwt = [unsignedJwt, signature].join(\'.\');</code></pre><hr /><br /><h4>Issuer property caveat</h4><p>We use <b>openapi-generator</b> to generate Typescript SDK for the given API swagger definition. However, <b>openapi-generator</b> does not support <b>oneOf</b> configuration properly and generates an invalid Typescript SDK. To avoid the problem, swagger defines <b>issuer</b> property only as string for the moment. While in fact, endpoint accepts issuer as an object in format of <code>{id: string; name: string;}</code> as well.</p><br /><h4>Type property caveat</h4><p> <code>Type</code> is required for <code>vc+sd-jwt</code> format and must be a string <br /> however, endpoint accepts <code>Type</code> as an Array of string for <code>JWT VC</code> in format of <code>[\"VerifiableCredential\", \"AlumniCredential\"]</code> as well. <br /></p>
372
375
  * Generate credential based on type and claims provided
373
376
  */
374
377
  credentialsGeneratePost(meecoOrganisationID, vCGenerateCredentialPayloadDto, accept, initOverrides) {
@@ -568,6 +571,9 @@ class VerifiableCredentialsApi extends runtime.BaseAPI {
568
571
  if (requestParameters.status !== undefined) {
569
572
  queryParameters['status'] = requestParameters.status;
570
573
  }
574
+ if (requestParameters.search !== undefined) {
575
+ queryParameters['search'] = requestParameters.search;
576
+ }
571
577
  if (requestParameters.order !== undefined) {
572
578
  queryParameters['order'] = requestParameters.order;
573
579
  }
@@ -604,9 +610,9 @@ class VerifiableCredentialsApi extends runtime.BaseAPI {
604
610
  * <p>Endpoint works for a tenant and organisation user based on the <b>Meeco-Organisation-ID</b> header.</p><p>Returns a list of schemas available to the caller.</p><p>In case of organization context, <b>organization_ids</b> list always contains only one item - caller organization ID.</p>
605
611
  * List available schemas
606
612
  */
607
- schemasGet(status, meecoOrganisationID, order, orderBy, perPage, page, initOverrides) {
613
+ schemasGet(status, search, meecoOrganisationID, order, orderBy, perPage, page, initOverrides) {
608
614
  return __awaiter(this, void 0, void 0, function* () {
609
- const response = yield this.schemasGetRaw({ status: status, meecoOrganisationID: meecoOrganisationID, order: order, orderBy: orderBy, perPage: perPage, page: page }, initOverrides);
615
+ const response = yield this.schemasGetRaw({ status: status, search: search, meecoOrganisationID: meecoOrganisationID, order: order, orderBy: orderBy, perPage: perPage, page: page }, initOverrides);
610
616
  return yield response.value();
611
617
  });
612
618
  }
@@ -1055,6 +1055,7 @@ exports.OidcPresentationsRequestsGetOrderEnum = {
1055
1055
  */
1056
1056
  exports.OidcPresentationsRequestsGetOrderByEnum = {
1057
1057
  CreatedAt: 'created_at',
1058
+ UpdatedAt: 'updated_at',
1058
1059
  Name: 'name'
1059
1060
  };
1060
1061
  /**
@@ -23,6 +23,8 @@ function instanceOfATOMBlobInfo(value) {
23
23
  isInstance = isInstance && "content_type" in value;
24
24
  isInstance = isInstance && "filename" in value;
25
25
  isInstance = isInstance && "key" in value;
26
+ isInstance = isInstance && "storage_backend_name" in value;
27
+ isInstance = isInstance && "storage_backend_type" in value;
26
28
  isInstance = isInstance && "uploaded" in value;
27
29
  return isInstance;
28
30
  }
@@ -40,6 +42,9 @@ function ATOMBlobInfoFromJSONTyped(json, ignoreDiscriminator) {
40
42
  'filename': json['filename'],
41
43
  'key': json['key'],
42
44
  'read_url': !(0, runtime_1.exists)(json, 'read_url') ? undefined : json['read_url'],
45
+ 'storage_backend_name': json['storage_backend_name'],
46
+ 'storage_backend_type': json['storage_backend_type'],
47
+ 'upload_headers': !(0, runtime_1.exists)(json, 'upload_headers') ? undefined : json['upload_headers'],
43
48
  'upload_url': !(0, runtime_1.exists)(json, 'upload_url') ? undefined : json['upload_url'],
44
49
  'upload_url_expires_in_seconds': !(0, runtime_1.exists)(json, 'upload_url_expires_in_seconds') ? undefined : json['upload_url_expires_in_seconds'],
45
50
  'uploaded': json['uploaded'],
@@ -58,6 +63,9 @@ function ATOMBlobInfoToJSON(value) {
58
63
  'filename': value.filename,
59
64
  'key': value.key,
60
65
  'read_url': value.read_url,
66
+ 'storage_backend_name': value.storage_backend_name,
67
+ 'storage_backend_type': value.storage_backend_type,
68
+ 'upload_headers': value.upload_headers,
61
69
  'upload_url': value.upload_url,
62
70
  'upload_url_expires_in_seconds': value.upload_url_expires_in_seconds,
63
71
  'uploaded': value.uploaded,
@@ -23,6 +23,8 @@ function instanceOfATOMBlobPublicInfo(value) {
23
23
  isInstance = isInstance && "content_type" in value;
24
24
  isInstance = isInstance && "filename" in value;
25
25
  isInstance = isInstance && "key" in value;
26
+ isInstance = isInstance && "storage_backend_name" in value;
27
+ isInstance = isInstance && "storage_backend_type" in value;
26
28
  isInstance = isInstance && "uploaded" in value;
27
29
  return isInstance;
28
30
  }
@@ -40,6 +42,8 @@ function ATOMBlobPublicInfoFromJSONTyped(json, ignoreDiscriminator) {
40
42
  'filename': json['filename'],
41
43
  'key': json['key'],
42
44
  'read_url': !(0, runtime_1.exists)(json, 'read_url') ? undefined : json['read_url'],
45
+ 'storage_backend_name': json['storage_backend_name'],
46
+ 'storage_backend_type': json['storage_backend_type'],
43
47
  'uploaded': json['uploaded'],
44
48
  };
45
49
  }
@@ -56,6 +60,8 @@ function ATOMBlobPublicInfoToJSON(value) {
56
60
  'filename': value.filename,
57
61
  'key': value.key,
58
62
  'read_url': value.read_url,
63
+ 'storage_backend_name': value.storage_backend_name,
64
+ 'storage_backend_type': value.storage_backend_type,
59
65
  'uploaded': value.uploaded,
60
66
  };
61
67
  }
@@ -0,0 +1,52 @@
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.3.5
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.ATOMFileStorageBackendToJSON = exports.ATOMFileStorageBackendFromJSONTyped = exports.ATOMFileStorageBackendFromJSON = exports.instanceOfATOMFileStorageBackend = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the ATOMFileStorageBackend interface.
20
+ */
21
+ function instanceOfATOMFileStorageBackend(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfATOMFileStorageBackend = instanceOfATOMFileStorageBackend;
26
+ function ATOMFileStorageBackendFromJSON(json) {
27
+ return ATOMFileStorageBackendFromJSONTyped(json, false);
28
+ }
29
+ exports.ATOMFileStorageBackendFromJSON = ATOMFileStorageBackendFromJSON;
30
+ function ATOMFileStorageBackendFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'cloud': !(0, runtime_1.exists)(json, 'cloud') ? undefined : json['cloud'],
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ };
38
+ }
39
+ exports.ATOMFileStorageBackendFromJSONTyped = ATOMFileStorageBackendFromJSONTyped;
40
+ function ATOMFileStorageBackendToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'cloud': value.cloud,
49
+ 'name': value.name,
50
+ };
51
+ }
52
+ exports.ATOMFileStorageBackendToJSON = ATOMFileStorageBackendToJSON;
@@ -0,0 +1,53 @@
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.3.5
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.ATOMFileStorageConfigurationToJSON = exports.ATOMFileStorageConfigurationFromJSONTyped = exports.ATOMFileStorageConfigurationFromJSON = exports.instanceOfATOMFileStorageConfiguration = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const ATOMFileStorageBackend_1 = require("./ATOMFileStorageBackend");
19
+ /**
20
+ * Check if a given object implements the ATOMFileStorageConfiguration interface.
21
+ */
22
+ function instanceOfATOMFileStorageConfiguration(value) {
23
+ let isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfATOMFileStorageConfiguration = instanceOfATOMFileStorageConfiguration;
27
+ function ATOMFileStorageConfigurationFromJSON(json) {
28
+ return ATOMFileStorageConfigurationFromJSONTyped(json, false);
29
+ }
30
+ exports.ATOMFileStorageConfigurationFromJSON = ATOMFileStorageConfigurationFromJSON;
31
+ function ATOMFileStorageConfigurationFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'default_storage_backend': !(0, runtime_1.exists)(json, 'default_storage_backend') ? undefined : json['default_storage_backend'],
37
+ 'storage_backends': !(0, runtime_1.exists)(json, 'storage_backends') ? undefined : (json['storage_backends'].map(ATOMFileStorageBackend_1.ATOMFileStorageBackendFromJSON)),
38
+ };
39
+ }
40
+ exports.ATOMFileStorageConfigurationFromJSONTyped = ATOMFileStorageConfigurationFromJSONTyped;
41
+ function ATOMFileStorageConfigurationToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'default_storage_backend': value.default_storage_backend,
50
+ 'storage_backends': value.storage_backends === undefined ? undefined : (value.storage_backends.map(ATOMFileStorageBackend_1.ATOMFileStorageBackendToJSON)),
51
+ };
52
+ }
53
+ exports.ATOMFileStorageConfigurationToJSON = ATOMFileStorageConfigurationToJSON;
@@ -22,6 +22,8 @@ function instanceOfVCCredentialTypeModelDtoSchema(value) {
22
22
  isInstance = isInstance && "id" in value;
23
23
  isInstance = isInstance && "schema_url" in value;
24
24
  isInstance = isInstance && "name" in value;
25
+ isInstance = isInstance && "archived" in value;
26
+ isInstance = isInstance && "version" in value;
25
27
  return isInstance;
26
28
  }
27
29
  exports.instanceOfVCCredentialTypeModelDtoSchema = instanceOfVCCredentialTypeModelDtoSchema;
@@ -37,6 +39,8 @@ function VCCredentialTypeModelDtoSchemaFromJSONTyped(json, ignoreDiscriminator)
37
39
  'id': json['id'],
38
40
  'schema_url': json['schema_url'],
39
41
  'name': json['name'],
42
+ 'archived': json['archived'],
43
+ 'version': json['version'],
40
44
  };
41
45
  }
42
46
  exports.VCCredentialTypeModelDtoSchemaFromJSONTyped = VCCredentialTypeModelDtoSchemaFromJSONTyped;
@@ -51,6 +55,8 @@ function VCCredentialTypeModelDtoSchemaToJSON(value) {
51
55
  'id': value.id,
52
56
  'schema_url': value.schema_url,
53
57
  'name': value.name,
58
+ 'archived': value.archived,
59
+ 'version': value.version,
54
60
  };
55
61
  }
56
62
  exports.VCCredentialTypeModelDtoSchemaToJSON = VCCredentialTypeModelDtoSchemaToJSON;
@@ -22,6 +22,8 @@ function instanceOfVCCredentialTypeSchemaDto(value) {
22
22
  isInstance = isInstance && "id" in value;
23
23
  isInstance = isInstance && "schema_url" in value;
24
24
  isInstance = isInstance && "name" in value;
25
+ isInstance = isInstance && "archived" in value;
26
+ isInstance = isInstance && "version" in value;
25
27
  return isInstance;
26
28
  }
27
29
  exports.instanceOfVCCredentialTypeSchemaDto = instanceOfVCCredentialTypeSchemaDto;
@@ -37,6 +39,8 @@ function VCCredentialTypeSchemaDtoFromJSONTyped(json, ignoreDiscriminator) {
37
39
  'id': json['id'],
38
40
  'schema_url': json['schema_url'],
39
41
  'name': json['name'],
42
+ 'archived': json['archived'],
43
+ 'version': json['version'],
40
44
  };
41
45
  }
42
46
  exports.VCCredentialTypeSchemaDtoFromJSONTyped = VCCredentialTypeSchemaDtoFromJSONTyped;
@@ -51,6 +55,8 @@ function VCCredentialTypeSchemaDtoToJSON(value) {
51
55
  'id': value.id,
52
56
  'schema_url': value.schema_url,
53
57
  'name': value.name,
58
+ 'archived': value.archived,
59
+ 'version': value.version,
54
60
  };
55
61
  }
56
62
  exports.VCCredentialTypeSchemaDtoToJSON = VCCredentialTypeSchemaDtoToJSON;
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.VCInputDescriptorsDtoToJSON = exports.VCInputDescriptorsDtoFromJSONTyped = exports.VCInputDescriptorsDtoFromJSON = exports.instanceOfVCInputDescriptorsDto = void 0;
17
17
  const runtime_1 = require("../runtime");
18
18
  const VCConstraintsDto_1 = require("./VCConstraintsDto");
19
+ const VCFormatDto_1 = require("./VCFormatDto");
19
20
  const VCShemasDto_1 = require("./VCShemasDto");
20
21
  /**
21
22
  * Check if a given object implements the VCInputDescriptorsDto interface.
@@ -41,6 +42,7 @@ function VCInputDescriptorsDtoFromJSONTyped(json, ignoreDiscriminator) {
41
42
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
42
43
  'purpose': !(0, runtime_1.exists)(json, 'purpose') ? undefined : json['purpose'],
43
44
  'constraints': !(0, runtime_1.exists)(json, 'constraints') ? undefined : (0, VCConstraintsDto_1.VCConstraintsDtoFromJSON)(json['constraints']),
45
+ 'format': !(0, runtime_1.exists)(json, 'format') ? undefined : (0, VCFormatDto_1.VCFormatDtoFromJSON)(json['format']),
44
46
  };
45
47
  }
46
48
  exports.VCInputDescriptorsDtoFromJSONTyped = VCInputDescriptorsDtoFromJSONTyped;
@@ -57,6 +59,7 @@ function VCInputDescriptorsDtoToJSON(value) {
57
59
  'name': value.name,
58
60
  'purpose': value.purpose,
59
61
  'constraints': (0, VCConstraintsDto_1.VCConstraintsDtoToJSON)(value.constraints),
62
+ 'format': (0, VCFormatDto_1.VCFormatDtoToJSON)(value.format),
60
63
  };
61
64
  }
62
65
  exports.VCInputDescriptorsDtoToJSON = VCInputDescriptorsDtoToJSON;
@@ -15,7 +15,6 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.VCPresentationDefinitionDtoToJSON = exports.VCPresentationDefinitionDtoFromJSONTyped = exports.VCPresentationDefinitionDtoFromJSON = exports.instanceOfVCPresentationDefinitionDto = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const VCFormatDto_1 = require("./VCFormatDto");
19
18
  const VCInputDescriptorsDto_1 = require("./VCInputDescriptorsDto");
20
19
  /**
21
20
  * Check if a given object implements the VCPresentationDefinitionDto interface.
@@ -40,7 +39,6 @@ function VCPresentationDefinitionDtoFromJSONTyped(json, ignoreDiscriminator) {
40
39
  'input_descriptors': (json['input_descriptors'].map(VCInputDescriptorsDto_1.VCInputDescriptorsDtoFromJSON)),
41
40
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
42
41
  'purpose': !(0, runtime_1.exists)(json, 'purpose') ? undefined : json['purpose'],
43
- 'format': !(0, runtime_1.exists)(json, 'format') ? undefined : (0, VCFormatDto_1.VCFormatDtoFromJSON)(json['format']),
44
42
  };
45
43
  }
46
44
  exports.VCPresentationDefinitionDtoFromJSONTyped = VCPresentationDefinitionDtoFromJSONTyped;
@@ -56,7 +54,6 @@ function VCPresentationDefinitionDtoToJSON(value) {
56
54
  'input_descriptors': (value.input_descriptors.map(VCInputDescriptorsDto_1.VCInputDescriptorsDtoToJSON)),
57
55
  'name': value.name,
58
56
  'purpose': value.purpose,
59
- 'format': (0, VCFormatDto_1.VCFormatDtoToJSON)(value.format),
60
57
  };
61
58
  }
62
59
  exports.VCPresentationDefinitionDtoToJSON = VCPresentationDefinitionDtoToJSON;
@@ -24,6 +24,7 @@ function instanceOfVCPresentationDefinitionToSchemaModel(value) {
24
24
  isInstance = isInstance && "schema_id" in value;
25
25
  isInstance = isInstance && "schema_name" in value;
26
26
  isInstance = isInstance && "schema_version" in value;
27
+ isInstance = isInstance && "archived" in value;
27
28
  isInstance = isInstance && "constraints" in value;
28
29
  return isInstance;
29
30
  }
@@ -41,6 +42,7 @@ function VCPresentationDefinitionToSchemaModelFromJSONTyped(json, ignoreDiscrimi
41
42
  'schema_id': json['schema_id'],
42
43
  'schema_name': json['schema_name'],
43
44
  'schema_version': json['schema_version'],
45
+ 'archived': json['archived'],
44
46
  'constraints': (0, VCPresentationDefinitionToSchemaModelConstraints_1.VCPresentationDefinitionToSchemaModelConstraintsFromJSON)(json['constraints']),
45
47
  };
46
48
  }
@@ -57,6 +59,7 @@ function VCPresentationDefinitionToSchemaModelToJSON(value) {
57
59
  'schema_id': value.schema_id,
58
60
  'schema_name': value.schema_name,
59
61
  'schema_version': value.schema_version,
62
+ 'archived': value.archived,
60
63
  'constraints': (0, VCPresentationDefinitionToSchemaModelConstraints_1.VCPresentationDefinitionToSchemaModelConstraintsToJSON)(value.constraints),
61
64
  };
62
65
  }
@@ -21,7 +21,6 @@ const runtime_1 = require("../runtime");
21
21
  function instanceOfVCVerifyPresentationRequestResponseDto(value) {
22
22
  let isInstance = true;
23
23
  isInstance = isInstance && "request_uri" in value;
24
- isInstance = isInstance && "id_token" in value;
25
24
  return isInstance;
26
25
  }
27
26
  exports.instanceOfVCVerifyPresentationRequestResponseDto = instanceOfVCVerifyPresentationRequestResponseDto;
@@ -35,8 +34,9 @@ function VCVerifyPresentationRequestResponseDtoFromJSONTyped(json, ignoreDiscrim
35
34
  }
36
35
  return {
37
36
  'request_uri': json['request_uri'],
38
- 'id_token': json['id_token'],
37
+ 'id_token': !(0, runtime_1.exists)(json, 'id_token') ? undefined : json['id_token'],
39
38
  'vp_token': !(0, runtime_1.exists)(json, 'vp_token') ? undefined : json['vp_token'],
39
+ 'presentation_submission': !(0, runtime_1.exists)(json, 'presentation_submission') ? undefined : json['presentation_submission'],
40
40
  'state': !(0, runtime_1.exists)(json, 'state') ? undefined : json['state'],
41
41
  };
42
42
  }
@@ -52,6 +52,7 @@ function VCVerifyPresentationRequestResponseDtoToJSON(value) {
52
52
  'request_uri': value.request_uri,
53
53
  'id_token': value.id_token,
54
54
  'vp_token': value.vp_token,
55
+ 'presentation_submission': value.presentation_submission,
55
56
  'state': value.state,
56
57
  };
57
58
  }
@@ -34,6 +34,8 @@ __exportStar(require("./ATOMComponent"), exports);
34
34
  __exportStar(require("./ATOMCreateOrUpdateOrgRequest"), exports);
35
35
  __exportStar(require("./ATOMCreateOrUpdateTenantRequest"), exports);
36
36
  __exportStar(require("./ATOMError"), exports);
37
+ __exportStar(require("./ATOMFileStorageBackend"), exports);
38
+ __exportStar(require("./ATOMFileStorageConfiguration"), exports);
37
39
  __exportStar(require("./ATOMGenesisRequest"), exports);
38
40
  __exportStar(require("./ATOMNewAgentRequest"), exports);
39
41
  __exportStar(require("./ATOMOneAgent"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meeco/svx-api-sdk",
3
- "version": "1.0.0-stage.20240502114933.d123429",
3
+ "version": "1.0.0-stage.20240624095554.3e253ce",
4
4
  "description": "Meeco SVX API SDK",
5
5
  "types": "./lib/types/index.d.ts",
6
6
  "browser": "./lib/esm/index.js",