@meeco/svx-api-sdk 1.0.0-develop.20230907123837.3e65718 → 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.
- package/.openapi-generator/FILES +1 -0
- package/lib/esm/apis/OrganisationsApi.js +5 -2
- package/lib/esm/apis/SecurityRightsApi.js +5 -2
- package/lib/esm/apis/TenantsApi.js +5 -2
- package/lib/esm/apis/VerifiablePresentationsApi.js +45 -0
- package/lib/esm/models/ATOMGenesisRequest.js +43 -0
- package/lib/esm/models/VCCredentialTypeModelDtoSchema.js +3 -0
- package/lib/esm/models/VCCredentialTypeSchemaDto.js +3 -0
- package/lib/esm/models/VCPresentationDefinitionToSchemaModel.js +6 -0
- package/lib/esm/models/index.js +1 -0
- package/lib/types/apis/OrganisationsApi.d.ts +2 -1
- package/lib/types/apis/SecurityRightsApi.d.ts +2 -1
- package/lib/types/apis/TenantsApi.d.ts +2 -1
- package/lib/types/apis/VerifiablePresentationsApi.d.ts +15 -0
- package/lib/types/models/ATOMGenesisRequest.d.ts +31 -0
- package/lib/types/models/VCCredentialTypeModelDtoSchema.d.ts +6 -0
- package/lib/types/models/VCCredentialTypeSchemaDto.d.ts +6 -0
- package/lib/types/models/VCPresentationDefinitionToSchemaModel.d.ts +12 -0
- package/lib/types/models/index.d.ts +1 -0
- package/lib/umd/apis/OrganisationsApi.js +5 -2
- package/lib/umd/apis/SecurityRightsApi.js +5 -2
- package/lib/umd/apis/TenantsApi.js +5 -2
- package/lib/umd/apis/VerifiablePresentationsApi.js +45 -0
- package/lib/umd/models/ATOMGenesisRequest.js +50 -0
- package/lib/umd/models/VCCredentialTypeModelDtoSchema.js +3 -0
- package/lib/umd/models/VCCredentialTypeSchemaDto.js +3 -0
- package/lib/umd/models/VCPresentationDefinitionToSchemaModel.js +6 -0
- package/lib/umd/models/index.js +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -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
|
}
|
|
@@ -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
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.14.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ATOMGenesisRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfATOMGenesisRequest(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "user_id" in value;
|
|
20
|
+
return isInstance;
|
|
21
|
+
}
|
|
22
|
+
export function ATOMGenesisRequestFromJSON(json) {
|
|
23
|
+
return ATOMGenesisRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ATOMGenesisRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'user_id': json['user_id'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ATOMGenesisRequestToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'user_id': value.user_id,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -18,6 +18,7 @@ export function instanceOfVCCredentialTypeModelDtoSchema(value) {
|
|
|
18
18
|
let isInstance = true;
|
|
19
19
|
isInstance = isInstance && "id" in value;
|
|
20
20
|
isInstance = isInstance && "schema_url" in value;
|
|
21
|
+
isInstance = isInstance && "name" in value;
|
|
21
22
|
return isInstance;
|
|
22
23
|
}
|
|
23
24
|
export function VCCredentialTypeModelDtoSchemaFromJSON(json) {
|
|
@@ -30,6 +31,7 @@ export function VCCredentialTypeModelDtoSchemaFromJSONTyped(json, ignoreDiscrimi
|
|
|
30
31
|
return {
|
|
31
32
|
'id': json['id'],
|
|
32
33
|
'schema_url': json['schema_url'],
|
|
34
|
+
'name': json['name'],
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
export function VCCredentialTypeModelDtoSchemaToJSON(value) {
|
|
@@ -42,5 +44,6 @@ export function VCCredentialTypeModelDtoSchemaToJSON(value) {
|
|
|
42
44
|
return {
|
|
43
45
|
'id': value.id,
|
|
44
46
|
'schema_url': value.schema_url,
|
|
47
|
+
'name': value.name,
|
|
45
48
|
};
|
|
46
49
|
}
|
|
@@ -18,6 +18,7 @@ export function instanceOfVCCredentialTypeSchemaDto(value) {
|
|
|
18
18
|
let isInstance = true;
|
|
19
19
|
isInstance = isInstance && "id" in value;
|
|
20
20
|
isInstance = isInstance && "schema_url" in value;
|
|
21
|
+
isInstance = isInstance && "name" in value;
|
|
21
22
|
return isInstance;
|
|
22
23
|
}
|
|
23
24
|
export function VCCredentialTypeSchemaDtoFromJSON(json) {
|
|
@@ -30,6 +31,7 @@ export function VCCredentialTypeSchemaDtoFromJSONTyped(json, ignoreDiscriminator
|
|
|
30
31
|
return {
|
|
31
32
|
'id': json['id'],
|
|
32
33
|
'schema_url': json['schema_url'],
|
|
34
|
+
'name': json['name'],
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
export function VCCredentialTypeSchemaDtoToJSON(value) {
|
|
@@ -42,5 +44,6 @@ export function VCCredentialTypeSchemaDtoToJSON(value) {
|
|
|
42
44
|
return {
|
|
43
45
|
'id': value.id,
|
|
44
46
|
'schema_url': value.schema_url,
|
|
47
|
+
'name': value.name,
|
|
45
48
|
};
|
|
46
49
|
}
|
|
@@ -19,6 +19,8 @@ export function instanceOfVCPresentationDefinitionToSchemaModel(value) {
|
|
|
19
19
|
isInstance = isInstance && "id" in value;
|
|
20
20
|
isInstance = isInstance && "schema_id" in value;
|
|
21
21
|
isInstance = isInstance && "issuer_id" in value;
|
|
22
|
+
isInstance = isInstance && "schema_name" in value;
|
|
23
|
+
isInstance = isInstance && "schema_version" in value;
|
|
22
24
|
return isInstance;
|
|
23
25
|
}
|
|
24
26
|
export function VCPresentationDefinitionToSchemaModelFromJSON(json) {
|
|
@@ -32,6 +34,8 @@ export function VCPresentationDefinitionToSchemaModelFromJSONTyped(json, ignoreD
|
|
|
32
34
|
'id': json['id'],
|
|
33
35
|
'schema_id': json['schema_id'],
|
|
34
36
|
'issuer_id': json['issuer_id'],
|
|
37
|
+
'schema_name': json['schema_name'],
|
|
38
|
+
'schema_version': json['schema_version'],
|
|
35
39
|
};
|
|
36
40
|
}
|
|
37
41
|
export function VCPresentationDefinitionToSchemaModelToJSON(value) {
|
|
@@ -45,5 +49,7 @@ export function VCPresentationDefinitionToSchemaModelToJSON(value) {
|
|
|
45
49
|
'id': value.id,
|
|
46
50
|
'schema_id': value.schema_id,
|
|
47
51
|
'issuer_id': value.issuer_id,
|
|
52
|
+
'schema_name': value.schema_name,
|
|
53
|
+
'schema_version': value.schema_version,
|
|
48
54
|
};
|
|
49
55
|
}
|
package/lib/esm/models/index.js
CHANGED
|
@@ -16,6 +16,7 @@ export * from './ATOMComponent';
|
|
|
16
16
|
export * from './ATOMCreateOrUpdateOrgRequest';
|
|
17
17
|
export * from './ATOMCreateOrUpdateTenantRequest';
|
|
18
18
|
export * from './ATOMError';
|
|
19
|
+
export * from './ATOMGenesisRequest';
|
|
19
20
|
export * from './ATOMNewAgentRequest';
|
|
20
21
|
export * from './ATOMOneAgent';
|
|
21
22
|
export * from './ATOMOneOrg';
|
|
@@ -50,6 +50,7 @@ export interface OrgsIdRestorePostRequest {
|
|
|
50
50
|
export interface OrgsOrgIdAdminsGetRequest {
|
|
51
51
|
orgId: string;
|
|
52
52
|
status?: OrgsOrgIdAdminsGetStatusEnum;
|
|
53
|
+
email?: string;
|
|
53
54
|
perPage?: number;
|
|
54
55
|
page?: number;
|
|
55
56
|
order?: OrgsOrgIdAdminsGetOrderEnum;
|
|
@@ -207,7 +208,7 @@ export declare class OrganisationsApi extends runtime.BaseAPI {
|
|
|
207
208
|
* 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
|
|
208
209
|
* List admins of an organisation
|
|
209
210
|
*/
|
|
210
|
-
orgsOrgIdAdminsGet(orgId: string, status?: OrgsOrgIdAdminsGetStatusEnum, perPage?: number, page?: number, order?: OrgsOrgIdAdminsGetOrderEnum, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
211
|
+
orgsOrgIdAdminsGet(orgId: string, status?: OrgsOrgIdAdminsGetStatusEnum, email?: string, perPage?: number, page?: number, order?: OrgsOrgIdAdminsGetOrderEnum, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
211
212
|
/**
|
|
212
213
|
* Remove a user from admins of the given organisation, and put the admin into the registry of former admins of that organisation. In order to execute this action the current user must one of the following security rights: * `atom:global:assign_org_sr_to_user` * `atom:tenant:assign_org_sr_to_user` * `atom:org:assign_org_sr_to_user`
|
|
213
214
|
* Archive an organisation admin
|
|
@@ -20,6 +20,7 @@ export interface GlobalAdminsAdminIdSecurityRightsSecurityRightsDeleteRequest {
|
|
|
20
20
|
securityRights: string;
|
|
21
21
|
}
|
|
22
22
|
export interface GlobalAdminsGetRequest {
|
|
23
|
+
email?: string;
|
|
23
24
|
status?: GlobalAdminsGetStatusEnum;
|
|
24
25
|
perPage?: number;
|
|
25
26
|
order?: GlobalAdminsGetOrderEnum;
|
|
@@ -74,7 +75,7 @@ export declare class SecurityRightsApi extends runtime.BaseAPI {
|
|
|
74
75
|
* 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`.
|
|
75
76
|
* List all users with global security rights
|
|
76
77
|
*/
|
|
77
|
-
globalAdminsGet(status?: GlobalAdminsGetStatusEnum, perPage?: number, order?: GlobalAdminsGetOrderEnum, page?: number, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
78
|
+
globalAdminsGet(email?: string, status?: GlobalAdminsGetStatusEnum, perPage?: number, order?: GlobalAdminsGetOrderEnum, page?: number, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
78
79
|
/**
|
|
79
80
|
* Remove a user from global admins, and put the admin into the registry of former global admins. In order to execute this action the current user must have security right `atom:global:assign_global_sr_to_user`.
|
|
80
81
|
* Archive a global admin
|
|
@@ -41,6 +41,7 @@ export interface TenantsPostRequest {
|
|
|
41
41
|
export interface TenantsTenantIdAdminsGetRequest {
|
|
42
42
|
tenantId: string;
|
|
43
43
|
status?: TenantsTenantIdAdminsGetStatusEnum;
|
|
44
|
+
email?: string;
|
|
44
45
|
perPage?: number;
|
|
45
46
|
order?: TenantsTenantIdAdminsGetOrderEnum;
|
|
46
47
|
page?: number;
|
|
@@ -158,7 +159,7 @@ export declare class TenantsApi extends runtime.BaseAPI {
|
|
|
158
159
|
* 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`
|
|
159
160
|
* List admins of a tenant
|
|
160
161
|
*/
|
|
161
|
-
tenantsTenantIdAdminsGet(tenantId: string, status?: TenantsTenantIdAdminsGetStatusEnum, perPage?: number, order?: TenantsTenantIdAdminsGetOrderEnum, page?: number, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
162
|
+
tenantsTenantIdAdminsGet(tenantId: string, status?: TenantsTenantIdAdminsGetStatusEnum, email?: string, perPage?: number, order?: TenantsTenantIdAdminsGetOrderEnum, page?: number, nextPageAfter?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ATOMPaginatedAdminList>;
|
|
162
163
|
/**
|
|
163
164
|
* Remove a user from admins of the given tenant, and put the admin into the registry of former admins of that tenant. In order to execute this action the current user must have one of the following security rights: * `atom:global:assign_tenant_sr_to_tenant_admin` * `atom:tenant:assign_tenant_sr_to_tenant_admin`
|
|
164
165
|
* Archive a tenant admin
|
|
@@ -47,6 +47,11 @@ export interface OidcPresentationsRequestsIdSubmissionsPostRequest {
|
|
|
47
47
|
id: string;
|
|
48
48
|
vCPresentationRequestCreateSubmissionDto: VCPresentationRequestCreateSubmissionDto;
|
|
49
49
|
}
|
|
50
|
+
export interface OidcPresentationsRequestsIdSubmissionsSubmissionIdDeleteRequest {
|
|
51
|
+
id: string;
|
|
52
|
+
submissionId: string;
|
|
53
|
+
meecoOrganisationID: string;
|
|
54
|
+
}
|
|
50
55
|
export interface OidcPresentationsRequestsIdSubmissionsSubmissionIdPatchRequest {
|
|
51
56
|
id: string;
|
|
52
57
|
submissionId: string;
|
|
@@ -186,6 +191,16 @@ export declare class VerifiablePresentationsApi extends runtime.BaseAPI {
|
|
|
186
191
|
* Present presentation request response
|
|
187
192
|
*/
|
|
188
193
|
oidcPresentationsRequestsIdSubmissionsPost(id: string, vCPresentationRequestCreateSubmissionDto: VCPresentationRequestCreateSubmissionDto, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VCPresentationRequestSubmissionResponseDto>;
|
|
194
|
+
/**
|
|
195
|
+
* <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />
|
|
196
|
+
* delete presentation request submission
|
|
197
|
+
*/
|
|
198
|
+
oidcPresentationsRequestsIdSubmissionsSubmissionIdDeleteRaw(requestParameters: OidcPresentationsRequestsIdSubmissionsSubmissionIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
199
|
+
/**
|
|
200
|
+
* <h4>Requires the following security rights:</h4><ul><li><code>vc:org:manage</code></li></ul><br />
|
|
201
|
+
* delete presentation request submission
|
|
202
|
+
*/
|
|
203
|
+
oidcPresentationsRequestsIdSubmissionsSubmissionIdDelete(id: string, submissionId: string, meecoOrganisationID: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
189
204
|
/**
|
|
190
205
|
* Update presentation request submission
|
|
191
206
|
* Update presentation request submission
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.14.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ATOMGenesisRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ATOMGenesisRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Genensis user ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ATOMGenesisRequest
|
|
22
|
+
*/
|
|
23
|
+
user_id: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ATOMGenesisRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfATOMGenesisRequest(value: object): boolean;
|
|
29
|
+
export declare function ATOMGenesisRequestFromJSON(json: any): ATOMGenesisRequest;
|
|
30
|
+
export declare function ATOMGenesisRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ATOMGenesisRequest;
|
|
31
|
+
export declare function ATOMGenesisRequestToJSON(value?: ATOMGenesisRequest | null): any;
|
|
@@ -27,6 +27,12 @@ export interface VCCredentialTypeModelDtoSchema {
|
|
|
27
27
|
* @memberof VCCredentialTypeModelDtoSchema
|
|
28
28
|
*/
|
|
29
29
|
schema_url: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VCCredentialTypeModelDtoSchema
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the VCCredentialTypeModelDtoSchema interface.
|
|
@@ -27,6 +27,12 @@ export interface VCCredentialTypeSchemaDto {
|
|
|
27
27
|
* @memberof VCCredentialTypeSchemaDto
|
|
28
28
|
*/
|
|
29
29
|
schema_url: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VCCredentialTypeSchemaDto
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the VCCredentialTypeSchemaDto interface.
|
|
@@ -33,6 +33,18 @@ export interface VCPresentationDefinitionToSchemaModel {
|
|
|
33
33
|
* @memberof VCPresentationDefinitionToSchemaModel
|
|
34
34
|
*/
|
|
35
35
|
issuer_id: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VCPresentationDefinitionToSchemaModel
|
|
40
|
+
*/
|
|
41
|
+
schema_name: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof VCPresentationDefinitionToSchemaModel
|
|
46
|
+
*/
|
|
47
|
+
schema_version: string;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the VCPresentationDefinitionToSchemaModel interface.
|
|
@@ -14,6 +14,7 @@ export * from './ATOMComponent';
|
|
|
14
14
|
export * from './ATOMCreateOrUpdateOrgRequest';
|
|
15
15
|
export * from './ATOMCreateOrUpdateTenantRequest';
|
|
16
16
|
export * from './ATOMError';
|
|
17
|
+
export * from './ATOMGenesisRequest';
|
|
17
18
|
export * from './ATOMNewAgentRequest';
|
|
18
19
|
export * from './ATOMOneAgent';
|
|
19
20
|
export * from './ATOMOneOrg';
|
|
@@ -456,6 +456,9 @@ class OrganisationsApi extends runtime.BaseAPI {
|
|
|
456
456
|
if (requestParameters.status !== undefined) {
|
|
457
457
|
queryParameters['status'] = requestParameters.status;
|
|
458
458
|
}
|
|
459
|
+
if (requestParameters.email !== undefined) {
|
|
460
|
+
queryParameters['email'] = requestParameters.email;
|
|
461
|
+
}
|
|
459
462
|
if (requestParameters.perPage !== undefined) {
|
|
460
463
|
queryParameters['per_page'] = requestParameters.perPage;
|
|
461
464
|
}
|
|
@@ -489,9 +492,9 @@ class OrganisationsApi extends runtime.BaseAPI {
|
|
|
489
492
|
* 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
|
|
490
493
|
* List admins of an organisation
|
|
491
494
|
*/
|
|
492
|
-
orgsOrgIdAdminsGet(orgId, status, perPage, page, order, nextPageAfter, initOverrides) {
|
|
495
|
+
orgsOrgIdAdminsGet(orgId, status, email, perPage, page, order, nextPageAfter, initOverrides) {
|
|
493
496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
494
|
-
const response = yield this.orgsOrgIdAdminsGetRaw({ orgId: orgId, status: status, perPage: perPage, page: page, order: order, nextPageAfter: nextPageAfter }, initOverrides);
|
|
497
|
+
const response = yield this.orgsOrgIdAdminsGetRaw({ orgId: orgId, status: status, email: email, perPage: perPage, page: page, order: order, nextPageAfter: nextPageAfter }, initOverrides);
|
|
495
498
|
return yield response.value();
|
|
496
499
|
});
|
|
497
500
|
}
|
|
@@ -139,6 +139,9 @@ class SecurityRightsApi extends runtime.BaseAPI {
|
|
|
139
139
|
globalAdminsGetRaw(requestParameters, initOverrides) {
|
|
140
140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
141
141
|
const queryParameters = {};
|
|
142
|
+
if (requestParameters.email !== undefined) {
|
|
143
|
+
queryParameters['email'] = requestParameters.email;
|
|
144
|
+
}
|
|
142
145
|
if (requestParameters.status !== undefined) {
|
|
143
146
|
queryParameters['status'] = requestParameters.status;
|
|
144
147
|
}
|
|
@@ -175,9 +178,9 @@ class SecurityRightsApi extends runtime.BaseAPI {
|
|
|
175
178
|
* 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`.
|
|
176
179
|
* List all users with global security rights
|
|
177
180
|
*/
|
|
178
|
-
globalAdminsGet(status, perPage, order, page, nextPageAfter, initOverrides) {
|
|
181
|
+
globalAdminsGet(email, status, perPage, order, page, nextPageAfter, initOverrides) {
|
|
179
182
|
return __awaiter(this, void 0, void 0, function* () {
|
|
180
|
-
const response = yield this.globalAdminsGetRaw({ status: status, perPage: perPage, order: order, page: page, nextPageAfter: nextPageAfter }, initOverrides);
|
|
183
|
+
const response = yield this.globalAdminsGetRaw({ email: email, status: status, perPage: perPage, order: order, page: page, nextPageAfter: nextPageAfter }, initOverrides);
|
|
181
184
|
return yield response.value();
|
|
182
185
|
});
|
|
183
186
|
}
|
|
@@ -344,6 +344,9 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
344
344
|
if (requestParameters.status !== undefined) {
|
|
345
345
|
queryParameters['status'] = requestParameters.status;
|
|
346
346
|
}
|
|
347
|
+
if (requestParameters.email !== undefined) {
|
|
348
|
+
queryParameters['email'] = requestParameters.email;
|
|
349
|
+
}
|
|
347
350
|
if (requestParameters.perPage !== undefined) {
|
|
348
351
|
queryParameters['per_page'] = requestParameters.perPage;
|
|
349
352
|
}
|
|
@@ -377,9 +380,9 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
377
380
|
* 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`
|
|
378
381
|
* List admins of a tenant
|
|
379
382
|
*/
|
|
380
|
-
tenantsTenantIdAdminsGet(tenantId, status, perPage, order, page, nextPageAfter, initOverrides) {
|
|
383
|
+
tenantsTenantIdAdminsGet(tenantId, status, email, perPage, order, page, nextPageAfter, initOverrides) {
|
|
381
384
|
return __awaiter(this, void 0, void 0, function* () {
|
|
382
|
-
const response = yield this.tenantsTenantIdAdminsGetRaw({ tenantId: tenantId, status: status, perPage: perPage, order: order, page: page, nextPageAfter: nextPageAfter }, initOverrides);
|
|
385
|
+
const response = yield this.tenantsTenantIdAdminsGetRaw({ tenantId: tenantId, status: status, email: email, perPage: perPage, order: order, page: page, nextPageAfter: nextPageAfter }, initOverrides);
|
|
383
386
|
return yield response.value();
|
|
384
387
|
});
|
|
385
388
|
}
|
|
@@ -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
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -22,6 +22,8 @@ function instanceOfVCPresentationDefinitionToSchemaModel(value) {
|
|
|
22
22
|
isInstance = isInstance && "id" in value;
|
|
23
23
|
isInstance = isInstance && "schema_id" in value;
|
|
24
24
|
isInstance = isInstance && "issuer_id" in value;
|
|
25
|
+
isInstance = isInstance && "schema_name" in value;
|
|
26
|
+
isInstance = isInstance && "schema_version" in value;
|
|
25
27
|
return isInstance;
|
|
26
28
|
}
|
|
27
29
|
exports.instanceOfVCPresentationDefinitionToSchemaModel = instanceOfVCPresentationDefinitionToSchemaModel;
|
|
@@ -37,6 +39,8 @@ function VCPresentationDefinitionToSchemaModelFromJSONTyped(json, ignoreDiscrimi
|
|
|
37
39
|
'id': json['id'],
|
|
38
40
|
'schema_id': json['schema_id'],
|
|
39
41
|
'issuer_id': json['issuer_id'],
|
|
42
|
+
'schema_name': json['schema_name'],
|
|
43
|
+
'schema_version': json['schema_version'],
|
|
40
44
|
};
|
|
41
45
|
}
|
|
42
46
|
exports.VCPresentationDefinitionToSchemaModelFromJSONTyped = VCPresentationDefinitionToSchemaModelFromJSONTyped;
|
|
@@ -51,6 +55,8 @@ function VCPresentationDefinitionToSchemaModelToJSON(value) {
|
|
|
51
55
|
'id': value.id,
|
|
52
56
|
'schema_id': value.schema_id,
|
|
53
57
|
'issuer_id': value.issuer_id,
|
|
58
|
+
'schema_name': value.schema_name,
|
|
59
|
+
'schema_version': value.schema_version,
|
|
54
60
|
};
|
|
55
61
|
}
|
|
56
62
|
exports.VCPresentationDefinitionToSchemaModelToJSON = VCPresentationDefinitionToSchemaModelToJSON;
|
package/lib/umd/models/index.js
CHANGED
|
@@ -32,6 +32,7 @@ __exportStar(require("./ATOMComponent"), exports);
|
|
|
32
32
|
__exportStar(require("./ATOMCreateOrUpdateOrgRequest"), exports);
|
|
33
33
|
__exportStar(require("./ATOMCreateOrUpdateTenantRequest"), exports);
|
|
34
34
|
__exportStar(require("./ATOMError"), exports);
|
|
35
|
+
__exportStar(require("./ATOMGenesisRequest"), exports);
|
|
35
36
|
__exportStar(require("./ATOMNewAgentRequest"), exports);
|
|
36
37
|
__exportStar(require("./ATOMOneAgent"), exports);
|
|
37
38
|
__exportStar(require("./ATOMOneOrg"), exports);
|
package/package.json
CHANGED