@emilgroup/tenant-sdk-node 1.22.1-beta.0 → 1.23.0
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 +7 -4
- package/README.md +2 -2
- package/api/invite-organizations-api.ts +15 -15
- package/api/invite-users-api.ts +42 -42
- package/api/roles-api.ts +0 -4
- package/api/users-api.ts +4 -4
- package/dist/api/invite-organizations-api.d.ts +9 -9
- package/dist/api/invite-organizations-api.js +12 -12
- package/dist/api/invite-users-api.d.ts +30 -30
- package/dist/api/invite-users-api.js +33 -33
- package/dist/api/roles-api.d.ts +0 -4
- package/dist/api/roles-api.js +0 -4
- package/dist/api/users-api.d.ts +4 -4
- package/dist/api/users-api.js +3 -3
- package/dist/models/create-permission-request-dto.d.ts +42 -0
- package/dist/models/create-role-request-dto.d.ts +36 -0
- package/dist/models/index.d.ts +7 -4
- package/dist/models/index.js +7 -4
- package/dist/models/invite-class.d.ts +12 -12
- package/dist/models/{invite-org-request-dto-rest.d.ts → invite-org-request-dto.d.ts} +14 -27
- package/dist/models/invite-user-request-dto.d.ts +43 -0
- package/dist/models/invite-users-request-dto.d.ts +36 -0
- package/dist/models/invite-users-request-dto.js +15 -0
- package/dist/models/partner-invitation-data-dto.d.ts +36 -0
- package/dist/models/partner-invitation-data-dto.js +15 -0
- package/dist/models/update-role-request-dto.d.ts +42 -0
- package/dist/models/update-role-request-dto.js +15 -0
- package/dist/models/user-class.d.ts +8 -8
- package/models/create-permission-request-dto.ts +48 -0
- package/models/{create-tenant-db-config-request-dto.ts → create-role-request-dto.ts} +15 -9
- package/models/index.ts +7 -4
- package/models/invite-class.ts +12 -12
- package/models/{invite-org-request-dto-rest.ts → invite-org-request-dto.ts} +14 -27
- package/models/invite-user-request-dto.ts +49 -0
- package/models/invite-users-request-dto.ts +42 -0
- package/models/partner-invitation-data-dto.ts +42 -0
- package/models/update-role-request-dto.ts +48 -0
- package/models/user-class.ts +8 -8
- package/package.json +1 -1
- package/dist/models/create-tenant-db-config-request-dto.d.ts +0 -30
- package/dist/models/invite-user-request-dto-rest.d.ts +0 -49
- package/dist/models/invite-users-request-dto-rest.d.ts +0 -49
- package/models/invite-user-request-dto-rest.ts +0 -55
- package/models/invite-users-request-dto-rest.ts +0 -55
- /package/dist/models/{create-tenant-db-config-request-dto.js → create-permission-request-dto.js} +0 -0
- /package/dist/models/{invite-org-request-dto-rest.js → create-role-request-dto.js} +0 -0
- /package/dist/models/{invite-user-request-dto-rest.js → invite-org-request-dto.js} +0 -0
- /package/dist/models/{invite-users-request-dto-rest.js → invite-user-request-dto.js} +0 -0
package/dist/api/users-api.js
CHANGED
|
@@ -352,7 +352,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
352
352
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
353
353
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
354
354
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email</i>
|
|
355
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i>
|
|
355
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
356
356
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
357
357
|
* @param {*} [options] Override http request option.
|
|
358
358
|
* @throws {RequiredError}
|
|
@@ -536,7 +536,7 @@ var UsersApiFp = function (configuration) {
|
|
|
536
536
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
537
537
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
538
538
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email</i>
|
|
539
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i>
|
|
539
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
540
540
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
541
541
|
* @param {*} [options] Override http request option.
|
|
542
542
|
* @throws {RequiredError}
|
|
@@ -625,7 +625,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
625
625
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
626
626
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
627
627
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email</i>
|
|
628
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i>
|
|
628
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
629
629
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
630
630
|
* @param {*} [options] Override http request option.
|
|
631
631
|
* @throws {RequiredError}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
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 CreatePermissionRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePermissionRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Permission\'s module
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePermissionRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'module': string;
|
|
24
|
+
/**
|
|
25
|
+
* Permission\'s entity or target
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePermissionRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'entity': string;
|
|
30
|
+
/**
|
|
31
|
+
* permission\'s action [read, write, delete etc]
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePermissionRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'action': string;
|
|
36
|
+
/**
|
|
37
|
+
* permission\'s category or header
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePermissionRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'category'?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
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 CreateRoleRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateRoleRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Role\'s label.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateRoleRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'label': string;
|
|
24
|
+
/**
|
|
25
|
+
* Short description of the role
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateRoleRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'description': string;
|
|
30
|
+
/**
|
|
31
|
+
* Permission ids for the role
|
|
32
|
+
* @type {Array<number>}
|
|
33
|
+
* @memberof CreateRoleRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'permissionIds': Array<number>;
|
|
36
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ export * from './create-dashboard-request-dto';
|
|
|
8
8
|
export * from './create-dashboard-response-class';
|
|
9
9
|
export * from './create-data-report-request-dto';
|
|
10
10
|
export * from './create-data-report-response-class';
|
|
11
|
-
export * from './create-
|
|
11
|
+
export * from './create-permission-request-dto';
|
|
12
|
+
export * from './create-role-request-dto';
|
|
12
13
|
export * from './create-tenant-request-dto';
|
|
13
14
|
export * from './custom-field-dto';
|
|
14
15
|
export * from './custom-schema-class';
|
|
@@ -38,10 +39,10 @@ export * from './initial-tenant-config-class';
|
|
|
38
39
|
export * from './inline-response200';
|
|
39
40
|
export * from './inline-response503';
|
|
40
41
|
export * from './invite-class';
|
|
41
|
-
export * from './invite-org-request-dto
|
|
42
|
-
export * from './invite-user-request-dto
|
|
42
|
+
export * from './invite-org-request-dto';
|
|
43
|
+
export * from './invite-user-request-dto';
|
|
43
44
|
export * from './invite-user-response-class';
|
|
44
|
-
export * from './invite-users-request-dto
|
|
45
|
+
export * from './invite-users-request-dto';
|
|
45
46
|
export * from './invite-users-response-class';
|
|
46
47
|
export * from './link-user-with-partner-request-dto-rest';
|
|
47
48
|
export * from './link-user-with-partner-response-class';
|
|
@@ -57,6 +58,7 @@ export * from './list-users-response-class';
|
|
|
57
58
|
export * from './org-invitation-class';
|
|
58
59
|
export * from './org-invitation-response-class';
|
|
59
60
|
export * from './organization-class';
|
|
61
|
+
export * from './partner-invitation-data-dto';
|
|
60
62
|
export * from './permission-class';
|
|
61
63
|
export * from './re-invite-org-request-dto';
|
|
62
64
|
export * from './role-class';
|
|
@@ -76,4 +78,5 @@ export * from './update-data-report-request-dto';
|
|
|
76
78
|
export * from './update-data-report-response-class';
|
|
77
79
|
export * from './update-organization-request-dto-rest';
|
|
78
80
|
export * from './update-organization-response-class';
|
|
81
|
+
export * from './update-role-request-dto';
|
|
79
82
|
export * from './user-class';
|
package/dist/models/index.js
CHANGED
|
@@ -24,7 +24,8 @@ __exportStar(require("./create-dashboard-request-dto"), exports);
|
|
|
24
24
|
__exportStar(require("./create-dashboard-response-class"), exports);
|
|
25
25
|
__exportStar(require("./create-data-report-request-dto"), exports);
|
|
26
26
|
__exportStar(require("./create-data-report-response-class"), exports);
|
|
27
|
-
__exportStar(require("./create-
|
|
27
|
+
__exportStar(require("./create-permission-request-dto"), exports);
|
|
28
|
+
__exportStar(require("./create-role-request-dto"), exports);
|
|
28
29
|
__exportStar(require("./create-tenant-request-dto"), exports);
|
|
29
30
|
__exportStar(require("./custom-field-dto"), exports);
|
|
30
31
|
__exportStar(require("./custom-schema-class"), exports);
|
|
@@ -54,10 +55,10 @@ __exportStar(require("./initial-tenant-config-class"), exports);
|
|
|
54
55
|
__exportStar(require("./inline-response200"), exports);
|
|
55
56
|
__exportStar(require("./inline-response503"), exports);
|
|
56
57
|
__exportStar(require("./invite-class"), exports);
|
|
57
|
-
__exportStar(require("./invite-org-request-dto
|
|
58
|
-
__exportStar(require("./invite-user-request-dto
|
|
58
|
+
__exportStar(require("./invite-org-request-dto"), exports);
|
|
59
|
+
__exportStar(require("./invite-user-request-dto"), exports);
|
|
59
60
|
__exportStar(require("./invite-user-response-class"), exports);
|
|
60
|
-
__exportStar(require("./invite-users-request-dto
|
|
61
|
+
__exportStar(require("./invite-users-request-dto"), exports);
|
|
61
62
|
__exportStar(require("./invite-users-response-class"), exports);
|
|
62
63
|
__exportStar(require("./link-user-with-partner-request-dto-rest"), exports);
|
|
63
64
|
__exportStar(require("./link-user-with-partner-response-class"), exports);
|
|
@@ -73,6 +74,7 @@ __exportStar(require("./list-users-response-class"), exports);
|
|
|
73
74
|
__exportStar(require("./org-invitation-class"), exports);
|
|
74
75
|
__exportStar(require("./org-invitation-response-class"), exports);
|
|
75
76
|
__exportStar(require("./organization-class"), exports);
|
|
77
|
+
__exportStar(require("./partner-invitation-data-dto"), exports);
|
|
76
78
|
__exportStar(require("./permission-class"), exports);
|
|
77
79
|
__exportStar(require("./re-invite-org-request-dto"), exports);
|
|
78
80
|
__exportStar(require("./role-class"), exports);
|
|
@@ -92,4 +94,5 @@ __exportStar(require("./update-data-report-request-dto"), exports);
|
|
|
92
94
|
__exportStar(require("./update-data-report-response-class"), exports);
|
|
93
95
|
__exportStar(require("./update-organization-request-dto-rest"), exports);
|
|
94
96
|
__exportStar(require("./update-organization-response-class"), exports);
|
|
97
|
+
__exportStar(require("./update-role-request-dto"), exports);
|
|
95
98
|
__exportStar(require("./user-class"), exports);
|
|
@@ -53,18 +53,6 @@ export interface InviteClass {
|
|
|
53
53
|
* @memberof InviteClass
|
|
54
54
|
*/
|
|
55
55
|
'updatedAt': string;
|
|
56
|
-
/**
|
|
57
|
-
* Identifier of the user who created the record.
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof InviteClass
|
|
60
|
-
*/
|
|
61
|
-
'createdBy': string;
|
|
62
|
-
/**
|
|
63
|
-
* Identifier of the user who last updated the record.
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof InviteClass
|
|
66
|
-
*/
|
|
67
|
-
'updatedBy': string;
|
|
68
56
|
/**
|
|
69
57
|
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
70
58
|
* @type {string}
|
|
@@ -89,6 +77,18 @@ export interface InviteClass {
|
|
|
89
77
|
* @memberof InviteClass
|
|
90
78
|
*/
|
|
91
79
|
'organizationId'?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Identifier of the user who created the record.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof InviteClass
|
|
84
|
+
*/
|
|
85
|
+
'createdBy': string;
|
|
86
|
+
/**
|
|
87
|
+
* Identifier of the user who last updated the record.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof InviteClass
|
|
90
|
+
*/
|
|
91
|
+
'updatedBy': string;
|
|
92
92
|
/**
|
|
93
93
|
* Organization associated with the user
|
|
94
94
|
* @type {OrganizationClass}
|
|
@@ -12,86 +12,73 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface InviteOrgRequestDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface InviteOrgRequestDto {
|
|
18
18
|
/**
|
|
19
19
|
* Organization\'s contact person email address.
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof InviteOrgRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'email': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof InviteOrgRequestDtoRest
|
|
28
|
-
*/
|
|
29
|
-
'roleCodes': Array<string>;
|
|
30
|
-
/**
|
|
31
|
-
* Names of the roles to be assigned.
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof InviteOrgRequestDtoRest
|
|
34
|
-
*/
|
|
35
|
-
'roleNames': Array<string>;
|
|
36
|
-
/**
|
|
37
|
-
* Role ids to be assigned. Deprecated: please use roleNames or roleCodes. RoleIds will be removed in a future release.
|
|
25
|
+
* Role ids to be assigned.
|
|
38
26
|
* @type {Array<number>}
|
|
39
|
-
* @memberof
|
|
40
|
-
* @deprecated
|
|
27
|
+
* @memberof InviteOrgRequestDto
|
|
41
28
|
*/
|
|
42
29
|
'roleIds': Array<number>;
|
|
43
30
|
/**
|
|
44
31
|
* Name of the invited organization.
|
|
45
32
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
33
|
+
* @memberof InviteOrgRequestDto
|
|
47
34
|
*/
|
|
48
35
|
'name': string;
|
|
49
36
|
/**
|
|
50
37
|
* Identifier for the organization. Restrictions: should have at least 3 characters; should not exceed 63 characters; must be unique within the hierarchy scope; only lowercase letters (a-z), digits (0-9), and underscores (_) are allowed; will be part of the organization\'s ERN; the ERN length must not exceed 63 characters, including the slug.
|
|
51
38
|
* @type {string}
|
|
52
|
-
* @memberof
|
|
39
|
+
* @memberof InviteOrgRequestDto
|
|
53
40
|
*/
|
|
54
41
|
'slug': string;
|
|
55
42
|
/**
|
|
56
43
|
* Inviting organization.
|
|
57
44
|
* @type {number}
|
|
58
|
-
* @memberof
|
|
45
|
+
* @memberof InviteOrgRequestDto
|
|
59
46
|
*/
|
|
60
47
|
'parentOrganizationId': number;
|
|
61
48
|
/**
|
|
62
49
|
* Organization\'s street name.
|
|
63
50
|
* @type {string}
|
|
64
|
-
* @memberof
|
|
51
|
+
* @memberof InviteOrgRequestDto
|
|
65
52
|
*/
|
|
66
53
|
'street': string;
|
|
67
54
|
/**
|
|
68
55
|
* Organization\'s house number.
|
|
69
56
|
* @type {string}
|
|
70
|
-
* @memberof
|
|
57
|
+
* @memberof InviteOrgRequestDto
|
|
71
58
|
*/
|
|
72
59
|
'houseNumber': string;
|
|
73
60
|
/**
|
|
74
61
|
* Zip code of the organization.
|
|
75
62
|
* @type {string}
|
|
76
|
-
* @memberof
|
|
63
|
+
* @memberof InviteOrgRequestDto
|
|
77
64
|
*/
|
|
78
65
|
'zipCode': string;
|
|
79
66
|
/**
|
|
80
67
|
* City of the organization.
|
|
81
68
|
* @type {string}
|
|
82
|
-
* @memberof
|
|
69
|
+
* @memberof InviteOrgRequestDto
|
|
83
70
|
*/
|
|
84
71
|
'city': string;
|
|
85
72
|
/**
|
|
86
73
|
* Country of the organization.
|
|
87
74
|
* @type {string}
|
|
88
|
-
* @memberof
|
|
75
|
+
* @memberof InviteOrgRequestDto
|
|
89
76
|
*/
|
|
90
77
|
'country': string;
|
|
91
78
|
/**
|
|
92
79
|
* Custom fields of the organization
|
|
93
80
|
* @type {object}
|
|
94
|
-
* @memberof
|
|
81
|
+
* @memberof InviteOrgRequestDto
|
|
95
82
|
*/
|
|
96
83
|
'customFields': object;
|
|
97
84
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
import { PartnerInvitationDataDto } from './partner-invitation-data-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InviteUserRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface InviteUserRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* User\'s email address.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof InviteUserRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'email': string;
|
|
25
|
+
/**
|
|
26
|
+
* Organization associated with the user.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof InviteUserRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'organizationId'?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Role ids to be assigned.
|
|
33
|
+
* @type {Array<number>}
|
|
34
|
+
* @memberof InviteUserRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'roleIds': Array<number>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {PartnerInvitationDataDto}
|
|
40
|
+
* @memberof InviteUserRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'partnerInvitationData'?: PartnerInvitationDataDto;
|
|
43
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
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 InviteUsersRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface InviteUsersRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* User\'s email address.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof InviteUsersRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'emails': Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Role ids to be assigned.
|
|
26
|
+
* @type {Array<number>}
|
|
27
|
+
* @memberof InviteUsersRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'roleIds': Array<number>;
|
|
30
|
+
/**
|
|
31
|
+
* Organization associated with the users.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof InviteUsersRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'organizationId'?: number;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
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 });
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
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 PartnerInvitationDataDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PartnerInvitationDataDto {
|
|
18
|
+
/**
|
|
19
|
+
* Indicates if a new partner should be created if the partner code does not exist
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof PartnerInvitationDataDto
|
|
22
|
+
*/
|
|
23
|
+
'shouldCreateNewPartner': boolean;
|
|
24
|
+
/**
|
|
25
|
+
* In case we do not want to create a new partner, we can provide the code of an existing partner
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PartnerInvitationDataDto
|
|
28
|
+
*/
|
|
29
|
+
'partnerCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional metadata to be stored with the invitation
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof PartnerInvitationDataDto
|
|
34
|
+
*/
|
|
35
|
+
'metadata'?: object;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
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 });
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
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 UpdateRoleRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateRoleRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Role\'s id.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UpdateRoleRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Role\'s label.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateRoleRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'label': string;
|
|
30
|
+
/**
|
|
31
|
+
* Short description of the role.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateRoleRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'description': string;
|
|
36
|
+
/**
|
|
37
|
+
* Permission ids for the role
|
|
38
|
+
* @type {Array<number>}
|
|
39
|
+
* @memberof UpdateRoleRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'permissionIds': Array<number>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
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 });
|
|
@@ -91,29 +91,29 @@ export interface UserClass {
|
|
|
91
91
|
*/
|
|
92
92
|
'updatedAt': string;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
95
95
|
* @type {string}
|
|
96
96
|
* @memberof UserClass
|
|
97
97
|
*/
|
|
98
|
-
'
|
|
98
|
+
'ern': string;
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* Associated partner code - only available if the partner has been invited and registered in EIS platform
|
|
101
101
|
* @type {string}
|
|
102
102
|
* @memberof UserClass
|
|
103
103
|
*/
|
|
104
|
-
'
|
|
104
|
+
'partnerCode'?: string;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* Identifier of the user who created the record.
|
|
107
107
|
* @type {string}
|
|
108
108
|
* @memberof UserClass
|
|
109
109
|
*/
|
|
110
|
-
'
|
|
110
|
+
'createdBy': string;
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Identifier of the user who last updated the record.
|
|
113
113
|
* @type {string}
|
|
114
114
|
* @memberof UserClass
|
|
115
115
|
*/
|
|
116
|
-
'
|
|
116
|
+
'updatedBy': string;
|
|
117
117
|
/**
|
|
118
118
|
* Organization associated with the user
|
|
119
119
|
* @type {OrganizationClass}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Tenant Service
|
|
5
|
+
* The EMIL TenantService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreatePermissionRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePermissionRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Permission\'s module
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePermissionRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'module': string;
|
|
29
|
+
/**
|
|
30
|
+
* Permission\'s entity or target
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePermissionRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'entity': string;
|
|
35
|
+
/**
|
|
36
|
+
* permission\'s action [read, write, delete etc]
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePermissionRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'action': string;
|
|
41
|
+
/**
|
|
42
|
+
* permission\'s category or header
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePermissionRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'category'?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -17,20 +17,26 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface CreateRoleRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface CreateRoleRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Role\'s label.
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof CreateRoleRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'label': string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {
|
|
32
|
-
* @memberof
|
|
30
|
+
* Short description of the role
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateRoleRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'description': string;
|
|
35
|
+
/**
|
|
36
|
+
* Permission ids for the role
|
|
37
|
+
* @type {Array<number>}
|
|
38
|
+
* @memberof CreateRoleRequestDto
|
|
33
39
|
*/
|
|
34
|
-
'
|
|
40
|
+
'permissionIds': Array<number>;
|
|
35
41
|
}
|
|
36
42
|
|