@emilgroup/tenant-sdk 1.42.1-beta.135 → 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.
Files changed (95) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/README.md +2 -2
  3. package/api/custom-schema-api.ts +12 -32
  4. package/api/dashboard-api.ts +36 -96
  5. package/api/dashboard-group-api.ts +15 -40
  6. package/api/data-report-api.ts +12 -32
  7. package/api/data-report-executor-api.ts +3 -8
  8. package/api/delete-organization-invitations-api.ts +3 -8
  9. package/api/health-check-api.ts +1 -1
  10. package/api/invitation-controller-rest-api.ts +12 -32
  11. package/api/invite-organizations-api.ts +3 -8
  12. package/api/invite-users-api.ts +12 -32
  13. package/api/list-organization-invitations-api.ts +3 -8
  14. package/api/organization-migration-api.ts +15 -40
  15. package/api/organizations-api.ts +9 -24
  16. package/api/re-invite-an-organization-api.ts +3 -8
  17. package/api/report-schedule-api.ts +15 -40
  18. package/api/report-schedule-logs-api.ts +3 -8
  19. package/api/roles-api.ts +3 -8
  20. package/api/settings-api.ts +12 -32
  21. package/api/ssoconnection-api.ts +21 -56
  22. package/api/ssoid-pgroups-api.ts +18 -48
  23. package/api/user-controller-rest-api.ts +49 -108
  24. package/api/user-group-api.ts +24 -64
  25. package/api/users-api.ts +37 -76
  26. package/base.ts +43 -239
  27. package/common.ts +2 -3
  28. package/configuration.ts +0 -20
  29. package/dist/api/custom-schema-api.d.ts +4 -4
  30. package/dist/api/custom-schema-api.js +30 -52
  31. package/dist/api/dashboard-api.d.ts +12 -12
  32. package/dist/api/dashboard-api.js +95 -176
  33. package/dist/api/dashboard-group-api.d.ts +5 -5
  34. package/dist/api/dashboard-group-api.js +39 -71
  35. package/dist/api/data-report-api.d.ts +4 -4
  36. package/dist/api/data-report-api.js +30 -52
  37. package/dist/api/data-report-executor-api.d.ts +1 -1
  38. package/dist/api/data-report-executor-api.js +8 -15
  39. package/dist/api/delete-organization-invitations-api.d.ts +1 -1
  40. package/dist/api/delete-organization-invitations-api.js +8 -15
  41. package/dist/api/health-check-api.d.ts +1 -1
  42. package/dist/api/health-check-api.js +1 -1
  43. package/dist/api/invitation-controller-rest-api.d.ts +4 -4
  44. package/dist/api/invitation-controller-rest-api.js +31 -56
  45. package/dist/api/invite-organizations-api.d.ts +1 -1
  46. package/dist/api/invite-organizations-api.js +8 -15
  47. package/dist/api/invite-users-api.d.ts +4 -4
  48. package/dist/api/invite-users-api.js +31 -56
  49. package/dist/api/list-organization-invitations-api.d.ts +1 -1
  50. package/dist/api/list-organization-invitations-api.js +7 -11
  51. package/dist/api/organization-migration-api.d.ts +5 -5
  52. package/dist/api/organization-migration-api.js +38 -67
  53. package/dist/api/organizations-api.d.ts +3 -3
  54. package/dist/api/organizations-api.js +23 -41
  55. package/dist/api/re-invite-an-organization-api.d.ts +1 -1
  56. package/dist/api/re-invite-an-organization-api.js +8 -15
  57. package/dist/api/report-schedule-api.d.ts +5 -5
  58. package/dist/api/report-schedule-api.js +38 -67
  59. package/dist/api/report-schedule-logs-api.d.ts +1 -1
  60. package/dist/api/report-schedule-logs-api.js +7 -11
  61. package/dist/api/roles-api.d.ts +1 -1
  62. package/dist/api/roles-api.js +7 -11
  63. package/dist/api/settings-api.d.ts +4 -4
  64. package/dist/api/settings-api.js +30 -52
  65. package/dist/api/ssoconnection-api.d.ts +7 -7
  66. package/dist/api/ssoconnection-api.js +56 -105
  67. package/dist/api/ssoid-pgroups-api.d.ts +6 -6
  68. package/dist/api/ssoid-pgroups-api.js +47 -86
  69. package/dist/api/user-controller-rest-api.d.ts +27 -31
  70. package/dist/api/user-controller-rest-api.js +99 -171
  71. package/dist/api/user-group-api.d.ts +8 -8
  72. package/dist/api/user-group-api.js +62 -112
  73. package/dist/api/users-api.d.ts +23 -27
  74. package/dist/api/users-api.js +68 -115
  75. package/dist/base.d.ts +0 -26
  76. package/dist/base.js +60 -243
  77. package/dist/common.d.ts +1 -1
  78. package/dist/common.js +0 -1
  79. package/dist/configuration.d.ts +0 -17
  80. package/dist/configuration.js +0 -2
  81. package/dist/models/create-admin-tenant-request-dto.d.ts +0 -11
  82. package/dist/models/create-admin-tenant-request-dto.js +0 -5
  83. package/dist/models/create-tenant-request-dto.d.ts +0 -11
  84. package/dist/models/create-tenant-request-dto.js +0 -5
  85. package/dist/models/dbconfig-dto.d.ts +0 -6
  86. package/dist/models/index.d.ts +0 -1
  87. package/dist/models/index.js +0 -1
  88. package/models/create-admin-tenant-request-dto.ts +0 -14
  89. package/models/create-tenant-request-dto.ts +0 -14
  90. package/models/dbconfig-dto.ts +0 -6
  91. package/models/index.ts +0 -1
  92. package/package.json +2 -2
  93. package/dist/models/delete-tenant-request-dto.d.ts +0 -30
  94. package/dist/models/delete-tenant-request-dto.js +0 -15
  95. package/models/delete-tenant-request-dto.ts +0 -36
