@emilgroup/tenant-sdk 1.42.1-beta.134 → 1.42.1-beta.136
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 +0 -1
- package/README.md +2 -2
- package/api/custom-schema-api.ts +12 -32
- package/api/dashboard-api.ts +36 -96
- package/api/dashboard-group-api.ts +15 -40
- package/api/data-report-api.ts +12 -32
- package/api/data-report-executor-api.ts +3 -8
- package/api/delete-organization-invitations-api.ts +3 -8
- package/api/health-check-api.ts +1 -1
- package/api/invitation-controller-rest-api.ts +12 -32
- package/api/invite-organizations-api.ts +3 -8
- package/api/invite-users-api.ts +12 -32
- package/api/list-organization-invitations-api.ts +3 -8
- package/api/organization-migration-api.ts +15 -40
- package/api/organizations-api.ts +9 -24
- package/api/re-invite-an-organization-api.ts +3 -8
- package/api/report-schedule-api.ts +15 -40
- package/api/report-schedule-logs-api.ts +3 -8
- package/api/roles-api.ts +3 -8
- package/api/settings-api.ts +12 -32
- package/api/ssoconnection-api.ts +21 -56
- package/api/ssoid-pgroups-api.ts +18 -48
- package/api/user-controller-rest-api.ts +49 -108
- package/api/user-group-api.ts +24 -64
- package/api/users-api.ts +37 -76
- package/base.ts +43 -239
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/custom-schema-api.d.ts +4 -4
- package/dist/api/custom-schema-api.js +30 -52
- package/dist/api/dashboard-api.d.ts +12 -12
- package/dist/api/dashboard-api.js +95 -176
- package/dist/api/dashboard-group-api.d.ts +5 -5
- package/dist/api/dashboard-group-api.js +39 -71
- package/dist/api/data-report-api.d.ts +4 -4
- package/dist/api/data-report-api.js +30 -52
- package/dist/api/data-report-executor-api.d.ts +1 -1
- package/dist/api/data-report-executor-api.js +8 -15
- package/dist/api/delete-organization-invitations-api.d.ts +1 -1
- package/dist/api/delete-organization-invitations-api.js +8 -15
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/health-check-api.js +1 -1
- package/dist/api/invitation-controller-rest-api.d.ts +4 -4
- package/dist/api/invitation-controller-rest-api.js +31 -56
- package/dist/api/invite-organizations-api.d.ts +1 -1
- package/dist/api/invite-organizations-api.js +8 -15
- package/dist/api/invite-users-api.d.ts +4 -4
- package/dist/api/invite-users-api.js +31 -56
- package/dist/api/list-organization-invitations-api.d.ts +1 -1
- package/dist/api/list-organization-invitations-api.js +7 -11
- package/dist/api/organization-migration-api.d.ts +5 -5
- package/dist/api/organization-migration-api.js +38 -67
- package/dist/api/organizations-api.d.ts +3 -3
- package/dist/api/organizations-api.js +23 -41
- package/dist/api/re-invite-an-organization-api.d.ts +1 -1
- package/dist/api/re-invite-an-organization-api.js +8 -15
- package/dist/api/report-schedule-api.d.ts +5 -5
- package/dist/api/report-schedule-api.js +38 -67
- package/dist/api/report-schedule-logs-api.d.ts +1 -1
- package/dist/api/report-schedule-logs-api.js +7 -11
- package/dist/api/roles-api.d.ts +1 -1
- package/dist/api/roles-api.js +7 -11
- package/dist/api/settings-api.d.ts +4 -4
- package/dist/api/settings-api.js +30 -52
- package/dist/api/ssoconnection-api.d.ts +7 -7
- package/dist/api/ssoconnection-api.js +56 -105
- package/dist/api/ssoid-pgroups-api.d.ts +6 -6
- package/dist/api/ssoid-pgroups-api.js +47 -86
- package/dist/api/user-controller-rest-api.d.ts +27 -31
- package/dist/api/user-controller-rest-api.js +99 -171
- package/dist/api/user-group-api.d.ts +8 -8
- package/dist/api/user-group-api.js +62 -112
- package/dist/api/users-api.d.ts +23 -27
- package/dist/api/users-api.js +68 -115
- package/dist/base.d.ts +0 -26
- package/dist/base.js +60 -243
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/create-admin-tenant-request-dto.d.ts +0 -11
- package/dist/models/create-admin-tenant-request-dto.js +0 -5
- package/dist/models/create-tenant-request-dto.d.ts +0 -11
- package/dist/models/create-tenant-request-dto.js +0 -5
- package/dist/models/dbconfig-dto.d.ts +0 -6
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/models/create-admin-tenant-request-dto.ts +0 -14
- package/models/create-tenant-request-dto.ts +0 -14
- package/models/dbconfig-dto.ts +0 -6
- package/models/index.ts +0 -1
- package/package.json +2 -2
- package/dist/models/delete-tenant-request-dto.d.ts +0 -30
- package/dist/models/delete-tenant-request-dto.js +0 -15
- package/models/delete-tenant-request-dto.ts +0 -36
package/api/user-group-api.ts
CHANGED
|
@@ -80,13 +80,8 @@ export const UserGroupApiAxiosParamCreator = function (configuration?: Configura
|
|
|
80
80
|
// http bearer authentication required
|
|
81
81
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
86
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
87
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
88
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
89
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
83
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
84
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
90
85
|
}
|
|
91
86
|
|
|
92
87
|
|
|
@@ -131,13 +126,8 @@ export const UserGroupApiAxiosParamCreator = function (configuration?: Configura
|
|
|
131
126
|
// http bearer authentication required
|
|
132
127
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
133
128
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
137
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
138
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
139
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
140
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
129
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
130
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
141
131
|
}
|
|
142
132
|
|
|
143
133
|
|
|
@@ -183,13 +173,8 @@ export const UserGroupApiAxiosParamCreator = function (configuration?: Configura
|
|
|
183
173
|
// http bearer authentication required
|
|
184
174
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
185
175
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
189
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
190
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
191
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
192
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
176
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
177
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
193
178
|
}
|
|
194
179
|
|
|
195
180
|
|
|
@@ -232,13 +217,8 @@ export const UserGroupApiAxiosParamCreator = function (configuration?: Configura
|
|
|
232
217
|
// http bearer authentication required
|
|
233
218
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
234
219
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
238
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
239
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
240
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
241
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
220
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
221
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
242
222
|
}
|
|
243
223
|
|
|
244
224
|
|
|
@@ -316,13 +296,8 @@ export const UserGroupApiAxiosParamCreator = function (configuration?: Configura
|
|
|
316
296
|
localVarQueryParameter['filters'] = filters;
|
|
317
297
|
}
|
|
318
298
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
322
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
323
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
324
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
325
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
299
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
300
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
326
301
|
}
|
|
327
302
|
|
|
328
303
|
|
|
@@ -396,13 +371,8 @@ export const UserGroupApiAxiosParamCreator = function (configuration?: Configura
|
|
|
396
371
|
localVarQueryParameter['filters'] = filters;
|
|
397
372
|
}
|
|
398
373
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
402
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
403
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
404
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
405
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
374
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
375
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
406
376
|
}
|
|
407
377
|
|
|
408
378
|
|
|
@@ -448,13 +418,8 @@ export const UserGroupApiAxiosParamCreator = function (configuration?: Configura
|
|
|
448
418
|
// http bearer authentication required
|
|
449
419
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
450
420
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
454
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
455
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
456
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
457
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
421
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
422
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
458
423
|
}
|
|
459
424
|
|
|
460
425
|
|
|
@@ -503,13 +468,8 @@ export const UserGroupApiAxiosParamCreator = function (configuration?: Configura
|
|
|
503
468
|
// http bearer authentication required
|
|
504
469
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
505
470
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
509
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
510
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
511
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
512
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
471
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
472
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
513
473
|
}
|
|
514
474
|
|
|
515
475
|
|
|
@@ -1044,7 +1004,7 @@ export class UserGroupApi extends BaseAPI {
|
|
|
1044
1004
|
* @memberof UserGroupApi
|
|
1045
1005
|
*/
|
|
1046
1006
|
public addUsersToGroup(requestParameters: UserGroupApiAddUsersToGroupRequest, options?: AxiosRequestConfig) {
|
|
1047
|
-
return UserGroupApiFp(this.configuration).addUsersToGroup(requestParameters.code, requestParameters.addUsersToGroupRequestDto, requestParameters.authorization,
|
|
1007
|
+
return UserGroupApiFp(this.configuration).addUsersToGroup(requestParameters.code, requestParameters.addUsersToGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1048
1008
|
}
|
|
1049
1009
|
|
|
1050
1010
|
/**
|
|
@@ -1055,7 +1015,7 @@ export class UserGroupApi extends BaseAPI {
|
|
|
1055
1015
|
* @memberof UserGroupApi
|
|
1056
1016
|
*/
|
|
1057
1017
|
public createUserGroup(requestParameters: UserGroupApiCreateUserGroupRequest, options?: AxiosRequestConfig) {
|
|
1058
|
-
return UserGroupApiFp(this.configuration).createUserGroup(requestParameters.createUserGroupRequestDto, requestParameters.authorization,
|
|
1018
|
+
return UserGroupApiFp(this.configuration).createUserGroup(requestParameters.createUserGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1059
1019
|
}
|
|
1060
1020
|
|
|
1061
1021
|
/**
|
|
@@ -1066,7 +1026,7 @@ export class UserGroupApi extends BaseAPI {
|
|
|
1066
1026
|
* @memberof UserGroupApi
|
|
1067
1027
|
*/
|
|
1068
1028
|
public deleteUserGroup(requestParameters: UserGroupApiDeleteUserGroupRequest, options?: AxiosRequestConfig) {
|
|
1069
|
-
return UserGroupApiFp(this.configuration).deleteUserGroup(requestParameters.code, requestParameters.authorization,
|
|
1029
|
+
return UserGroupApiFp(this.configuration).deleteUserGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1070
1030
|
}
|
|
1071
1031
|
|
|
1072
1032
|
/**
|
|
@@ -1077,7 +1037,7 @@ export class UserGroupApi extends BaseAPI {
|
|
|
1077
1037
|
* @memberof UserGroupApi
|
|
1078
1038
|
*/
|
|
1079
1039
|
public getUserGroup(requestParameters: UserGroupApiGetUserGroupRequest, options?: AxiosRequestConfig) {
|
|
1080
|
-
return UserGroupApiFp(this.configuration).getUserGroup(requestParameters.code, requestParameters.authorization,
|
|
1040
|
+
return UserGroupApiFp(this.configuration).getUserGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1081
1041
|
}
|
|
1082
1042
|
|
|
1083
1043
|
/**
|
|
@@ -1088,7 +1048,7 @@ export class UserGroupApi extends BaseAPI {
|
|
|
1088
1048
|
* @memberof UserGroupApi
|
|
1089
1049
|
*/
|
|
1090
1050
|
public listUserGroupMembers(requestParameters: UserGroupApiListUserGroupMembersRequest, options?: AxiosRequestConfig) {
|
|
1091
|
-
return UserGroupApiFp(this.configuration).listUserGroupMembers(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1051
|
+
return UserGroupApiFp(this.configuration).listUserGroupMembers(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1092
1052
|
}
|
|
1093
1053
|
|
|
1094
1054
|
/**
|
|
@@ -1099,7 +1059,7 @@ export class UserGroupApi extends BaseAPI {
|
|
|
1099
1059
|
* @memberof UserGroupApi
|
|
1100
1060
|
*/
|
|
1101
1061
|
public listUserGroups(requestParameters: UserGroupApiListUserGroupsRequest = {}, options?: AxiosRequestConfig) {
|
|
1102
|
-
return UserGroupApiFp(this.configuration).listUserGroups(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1062
|
+
return UserGroupApiFp(this.configuration).listUserGroups(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1103
1063
|
}
|
|
1104
1064
|
|
|
1105
1065
|
/**
|
|
@@ -1110,7 +1070,7 @@ export class UserGroupApi extends BaseAPI {
|
|
|
1110
1070
|
* @memberof UserGroupApi
|
|
1111
1071
|
*/
|
|
1112
1072
|
public removeUsersFromGroup(requestParameters: UserGroupApiRemoveUsersFromGroupRequest, options?: AxiosRequestConfig) {
|
|
1113
|
-
return UserGroupApiFp(this.configuration).removeUsersFromGroup(requestParameters.code, requestParameters.removeUsersFromGroupRequestDto, requestParameters.authorization,
|
|
1073
|
+
return UserGroupApiFp(this.configuration).removeUsersFromGroup(requestParameters.code, requestParameters.removeUsersFromGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1114
1074
|
}
|
|
1115
1075
|
|
|
1116
1076
|
/**
|
|
@@ -1121,6 +1081,6 @@ export class UserGroupApi extends BaseAPI {
|
|
|
1121
1081
|
* @memberof UserGroupApi
|
|
1122
1082
|
*/
|
|
1123
1083
|
public updateUserGroup(requestParameters: UserGroupApiUpdateUserGroupRequest, options?: AxiosRequestConfig) {
|
|
1124
|
-
return UserGroupApiFp(this.configuration).updateUserGroup(requestParameters.code, requestParameters.updateUserGroupRequestDto, requestParameters.authorization,
|
|
1084
|
+
return UserGroupApiFp(this.configuration).updateUserGroup(requestParameters.code, requestParameters.updateUserGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1125
1085
|
}
|
|
1126
1086
|
}
|
package/api/users-api.ts
CHANGED
|
@@ -83,13 +83,8 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
83
83
|
// http bearer authentication required
|
|
84
84
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
89
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
90
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
91
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
92
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
86
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
87
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
93
88
|
}
|
|
94
89
|
|
|
95
90
|
|
|
@@ -134,13 +129,8 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
134
129
|
// http bearer authentication required
|
|
135
130
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
136
131
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
140
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
141
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
142
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
143
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
144
134
|
}
|
|
145
135
|
|
|
146
136
|
|
|
@@ -185,13 +175,8 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
185
175
|
// http bearer authentication required
|
|
186
176
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
187
177
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
191
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
192
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
193
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
194
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
178
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
179
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
195
180
|
}
|
|
196
181
|
|
|
197
182
|
|
|
@@ -236,13 +221,8 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
236
221
|
// http bearer authentication required
|
|
237
222
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
238
223
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
242
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
243
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
244
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
245
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
224
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
225
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
246
226
|
}
|
|
247
227
|
|
|
248
228
|
|
|
@@ -260,11 +240,10 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
260
240
|
};
|
|
261
241
|
},
|
|
262
242
|
/**
|
|
263
|
-
*
|
|
264
|
-
* @summary Retrieve the user
|
|
243
|
+
* undefined **Required Permissions** \"tenant-management.users.view\"
|
|
265
244
|
* @param {string} code
|
|
266
245
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
267
|
-
* @param {string} [expand]
|
|
246
|
+
* @param {string} [expand] Fields to expand response by
|
|
268
247
|
* @param {*} [options] Override http request option.
|
|
269
248
|
* @throws {RequiredError}
|
|
270
249
|
*/
|
|
@@ -294,13 +273,8 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
294
273
|
localVarQueryParameter['expand'] = expand;
|
|
295
274
|
}
|
|
296
275
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
300
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
301
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
302
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
303
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
276
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
277
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
304
278
|
}
|
|
305
279
|
|
|
306
280
|
|
|
@@ -346,13 +320,8 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
346
320
|
// http bearer authentication required
|
|
347
321
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
348
322
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
352
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
353
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
354
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
355
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
323
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
324
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
356
325
|
}
|
|
357
326
|
|
|
358
327
|
|
|
@@ -370,7 +339,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
370
339
|
};
|
|
371
340
|
},
|
|
372
341
|
/**
|
|
373
|
-
* Returns a list of users
|
|
342
|
+
* 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. **Required Permissions** \"tenant-management.users.list\"
|
|
374
343
|
* @summary List users
|
|
375
344
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
376
345
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -378,7 +347,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
378
347
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
379
348
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
380
349
|
* @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: id, email, firstName, lastName</i>
|
|
381
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups
|
|
350
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups<i>
|
|
382
351
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
383
352
|
* @param {*} [options] Override http request option.
|
|
384
353
|
* @throws {RequiredError}
|
|
@@ -430,13 +399,8 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
430
399
|
localVarQueryParameter['filters'] = filters;
|
|
431
400
|
}
|
|
432
401
|
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
436
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
437
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
438
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
439
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
402
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
403
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
440
404
|
}
|
|
441
405
|
|
|
442
406
|
|
|
@@ -507,11 +471,10 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
507
471
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
508
472
|
},
|
|
509
473
|
/**
|
|
510
|
-
*
|
|
511
|
-
* @summary Retrieve the user
|
|
474
|
+
* undefined **Required Permissions** \"tenant-management.users.view\"
|
|
512
475
|
* @param {string} code
|
|
513
476
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
514
|
-
* @param {string} [expand]
|
|
477
|
+
* @param {string} [expand] Fields to expand response by
|
|
515
478
|
* @param {*} [options] Override http request option.
|
|
516
479
|
* @throws {RequiredError}
|
|
517
480
|
*/
|
|
@@ -532,7 +495,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
532
495
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
533
496
|
},
|
|
534
497
|
/**
|
|
535
|
-
* Returns a list of users
|
|
498
|
+
* 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. **Required Permissions** \"tenant-management.users.list\"
|
|
536
499
|
* @summary List users
|
|
537
500
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
538
501
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -540,7 +503,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
540
503
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
541
504
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
542
505
|
* @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: id, email, firstName, lastName</i>
|
|
543
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups
|
|
506
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups<i>
|
|
544
507
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
545
508
|
* @param {*} [options] Override http request option.
|
|
546
509
|
* @throws {RequiredError}
|
|
@@ -602,11 +565,10 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
602
565
|
return localVarFp.enableUsers(enableUsersRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
603
566
|
},
|
|
604
567
|
/**
|
|
605
|
-
*
|
|
606
|
-
* @summary Retrieve the user
|
|
568
|
+
* undefined **Required Permissions** \"tenant-management.users.view\"
|
|
607
569
|
* @param {string} code
|
|
608
570
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
609
|
-
* @param {string} [expand]
|
|
571
|
+
* @param {string} [expand] Fields to expand response by
|
|
610
572
|
* @param {*} [options] Override http request option.
|
|
611
573
|
* @throws {RequiredError}
|
|
612
574
|
*/
|
|
@@ -625,7 +587,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
625
587
|
return localVarFp.linkUserWithPartner(code, linkUserWithPartnerRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
626
588
|
},
|
|
627
589
|
/**
|
|
628
|
-
* Returns a list of users
|
|
590
|
+
* 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. **Required Permissions** \"tenant-management.users.list\"
|
|
629
591
|
* @summary List users
|
|
630
592
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
631
593
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -633,7 +595,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
633
595
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
634
596
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
635
597
|
* @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: id, email, firstName, lastName</i>
|
|
636
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups
|
|
598
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups<i>
|
|
637
599
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
638
600
|
* @param {*} [options] Override http request option.
|
|
639
601
|
* @throws {RequiredError}
|
|
@@ -756,7 +718,7 @@ export interface UsersApiGetUserRequest {
|
|
|
756
718
|
readonly authorization?: string
|
|
757
719
|
|
|
758
720
|
/**
|
|
759
|
-
*
|
|
721
|
+
* Fields to expand response by
|
|
760
722
|
* @type {string}
|
|
761
723
|
* @memberof UsersApiGetUser
|
|
762
724
|
*/
|
|
@@ -840,7 +802,7 @@ export interface UsersApiListUsersRequest {
|
|
|
840
802
|
readonly order?: string
|
|
841
803
|
|
|
842
804
|
/**
|
|
843
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups
|
|
805
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups<i>
|
|
844
806
|
* @type {string}
|
|
845
807
|
* @memberof UsersApiListUsers
|
|
846
808
|
*/
|
|
@@ -870,7 +832,7 @@ export class UsersApi extends BaseAPI {
|
|
|
870
832
|
* @memberof UsersApi
|
|
871
833
|
*/
|
|
872
834
|
public assignUserRoles(requestParameters: UsersApiAssignUserRolesRequest, options?: AxiosRequestConfig) {
|
|
873
|
-
return UsersApiFp(this.configuration).assignUserRoles(requestParameters.id, requestParameters.assignUserRolesRequestDto, requestParameters.authorization,
|
|
835
|
+
return UsersApiFp(this.configuration).assignUserRoles(requestParameters.id, requestParameters.assignUserRolesRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
874
836
|
}
|
|
875
837
|
|
|
876
838
|
/**
|
|
@@ -881,7 +843,7 @@ export class UsersApi extends BaseAPI {
|
|
|
881
843
|
* @memberof UsersApi
|
|
882
844
|
*/
|
|
883
845
|
public deleteUsers(requestParameters: UsersApiDeleteUsersRequest, options?: AxiosRequestConfig) {
|
|
884
|
-
return UsersApiFp(this.configuration).deleteUsers(requestParameters.batchDeleteRequestDto, requestParameters.authorization,
|
|
846
|
+
return UsersApiFp(this.configuration).deleteUsers(requestParameters.batchDeleteRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
885
847
|
}
|
|
886
848
|
|
|
887
849
|
/**
|
|
@@ -892,7 +854,7 @@ export class UsersApi extends BaseAPI {
|
|
|
892
854
|
* @memberof UsersApi
|
|
893
855
|
*/
|
|
894
856
|
public disableUsers(requestParameters: UsersApiDisableUsersRequest, options?: AxiosRequestConfig) {
|
|
895
|
-
return UsersApiFp(this.configuration).disableUsers(requestParameters.disableUsersRequestDto, requestParameters.authorization,
|
|
857
|
+
return UsersApiFp(this.configuration).disableUsers(requestParameters.disableUsersRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
896
858
|
}
|
|
897
859
|
|
|
898
860
|
/**
|
|
@@ -903,19 +865,18 @@ export class UsersApi extends BaseAPI {
|
|
|
903
865
|
* @memberof UsersApi
|
|
904
866
|
*/
|
|
905
867
|
public enableUsers(requestParameters: UsersApiEnableUsersRequest, options?: AxiosRequestConfig) {
|
|
906
|
-
return UsersApiFp(this.configuration).enableUsers(requestParameters.enableUsersRequestDto, requestParameters.authorization,
|
|
868
|
+
return UsersApiFp(this.configuration).enableUsers(requestParameters.enableUsersRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
907
869
|
}
|
|
908
870
|
|
|
909
871
|
/**
|
|
910
|
-
*
|
|
911
|
-
* @summary Retrieve the user
|
|
872
|
+
* undefined **Required Permissions** \"tenant-management.users.view\"
|
|
912
873
|
* @param {UsersApiGetUserRequest} requestParameters Request parameters.
|
|
913
874
|
* @param {*} [options] Override http request option.
|
|
914
875
|
* @throws {RequiredError}
|
|
915
876
|
* @memberof UsersApi
|
|
916
877
|
*/
|
|
917
878
|
public getUser(requestParameters: UsersApiGetUserRequest, options?: AxiosRequestConfig) {
|
|
918
|
-
return UsersApiFp(this.configuration).getUser(requestParameters.code, requestParameters.authorization, requestParameters.expand,
|
|
879
|
+
return UsersApiFp(this.configuration).getUser(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
919
880
|
}
|
|
920
881
|
|
|
921
882
|
/**
|
|
@@ -926,11 +887,11 @@ export class UsersApi extends BaseAPI {
|
|
|
926
887
|
* @memberof UsersApi
|
|
927
888
|
*/
|
|
928
889
|
public linkUserWithPartner(requestParameters: UsersApiLinkUserWithPartnerRequest, options?: AxiosRequestConfig) {
|
|
929
|
-
return UsersApiFp(this.configuration).linkUserWithPartner(requestParameters.code, requestParameters.linkUserWithPartnerRequestDtoRest, requestParameters.authorization,
|
|
890
|
+
return UsersApiFp(this.configuration).linkUserWithPartner(requestParameters.code, requestParameters.linkUserWithPartnerRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
930
891
|
}
|
|
931
892
|
|
|
932
893
|
/**
|
|
933
|
-
* Returns a list of users
|
|
894
|
+
* 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. **Required Permissions** \"tenant-management.users.list\"
|
|
934
895
|
* @summary List users
|
|
935
896
|
* @param {UsersApiListUsersRequest} requestParameters Request parameters.
|
|
936
897
|
* @param {*} [options] Override http request option.
|
|
@@ -938,6 +899,6 @@ export class UsersApi extends BaseAPI {
|
|
|
938
899
|
* @memberof UsersApi
|
|
939
900
|
*/
|
|
940
901
|
public listUsers(requestParameters: UsersApiListUsersRequest = {}, options?: AxiosRequestConfig) {
|
|
941
|
-
return UsersApiFp(this.configuration).listUsers(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
902
|
+
return UsersApiFp(this.configuration).listUsers(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
942
903
|
}
|
|
943
904
|
}
|