@emilgroup/tenant-sdk 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
|
*/
|
|
@@ -144,20 +144,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
144
144
|
/**
|
|
145
145
|
* This send an email to invite a user with the specific role/roles.
|
|
146
146
|
* @summary Invite a user
|
|
147
|
-
* @param {
|
|
147
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
*/
|
|
152
|
-
inviteUser: function (
|
|
152
|
+
inviteUser: function (inviteUserRequestDto, authorization, options) {
|
|
153
153
|
if (options === void 0) { options = {}; }
|
|
154
154
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
156
|
return __generator(this, function (_a) {
|
|
157
157
|
switch (_a.label) {
|
|
158
158
|
case 0:
|
|
159
|
-
// verify required parameter '
|
|
160
|
-
(0, common_1.assertParamExists)('inviteUser', '
|
|
159
|
+
// verify required parameter 'inviteUserRequestDto' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDto', inviteUserRequestDto);
|
|
161
161
|
localVarPath = "/tenantservice/v1/users/invites";
|
|
162
162
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
163
|
if (configuration) {
|
|
@@ -181,7 +181,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
181
181
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
182
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
183
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
184
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDto, localVarRequestOptions, configuration);
|
|
185
185
|
return [2 /*return*/, {
|
|
186
186
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
187
|
options: localVarRequestOptions,
|
|
@@ -193,20 +193,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
193
193
|
/**
|
|
194
194
|
* This send bulk emails to invite users with the specific role/roles.
|
|
195
195
|
* @summary Invite batch of users
|
|
196
|
-
* @param {
|
|
196
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
197
197
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
198
198
|
* @param {*} [options] Override http request option.
|
|
199
199
|
* @throws {RequiredError}
|
|
200
200
|
*/
|
|
201
|
-
inviteUsers: function (
|
|
201
|
+
inviteUsers: function (inviteUsersRequestDto, authorization, options) {
|
|
202
202
|
if (options === void 0) { options = {}; }
|
|
203
203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
204
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
205
205
|
return __generator(this, function (_a) {
|
|
206
206
|
switch (_a.label) {
|
|
207
207
|
case 0:
|
|
208
|
-
// verify required parameter '
|
|
209
|
-
(0, common_1.assertParamExists)('inviteUsers', '
|
|
208
|
+
// verify required parameter 'inviteUsersRequestDto' is not null or undefined
|
|
209
|
+
(0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDto', inviteUsersRequestDto);
|
|
210
210
|
localVarPath = "/tenantservice/v1/users/invites/batch";
|
|
211
211
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
212
212
|
if (configuration) {
|
|
@@ -230,7 +230,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
230
230
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
231
231
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
232
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
233
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
233
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDto, localVarRequestOptions, configuration);
|
|
234
234
|
return [2 /*return*/, {
|
|
235
235
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
236
236
|
options: localVarRequestOptions,
|
|
@@ -248,7 +248,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
248
248
|
* @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>
|
|
249
249
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
250
250
|
* @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>
|
|
251
|
-
* @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>
|
|
251
|
+
* @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>
|
|
252
252
|
* @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>
|
|
253
253
|
* @param {*} [options] Override http request option.
|
|
254
254
|
* @throws {RequiredError}
|
|
@@ -345,17 +345,17 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
345
345
|
/**
|
|
346
346
|
* This send an email to invite a user with the specific role/roles.
|
|
347
347
|
* @summary Invite a user
|
|
348
|
-
* @param {
|
|
348
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
349
349
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
350
350
|
* @param {*} [options] Override http request option.
|
|
351
351
|
* @throws {RequiredError}
|
|
352
352
|
*/
|
|
353
|
-
inviteUser: function (
|
|
353
|
+
inviteUser: function (inviteUserRequestDto, authorization, options) {
|
|
354
354
|
return __awaiter(this, void 0, void 0, function () {
|
|
355
355
|
var localVarAxiosArgs;
|
|
356
356
|
return __generator(this, function (_a) {
|
|
357
357
|
switch (_a.label) {
|
|
358
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(
|
|
358
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(inviteUserRequestDto, authorization, options)];
|
|
359
359
|
case 1:
|
|
360
360
|
localVarAxiosArgs = _a.sent();
|
|
361
361
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -366,17 +366,17 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
366
366
|
/**
|
|
367
367
|
* This send bulk emails to invite users with the specific role/roles.
|
|
368
368
|
* @summary Invite batch of users
|
|
369
|
-
* @param {
|
|
369
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
370
370
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
371
371
|
* @param {*} [options] Override http request option.
|
|
372
372
|
* @throws {RequiredError}
|
|
373
373
|
*/
|
|
374
|
-
inviteUsers: function (
|
|
374
|
+
inviteUsers: function (inviteUsersRequestDto, authorization, options) {
|
|
375
375
|
return __awaiter(this, void 0, void 0, function () {
|
|
376
376
|
var localVarAxiosArgs;
|
|
377
377
|
return __generator(this, function (_a) {
|
|
378
378
|
switch (_a.label) {
|
|
379
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(
|
|
379
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(inviteUsersRequestDto, authorization, options)];
|
|
380
380
|
case 1:
|
|
381
381
|
localVarAxiosArgs = _a.sent();
|
|
382
382
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -393,7 +393,7 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
393
393
|
* @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>
|
|
394
394
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
395
395
|
* @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>
|
|
396
|
-
* @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>
|
|
396
|
+
* @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>
|
|
397
397
|
* @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>
|
|
398
398
|
* @param {*} [options] Override http request option.
|
|
399
399
|
* @throws {RequiredError}
|
|
@@ -435,24 +435,24 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
435
435
|
/**
|
|
436
436
|
* This send an email to invite a user with the specific role/roles.
|
|
437
437
|
* @summary Invite a user
|
|
438
|
-
* @param {
|
|
438
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
439
439
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
440
440
|
* @param {*} [options] Override http request option.
|
|
441
441
|
* @throws {RequiredError}
|
|
442
442
|
*/
|
|
443
|
-
inviteUser: function (
|
|
444
|
-
return localVarFp.inviteUser(
|
|
443
|
+
inviteUser: function (inviteUserRequestDto, authorization, options) {
|
|
444
|
+
return localVarFp.inviteUser(inviteUserRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
445
445
|
},
|
|
446
446
|
/**
|
|
447
447
|
* This send bulk emails to invite users with the specific role/roles.
|
|
448
448
|
* @summary Invite batch of users
|
|
449
|
-
* @param {
|
|
449
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
450
450
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
451
451
|
* @param {*} [options] Override http request option.
|
|
452
452
|
* @throws {RequiredError}
|
|
453
453
|
*/
|
|
454
|
-
inviteUsers: function (
|
|
455
|
-
return localVarFp.inviteUsers(
|
|
454
|
+
inviteUsers: function (inviteUsersRequestDto, authorization, options) {
|
|
455
|
+
return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
456
456
|
},
|
|
457
457
|
/**
|
|
458
458
|
* 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.
|
|
@@ -463,7 +463,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
463
463
|
* @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>
|
|
464
464
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
465
465
|
* @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>
|
|
466
|
-
* @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>
|
|
466
|
+
* @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>
|
|
467
467
|
* @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>
|
|
468
468
|
* @param {*} [options] Override http request option.
|
|
469
469
|
* @throws {RequiredError}
|
|
@@ -507,7 +507,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
507
507
|
*/
|
|
508
508
|
InviteUsersApi.prototype.inviteUser = function (requestParameters, options) {
|
|
509
509
|
var _this = this;
|
|
510
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.
|
|
510
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.inviteUserRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
511
511
|
};
|
|
512
512
|
/**
|
|
513
513
|
* This send bulk emails to invite users with the specific role/roles.
|
|
@@ -519,7 +519,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
519
519
|
*/
|
|
520
520
|
InviteUsersApi.prototype.inviteUsers = function (requestParameters, options) {
|
|
521
521
|
var _this = this;
|
|
522
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.
|
|
522
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
523
523
|
};
|
|
524
524
|
/**
|
|
525
525
|
* 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
|
@@ -103,7 +103,6 @@ var RolesApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
104
104
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
|
-
* @deprecated
|
|
107
106
|
* @throws {RequiredError}
|
|
108
107
|
*/
|
|
109
108
|
listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
@@ -182,7 +181,6 @@ var RolesApiFp = function (configuration) {
|
|
|
182
181
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
183
182
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
184
183
|
* @param {*} [options] Override http request option.
|
|
185
|
-
* @deprecated
|
|
186
184
|
* @throws {RequiredError}
|
|
187
185
|
*/
|
|
188
186
|
listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
@@ -219,7 +217,6 @@ var RolesApiFactory = function (configuration, basePath, axios) {
|
|
|
219
217
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
220
218
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
221
219
|
* @param {*} [options] Override http request option.
|
|
222
|
-
* @deprecated
|
|
223
220
|
* @throws {RequiredError}
|
|
224
221
|
*/
|
|
225
222
|
listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
@@ -244,7 +241,6 @@ var RolesApi = /** @class */ (function (_super) {
|
|
|
244
241
|
* @summary List roles
|
|
245
242
|
* @param {RolesApiListRolesRequest} requestParameters Request parameters.
|
|
246
243
|
* @param {*} [options] Override http request option.
|
|
247
|
-
* @deprecated
|
|
248
244
|
* @throws {RequiredError}
|
|
249
245
|
* @memberof RolesApi
|
|
250
246
|
*/
|
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
|
@@ -348,7 +348,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
348
348
|
* @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>
|
|
349
349
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
350
350
|
* @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>
|
|
351
|
-
* @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>
|
|
351
|
+
* @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>
|
|
352
352
|
* @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>
|
|
353
353
|
* @param {*} [options] Override http request option.
|
|
354
354
|
* @throws {RequiredError}
|
|
@@ -532,7 +532,7 @@ var UsersApiFp = function (configuration) {
|
|
|
532
532
|
* @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>
|
|
533
533
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
534
534
|
* @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>
|
|
535
|
-
* @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>
|
|
535
|
+
* @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>
|
|
536
536
|
* @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>
|
|
537
537
|
* @param {*} [options] Override http request option.
|
|
538
538
|
* @throws {RequiredError}
|
|
@@ -621,7 +621,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
621
621
|
* @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>
|
|
622
622
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
623
623
|
* @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>
|
|
624
|
-
* @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>
|
|
624
|
+
* @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>
|
|
625
625
|
* @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>
|
|
626
626
|
* @param {*} [options] Override http request option.
|
|
627
627
|
* @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';
|