@@ -73,13 +73,8 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
73
73
  // http bearer authentication required
74
74
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
75
75
 
76
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
77
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
78
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
79
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
80
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
81
- if (authorizationValue || authorizationKeepEmpty) {
82
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
76
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
77
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
83
78
  }
84
79
 
85
80
 
@@ -126,13 +121,8 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
126
121
  // http bearer authentication required
127
122
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
128
123
 
129
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
130
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
131
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
132
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
133
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
134
- if (authorizationValue || authorizationKeepEmpty) {
135
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
124
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
125
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
136
126
  }
137
127
 
138
128
 
@@ -176,13 +166,8 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
176
166
  // http bearer authentication required
177
167
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
178
168
 
179
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
180
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
181
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
182
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
183
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
184
- if (authorizationValue || authorizationKeepEmpty) {
185
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
169
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
170
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
186
171
  }
187
172
 
188
173
 
@@ -257,13 +242,8 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
257
242
  localVarQueryParameter['filters'] = filters;
258
243
  }
259
244
 
260
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
261
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
262
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
263
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
264
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
265
- if (authorizationValue || authorizationKeepEmpty) {
266
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
245
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
246
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
267
247
  }
268
248
 
269
249
 
@@ -310,13 +290,8 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
310
290
  // http bearer authentication required
311
291
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
312
292
 
313
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
314
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
315
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
316
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
317
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
318
- if (authorizationValue || authorizationKeepEmpty) {
319
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
293
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
294
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
320
295
  }
321
296
 
322
297
 
@@ -366,13 +341,8 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
366
341
  // http bearer authentication required
367
342
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
368
343
 
369
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
370
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
371
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
372
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
373
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
374
- if (authorizationValue || authorizationKeepEmpty) {
375
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
344
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
345
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
376
346
  }
377
347
 
378
348
 
