@emilgroup/tenant-sdk 1.23.0 → 1.25.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 +5 -7
- 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 +4 -0
- package/api/users-api.ts +124 -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 +4 -0
- package/dist/api/roles-api.js +4 -0
- package/dist/api/users-api.d.ts +70 -4
- package/dist/api/users-api.js +102 -3
- package/dist/models/{invite-users-request-dto.d.ts → assign-user-roles-request-dto.d.ts} +8 -14
- package/dist/models/assign-user-roles-response-class.d.ts +25 -0
- package/dist/models/index.d.ts +5 -7
- package/dist/models/index.js +5 -7
- package/dist/models/{invite-org-request-dto.d.ts → invite-org-request-dto-rest.d.ts} +27 -14
- package/dist/models/invite-user-request-dto-rest.d.ts +49 -0
- package/dist/models/invite-users-request-dto-rest.d.ts +49 -0
- package/models/{invite-users-request-dto.ts → assign-user-roles-request-dto.ts} +8 -14
- package/models/assign-user-roles-response-class.ts +31 -0
- package/models/index.ts +5 -7
- package/models/{invite-org-request-dto.ts → invite-org-request-dto-rest.ts} +27 -14
- package/models/invite-user-request-dto-rest.ts +55 -0
- package/models/invite-users-request-dto-rest.ts +55 -0
- package/package.json +1 -1
- package/dist/models/create-permission-request-dto.d.ts +0 -42
- package/dist/models/create-role-request-dto.d.ts +0 -36
- package/dist/models/invite-user-request-dto.d.ts +0 -43
- package/dist/models/partner-invitation-data-dto.d.ts +0 -36
- package/dist/models/partner-invitation-data-dto.js +0 -15
- package/dist/models/update-role-request-dto.d.ts +0 -42
- package/dist/models/update-role-request-dto.js +0 -15
- package/models/create-permission-request-dto.ts +0 -48
- package/models/create-role-request-dto.ts +0 -42
- package/models/invite-user-request-dto.ts +0 -49
- package/models/partner-invitation-data-dto.ts +0 -42
- package/models/update-role-request-dto.ts +0 -48
- /package/dist/models/{create-permission-request-dto.js → assign-user-roles-request-dto.js} +0 -0
- /package/dist/models/{create-role-request-dto.js → assign-user-roles-response-class.js} +0 -0
- /package/dist/models/{invite-org-request-dto.js → invite-org-request-dto-rest.js} +0 -0
- /package/dist/models/{invite-user-request-dto.js → invite-user-request-dto-rest.js} +0 -0
- /package/dist/models/{invite-users-request-dto.js → invite-users-request-dto-rest.js} +0 -0
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import {
|
|
15
|
+
import { InviteOrgRequestDtoRest } from '../models';
|
|
16
16
|
import { OrgInvitationResponseClass } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* InviteOrganizationsApi - axios parameter creator
|
|
@@ -22,12 +22,12 @@ export declare const InviteOrganizationsApiAxiosParamCreator: (configuration?: C
|
|
|
22
22
|
/**
|
|
23
23
|
* This sends an email to invite an organization.
|
|
24
24
|
* @summary Invite an organization
|
|
25
|
-
* @param {
|
|
25
|
+
* @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
|
|
26
26
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
28
28
|
* @throws {RequiredError}
|
|
29
29
|
*/
|
|
30
|
-
inviteOrg: (
|
|
30
|
+
inviteOrg: (inviteOrgRequestDtoRest: InviteOrgRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
* InviteOrganizationsApi - functional programming interface
|
|
@@ -37,12 +37,12 @@ export declare const InviteOrganizationsApiFp: (configuration?: Configuration) =
|
|
|
37
37
|
/**
|
|
38
38
|
* This sends an email to invite an organization.
|
|
39
39
|
* @summary Invite an organization
|
|
40
|
-
* @param {
|
|
40
|
+
* @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
|
|
41
41
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
inviteOrg(
|
|
45
|
+
inviteOrg(inviteOrgRequestDtoRest: InviteOrgRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>>;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* InviteOrganizationsApi - factory interface
|
|
@@ -52,12 +52,12 @@ export declare const InviteOrganizationsApiFactory: (configuration?: Configurati
|
|
|
52
52
|
/**
|
|
53
53
|
* This sends an email to invite an organization.
|
|
54
54
|
* @summary Invite an organization
|
|
55
|
-
* @param {
|
|
55
|
+
* @param {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
|
|
56
56
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
57
|
* @param {*} [options] Override http request option.
|
|
58
58
|
* @throws {RequiredError}
|
|
59
59
|
*/
|
|
60
|
-
inviteOrg(
|
|
60
|
+
inviteOrg(inviteOrgRequestDtoRest: InviteOrgRequestDtoRest, authorization?: string, options?: any): AxiosPromise<OrgInvitationResponseClass>;
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* Request parameters for inviteOrg operation in InviteOrganizationsApi.
|
|
@@ -67,10 +67,10 @@ export declare const InviteOrganizationsApiFactory: (configuration?: Configurati
|
|
|
67
67
|
export interface InviteOrganizationsApiInviteOrgRequest {
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
|
-
* @type {
|
|
70
|
+
* @type {InviteOrgRequestDtoRest}
|
|
71
71
|
* @memberof InviteOrganizationsApiInviteOrg
|
|
72
72
|
*/
|
|
73
|
-
readonly
|
|
73
|
+
readonly inviteOrgRequestDtoRest: InviteOrgRequestDtoRest;
|
|
74
74
|
/**
|
|
75
75
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
76
76
|
* @type {string}
|
|
@@ -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 {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
|
|
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 (inviteOrgRequestDtoRest, 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 'inviteOrgRequestDtoRest' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('inviteOrg', 'inviteOrgRequestDtoRest', inviteOrgRequestDtoRest);
|
|
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)(inviteOrgRequestDtoRest, 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 {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
|
|
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 (inviteOrgRequestDtoRest, 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(inviteOrgRequestDtoRest, 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 {InviteOrgRequestDtoRest} inviteOrgRequestDtoRest
|
|
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 (inviteOrgRequestDtoRest, authorization, options) {
|
|
194
|
+
return localVarFp.inviteOrg(inviteOrgRequestDtoRest, 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.inviteOrgRequestDtoRest, 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 { InviteUserRequestDtoRest } from '../models';
|
|
18
18
|
import { InviteUserResponseClass } from '../models';
|
|
19
|
-
import {
|
|
19
|
+
import { InviteUsersRequestDtoRest } 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 {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
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: (inviteUserRequestDtoRest: InviteUserRequestDtoRest, 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 {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
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: (inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, 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:
|
|
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
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 {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
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(inviteUserRequestDtoRest: InviteUserRequestDtoRest, 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 {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
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(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, 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:
|
|
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
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 {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
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(inviteUserRequestDtoRest: InviteUserRequestDtoRest, 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 {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
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(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, 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:
|
|
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
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 {InviteUserRequestDtoRest}
|
|
194
194
|
* @memberof InviteUsersApiInviteUser
|
|
195
195
|
*/
|
|
196
|
-
readonly
|
|
196
|
+
readonly inviteUserRequestDtoRest: InviteUserRequestDtoRest;
|
|
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 {InviteUsersRequestDtoRest}
|
|
213
213
|
* @memberof InviteUsersApiInviteUsers
|
|
214
214
|
*/
|
|
215
|
-
readonly
|
|
215
|
+
readonly inviteUsersRequestDtoRest: InviteUsersRequestDtoRest;
|
|
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:
|
|
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>
|
|
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 {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
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 (inviteUserRequestDtoRest, 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 'inviteUserRequestDtoRest' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDtoRest', inviteUserRequestDtoRest);
|
|
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)(inviteUserRequestDtoRest, 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 {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
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 (inviteUsersRequestDtoRest, 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 'inviteUsersRequestDtoRest' is not null or undefined
|
|
209
|
+
(0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDtoRest', inviteUsersRequestDtoRest);
|
|
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)(inviteUsersRequestDtoRest, 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:
|
|
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
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 {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
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 (inviteUserRequestDtoRest, 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(inviteUserRequestDtoRest, 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 {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
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 (inviteUsersRequestDtoRest, 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(inviteUsersRequestDtoRest, 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:
|
|
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
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 {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
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 (inviteUserRequestDtoRest, authorization, options) {
|
|
444
|
+
return localVarFp.inviteUser(inviteUserRequestDtoRest, 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 {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
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 (inviteUsersRequestDtoRest, authorization, options) {
|
|
455
|
+
return localVarFp.inviteUsers(inviteUsersRequestDtoRest, 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:
|
|
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
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.inviteUserRequestDtoRest, 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.inviteUsersRequestDtoRest, 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,6 +29,7 @@ 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
|
|
32
33
|
* @throws {RequiredError}
|
|
33
34
|
*/
|
|
34
35
|
listRoles: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -49,6 +50,7 @@ export declare const RolesApiFp: (configuration?: Configuration) => {
|
|
|
49
50
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
50
51
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
51
52
|
* @param {*} [options] Override http request option.
|
|
53
|
+
* @deprecated
|
|
52
54
|
* @throws {RequiredError}
|
|
53
55
|
*/
|
|
54
56
|
listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesResponseClass>>;
|
|
@@ -69,6 +71,7 @@ export declare const RolesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
69
71
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
70
72
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
71
73
|
* @param {*} [options] Override http request option.
|
|
74
|
+
* @deprecated
|
|
72
75
|
* @throws {RequiredError}
|
|
73
76
|
*/
|
|
74
77
|
listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRolesResponseClass>;
|
|
@@ -134,6 +137,7 @@ export declare class RolesApi extends BaseAPI {
|
|
|
134
137
|
* @summary List roles
|
|
135
138
|
* @param {RolesApiListRolesRequest} requestParameters Request parameters.
|
|
136
139
|
* @param {*} [options] Override http request option.
|
|
140
|
+
* @deprecated
|
|
137
141
|
* @throws {RequiredError}
|
|
138
142
|
* @memberof RolesApi
|
|
139
143
|
*/
|
package/dist/api/roles-api.js
CHANGED
|
@@ -103,6 +103,7 @@ 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
|
|
106
107
|
* @throws {RequiredError}
|
|
107
108
|
*/
|
|
108
109
|
listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
@@ -181,6 +182,7 @@ var RolesApiFp = function (configuration) {
|
|
|
181
182
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
182
183
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
183
184
|
* @param {*} [options] Override http request option.
|
|
185
|
+
* @deprecated
|
|
184
186
|
* @throws {RequiredError}
|
|
185
187
|
*/
|
|
186
188
|
listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
@@ -217,6 +219,7 @@ var RolesApiFactory = function (configuration, basePath, axios) {
|
|
|
217
219
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
218
220
|
* @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
|
|
219
221
|
* @param {*} [options] Override http request option.
|
|
222
|
+
* @deprecated
|
|
220
223
|
* @throws {RequiredError}
|
|
221
224
|
*/
|
|
222
225
|
listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
@@ -241,6 +244,7 @@ var RolesApi = /** @class */ (function (_super) {
|
|
|
241
244
|
* @summary List roles
|
|
242
245
|
* @param {RolesApiListRolesRequest} requestParameters Request parameters.
|
|
243
246
|
* @param {*} [options] Override http request option.
|
|
247
|
+
* @deprecated
|
|
244
248
|
* @throws {RequiredError}
|
|
245
249
|
* @memberof RolesApi
|
|
246
250
|
*/
|