@emilgroup/tenant-sdk-node 1.22.1-beta.1 → 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 +34 -34
- 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 +22 -22
- package/dist/api/invite-users-api.js +27 -27
- 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
|
@@ -14,9 +14,9 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { BatchDeleteRequestDto } from '../models';
|
|
16
16
|
import { BatchDeleteResponseClass } from '../models';
|
|
17
|
-
import {
|
|
17
|
+
import { InviteUserRequestDto } from '../models';
|
|
18
18
|
import { InviteUserResponseClass } from '../models';
|
|
19
|
-
import {
|
|
19
|
+
import { InviteUsersRequestDto } from '../models';
|
|
20
20
|
import { InviteUsersResponseClass } from '../models';
|
|
21
21
|
import { ListInvitesResponseClass } from '../models';
|
|
22
22
|
/**
|
|
@@ -36,21 +36,21 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
|
|
|
36
36
|
/**
|
|
37
37
|
* This send an email to invite a user with the specific role/roles.
|
|
38
38
|
* @summary Invite a user
|
|
39
|
-
* @param {
|
|
39
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
40
40
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
*/
|
|
44
|
-
inviteUser: (
|
|
44
|
+
inviteUser: (inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
45
|
/**
|
|
46
46
|
* This send bulk emails to invite users with the specific role/roles.
|
|
47
47
|
* @summary Invite batch of users
|
|
48
|
-
* @param {
|
|
48
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
49
49
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
inviteUsers: (
|
|
53
|
+
inviteUsers: (inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
55
|
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
56
56
|
* @summary List invited users
|
|
@@ -60,7 +60,7 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
|
|
|
60
60
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
61
61
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
62
62
|
* @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, expiresOn</i>
|
|
63
|
-
* @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: organizations<i>
|
|
63
|
+
* @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, organizations<i>
|
|
64
64
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
@@ -84,21 +84,21 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
|
|
|
84
84
|
/**
|
|
85
85
|
* This send an email to invite a user with the specific role/roles.
|
|
86
86
|
* @summary Invite a user
|
|
87
|
-
* @param {
|
|
87
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
88
88
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
91
91
|
*/
|
|
92
|
-
inviteUser(
|
|
92
|
+
inviteUser(inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUserResponseClass>>;
|
|
93
93
|
/**
|
|
94
94
|
* This send bulk emails to invite users with the specific role/roles.
|
|
95
95
|
* @summary Invite batch of users
|
|
96
|
-
* @param {
|
|
96
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
97
97
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
98
98
|
* @param {*} [options] Override http request option.
|
|
99
99
|
* @throws {RequiredError}
|
|
100
100
|
*/
|
|
101
|
-
inviteUsers(
|
|
101
|
+
inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUsersResponseClass>>;
|
|
102
102
|
/**
|
|
103
103
|
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
104
104
|
* @summary List invited users
|
|
@@ -108,7 +108,7 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
|
|
|
108
108
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
109
109
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
110
110
|
* @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, expiresOn</i>
|
|
111
|
-
* @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: organizations<i>
|
|
111
|
+
* @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, organizations<i>
|
|
112
112
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
113
113
|
* @param {*} [options] Override http request option.
|
|
114
114
|
* @throws {RequiredError}
|
|
@@ -132,21 +132,21 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
|
|
|
132
132
|
/**
|
|
133
133
|
* This send an email to invite a user with the specific role/roles.
|
|
134
134
|
* @summary Invite a user
|
|
135
|
-
* @param {
|
|
135
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
136
136
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
137
137
|
* @param {*} [options] Override http request option.
|
|
138
138
|
* @throws {RequiredError}
|
|
139
139
|
*/
|
|
140
|
-
inviteUser(
|
|
140
|
+
inviteUser(inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUserResponseClass>;
|
|
141
141
|
/**
|
|
142
142
|
* This send bulk emails to invite users with the specific role/roles.
|
|
143
143
|
* @summary Invite batch of users
|
|
144
|
-
* @param {
|
|
144
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
145
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
147
147
|
* @throws {RequiredError}
|
|
148
148
|
*/
|
|
149
|
-
inviteUsers(
|
|
149
|
+
inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUsersResponseClass>;
|
|
150
150
|
/**
|
|
151
151
|
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
152
152
|
* @summary List invited users
|
|
@@ -156,7 +156,7 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
|
|
|
156
156
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
157
157
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
158
158
|
* @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, expiresOn</i>
|
|
159
|
-
* @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: organizations<i>
|
|
159
|
+
* @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, organizations<i>
|
|
160
160
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
161
161
|
* @param {*} [options] Override http request option.
|
|
162
162
|
* @throws {RequiredError}
|
|
@@ -190,10 +190,10 @@ export interface InviteUsersApiDeleteInvitesRequest {
|
|
|
190
190
|
export interface InviteUsersApiInviteUserRequest {
|
|
191
191
|
/**
|
|
192
192
|
*
|
|
193
|
-
* @type {
|
|
193
|
+
* @type {InviteUserRequestDto}
|
|
194
194
|
* @memberof InviteUsersApiInviteUser
|
|
195
195
|
*/
|
|
196
|
-
readonly
|
|
196
|
+
readonly inviteUserRequestDto: InviteUserRequestDto;
|
|
197
197
|
/**
|
|
198
198
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
199
199
|
* @type {string}
|
|
@@ -209,10 +209,10 @@ export interface InviteUsersApiInviteUserRequest {
|
|
|
209
209
|
export interface InviteUsersApiInviteUsersRequest {
|
|
210
210
|
/**
|
|
211
211
|
*
|
|
212
|
-
* @type {
|
|
212
|
+
* @type {InviteUsersRequestDto}
|
|
213
213
|
* @memberof InviteUsersApiInviteUsers
|
|
214
214
|
*/
|
|
215
|
-
readonly
|
|
215
|
+
readonly inviteUsersRequestDto: InviteUsersRequestDto;
|
|
216
216
|
/**
|
|
217
217
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
218
218
|
* @type {string}
|
|
@@ -263,7 +263,7 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
263
263
|
*/
|
|
264
264
|
readonly order?: string;
|
|
265
265
|
/**
|
|
266
|
-
* 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: organizations<i>
|
|
266
|
+
* 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, organizations<i>
|
|
267
267
|
* @type {string}
|
|
268
268
|
* @memberof InviteUsersApiListInvites
|
|
269
269
|
*/
|
|
@@ -148,20 +148,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
/**
|
|
149
149
|
* This send an email to invite a user with the specific role/roles.
|
|
150
150
|
* @summary Invite a user
|
|
151
|
-
* @param {
|
|
151
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
inviteUser: function (
|
|
156
|
+
inviteUser: function (inviteUserRequestDto, authorization, options) {
|
|
157
157
|
if (options === void 0) { options = {}; }
|
|
158
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
159
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
160
|
return __generator(this, function (_a) {
|
|
161
161
|
switch (_a.label) {
|
|
162
162
|
case 0:
|
|
163
|
-
// verify required parameter '
|
|
164
|
-
(0, common_1.assertParamExists)('inviteUser', '
|
|
163
|
+
// verify required parameter 'inviteUserRequestDto' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDto', inviteUserRequestDto);
|
|
165
165
|
localVarPath = "/tenantservice/v1/users/invites";
|
|
166
166
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
167
|
if (configuration) {
|
|
@@ -185,7 +185,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
185
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
186
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
187
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
188
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDto, localVarRequestOptions, configuration);
|
|
189
189
|
return [2 /*return*/, {
|
|
190
190
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
191
191
|
options: localVarRequestOptions,
|
|
@@ -197,20 +197,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
/**
|
|
198
198
|
* This send bulk emails to invite users with the specific role/roles.
|
|
199
199
|
* @summary Invite batch of users
|
|
200
|
-
* @param {
|
|
200
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
201
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
205
|
-
inviteUsers: function (
|
|
205
|
+
inviteUsers: function (inviteUsersRequestDto, authorization, options) {
|
|
206
206
|
if (options === void 0) { options = {}; }
|
|
207
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
209
209
|
return __generator(this, function (_a) {
|
|
210
210
|
switch (_a.label) {
|
|
211
211
|
case 0:
|
|
212
|
-
// verify required parameter '
|
|
213
|
-
(0, common_1.assertParamExists)('inviteUsers', '
|
|
212
|
+
// verify required parameter 'inviteUsersRequestDto' is not null or undefined
|
|
213
|
+
(0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDto', inviteUsersRequestDto);
|
|
214
214
|
localVarPath = "/tenantservice/v1/users/invites/batch";
|
|
215
215
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
216
216
|
if (configuration) {
|
|
@@ -234,7 +234,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
234
234
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
235
235
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
236
236
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
237
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
237
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDto, localVarRequestOptions, configuration);
|
|
238
238
|
return [2 /*return*/, {
|
|
239
239
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
240
240
|
options: localVarRequestOptions,
|
|
@@ -252,7 +252,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
252
252
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
253
253
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
254
254
|
* @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, expiresOn</i>
|
|
255
|
-
* @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: organizations<i>
|
|
255
|
+
* @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, organizations<i>
|
|
256
256
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
257
257
|
* @param {*} [options] Override http request option.
|
|
258
258
|
* @throws {RequiredError}
|
|
@@ -349,17 +349,17 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
349
349
|
/**
|
|
350
350
|
* This send an email to invite a user with the specific role/roles.
|
|
351
351
|
* @summary Invite a user
|
|
352
|
-
* @param {
|
|
352
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
353
353
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
354
354
|
* @param {*} [options] Override http request option.
|
|
355
355
|
* @throws {RequiredError}
|
|
356
356
|
*/
|
|
357
|
-
inviteUser: function (
|
|
357
|
+
inviteUser: function (inviteUserRequestDto, authorization, options) {
|
|
358
358
|
return __awaiter(this, void 0, void 0, function () {
|
|
359
359
|
var localVarAxiosArgs;
|
|
360
360
|
return __generator(this, function (_a) {
|
|
361
361
|
switch (_a.label) {
|
|
362
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(
|
|
362
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(inviteUserRequestDto, authorization, options)];
|
|
363
363
|
case 1:
|
|
364
364
|
localVarAxiosArgs = _a.sent();
|
|
365
365
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -370,17 +370,17 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
370
370
|
/**
|
|
371
371
|
* This send bulk emails to invite users with the specific role/roles.
|
|
372
372
|
* @summary Invite batch of users
|
|
373
|
-
* @param {
|
|
373
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
374
374
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
375
375
|
* @param {*} [options] Override http request option.
|
|
376
376
|
* @throws {RequiredError}
|
|
377
377
|
*/
|
|
378
|
-
inviteUsers: function (
|
|
378
|
+
inviteUsers: function (inviteUsersRequestDto, authorization, options) {
|
|
379
379
|
return __awaiter(this, void 0, void 0, function () {
|
|
380
380
|
var localVarAxiosArgs;
|
|
381
381
|
return __generator(this, function (_a) {
|
|
382
382
|
switch (_a.label) {
|
|
383
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(
|
|
383
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(inviteUsersRequestDto, authorization, options)];
|
|
384
384
|
case 1:
|
|
385
385
|
localVarAxiosArgs = _a.sent();
|
|
386
386
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -397,7 +397,7 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
397
397
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
398
398
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
399
399
|
* @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, expiresOn</i>
|
|
400
|
-
* @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: organizations<i>
|
|
400
|
+
* @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, organizations<i>
|
|
401
401
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
402
402
|
* @param {*} [options] Override http request option.
|
|
403
403
|
* @throws {RequiredError}
|
|
@@ -439,24 +439,24 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
439
439
|
/**
|
|
440
440
|
* This send an email to invite a user with the specific role/roles.
|
|
441
441
|
* @summary Invite a user
|
|
442
|
-
* @param {
|
|
442
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
443
443
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
444
444
|
* @param {*} [options] Override http request option.
|
|
445
445
|
* @throws {RequiredError}
|
|
446
446
|
*/
|
|
447
|
-
inviteUser: function (
|
|
448
|
-
return localVarFp.inviteUser(
|
|
447
|
+
inviteUser: function (inviteUserRequestDto, authorization, options) {
|
|
448
|
+
return localVarFp.inviteUser(inviteUserRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
449
449
|
},
|
|
450
450
|
/**
|
|
451
451
|
* This send bulk emails to invite users with the specific role/roles.
|
|
452
452
|
* @summary Invite batch of users
|
|
453
|
-
* @param {
|
|
453
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
454
454
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
455
455
|
* @param {*} [options] Override http request option.
|
|
456
456
|
* @throws {RequiredError}
|
|
457
457
|
*/
|
|
458
|
-
inviteUsers: function (
|
|
459
|
-
return localVarFp.inviteUsers(
|
|
458
|
+
inviteUsers: function (inviteUsersRequestDto, authorization, options) {
|
|
459
|
+
return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
460
460
|
},
|
|
461
461
|
/**
|
|
462
462
|
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -467,7 +467,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
467
467
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
468
468
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
469
469
|
* @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, expiresOn</i>
|
|
470
|
-
* @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: organizations<i>
|
|
470
|
+
* @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, organizations<i>
|
|
471
471
|
* @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, email, token, organizationId, ern, partnerCode</i>
|
|
472
472
|
* @param {*} [options] Override http request option.
|
|
473
473
|
* @throws {RequiredError}
|
|
@@ -511,7 +511,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
511
511
|
*/
|
|
512
512
|
InviteUsersApi.prototype.inviteUser = function (requestParameters, options) {
|
|
513
513
|
var _this = this;
|
|
514
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.
|
|
514
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.inviteUserRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
515
515
|
};
|
|
516
516
|
/**
|
|
517
517
|
* This send bulk emails to invite users with the specific role/roles.
|
|
@@ -523,7 +523,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
523
523
|
*/
|
|
524
524
|
InviteUsersApi.prototype.inviteUsers = function (requestParameters, options) {
|
|
525
525
|
var _this = this;
|
|
526
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.
|
|
526
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
527
527
|
};
|
|
528
528
|
/**
|
|
529
529
|
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
package/dist/api/roles-api.d.ts
CHANGED
|
@@ -29,7 +29,6 @@ export declare const RolesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
29
29
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
30
30
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
|
-
* @deprecated
|
|
33
32
|
* @throws {RequiredError}
|
|
34
33
|
*/
|
|
35
34
|
listRoles: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -50,7 +49,6 @@ export declare const RolesApiFp: (configuration?: Configuration) => {
|
|
|
50
49
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
51
50
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
52
51
|
* @param {*} [options] Override http request option.
|
|
53
|
-
* @deprecated
|
|
54
52
|
* @throws {RequiredError}
|
|
55
53
|
*/
|
|
56
54
|
listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesResponseClass>>;
|
|
@@ -71,7 +69,6 @@ export declare const RolesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
71
69
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
72
70
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
73
71
|
* @param {*} [options] Override http request option.
|
|
74
|
-
* @deprecated
|
|
75
72
|
* @throws {RequiredError}
|
|
76
73
|
*/
|
|
77
74
|
listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRolesResponseClass>;
|
|
@@ -137,7 +134,6 @@ export declare class RolesApi extends BaseAPI {
|
|
|
137
134
|
* @summary List roles
|
|
138
135
|
* @param {RolesApiListRolesRequest} requestParameters Request parameters.
|
|
139
136
|
* @param {*} [options] Override http request option.
|
|
140
|
-
* @deprecated
|
|
141
137
|
* @throws {RequiredError}
|
|
142
138
|
* @memberof RolesApi
|
|
143
139
|
*/
|
package/dist/api/roles-api.js
CHANGED
|
@@ -107,7 +107,6 @@ var RolesApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
108
108
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
109
109
|
* @param {*} [options] Override http request option.
|
|
110
|
-
* @deprecated
|
|
111
110
|
* @throws {RequiredError}
|
|
112
111
|
*/
|
|
113
112
|
listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
@@ -186,7 +185,6 @@ var RolesApiFp = function (configuration) {
|
|
|
186
185
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
187
186
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
188
187
|
* @param {*} [options] Override http request option.
|
|
189
|
-
* @deprecated
|
|
190
188
|
* @throws {RequiredError}
|
|
191
189
|
*/
|
|
192
190
|
listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
@@ -223,7 +221,6 @@ var RolesApiFactory = function (configuration, basePath, axios) {
|
|
|
223
221
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
224
222
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
225
223
|
* @param {*} [options] Override http request option.
|
|
226
|
-
* @deprecated
|
|
227
224
|
* @throws {RequiredError}
|
|
228
225
|
*/
|
|
229
226
|
listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
@@ -248,7 +245,6 @@ var RolesApi = /** @class */ (function (_super) {
|
|
|
248
245
|
* @summary List roles
|
|
249
246
|
* @param {RolesApiListRolesRequest} requestParameters Request parameters.
|
|
250
247
|
* @param {*} [options] Override http request option.
|
|
251
|
-
* @deprecated
|
|
252
248
|
* @throws {RequiredError}
|
|
253
249
|
* @memberof RolesApi
|
|
254
250
|
*/
|
package/dist/api/users-api.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
78
78
|
* @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>
|
|
79
79
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
80
80
|
* @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>
|
|
81
|
-
* @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>
|
|
81
|
+
* @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>
|
|
82
82
|
* @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>
|
|
83
83
|
* @param {*} [options] Override http request option.
|
|
84
84
|
* @throws {RequiredError}
|
|
@@ -141,7 +141,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
141
141
|
* @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>
|
|
142
142
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
143
143
|
* @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>
|
|
144
|
-
* @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>
|
|
144
|
+
* @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>
|
|
145
145
|
* @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>
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
147
147
|
* @throws {RequiredError}
|
|
@@ -204,7 +204,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
204
204
|
* @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>
|
|
205
205
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
206
206
|
* @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>
|
|
207
|
-
* @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>
|
|
207
|
+
* @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>
|
|
208
208
|
* @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>
|
|
209
209
|
* @param {*} [options] Override http request option.
|
|
210
210
|
* @throws {RequiredError}
|
|
@@ -361,7 +361,7 @@ export interface UsersApiListUsersRequest {
|
|
|
361
361
|
*/
|
|
362
362
|
readonly order?: string;
|
|
363
363
|
/**
|
|
364
|
-
* 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>
|
|
364
|
+
* 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>
|
|
365
365
|
* @type {string}
|
|
366
366
|
* @memberof UsersApiListUsers
|
|
367
367
|
*/
|
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';
|