@@ -764,7 +734,7 @@ export class SSOIdPGroupsApi extends BaseAPI {
764
734
  * @memberof SSOIdPGroupsApi
765
735
  */
766
736
  public createSsoIdpGroup(requestParameters: SSOIdPGroupsApiCreateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
767
- return SSOIdPGroupsApiFp(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
737
+ return SSOIdPGroupsApiFp(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
768
738
  }
769
739
 
770
740
  /**
@@ -776,7 +746,7 @@ export class SSOIdPGroupsApi extends BaseAPI {
776
746
  * @memberof SSOIdPGroupsApi
777
747
  */
778
748
  public deleteSsoIdpGroup(requestParameters: SSOIdPGroupsApiDeleteSsoIdpGroupRequest, options?: AxiosRequestConfig) {
779
- return SSOIdPGroupsApiFp(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
749
+ return SSOIdPGroupsApiFp(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
780
750
  }
781
751
 
782
752
  /**
@@ -788,7 +758,7 @@ export class SSOIdPGroupsApi extends BaseAPI {
788
758
  * @memberof SSOIdPGroupsApi
789
759
  */
790
760
  public getSsoIdpGroup(requestParameters: SSOIdPGroupsApiGetSsoIdpGroupRequest, options?: AxiosRequestConfig) {
791
- return SSOIdPGroupsApiFp(this.configuration).getSsoIdpGroup(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
761
+ return SSOIdPGroupsApiFp(this.configuration).getSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
792
762
  }
793
763
 
794
764
  /**
@@ -800,7 +770,7 @@ export class SSOIdPGroupsApi extends BaseAPI {
800
770
  * @memberof SSOIdPGroupsApi
801
771
  */
802
772
  public listSsoIdpGroups(requestParameters: SSOIdPGroupsApiListSsoIdpGroupsRequest = {}, options?: AxiosRequestConfig) {
803
- return SSOIdPGroupsApiFp(this.configuration).listSsoIdpGroups(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
773
+ return SSOIdPGroupsApiFp(this.configuration).listSsoIdpGroups(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
804
774
  }
805
775
 
806
776
  /**
@@ -812,7 +782,7 @@ export class SSOIdPGroupsApi extends BaseAPI {
812
782
  * @memberof SSOIdPGroupsApi
813
783
  */
814
784
  public updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
815
- return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
785
+ return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
816
786
  }
817
787
 
818
788
  /**
@@ -824,6 +794,6 @@ export class SSOIdPGroupsApi extends BaseAPI {
824
794
  * @memberof SSOIdPGroupsApi
825
795
  */
826
796
  public updateSsoIdpGroupStatus(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest, options?: AxiosRequestConfig) {
827
- return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroupStatus(requestParameters.code, requestParameters.updateSsoIdpGroupStatusBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
797
+ return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroupStatus(requestParameters.code, requestParameters.updateSsoIdpGroupStatusBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
828
798
  }
829
799
  }
@@ -93,13 +93,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
93
93
  // http bearer authentication required
94
94
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
95
95
 
96
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
97
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
98
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
99
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
100
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
101
- if (authorizationValue || authorizationKeepEmpty) {
102
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
96
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
97
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
103
98
  }
104
99
 
105
100
 
@@ -145,13 +140,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
145
140
  // http bearer authentication required
146
141
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
147
142
 
148
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
149
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
150
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
151
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
152
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
153
- if (authorizationValue || authorizationKeepEmpty) {
154
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
143
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
144
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
155
145
  }
156
146
 
157
147
 
@@ -196,13 +186,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
196
186
  // http bearer authentication required
197
187
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
198
188
 
199
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
200
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
201
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
202
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
203
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
204
- if (authorizationValue || authorizationKeepEmpty) {
205
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
189
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
190
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
206
191
  }
207
192
 
208
193
 
@@ -247,13 +232,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
247
232
  // http bearer authentication required
248
233
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
249
234
 
250
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
251
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
252
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
253
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
254
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
255
- if (authorizationValue || authorizationKeepEmpty) {
256
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
235
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
236
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
257
237
  }
258
238
 
259
239
 
@@ -298,13 +278,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
298
278
  // http bearer authentication required
299
279
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
300
280
 
301
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
302
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
303
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
304
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
305
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
306
- if (authorizationValue || authorizationKeepEmpty) {
307
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
281
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
282
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
308
283
  }
309
284
 
310
285
 
@@ -322,11 +297,10 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
322
297
  };
323
298
  },
324
299
  /**
325
- * Returns the user with the given code. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.view\"
326
- * @summary Retrieve the user
300
+ * undefined **Required Permissions** \"tenant-management.users.view\"
327
301
  * @param {string} code
328
302
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
329
- * @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, roles, inheritedRoles<i>
303
+ * @param {string} [expand] Fields to expand response by
330
304
  * @param {*} [options] Override http request option.
331
305
  * @throws {RequiredError}
332
306
  */
@@ -356,13 +330,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
356
330
  localVarQueryParameter['expand'] = expand;
357
331
  }
358
332
 
359
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
360
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
361
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
362
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
363
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
364
- if (authorizationValue || authorizationKeepEmpty) {
365
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
333
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
334
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
366
335
  }
367
336
 
368
337
 
@@ -405,13 +374,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
405
374
  // http bearer authentication required
406
375
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
407
376
 
408
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
409
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
410
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
411
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
412
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
413
- if (authorizationValue || authorizationKeepEmpty) {
414
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
377
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
378
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
415
379
  }
416
380
 
417
381
 
@@ -457,13 +421,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
457
421
  // http bearer authentication required
458
422
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
459
423
 
460
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
461
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
462
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
463
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
464
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
465
- if (authorizationValue || authorizationKeepEmpty) {
466
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
424
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
425
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
467
426
  }
468
427
 
469
428
 
@@ -512,13 +471,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
512
471
  // http bearer authentication required
513
472
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
514
473
 
515
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
516
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
517
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
518
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
519
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
520
- if (authorizationValue || authorizationKeepEmpty) {
521
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
474
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
475
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
522
476
  }
523
477
 
524
478
 
@@ -596,13 +550,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
596
550
  localVarQueryParameter['filters'] = filters;
597
551
  }
598
552
 
599
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
600
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
601
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
602
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
603
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
604
- if (authorizationValue || authorizationKeepEmpty) {
605
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
553
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
554
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
606
555
  }
607
556
 
608
557
 
@@ -617,7 +566,7 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
617
566
  };
618
567
  },
619
568
  /**
620
- * Returns a list of users. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.list\"
569
+ * 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\"
621
570
  * @summary List users
622
571
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
623
572
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -625,7 +574,7 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
625
574
  * @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>
626
575
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
627
576
  * @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>
628
- * @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, roles, inheritedRoles<i>
577
+ * @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>
629
578
  * @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>
630
579
  * @param {*} [options] Override http request option.
631
580
  * @throws {RequiredError}
@@ -677,13 +626,8 @@ export const UserControllerRestApiAxiosParamCreator = function (configuration?:
677
626
  localVarQueryParameter['filters'] = filters;
678
627
  }
679
628
 
680
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
681
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
682
- const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
683
- const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
684
- const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
685
- if (authorizationValue || authorizationKeepEmpty) {
686
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
629
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
630
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
687
631
  }
688
632
 
689
633
 
@@ -766,11 +710,10 @@ export const UserControllerRestApiFp = function(configuration?: Configuration) {
766
710
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
767
711
  },
768
712
  /**
769
- * Returns the user with the given code. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.view\"
770
- * @summary Retrieve the user
713
+ * undefined **Required Permissions** \"tenant-management.users.view\"
771
714
  * @param {string} code
772
715
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
773
- * @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, roles, inheritedRoles<i>
716
+ * @param {string} [expand] Fields to expand response by
774
717
  * @param {*} [options] Override http request option.
775
718
  * @throws {RequiredError}
776
719
  */
@@ -833,7 +776,7 @@ export const UserControllerRestApiFp = function(configuration?: Configuration) {
833
776
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
834
777
  },
835
778
  /**
836
- * Returns a list of users. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.list\"
779
+ * 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\"
837
780
  * @summary List users
838
781
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
839
782
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -841,7 +784,7 @@ export const UserControllerRestApiFp = function(configuration?: Configuration) {
841
784
  * @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>
842
785
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
843
786
  * @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>
844
- * @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, roles, inheritedRoles<i>
787
+ * @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>
845
788
  * @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>
846
789
  * @param {*} [options] Override http request option.
847
790
  * @throws {RequiredError}
@@ -914,11 +857,10 @@ export const UserControllerRestApiFactory = function (configuration?: Configurat
914
857
  return localVarFp.enableUsers(enableUsersRequestDto, authorization, options).then((request) => request(axios, basePath));
915
858
  },
916
859
  /**
917
- * Returns the user with the given code. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.view\"
918
- * @summary Retrieve the user
860
+ * undefined **Required Permissions** \"tenant-management.users.view\"
919
861
  * @param {string} code
920
862
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
921
- * @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, roles, inheritedRoles<i>
863
+ * @param {string} [expand] Fields to expand response by
922
864
  * @param {*} [options] Override http request option.
923
865
  * @throws {RequiredError}
924
866
  */
@@ -976,7 +918,7 @@ export const UserControllerRestApiFactory = function (configuration?: Configurat
976
918
  return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
977
919
  },
978
920
  /**
979
- * Returns a list of users. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.list\"
921
+ * 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\"
980
922
  * @summary List users
981
923
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
982
924
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -984,7 +926,7 @@ export const UserControllerRestApiFactory = function (configuration?: Configurat
984
926
  * @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>
985
927
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
986
928
  * @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>
987
- * @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, roles, inheritedRoles<i>
929
+ * @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>
988
930
  * @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>
989
931
  * @param {*} [options] Override http request option.
990
932
  * @throws {RequiredError}
@@ -1128,7 +1070,7 @@ export interface UserControllerRestApiGetUserRequest {
1128
1070
  readonly authorization?: string
1129
1071
 
1130
1072
  /**
1131
- * 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, roles, inheritedRoles<i>
1073
+ * Fields to expand response by
1132
1074
  * @type {string}
1133
1075
  * @memberof UserControllerRestApiGetUser
1134
1076
  */
@@ -1317,7 +1259,7 @@ export interface UserControllerRestApiListUsersRequest {
1317
1259
  readonly order?: string
1318
1260
 
1319
1261
  /**
1320
- * 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, roles, inheritedRoles<i>
1262
+ * 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>
1321
1263
  * @type {string}
1322
1264
  * @memberof UserControllerRestApiListUsers
1323
1265
  */
@@ -1347,7 +1289,7 @@ export class UserControllerRestApi extends BaseAPI {
1347
1289
  * @memberof UserControllerRestApi
1348
1290
  */
1349
1291
  public assignUserRoles(requestParameters: UserControllerRestApiAssignUserRolesRequest, options?: AxiosRequestConfig) {
1350
- return UserControllerRestApiFp(this.configuration).assignUserRoles(requestParameters.id, requestParameters.assignUserRolesRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1292
+ return UserControllerRestApiFp(this.configuration).assignUserRoles(requestParameters.id, requestParameters.assignUserRolesRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1351
1293
  }
1352
1294
 
1353
1295
  /**
@@ -1359,7 +1301,7 @@ export class UserControllerRestApi extends BaseAPI {
1359
1301
  * @memberof UserControllerRestApi
1360
1302
  */
1361
1303
  public deleteInvites(requestParameters: UserControllerRestApiDeleteInvitesRequest, options?: AxiosRequestConfig) {
1362
- return UserControllerRestApiFp(this.configuration).deleteInvites(requestParameters.batchDeleteRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1304
+ return UserControllerRestApiFp(this.configuration).deleteInvites(requestParameters.batchDeleteRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1363
1305
  }
1364
1306
 
1365
1307
  /**
@@ -1370,7 +1312,7 @@ export class UserControllerRestApi extends BaseAPI {
1370
1312
  * @memberof UserControllerRestApi
1371
1313
  */
1372
1314
  public deleteUsers(requestParameters: UserControllerRestApiDeleteUsersRequest, options?: AxiosRequestConfig) {
1373
- return UserControllerRestApiFp(this.configuration).deleteUsers(requestParameters.batchDeleteRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1315
+ return UserControllerRestApiFp(this.configuration).deleteUsers(requestParameters.batchDeleteRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1374
1316
  }
1375
1317
 
1376
1318
  /**
@@ -1381,7 +1323,7 @@ export class UserControllerRestApi extends BaseAPI {
1381
1323
  * @memberof UserControllerRestApi
1382
1324
  */
1383
1325
  public disableUsers(requestParameters: UserControllerRestApiDisableUsersRequest, options?: AxiosRequestConfig) {
1384
- return UserControllerRestApiFp(this.configuration).disableUsers(requestParameters.disableUsersRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1326
+ return UserControllerRestApiFp(this.configuration).disableUsers(requestParameters.disableUsersRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1385
1327
  }
1386
1328
 
1387
1329
  /**
@@ -1392,19 +1334,18 @@ export class UserControllerRestApi extends BaseAPI {
1392
1334
  * @memberof UserControllerRestApi
1393
1335
  */
1394
1336
  public enableUsers(requestParameters: UserControllerRestApiEnableUsersRequest, options?: AxiosRequestConfig) {
1395
- return UserControllerRestApiFp(this.configuration).enableUsers(requestParameters.enableUsersRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1337
+ return UserControllerRestApiFp(this.configuration).enableUsers(requestParameters.enableUsersRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1396
1338
  }
1397
1339
 
1398
1340
  /**
1399
- * Returns the user with the given code. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.view\"
1400
- * @summary Retrieve the user
1341
+ * undefined **Required Permissions** \"tenant-management.users.view\"
1401
1342
  * @param {UserControllerRestApiGetUserRequest} requestParameters Request parameters.
1402
1343
  * @param {*} [options] Override http request option.
1403
1344
  * @throws {RequiredError}
1404
1345
  * @memberof UserControllerRestApi
1405
1346
  */
1406
1347
  public getUser(requestParameters: UserControllerRestApiGetUserRequest, options?: AxiosRequestConfig) {
1407
- return UserControllerRestApiFp(this.configuration).getUser(requestParameters.code, requestParameters.authorization, requestParameters.expand, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1348
+ return UserControllerRestApiFp(this.configuration).getUser(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1408
1349
  }
1409
1350
 
1410
1351
  /**
@@ -1416,7 +1357,7 @@ export class UserControllerRestApi extends BaseAPI {
1416
1357
  * @memberof UserControllerRestApi
1417
1358
  */
1418
1359
  public inviteUser(requestParameters: UserControllerRestApiInviteUserRequest, options?: AxiosRequestConfig) {
1419
- return UserControllerRestApiFp(this.configuration).inviteUser(requestParameters.inviteUserRequestDtoRest, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1360
+ return UserControllerRestApiFp(this.configuration).inviteUser(requestParameters.inviteUserRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1420
1361
  }
1421
1362
 
1422
1363
  /**
@@ -1428,7 +1369,7 @@ export class UserControllerRestApi extends BaseAPI {
1428
1369
  * @memberof UserControllerRestApi
1429
1370
  */
1430
1371
  public inviteUsers(requestParameters: UserControllerRestApiInviteUsersRequest, options?: AxiosRequestConfig) {
1431
- return UserControllerRestApiFp(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDtoRest, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1372
+ return UserControllerRestApiFp(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1432
1373
  }
1433
1374
 
1434
1375
  /**
@@ -1439,7 +1380,7 @@ export class UserControllerRestApi extends BaseAPI {
1439
1380
  * @memberof UserControllerRestApi
1440
1381
  */
1441
1382
  public linkUserWithPartner(requestParameters: UserControllerRestApiLinkUserWithPartnerRequest, options?: AxiosRequestConfig) {
1442
- return UserControllerRestApiFp(this.configuration).linkUserWithPartner(requestParameters.code, requestParameters.linkUserWithPartnerRequestDtoRest, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1383
+ return UserControllerRestApiFp(this.configuration).linkUserWithPartner(requestParameters.code, requestParameters.linkUserWithPartnerRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1443
1384
  }
1444
1385
 
1445
1386
  /**
@@ -1451,11 +1392,11 @@ export class UserControllerRestApi extends BaseAPI {
1451
1392
  * @memberof UserControllerRestApi
1452
1393
  */
1453
1394
  public listInvites(requestParameters: UserControllerRestApiListInvitesRequest = {}, options?: AxiosRequestConfig) {
1454
- return UserControllerRestApiFp(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1395
+ return UserControllerRestApiFp(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1455
1396
  }
1456
1397
 
1457
1398
  /**
1458
- * Returns a list of users. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.list\"
1399
+ * 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\"
1459
1400
  * @summary List users
1460
1401
  * @param {UserControllerRestApiListUsersRequest} requestParameters Request parameters.
1461
1402
  * @param {*} [options] Override http request option.
@@ -1463,6 +1404,6 @@ export class UserControllerRestApi extends BaseAPI {
1463
1404
  * @memberof UserControllerRestApi
1464
1405
  */
1465
1406
  public listUsers(requestParameters: UserControllerRestApiListUsersRequest = {}, options?: AxiosRequestConfig) {
1466
- return UserControllerRestApiFp(this.configuration).listUsers(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
1407
+ return UserControllerRestApiFp(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));
1467
1408
  }
1468
1409
  }