@emilgroup/tenant-sdk 1.0.0 → 1.0.1
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 +57 -14
- package/README.md +2 -2
- package/api/alerts-api.ts +860 -0
- package/api/custom-schema-api.ts +60 -52
- package/api/dashboard-api.ts +792 -0
- package/api/data-report-api.ts +75 -65
- package/api/data-report-executor-api.ts +26 -10
- package/api/invite-users-api.ts +79 -75
- package/api/reports-api.ts +860 -0
- package/api/scenario-analysis-api.ts +977 -0
- package/api/settings-api.ts +484 -0
- package/api/tariff-comparisons-api.ts +381 -0
- package/api/{invite-organizations-api.ts → user-subscription-api.ts} +161 -139
- package/api/users-api.ts +148 -138
- package/api.ts +14 -4
- package/dist/api/alerts-api.d.ts +479 -0
- package/dist/api/alerts-api.js +752 -0
- package/dist/api/custom-schema-api.d.ts +42 -42
- package/dist/api/custom-schema-api.js +38 -31
- package/dist/api/dashboard-api.d.ts +434 -0
- package/dist/api/dashboard-api.js +724 -0
- package/dist/api/data-report-api.d.ts +52 -52
- package/dist/api/data-report-api.js +49 -40
- package/dist/api/data-report-executor-api.d.ts +16 -7
- package/dist/api/data-report-executor-api.js +17 -9
- package/dist/api/invite-users-api.d.ts +60 -63
- package/dist/api/invite-users-api.js +49 -40
- package/dist/api/reports-api.d.ts +479 -0
- package/dist/api/reports-api.js +752 -0
- package/dist/api/scenario-analysis-api.d.ts +529 -0
- package/dist/api/scenario-analysis-api.js +895 -0
- package/dist/api/settings-api.d.ts +264 -0
- package/dist/api/settings-api.js +509 -0
- package/dist/api/tariff-comparisons-api.d.ts +206 -0
- package/dist/api/{organizations-api.js → tariff-comparisons-api.js} +158 -99
- package/dist/api/{organizations-api.d.ts → user-subscription-api.d.ts} +103 -88
- package/dist/api/{invite-organizations-api.js → user-subscription-api.js} +114 -106
- package/dist/api/users-api.d.ts +109 -113
- package/dist/api/users-api.js +93 -76
- package/dist/api.d.ts +7 -2
- package/dist/api.js +7 -2
- package/dist/models/alert-class.d.ts +90 -0
- package/dist/models/alert-history-class.d.ts +108 -0
- package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
- package/dist/models/channel-response-class.d.ts +30 -0
- package/dist/models/compare-tariffs-request-dto.d.ts +37 -0
- package/dist/models/compare-tariffs-request-dto.js +22 -0
- package/dist/models/compare-tariffs-response-class.d.ts +31 -0
- package/dist/models/condition-dto.d.ts +43 -0
- package/dist/models/condition-dto.js +22 -0
- package/dist/models/create-alert-request-dto.d.ts +79 -0
- package/dist/models/create-alert-request-dto.js +27 -0
- package/dist/models/create-alert-response-class.d.ts +25 -0
- package/dist/models/create-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/create-custom-schema-request-dto.js +1 -2
- package/dist/models/create-dashboard-request-dto.d.ts +70 -0
- package/dist/models/create-dashboard-request-dto.js +29 -0
- package/dist/models/create-dashboard-response-class.d.ts +25 -0
- package/dist/models/create-report-request-dto.d.ts +49 -0
- package/dist/models/create-report-request-dto.js +22 -0
- package/dist/models/create-report-response-class.d.ts +25 -0
- package/dist/models/create-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/create-scenario-analysis-request-dto.js +22 -0
- package/dist/models/create-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/dashboard-class.d.ts +78 -0
- package/dist/models/get-alert-response-class.d.ts +25 -0
- package/dist/models/get-dashboard-response-class.d.ts +25 -0
- package/dist/models/{delete-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -6
- package/dist/models/get-report-response-class.d.ts +25 -0
- package/dist/models/get-report-response-class.js +15 -0
- package/dist/models/get-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/get-scenario-analysis-response-class.js +15 -0
- package/dist/models/grouped-tariff-class.d.ts +30 -0
- package/dist/models/grouped-tariff-class.js +15 -0
- package/dist/models/index.d.ts +50 -12
- package/dist/models/index.js +50 -12
- package/dist/models/{enable-users-response-class.d.ts → insurance-company-response-class.d.ts} +6 -6
- package/dist/models/insurance-company-response-class.js +15 -0
- package/dist/models/{disable-users-response-class.d.ts → insurance-response-class.d.ts} +6 -6
- package/dist/models/insurance-response-class.js +15 -0
- package/dist/models/invite-user-request-dto.d.ts +2 -8
- package/dist/models/invite-users-request-dto.d.ts +2 -2
- package/dist/models/{list-organizations-response-class.d.ts → list-alert-history-response-class.d.ts} +9 -9
- package/dist/models/list-alert-history-response-class.js +15 -0
- package/dist/models/list-alerts-response-class.d.ts +31 -0
- package/dist/models/list-alerts-response-class.js +15 -0
- package/dist/models/list-channels-response-class.d.ts +25 -0
- package/dist/models/list-channels-response-class.js +15 -0
- package/dist/models/list-dashboards-response-class.d.ts +31 -0
- package/dist/models/list-dashboards-response-class.js +15 -0
- package/dist/models/list-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-insurance-companies-response-class.js +15 -0
- package/dist/models/list-report-history-response-class.d.ts +31 -0
- package/dist/models/list-report-history-response-class.js +15 -0
- package/dist/models/list-reports-response-class.d.ts +31 -0
- package/dist/models/list-reports-response-class.js +15 -0
- package/dist/models/list-scenario-analyses-response-class.d.ts +31 -0
- package/dist/models/list-scenario-analyses-response-class.js +15 -0
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +25 -0
- package/dist/models/list-scenario-analysis-dates-response-class.js +15 -0
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-tariff-insurance-companies-response-class.js +15 -0
- package/dist/models/list-tariffs-response-class.d.ts +25 -0
- package/dist/models/list-tariffs-response-class.js +15 -0
- package/dist/models/{list-org-invitations-response-class.d.ts → list-user-subscriptions-response-class.d.ts} +8 -8
- package/dist/models/list-user-subscriptions-response-class.js +15 -0
- package/dist/models/{batch-delete-response-class.d.ts → manage-subscription-request-dto.d.ts} +5 -5
- package/dist/models/manage-subscription-request-dto.js +15 -0
- package/dist/models/manage-subscription-response-class.d.ts +25 -0
- package/dist/models/manage-subscription-response-class.js +15 -0
- package/dist/models/report-class.d.ts +66 -0
- package/dist/models/report-class.js +15 -0
- package/dist/models/report-history-class.d.ts +48 -0
- package/dist/models/report-history-class.js +15 -0
- package/dist/models/scenario-analysis-class.d.ts +108 -0
- package/dist/models/scenario-analysis-class.js +15 -0
- package/dist/models/scenario-analysis-date-response-class.d.ts +36 -0
- package/dist/models/scenario-analysis-date-response-class.js +15 -0
- package/dist/models/set-setting-request-dto.d.ts +4 -10
- package/dist/models/set-tenant-setting-response-class.d.ts +36 -0
- package/dist/models/set-tenant-setting-response-class.js +15 -0
- package/dist/models/subscription-class.d.ts +2 -9
- package/dist/models/update-alert-request-dto.d.ts +72 -0
- package/dist/models/update-alert-request-dto.js +21 -0
- package/dist/models/update-alert-response-class.d.ts +25 -0
- package/dist/models/update-alert-response-class.js +15 -0
- package/dist/models/update-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/update-custom-schema-request-dto.js +1 -2
- package/dist/models/update-dashboard-request-dto.d.ts +76 -0
- package/dist/models/update-dashboard-request-dto.js +29 -0
- package/dist/models/update-dashboard-response-class.d.ts +25 -0
- package/dist/models/update-dashboard-response-class.js +15 -0
- package/dist/models/update-report-request-dto.d.ts +55 -0
- package/dist/models/update-report-request-dto.js +22 -0
- package/dist/models/update-report-response-class.d.ts +25 -0
- package/dist/models/update-report-response-class.js +15 -0
- package/dist/models/update-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/update-scenario-analysis-request-dto.js +22 -0
- package/dist/models/update-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/update-scenario-analysis-response-class.js +15 -0
- package/dist/models/user-class.d.ts +5 -13
- package/models/alert-class.ts +96 -0
- package/models/alert-history-class.ts +114 -0
- package/models/assign-user-roles-request-dto.ts +2 -2
- package/models/channel-response-class.ts +36 -0
- package/models/compare-tariffs-request-dto.ts +46 -0
- package/models/compare-tariffs-response-class.ts +37 -0
- package/models/condition-dto.ts +52 -0
- package/models/create-alert-request-dto.ts +89 -0
- package/models/create-alert-response-class.ts +31 -0
- package/models/create-custom-schema-request-dto.ts +1 -2
- package/models/create-dashboard-request-dto.ts +81 -0
- package/models/create-dashboard-response-class.ts +31 -0
- package/models/create-report-request-dto.ts +58 -0
- package/models/create-report-response-class.ts +31 -0
- package/models/create-scenario-analysis-request-dto.ts +83 -0
- package/models/create-scenario-analysis-response-class.ts +31 -0
- package/models/dashboard-class.ts +84 -0
- package/models/get-alert-response-class.ts +31 -0
- package/models/get-dashboard-response-class.ts +31 -0
- package/models/{disable-users-response-class.ts → get-embedded-url-response-class.ts} +6 -6
- package/models/get-report-response-class.ts +31 -0
- package/models/get-scenario-analysis-response-class.ts +31 -0
- package/models/grouped-tariff-class.ts +36 -0
- package/models/index.ts +50 -12
- package/models/{enable-users-response-class.ts → insurance-company-response-class.ts} +6 -6
- package/models/{delete-response-class.ts → insurance-response-class.ts} +6 -6
- package/models/invite-user-request-dto.ts +2 -8
- package/models/invite-users-request-dto.ts +2 -2
- package/models/{list-organizations-response-class.ts → list-alert-history-response-class.ts} +9 -9
- package/models/list-alerts-response-class.ts +37 -0
- package/models/list-channels-response-class.ts +31 -0
- package/models/list-dashboards-response-class.ts +37 -0
- package/models/list-insurance-companies-response-class.ts +31 -0
- package/models/list-report-history-response-class.ts +37 -0
- package/models/list-reports-response-class.ts +37 -0
- package/models/list-scenario-analyses-response-class.ts +37 -0
- package/models/list-scenario-analysis-dates-response-class.ts +31 -0
- package/models/list-tariff-insurance-companies-response-class.ts +31 -0
- package/models/list-tariffs-response-class.ts +31 -0
- package/models/{list-org-invitations-response-class.ts → list-user-subscriptions-response-class.ts} +8 -8
- package/models/{batch-delete-response-class.ts → manage-subscription-request-dto.ts} +5 -5
- package/models/manage-subscription-response-class.ts +31 -0
- package/models/report-class.ts +72 -0
- package/models/report-history-class.ts +54 -0
- package/models/scenario-analysis-class.ts +114 -0
- package/models/scenario-analysis-date-response-class.ts +42 -0
- package/models/set-setting-request-dto.ts +4 -10
- package/models/set-tenant-setting-response-class.ts +42 -0
- package/models/subscription-class.ts +2 -9
- package/models/update-alert-request-dto.ts +81 -0
- package/models/update-alert-response-class.ts +31 -0
- package/models/update-custom-schema-request-dto.ts +1 -2
- package/models/update-dashboard-request-dto.ts +87 -0
- package/models/update-dashboard-response-class.ts +31 -0
- package/models/update-report-request-dto.ts +64 -0
- package/models/update-report-response-class.ts +31 -0
- package/models/update-scenario-analysis-request-dto.ts +83 -0
- package/models/update-scenario-analysis-response-class.ts +31 -0
- package/models/user-class.ts +5 -13
- package/package.json +1 -1
- package/api/organizations-api.ts +0 -339
- package/dist/api/invite-organizations-api.d.ts +0 -198
- package/dist/models/get-organization-response-class.d.ts +0 -25
- package/dist/models/invite-org-request-dto.d.ts +0 -78
- package/dist/models/invite-users-response-class.d.ts +0 -24
- package/dist/models/org-invitation-class.d.ts +0 -103
- package/dist/models/org-invitation-response-class.d.ts +0 -25
- package/dist/models/organization-class.d.ts +0 -84
- package/models/get-organization-response-class.ts +0 -31
- package/models/invite-org-request-dto.ts +0 -84
- package/models/invite-users-response-class.ts +0 -30
- package/models/org-invitation-class.ts +0 -109
- package/models/org-invitation-response-class.ts +0 -31
- package/models/organization-class.ts +0 -90
- /package/dist/models/{batch-delete-response-class.js → alert-class.js} +0 -0
- /package/dist/models/{delete-response-class.js → alert-history-class.js} +0 -0
- /package/dist/models/{disable-users-response-class.js → channel-response-class.js} +0 -0
- /package/dist/models/{enable-users-response-class.js → compare-tariffs-response-class.js} +0 -0
- /package/dist/models/{get-organization-response-class.js → create-alert-response-class.js} +0 -0
- /package/dist/models/{invite-org-request-dto.js → create-dashboard-response-class.js} +0 -0
- /package/dist/models/{invite-users-response-class.js → create-report-response-class.js} +0 -0
- /package/dist/models/{list-org-invitations-response-class.js → create-scenario-analysis-response-class.js} +0 -0
- /package/dist/models/{list-organizations-response-class.js → dashboard-class.js} +0 -0
- /package/dist/models/{org-invitation-class.js → get-alert-response-class.js} +0 -0
- /package/dist/models/{org-invitation-response-class.js → get-dashboard-response-class.js} +0 -0
- /package/dist/models/{organization-class.js → get-embedded-url-response-class.js} +0 -0
package/api/users-api.ts
CHANGED
|
@@ -27,22 +27,14 @@ import { AssignUserRolesResponseClass } from '../models';
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BatchDeleteRequestDto } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import { BatchDeleteResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { DeleteResponseClass } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
30
|
import { DisableUserResponseClass } from '../models';
|
|
35
31
|
// @ts-ignore
|
|
36
32
|
import { DisableUsersRequestDto } from '../models';
|
|
37
33
|
// @ts-ignore
|
|
38
|
-
import { DisableUsersResponseClass } from '../models';
|
|
39
|
-
// @ts-ignore
|
|
40
34
|
import { EnableUserResponseClass } from '../models';
|
|
41
35
|
// @ts-ignore
|
|
42
36
|
import { EnableUsersRequestDto } from '../models';
|
|
43
37
|
// @ts-ignore
|
|
44
|
-
import { EnableUsersResponseClass } from '../models';
|
|
45
|
-
// @ts-ignore
|
|
46
38
|
import { GetUserResponseClass } from '../models';
|
|
47
39
|
// @ts-ignore
|
|
48
40
|
import { ListUsersResponseClass } from '../models';
|
|
@@ -58,13 +50,15 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
58
50
|
return {
|
|
59
51
|
/**
|
|
60
52
|
*
|
|
53
|
+
* @param {string} authorization Bearer Token
|
|
61
54
|
* @param {number} id
|
|
62
55
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
63
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
64
56
|
* @param {*} [options] Override http request option.
|
|
65
57
|
* @throws {RequiredError}
|
|
66
58
|
*/
|
|
67
|
-
assignUserRoles: async (id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto,
|
|
59
|
+
assignUserRoles: async (authorization: string, id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
61
|
+
assertParamExists('assignUserRoles', 'authorization', authorization)
|
|
68
62
|
// verify required parameter 'id' is not null or undefined
|
|
69
63
|
assertParamExists('assignUserRoles', 'id', id)
|
|
70
64
|
// verify required parameter 'assignUserRolesRequestDto' is not null or undefined
|
|
@@ -108,12 +102,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
108
102
|
},
|
|
109
103
|
/**
|
|
110
104
|
*
|
|
105
|
+
* @param {string} authorization Bearer Token
|
|
111
106
|
* @param {number} id
|
|
112
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
113
107
|
* @param {*} [options] Override http request option.
|
|
114
108
|
* @throws {RequiredError}
|
|
115
109
|
*/
|
|
116
|
-
deleteUser: async (
|
|
110
|
+
deleteUser: async (authorization: string, id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
111
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
112
|
+
assertParamExists('deleteUser', 'authorization', authorization)
|
|
117
113
|
// verify required parameter 'id' is not null or undefined
|
|
118
114
|
assertParamExists('deleteUser', 'id', id)
|
|
119
115
|
const localVarPath = `/tenantservice/v1/users/{id}`
|
|
@@ -152,12 +148,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
152
148
|
},
|
|
153
149
|
/**
|
|
154
150
|
*
|
|
151
|
+
* @param {string} authorization Bearer Token
|
|
155
152
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
156
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
157
153
|
* @param {*} [options] Override http request option.
|
|
158
154
|
* @throws {RequiredError}
|
|
159
155
|
*/
|
|
160
|
-
deleteUsers: async (
|
|
156
|
+
deleteUsers: async (authorization: string, batchDeleteRequestDto: BatchDeleteRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
157
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
158
|
+
assertParamExists('deleteUsers', 'authorization', authorization)
|
|
161
159
|
// verify required parameter 'batchDeleteRequestDto' is not null or undefined
|
|
162
160
|
assertParamExists('deleteUsers', 'batchDeleteRequestDto', batchDeleteRequestDto)
|
|
163
161
|
const localVarPath = `/tenantservice/v1/users/delete-batch`;
|
|
@@ -198,12 +196,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
198
196
|
},
|
|
199
197
|
/**
|
|
200
198
|
*
|
|
199
|
+
* @param {string} authorization Bearer Token
|
|
201
200
|
* @param {number} id
|
|
202
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
203
201
|
* @param {*} [options] Override http request option.
|
|
204
202
|
* @throws {RequiredError}
|
|
205
203
|
*/
|
|
206
|
-
disableUser: async (
|
|
204
|
+
disableUser: async (authorization: string, id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
206
|
+
assertParamExists('disableUser', 'authorization', authorization)
|
|
207
207
|
// verify required parameter 'id' is not null or undefined
|
|
208
208
|
assertParamExists('disableUser', 'id', id)
|
|
209
209
|
const localVarPath = `/tenantservice/v1/users/{id}/disable`
|
|
@@ -242,12 +242,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
242
242
|
},
|
|
243
243
|
/**
|
|
244
244
|
*
|
|
245
|
+
* @param {string} authorization Bearer Token
|
|
245
246
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
246
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
249
249
|
*/
|
|
250
|
-
disableUsers: async (
|
|
250
|
+
disableUsers: async (authorization: string, disableUsersRequestDto: DisableUsersRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
251
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
252
|
+
assertParamExists('disableUsers', 'authorization', authorization)
|
|
251
253
|
// verify required parameter 'disableUsersRequestDto' is not null or undefined
|
|
252
254
|
assertParamExists('disableUsers', 'disableUsersRequestDto', disableUsersRequestDto)
|
|
253
255
|
const localVarPath = `/tenantservice/v1/users/disable-batch`;
|
|
@@ -288,12 +290,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
288
290
|
},
|
|
289
291
|
/**
|
|
290
292
|
*
|
|
293
|
+
* @param {string} authorization Bearer Token
|
|
291
294
|
* @param {number} id
|
|
292
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
293
295
|
* @param {*} [options] Override http request option.
|
|
294
296
|
* @throws {RequiredError}
|
|
295
297
|
*/
|
|
296
|
-
enableUser: async (
|
|
298
|
+
enableUser: async (authorization: string, id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
299
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
300
|
+
assertParamExists('enableUser', 'authorization', authorization)
|
|
297
301
|
// verify required parameter 'id' is not null or undefined
|
|
298
302
|
assertParamExists('enableUser', 'id', id)
|
|
299
303
|
const localVarPath = `/tenantservice/v1/users/{id}/enable`
|
|
@@ -332,12 +336,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
332
336
|
},
|
|
333
337
|
/**
|
|
334
338
|
*
|
|
339
|
+
* @param {string} authorization Bearer Token
|
|
335
340
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
336
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
337
341
|
* @param {*} [options] Override http request option.
|
|
338
342
|
* @throws {RequiredError}
|
|
339
343
|
*/
|
|
340
|
-
enableUsers: async (
|
|
344
|
+
enableUsers: async (authorization: string, enableUsersRequestDto: EnableUsersRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
345
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
346
|
+
assertParamExists('enableUsers', 'authorization', authorization)
|
|
341
347
|
// verify required parameter 'enableUsersRequestDto' is not null or undefined
|
|
342
348
|
assertParamExists('enableUsers', 'enableUsersRequestDto', enableUsersRequestDto)
|
|
343
349
|
const localVarPath = `/tenantservice/v1/users/enable-batch`;
|
|
@@ -378,14 +384,16 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
378
384
|
},
|
|
379
385
|
/**
|
|
380
386
|
*
|
|
387
|
+
* @param {string} authorization Bearer Token
|
|
381
388
|
* @param {string} code
|
|
382
389
|
* @param {string} code2 code
|
|
383
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
384
390
|
* @param {string} [expand] Fields to expand response by
|
|
385
391
|
* @param {*} [options] Override http request option.
|
|
386
392
|
* @throws {RequiredError}
|
|
387
393
|
*/
|
|
388
|
-
getUser: async (
|
|
394
|
+
getUser: async (authorization: string, code: string, code2: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
395
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
396
|
+
assertParamExists('getUser', 'authorization', authorization)
|
|
389
397
|
// verify required parameter 'code' is not null or undefined
|
|
390
398
|
assertParamExists('getUser', 'code', code)
|
|
391
399
|
// verify required parameter 'code2' is not null or undefined
|
|
@@ -435,7 +443,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
435
443
|
/**
|
|
436
444
|
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
437
445
|
* @summary List users
|
|
438
|
-
* @param {string}
|
|
446
|
+
* @param {string} authorization Bearer Token
|
|
439
447
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
440
448
|
* @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.
|
|
441
449
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -445,7 +453,9 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
445
453
|
* @param {*} [options] Override http request option.
|
|
446
454
|
* @throws {RequiredError}
|
|
447
455
|
*/
|
|
448
|
-
listUsers: async (authorization
|
|
456
|
+
listUsers: async (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
457
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
458
|
+
assertParamExists('listUsers', 'authorization', authorization)
|
|
449
459
|
const localVarPath = `/tenantservice/v1/users`;
|
|
450
460
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
451
461
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -515,99 +525,99 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
515
525
|
return {
|
|
516
526
|
/**
|
|
517
527
|
*
|
|
528
|
+
* @param {string} authorization Bearer Token
|
|
518
529
|
* @param {number} id
|
|
519
530
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
520
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
521
531
|
* @param {*} [options] Override http request option.
|
|
522
532
|
* @throws {RequiredError}
|
|
523
533
|
*/
|
|
524
|
-
async assignUserRoles(id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto,
|
|
525
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.assignUserRoles(id, assignUserRolesRequestDto,
|
|
534
|
+
async assignUserRoles(authorization: string, id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssignUserRolesResponseClass>> {
|
|
535
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assignUserRoles(authorization, id, assignUserRolesRequestDto, options);
|
|
526
536
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
527
537
|
},
|
|
528
538
|
/**
|
|
529
539
|
*
|
|
540
|
+
* @param {string} authorization Bearer Token
|
|
530
541
|
* @param {number} id
|
|
531
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
532
542
|
* @param {*} [options] Override http request option.
|
|
533
543
|
* @throws {RequiredError}
|
|
534
544
|
*/
|
|
535
|
-
async deleteUser(
|
|
536
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(
|
|
545
|
+
async deleteUser(authorization: string, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(authorization, id, options);
|
|
537
547
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
538
548
|
},
|
|
539
549
|
/**
|
|
540
550
|
*
|
|
551
|
+
* @param {string} authorization Bearer Token
|
|
541
552
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
542
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
543
553
|
* @param {*} [options] Override http request option.
|
|
544
554
|
* @throws {RequiredError}
|
|
545
555
|
*/
|
|
546
|
-
async deleteUsers(
|
|
547
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUsers(
|
|
556
|
+
async deleteUsers(authorization: string, batchDeleteRequestDto: BatchDeleteRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
557
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUsers(authorization, batchDeleteRequestDto, options);
|
|
548
558
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
549
559
|
},
|
|
550
560
|
/**
|
|
551
561
|
*
|
|
562
|
+
* @param {string} authorization Bearer Token
|
|
552
563
|
* @param {number} id
|
|
553
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
554
564
|
* @param {*} [options] Override http request option.
|
|
555
565
|
* @throws {RequiredError}
|
|
556
566
|
*/
|
|
557
|
-
async disableUser(
|
|
558
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.disableUser(
|
|
567
|
+
async disableUser(authorization: string, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisableUserResponseClass>> {
|
|
568
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableUser(authorization, id, options);
|
|
559
569
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
560
570
|
},
|
|
561
571
|
/**
|
|
562
572
|
*
|
|
573
|
+
* @param {string} authorization Bearer Token
|
|
563
574
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
564
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
565
575
|
* @param {*} [options] Override http request option.
|
|
566
576
|
* @throws {RequiredError}
|
|
567
577
|
*/
|
|
568
|
-
async disableUsers(
|
|
569
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.disableUsers(
|
|
578
|
+
async disableUsers(authorization: string, disableUsersRequestDto: DisableUsersRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableUsers(authorization, disableUsersRequestDto, options);
|
|
570
580
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
571
581
|
},
|
|
572
582
|
/**
|
|
573
583
|
*
|
|
584
|
+
* @param {string} authorization Bearer Token
|
|
574
585
|
* @param {number} id
|
|
575
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
576
586
|
* @param {*} [options] Override http request option.
|
|
577
587
|
* @throws {RequiredError}
|
|
578
588
|
*/
|
|
579
|
-
async enableUser(
|
|
580
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.enableUser(
|
|
589
|
+
async enableUser(authorization: string, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnableUserResponseClass>> {
|
|
590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableUser(authorization, id, options);
|
|
581
591
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
582
592
|
},
|
|
583
593
|
/**
|
|
584
594
|
*
|
|
595
|
+
* @param {string} authorization Bearer Token
|
|
585
596
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
586
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
587
597
|
* @param {*} [options] Override http request option.
|
|
588
598
|
* @throws {RequiredError}
|
|
589
599
|
*/
|
|
590
|
-
async enableUsers(
|
|
591
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.enableUsers(
|
|
600
|
+
async enableUsers(authorization: string, enableUsersRequestDto: EnableUsersRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
601
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableUsers(authorization, enableUsersRequestDto, options);
|
|
592
602
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
593
603
|
},
|
|
594
604
|
/**
|
|
595
605
|
*
|
|
606
|
+
* @param {string} authorization Bearer Token
|
|
596
607
|
* @param {string} code
|
|
597
608
|
* @param {string} code2 code
|
|
598
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
599
609
|
* @param {string} [expand] Fields to expand response by
|
|
600
610
|
* @param {*} [options] Override http request option.
|
|
601
611
|
* @throws {RequiredError}
|
|
602
612
|
*/
|
|
603
|
-
async getUser(
|
|
604
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(code, code2,
|
|
613
|
+
async getUser(authorization: string, code: string, code2: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserResponseClass>> {
|
|
614
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(authorization, code, code2, expand, options);
|
|
605
615
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
606
616
|
},
|
|
607
617
|
/**
|
|
608
618
|
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
609
619
|
* @summary List users
|
|
610
|
-
* @param {string}
|
|
620
|
+
* @param {string} authorization Bearer Token
|
|
611
621
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
612
622
|
* @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.
|
|
613
623
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -617,7 +627,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
617
627
|
* @param {*} [options] Override http request option.
|
|
618
628
|
* @throws {RequiredError}
|
|
619
629
|
*/
|
|
620
|
-
async listUsers(authorization
|
|
630
|
+
async listUsers(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponseClass>> {
|
|
621
631
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
622
632
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
623
633
|
},
|
|
@@ -633,91 +643,91 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
633
643
|
return {
|
|
634
644
|
/**
|
|
635
645
|
*
|
|
646
|
+
* @param {string} authorization Bearer Token
|
|
636
647
|
* @param {number} id
|
|
637
648
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
638
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
639
649
|
* @param {*} [options] Override http request option.
|
|
640
650
|
* @throws {RequiredError}
|
|
641
651
|
*/
|
|
642
|
-
assignUserRoles(id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto,
|
|
643
|
-
return localVarFp.assignUserRoles(id, assignUserRolesRequestDto,
|
|
652
|
+
assignUserRoles(authorization: string, id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, options?: any): AxiosPromise<AssignUserRolesResponseClass> {
|
|
653
|
+
return localVarFp.assignUserRoles(authorization, id, assignUserRolesRequestDto, options).then((request) => request(axios, basePath));
|
|
644
654
|
},
|
|
645
655
|
/**
|
|
646
656
|
*
|
|
657
|
+
* @param {string} authorization Bearer Token
|
|
647
658
|
* @param {number} id
|
|
648
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
649
659
|
* @param {*} [options] Override http request option.
|
|
650
660
|
* @throws {RequiredError}
|
|
651
661
|
*/
|
|
652
|
-
deleteUser(
|
|
653
|
-
return localVarFp.deleteUser(
|
|
662
|
+
deleteUser(authorization: string, id: number, options?: any): AxiosPromise<object> {
|
|
663
|
+
return localVarFp.deleteUser(authorization, id, options).then((request) => request(axios, basePath));
|
|
654
664
|
},
|
|
655
665
|
/**
|
|
656
666
|
*
|
|
667
|
+
* @param {string} authorization Bearer Token
|
|
657
668
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
658
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
659
669
|
* @param {*} [options] Override http request option.
|
|
660
670
|
* @throws {RequiredError}
|
|
661
671
|
*/
|
|
662
|
-
deleteUsers(
|
|
663
|
-
return localVarFp.deleteUsers(
|
|
672
|
+
deleteUsers(authorization: string, batchDeleteRequestDto: BatchDeleteRequestDto, options?: any): AxiosPromise<object> {
|
|
673
|
+
return localVarFp.deleteUsers(authorization, batchDeleteRequestDto, options).then((request) => request(axios, basePath));
|
|
664
674
|
},
|
|
665
675
|
/**
|
|
666
676
|
*
|
|
677
|
+
* @param {string} authorization Bearer Token
|
|
667
678
|
* @param {number} id
|
|
668
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
669
679
|
* @param {*} [options] Override http request option.
|
|
670
680
|
* @throws {RequiredError}
|
|
671
681
|
*/
|
|
672
|
-
disableUser(
|
|
673
|
-
return localVarFp.disableUser(
|
|
682
|
+
disableUser(authorization: string, id: number, options?: any): AxiosPromise<DisableUserResponseClass> {
|
|
683
|
+
return localVarFp.disableUser(authorization, id, options).then((request) => request(axios, basePath));
|
|
674
684
|
},
|
|
675
685
|
/**
|
|
676
686
|
*
|
|
687
|
+
* @param {string} authorization Bearer Token
|
|
677
688
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
678
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
679
689
|
* @param {*} [options] Override http request option.
|
|
680
690
|
* @throws {RequiredError}
|
|
681
691
|
*/
|
|
682
|
-
disableUsers(
|
|
683
|
-
return localVarFp.disableUsers(
|
|
692
|
+
disableUsers(authorization: string, disableUsersRequestDto: DisableUsersRequestDto, options?: any): AxiosPromise<object> {
|
|
693
|
+
return localVarFp.disableUsers(authorization, disableUsersRequestDto, options).then((request) => request(axios, basePath));
|
|
684
694
|
},
|
|
685
695
|
/**
|
|
686
696
|
*
|
|
697
|
+
* @param {string} authorization Bearer Token
|
|
687
698
|
* @param {number} id
|
|
688
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
689
699
|
* @param {*} [options] Override http request option.
|
|
690
700
|
* @throws {RequiredError}
|
|
691
701
|
*/
|
|
692
|
-
enableUser(
|
|
693
|
-
return localVarFp.enableUser(
|
|
702
|
+
enableUser(authorization: string, id: number, options?: any): AxiosPromise<EnableUserResponseClass> {
|
|
703
|
+
return localVarFp.enableUser(authorization, id, options).then((request) => request(axios, basePath));
|
|
694
704
|
},
|
|
695
705
|
/**
|
|
696
706
|
*
|
|
707
|
+
* @param {string} authorization Bearer Token
|
|
697
708
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
698
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
699
709
|
* @param {*} [options] Override http request option.
|
|
700
710
|
* @throws {RequiredError}
|
|
701
711
|
*/
|
|
702
|
-
enableUsers(
|
|
703
|
-
return localVarFp.enableUsers(
|
|
712
|
+
enableUsers(authorization: string, enableUsersRequestDto: EnableUsersRequestDto, options?: any): AxiosPromise<object> {
|
|
713
|
+
return localVarFp.enableUsers(authorization, enableUsersRequestDto, options).then((request) => request(axios, basePath));
|
|
704
714
|
},
|
|
705
715
|
/**
|
|
706
716
|
*
|
|
717
|
+
* @param {string} authorization Bearer Token
|
|
707
718
|
* @param {string} code
|
|
708
719
|
* @param {string} code2 code
|
|
709
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
710
720
|
* @param {string} [expand] Fields to expand response by
|
|
711
721
|
* @param {*} [options] Override http request option.
|
|
712
722
|
* @throws {RequiredError}
|
|
713
723
|
*/
|
|
714
|
-
getUser(
|
|
715
|
-
return localVarFp.getUser(code, code2,
|
|
724
|
+
getUser(authorization: string, code: string, code2: string, expand?: string, options?: any): AxiosPromise<GetUserResponseClass> {
|
|
725
|
+
return localVarFp.getUser(authorization, code, code2, expand, options).then((request) => request(axios, basePath));
|
|
716
726
|
},
|
|
717
727
|
/**
|
|
718
728
|
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
719
729
|
* @summary List users
|
|
720
|
-
* @param {string}
|
|
730
|
+
* @param {string} authorization Bearer Token
|
|
721
731
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
722
732
|
* @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.
|
|
723
733
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -727,7 +737,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
727
737
|
* @param {*} [options] Override http request option.
|
|
728
738
|
* @throws {RequiredError}
|
|
729
739
|
*/
|
|
730
|
-
listUsers(authorization
|
|
740
|
+
listUsers(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListUsersResponseClass> {
|
|
731
741
|
return localVarFp.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
732
742
|
},
|
|
733
743
|
};
|
|
@@ -739,6 +749,13 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
739
749
|
* @interface UsersApiAssignUserRolesRequest
|
|
740
750
|
*/
|
|
741
751
|
export interface UsersApiAssignUserRolesRequest {
|
|
752
|
+
/**
|
|
753
|
+
* Bearer Token
|
|
754
|
+
* @type {string}
|
|
755
|
+
* @memberof UsersApiAssignUserRoles
|
|
756
|
+
*/
|
|
757
|
+
readonly authorization: string
|
|
758
|
+
|
|
742
759
|
/**
|
|
743
760
|
*
|
|
744
761
|
* @type {number}
|
|
@@ -752,13 +769,6 @@ export interface UsersApiAssignUserRolesRequest {
|
|
|
752
769
|
* @memberof UsersApiAssignUserRoles
|
|
753
770
|
*/
|
|
754
771
|
readonly assignUserRolesRequestDto: AssignUserRolesRequestDto
|
|
755
|
-
|
|
756
|
-
/**
|
|
757
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
758
|
-
* @type {string}
|
|
759
|
-
* @memberof UsersApiAssignUserRoles
|
|
760
|
-
*/
|
|
761
|
-
readonly authorization?: string
|
|
762
772
|
}
|
|
763
773
|
|
|
764
774
|
/**
|
|
@@ -768,18 +778,18 @@ export interface UsersApiAssignUserRolesRequest {
|
|
|
768
778
|
*/
|
|
769
779
|
export interface UsersApiDeleteUserRequest {
|
|
770
780
|
/**
|
|
771
|
-
*
|
|
772
|
-
* @type {
|
|
781
|
+
* Bearer Token
|
|
782
|
+
* @type {string}
|
|
773
783
|
* @memberof UsersApiDeleteUser
|
|
774
784
|
*/
|
|
775
|
-
readonly
|
|
785
|
+
readonly authorization: string
|
|
776
786
|
|
|
777
787
|
/**
|
|
778
|
-
*
|
|
779
|
-
* @type {
|
|
788
|
+
*
|
|
789
|
+
* @type {number}
|
|
780
790
|
* @memberof UsersApiDeleteUser
|
|
781
791
|
*/
|
|
782
|
-
readonly
|
|
792
|
+
readonly id: number
|
|
783
793
|
}
|
|
784
794
|
|
|
785
795
|
/**
|
|
@@ -789,18 +799,18 @@ export interface UsersApiDeleteUserRequest {
|
|
|
789
799
|
*/
|
|
790
800
|
export interface UsersApiDeleteUsersRequest {
|
|
791
801
|
/**
|
|
792
|
-
*
|
|
793
|
-
* @type {
|
|
802
|
+
* Bearer Token
|
|
803
|
+
* @type {string}
|
|
794
804
|
* @memberof UsersApiDeleteUsers
|
|
795
805
|
*/
|
|
796
|
-
readonly
|
|
806
|
+
readonly authorization: string
|
|
797
807
|
|
|
798
808
|
/**
|
|
799
|
-
*
|
|
800
|
-
* @type {
|
|
809
|
+
*
|
|
810
|
+
* @type {BatchDeleteRequestDto}
|
|
801
811
|
* @memberof UsersApiDeleteUsers
|
|
802
812
|
*/
|
|
803
|
-
readonly
|
|
813
|
+
readonly batchDeleteRequestDto: BatchDeleteRequestDto
|
|
804
814
|
}
|
|
805
815
|
|
|
806
816
|
/**
|
|
@@ -810,18 +820,18 @@ export interface UsersApiDeleteUsersRequest {
|
|
|
810
820
|
*/
|
|
811
821
|
export interface UsersApiDisableUserRequest {
|
|
812
822
|
/**
|
|
813
|
-
*
|
|
814
|
-
* @type {
|
|
823
|
+
* Bearer Token
|
|
824
|
+
* @type {string}
|
|
815
825
|
* @memberof UsersApiDisableUser
|
|
816
826
|
*/
|
|
817
|
-
readonly
|
|
827
|
+
readonly authorization: string
|
|
818
828
|
|
|
819
829
|
/**
|
|
820
|
-
*
|
|
821
|
-
* @type {
|
|
830
|
+
*
|
|
831
|
+
* @type {number}
|
|
822
832
|
* @memberof UsersApiDisableUser
|
|
823
833
|
*/
|
|
824
|
-
readonly
|
|
834
|
+
readonly id: number
|
|
825
835
|
}
|
|
826
836
|
|
|
827
837
|
/**
|
|
@@ -831,18 +841,18 @@ export interface UsersApiDisableUserRequest {
|
|
|
831
841
|
*/
|
|
832
842
|
export interface UsersApiDisableUsersRequest {
|
|
833
843
|
/**
|
|
834
|
-
*
|
|
835
|
-
* @type {
|
|
844
|
+
* Bearer Token
|
|
845
|
+
* @type {string}
|
|
836
846
|
* @memberof UsersApiDisableUsers
|
|
837
847
|
*/
|
|
838
|
-
readonly
|
|
848
|
+
readonly authorization: string
|
|
839
849
|
|
|
840
850
|
/**
|
|
841
|
-
*
|
|
842
|
-
* @type {
|
|
851
|
+
*
|
|
852
|
+
* @type {DisableUsersRequestDto}
|
|
843
853
|
* @memberof UsersApiDisableUsers
|
|
844
854
|
*/
|
|
845
|
-
readonly
|
|
855
|
+
readonly disableUsersRequestDto: DisableUsersRequestDto
|
|
846
856
|
}
|
|
847
857
|
|
|
848
858
|
/**
|
|
@@ -852,18 +862,18 @@ export interface UsersApiDisableUsersRequest {
|
|
|
852
862
|
*/
|
|
853
863
|
export interface UsersApiEnableUserRequest {
|
|
854
864
|
/**
|
|
855
|
-
*
|
|
856
|
-
* @type {
|
|
865
|
+
* Bearer Token
|
|
866
|
+
* @type {string}
|
|
857
867
|
* @memberof UsersApiEnableUser
|
|
858
868
|
*/
|
|
859
|
-
readonly
|
|
869
|
+
readonly authorization: string
|
|
860
870
|
|
|
861
871
|
/**
|
|
862
|
-
*
|
|
863
|
-
* @type {
|
|
872
|
+
*
|
|
873
|
+
* @type {number}
|
|
864
874
|
* @memberof UsersApiEnableUser
|
|
865
875
|
*/
|
|
866
|
-
readonly
|
|
876
|
+
readonly id: number
|
|
867
877
|
}
|
|
868
878
|
|
|
869
879
|
/**
|
|
@@ -873,18 +883,18 @@ export interface UsersApiEnableUserRequest {
|
|
|
873
883
|
*/
|
|
874
884
|
export interface UsersApiEnableUsersRequest {
|
|
875
885
|
/**
|
|
876
|
-
*
|
|
877
|
-
* @type {
|
|
886
|
+
* Bearer Token
|
|
887
|
+
* @type {string}
|
|
878
888
|
* @memberof UsersApiEnableUsers
|
|
879
889
|
*/
|
|
880
|
-
readonly
|
|
890
|
+
readonly authorization: string
|
|
881
891
|
|
|
882
892
|
/**
|
|
883
|
-
*
|
|
884
|
-
* @type {
|
|
893
|
+
*
|
|
894
|
+
* @type {EnableUsersRequestDto}
|
|
885
895
|
* @memberof UsersApiEnableUsers
|
|
886
896
|
*/
|
|
887
|
-
readonly
|
|
897
|
+
readonly enableUsersRequestDto: EnableUsersRequestDto
|
|
888
898
|
}
|
|
889
899
|
|
|
890
900
|
/**
|
|
@@ -894,25 +904,25 @@ export interface UsersApiEnableUsersRequest {
|
|
|
894
904
|
*/
|
|
895
905
|
export interface UsersApiGetUserRequest {
|
|
896
906
|
/**
|
|
897
|
-
*
|
|
907
|
+
* Bearer Token
|
|
898
908
|
* @type {string}
|
|
899
909
|
* @memberof UsersApiGetUser
|
|
900
910
|
*/
|
|
901
|
-
readonly
|
|
911
|
+
readonly authorization: string
|
|
902
912
|
|
|
903
913
|
/**
|
|
904
|
-
*
|
|
914
|
+
*
|
|
905
915
|
* @type {string}
|
|
906
916
|
* @memberof UsersApiGetUser
|
|
907
917
|
*/
|
|
908
|
-
readonly
|
|
918
|
+
readonly code: string
|
|
909
919
|
|
|
910
920
|
/**
|
|
911
|
-
*
|
|
921
|
+
* code
|
|
912
922
|
* @type {string}
|
|
913
923
|
* @memberof UsersApiGetUser
|
|
914
924
|
*/
|
|
915
|
-
readonly
|
|
925
|
+
readonly code2: string
|
|
916
926
|
|
|
917
927
|
/**
|
|
918
928
|
* Fields to expand response by
|
|
@@ -929,11 +939,11 @@ export interface UsersApiGetUserRequest {
|
|
|
929
939
|
*/
|
|
930
940
|
export interface UsersApiListUsersRequest {
|
|
931
941
|
/**
|
|
932
|
-
* Bearer Token
|
|
942
|
+
* Bearer Token
|
|
933
943
|
* @type {string}
|
|
934
944
|
* @memberof UsersApiListUsers
|
|
935
945
|
*/
|
|
936
|
-
readonly authorization
|
|
946
|
+
readonly authorization: string
|
|
937
947
|
|
|
938
948
|
/**
|
|
939
949
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -993,7 +1003,7 @@ export class UsersApi extends BaseAPI {
|
|
|
993
1003
|
* @memberof UsersApi
|
|
994
1004
|
*/
|
|
995
1005
|
public assignUserRoles(requestParameters: UsersApiAssignUserRolesRequest, options?: AxiosRequestConfig) {
|
|
996
|
-
return UsersApiFp(this.configuration).assignUserRoles(requestParameters.
|
|
1006
|
+
return UsersApiFp(this.configuration).assignUserRoles(requestParameters.authorization, requestParameters.id, requestParameters.assignUserRolesRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
997
1007
|
}
|
|
998
1008
|
|
|
999
1009
|
/**
|
|
@@ -1004,7 +1014,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1004
1014
|
* @memberof UsersApi
|
|
1005
1015
|
*/
|
|
1006
1016
|
public deleteUser(requestParameters: UsersApiDeleteUserRequest, options?: AxiosRequestConfig) {
|
|
1007
|
-
return UsersApiFp(this.configuration).deleteUser(requestParameters.
|
|
1017
|
+
return UsersApiFp(this.configuration).deleteUser(requestParameters.authorization, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1008
1018
|
}
|
|
1009
1019
|
|
|
1010
1020
|
/**
|
|
@@ -1015,7 +1025,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1015
1025
|
* @memberof UsersApi
|
|
1016
1026
|
*/
|
|
1017
1027
|
public deleteUsers(requestParameters: UsersApiDeleteUsersRequest, options?: AxiosRequestConfig) {
|
|
1018
|
-
return UsersApiFp(this.configuration).deleteUsers(requestParameters.
|
|
1028
|
+
return UsersApiFp(this.configuration).deleteUsers(requestParameters.authorization, requestParameters.batchDeleteRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1019
1029
|
}
|
|
1020
1030
|
|
|
1021
1031
|
/**
|
|
@@ -1026,7 +1036,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1026
1036
|
* @memberof UsersApi
|
|
1027
1037
|
*/
|
|
1028
1038
|
public disableUser(requestParameters: UsersApiDisableUserRequest, options?: AxiosRequestConfig) {
|
|
1029
|
-
return UsersApiFp(this.configuration).disableUser(requestParameters.
|
|
1039
|
+
return UsersApiFp(this.configuration).disableUser(requestParameters.authorization, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1030
1040
|
}
|
|
1031
1041
|
|
|
1032
1042
|
/**
|
|
@@ -1037,7 +1047,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1037
1047
|
* @memberof UsersApi
|
|
1038
1048
|
*/
|
|
1039
1049
|
public disableUsers(requestParameters: UsersApiDisableUsersRequest, options?: AxiosRequestConfig) {
|
|
1040
|
-
return UsersApiFp(this.configuration).disableUsers(requestParameters.
|
|
1050
|
+
return UsersApiFp(this.configuration).disableUsers(requestParameters.authorization, requestParameters.disableUsersRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1041
1051
|
}
|
|
1042
1052
|
|
|
1043
1053
|
/**
|
|
@@ -1048,7 +1058,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1048
1058
|
* @memberof UsersApi
|
|
1049
1059
|
*/
|
|
1050
1060
|
public enableUser(requestParameters: UsersApiEnableUserRequest, options?: AxiosRequestConfig) {
|
|
1051
|
-
return UsersApiFp(this.configuration).enableUser(requestParameters.
|
|
1061
|
+
return UsersApiFp(this.configuration).enableUser(requestParameters.authorization, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1052
1062
|
}
|
|
1053
1063
|
|
|
1054
1064
|
/**
|
|
@@ -1059,7 +1069,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1059
1069
|
* @memberof UsersApi
|
|
1060
1070
|
*/
|
|
1061
1071
|
public enableUsers(requestParameters: UsersApiEnableUsersRequest, options?: AxiosRequestConfig) {
|
|
1062
|
-
return UsersApiFp(this.configuration).enableUsers(requestParameters.
|
|
1072
|
+
return UsersApiFp(this.configuration).enableUsers(requestParameters.authorization, requestParameters.enableUsersRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1063
1073
|
}
|
|
1064
1074
|
|
|
1065
1075
|
/**
|
|
@@ -1070,7 +1080,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1070
1080
|
* @memberof UsersApi
|
|
1071
1081
|
*/
|
|
1072
1082
|
public getUser(requestParameters: UsersApiGetUserRequest, options?: AxiosRequestConfig) {
|
|
1073
|
-
return UsersApiFp(this.configuration).getUser(requestParameters.
|
|
1083
|
+
return UsersApiFp(this.configuration).getUser(requestParameters.authorization, requestParameters.code, requestParameters.code2, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1074
1084
|
}
|
|
1075
1085
|
|
|
1076
1086
|
/**
|
|
@@ -1081,7 +1091,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1081
1091
|
* @throws {RequiredError}
|
|
1082
1092
|
* @memberof UsersApi
|
|
1083
1093
|
*/
|
|
1084
|
-
public listUsers(requestParameters: UsersApiListUsersRequest
|
|
1094
|
+
public listUsers(requestParameters: UsersApiListUsersRequest, options?: AxiosRequestConfig) {
|
|
1085
1095
|
return UsersApiFp(this.configuration).listUsers(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1086
1096
|
}
|
|
1087
1097
|
}
|