@emilgroup/tenant-sdk 1.22.1-beta.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +7 -4
- package/README.md +2 -2
- package/api/invite-organizations-api.ts +15 -15
- package/api/invite-users-api.ts +42 -42
- package/api/roles-api.ts +0 -4
- package/api/users-api.ts +4 -4
- package/dist/api/invite-organizations-api.d.ts +9 -9
- package/dist/api/invite-organizations-api.js +12 -12
- package/dist/api/invite-users-api.d.ts +30 -30
- package/dist/api/invite-users-api.js +33 -33
- package/dist/api/roles-api.d.ts +0 -4
- package/dist/api/roles-api.js +0 -4
- package/dist/api/users-api.d.ts +4 -4
- package/dist/api/users-api.js +3 -3
- package/dist/models/create-permission-request-dto.d.ts +42 -0
- package/dist/models/create-role-request-dto.d.ts +36 -0
- package/dist/models/index.d.ts +7 -4
- package/dist/models/index.js +7 -4
- package/dist/models/invite-class.d.ts +12 -12
- package/dist/models/{invite-org-request-dto-rest.d.ts → invite-org-request-dto.d.ts} +14 -27
- package/dist/models/invite-user-request-dto.d.ts +43 -0
- package/dist/models/invite-users-request-dto.d.ts +36 -0
- package/dist/models/invite-users-request-dto.js +15 -0
- package/dist/models/partner-invitation-data-dto.d.ts +36 -0
- package/dist/models/partner-invitation-data-dto.js +15 -0
- package/dist/models/update-role-request-dto.d.ts +42 -0
- package/dist/models/update-role-request-dto.js +15 -0
- package/dist/models/user-class.d.ts +8 -8
- package/models/create-permission-request-dto.ts +48 -0
- package/models/{create-tenant-db-config-request-dto.ts → create-role-request-dto.ts} +15 -9
- package/models/index.ts +7 -4
- package/models/invite-class.ts +12 -12
- package/models/{invite-org-request-dto-rest.ts → invite-org-request-dto.ts} +14 -27
- package/models/invite-user-request-dto.ts +49 -0
- package/models/invite-users-request-dto.ts +42 -0
- package/models/partner-invitation-data-dto.ts +42 -0
- package/models/update-role-request-dto.ts +48 -0
- package/models/user-class.ts +8 -8
- package/package.json +1 -1
- package/dist/models/create-tenant-db-config-request-dto.d.ts +0 -30
- package/dist/models/invite-user-request-dto-rest.d.ts +0 -49
- package/dist/models/invite-users-request-dto-rest.d.ts +0 -49
- package/models/invite-user-request-dto-rest.ts +0 -55
- package/models/invite-users-request-dto-rest.ts +0 -55
- /package/dist/models/{create-tenant-db-config-request-dto.js → create-permission-request-dto.js} +0 -0
- /package/dist/models/{invite-org-request-dto-rest.js → create-role-request-dto.js} +0 -0
- /package/dist/models/{invite-user-request-dto-rest.js → invite-org-request-dto.js} +0 -0
- /package/dist/models/{invite-users-request-dto-rest.js → invite-user-request-dto.js} +0 -0
|
@@ -95,20 +95,20 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
95
95
|
/**
|
|
96
96
|
* This sends an email to invite an organization.
|
|
97
97
|
* @summary Invite an organization
|
|
98
|
-
* @param {
|
|
98
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
inviteOrg: function (
|
|
103
|
+
inviteOrg: function (inviteOrgRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
|
-
// verify required parameter '
|
|
111
|
-
(0, common_1.assertParamExists)('inviteOrg', '
|
|
110
|
+
// verify required parameter 'inviteOrgRequestDto' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('inviteOrg', 'inviteOrgRequestDto', inviteOrgRequestDto);
|
|
112
112
|
localVarPath = "/tenantservice/v1/invitations/organizations";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
@@ -132,7 +132,7 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
132
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
133
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
134
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
135
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteOrgRequestDto, localVarRequestOptions, configuration);
|
|
136
136
|
return [2 /*return*/, {
|
|
137
137
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
138
|
options: localVarRequestOptions,
|
|
@@ -154,17 +154,17 @@ var InviteOrganizationsApiFp = function (configuration) {
|
|
|
154
154
|
/**
|
|
155
155
|
* This sends an email to invite an organization.
|
|
156
156
|
* @summary Invite an organization
|
|
157
|
-
* @param {
|
|
157
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
158
158
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
159
159
|
* @param {*} [options] Override http request option.
|
|
160
160
|
* @throws {RequiredError}
|
|
161
161
|
*/
|
|
162
|
-
inviteOrg: function (
|
|
162
|
+
inviteOrg: function (inviteOrgRequestDto, authorization, options) {
|
|
163
163
|
return __awaiter(this, void 0, void 0, function () {
|
|
164
164
|
var localVarAxiosArgs;
|
|
165
165
|
return __generator(this, function (_a) {
|
|
166
166
|
switch (_a.label) {
|
|
167
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteOrg(
|
|
167
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteOrg(inviteOrgRequestDto, authorization, options)];
|
|
168
168
|
case 1:
|
|
169
169
|
localVarAxiosArgs = _a.sent();
|
|
170
170
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -185,13 +185,13 @@ var InviteOrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
185
185
|
/**
|
|
186
186
|
* This sends an email to invite an organization.
|
|
187
187
|
* @summary Invite an organization
|
|
188
|
-
* @param {
|
|
188
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
189
189
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
190
|
* @param {*} [options] Override http request option.
|
|
191
191
|
* @throws {RequiredError}
|
|
192
192
|
*/
|
|
193
|
-
inviteOrg: function (
|
|
194
|
-
return localVarFp.inviteOrg(
|
|
193
|
+
inviteOrg: function (inviteOrgRequestDto, authorization, options) {
|
|
194
|
+
return localVarFp.inviteOrg(inviteOrgRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
195
195
|
},
|
|
196
196
|
};
|
|
197
197
|
};
|
|
@@ -217,7 +217,7 @@ var InviteOrganizationsApi = /** @class */ (function (_super) {
|
|
|
217
217
|
*/
|
|
218
218
|
InviteOrganizationsApi.prototype.inviteOrg = function (requestParameters, options) {
|
|
219
219
|
var _this = this;
|
|
220
|
-
return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.
|
|
220
|
+
return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
221
221
|
};
|
|
222
222
|
return InviteOrganizationsApi;
|
|
223
223
|
}(base_1.BaseAPI));
|
|
@@ -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,32 +36,32 @@ 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
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
58
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
59
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
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</i>
|
|
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>
|
|
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</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
|
+
* @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}
|
|
67
67
|
*/
|
|
@@ -84,32 +84,32 @@ 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
|
|
105
105
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
106
106
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
107
107
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
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</i>
|
|
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>
|
|
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</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
|
+
* @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}
|
|
115
115
|
*/
|
|
@@ -132,32 +132,32 @@ 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
|
|
153
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
154
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
155
155
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
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</i>
|
|
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>
|
|
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</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
|
+
* @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}
|
|
163
163
|
*/
|
|
@@ -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}
|
|
@@ -245,7 +245,7 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
245
245
|
*/
|
|
246
246
|
readonly pageToken?: any;
|
|
247
247
|
/**
|
|
248
|
-
* 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</i>
|
|
248
|
+
* 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
|
* @type {string}
|
|
250
250
|
* @memberof InviteUsersApiListInvites
|
|
251
251
|
*/
|
|
@@ -263,13 +263,13 @@ 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
|
*/
|
|
270
270
|
readonly expand?: string;
|
|
271
271
|
/**
|
|
272
|
-
* 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</i>
|
|
272
|
+
* 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>
|
|
273
273
|
* @type {string}
|
|
274
274
|
* @memberof InviteUsersApiListInvites
|
|
275
275
|
*/
|
|
@@ -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,
|
|
@@ -245,11 +245,11 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
245
245
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
246
246
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
247
247
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
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</i>
|
|
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>
|
|
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</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
|
+
* @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}
|
|
255
255
|
*/
|
|
@@ -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)];
|
|
@@ -390,11 +390,11 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
390
390
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
391
391
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
392
392
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
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</i>
|
|
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>
|
|
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</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
|
+
* @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}
|
|
400
400
|
*/
|
|
@@ -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.
|
|
@@ -460,11 +460,11 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
460
460
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
461
461
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
462
462
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
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</i>
|
|
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>
|
|
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</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
|
+
* @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}
|
|
470
470
|
*/
|
|
@@ -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
|
*/
|