@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.
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
@@ -103,10 +103,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
103
103
  createDashboard: function (createDashboardV2RequestDto, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
- var _a;
108
- return __generator(this, function (_b) {
109
- switch (_b.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
110
109
  case 0:
111
110
  // verify required parameter 'createDashboardV2RequestDto' is not null or undefined
112
111
  (0, common_1.assertParamExists)('createDashboard', 'createDashboardV2RequestDto', createDashboardV2RequestDto);
@@ -121,19 +120,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
121
120
  localVarQueryParameter = {};
122
121
  // authentication bearer required
123
122
  // http bearer authentication required
124
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
125
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
126
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
127
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
124
  case 1:
129
125
  // authentication bearer required
130
126
  // http bearer authentication required
131
- _b.sent();
132
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
133
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
134
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
135
- if (authorizationValue || authorizationKeepEmpty) {
136
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
127
+ _a.sent();
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
137
130
  }
138
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
139
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -160,10 +153,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
160
153
  createDashboardLegacy: function (createDashboardRequestDto, authorization, options) {
161
154
  if (options === void 0) { options = {}; }
162
155
  return __awaiter(_this, void 0, void 0, function () {
163
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
164
- var _a;
165
- return __generator(this, function (_b) {
166
- switch (_b.label) {
156
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
157
+ return __generator(this, function (_a) {
158
+ switch (_a.label) {
167
159
  case 0:
168
160
  // verify required parameter 'createDashboardRequestDto' is not null or undefined
169
161
  (0, common_1.assertParamExists)('createDashboardLegacy', 'createDashboardRequestDto', createDashboardRequestDto);
@@ -178,19 +170,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
178
170
  localVarQueryParameter = {};
179
171
  // authentication bearer required
180
172
  // http bearer authentication required
181
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
182
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
183
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
184
- ];
173
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
185
174
  case 1:
186
175
  // authentication bearer required
187
176
  // http bearer authentication required
188
- _b.sent();
189
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
190
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
191
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
192
- if (authorizationValue || authorizationKeepEmpty) {
193
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
177
+ _a.sent();
178
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
194
180
  }
195
181
  localVarHeaderParameter['Content-Type'] = 'application/json';
196
182
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -216,10 +202,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
216
202
  deleteDashboard: function (code, authorization, options) {
217
203
  if (options === void 0) { options = {}; }
218
204
  return __awaiter(_this, void 0, void 0, function () {
219
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
220
- var _a;
221
- return __generator(this, function (_b) {
222
- switch (_b.label) {
205
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
206
+ return __generator(this, function (_a) {
207
+ switch (_a.label) {
223
208
  case 0:
224
209
  // verify required parameter 'code' is not null or undefined
225
210
  (0, common_1.assertParamExists)('deleteDashboard', 'code', code);
@@ -235,19 +220,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
235
220
  localVarQueryParameter = {};
236
221
  // authentication bearer required
237
222
  // http bearer authentication required
238
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
239
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
240
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
241
- ];
223
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
242
224
  case 1:
243
225
  // authentication bearer required
244
226
  // http bearer authentication required
245
- _b.sent();
246
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
247
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
248
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
249
- if (authorizationValue || authorizationKeepEmpty) {
250
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
227
+ _a.sent();
228
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
229
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
251
230
  }
252
231
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
253
232
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -272,10 +251,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
272
251
  duplicateDashboard: function (code, duplicateDashboardRequestDto, authorization, options) {
273
252
  if (options === void 0) { options = {}; }
274
253
  return __awaiter(_this, void 0, void 0, function () {
275
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
276
- var _a;
277
- return __generator(this, function (_b) {
278
- switch (_b.label) {
254
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
255
+ return __generator(this, function (_a) {
256
+ switch (_a.label) {
279
257
  case 0:
280
258
  // verify required parameter 'code' is not null or undefined
281
259
  (0, common_1.assertParamExists)('duplicateDashboard', 'code', code);
@@ -293,19 +271,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
293
271
  localVarQueryParameter = {};
294
272
  // authentication bearer required
295
273
  // http bearer authentication required
296
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
297
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
298
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
299
- ];
274
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
300
275
  case 1:
301
276
  // authentication bearer required
302
277
  // http bearer authentication required
303
- _b.sent();
304
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
305
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
306
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
307
- if (authorizationValue || authorizationKeepEmpty) {
308
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
278
+ _a.sent();
279
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
280
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
309
281
  }
310
282
  localVarHeaderParameter['Content-Type'] = 'application/json';
311
283
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -331,10 +303,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
331
303
  getAnalysisEmbeddedUrl: function (providerDashboardId, authorization, options) {
332
304
  if (options === void 0) { options = {}; }
333
305
  return __awaiter(_this, void 0, void 0, function () {
334
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
335
- var _a;
336
- return __generator(this, function (_b) {
337
- switch (_b.label) {
306
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
307
+ return __generator(this, function (_a) {
308
+ switch (_a.label) {
338
309
  case 0:
339
310
  // verify required parameter 'providerDashboardId' is not null or undefined
340
311
  (0, common_1.assertParamExists)('getAnalysisEmbeddedUrl', 'providerDashboardId', providerDashboardId);
@@ -350,19 +321,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
350
321
  localVarQueryParameter = {};
351
322
  // authentication bearer required
352
323
  // http bearer authentication required
353
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
354
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
355
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
356
- ];
324
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
357
325
  case 1:
358
326
  // authentication bearer required
359
327
  // http bearer authentication required
360
- _b.sent();
361
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
362
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
363
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
364
- if (authorizationValue || authorizationKeepEmpty) {
365
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
328
+ _a.sent();
329
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
330
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
366
331
  }
367
332
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
368
333
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -386,10 +351,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
386
351
  getDashboard: function (code, authorization, options) {
387
352
  if (options === void 0) { options = {}; }
388
353
  return __awaiter(_this, void 0, void 0, function () {
389
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
390
- var _a;
391
- return __generator(this, function (_b) {
392
- switch (_b.label) {
354
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
355
+ return __generator(this, function (_a) {
356
+ switch (_a.label) {
393
357
  case 0:
394
358
  // verify required parameter 'code' is not null or undefined
395
359
  (0, common_1.assertParamExists)('getDashboard', 'code', code);
@@ -405,19 +369,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
405
369
  localVarQueryParameter = {};
406
370
  // authentication bearer required
407
371
  // http bearer authentication required
408
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
409
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
410
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
411
- ];
372
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
412
373
  case 1:
413
374
  // authentication bearer required
414
375
  // http bearer authentication required
415
- _b.sent();
416
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
417
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
418
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
419
- if (authorizationValue || authorizationKeepEmpty) {
420
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
376
+ _a.sent();
377
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
378
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
421
379
  }
422
380
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
423
381
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -441,10 +399,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
441
399
  getDashboardEmbeddedUrl: function (providerDashboardId, authorization, options) {
442
400
  if (options === void 0) { options = {}; }
443
401
  return __awaiter(_this, void 0, void 0, function () {
444
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
445
- var _a;
446
- return __generator(this, function (_b) {
447
- switch (_b.label) {
402
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
403
+ return __generator(this, function (_a) {
404
+ switch (_a.label) {
448
405
  case 0:
449
406
  // verify required parameter 'providerDashboardId' is not null or undefined
450
407
  (0, common_1.assertParamExists)('getDashboardEmbeddedUrl', 'providerDashboardId', providerDashboardId);
@@ -460,19 +417,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
460
417
  localVarQueryParameter = {};
461
418
  // authentication bearer required
462
419
  // http bearer authentication required
463
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
464
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
465
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
466
- ];
420
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
467
421
  case 1:
468
422
  // authentication bearer required
469
423
  // http bearer authentication required
470
- _b.sent();
471
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
472
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
473
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
474
- if (authorizationValue || authorizationKeepEmpty) {
475
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
424
+ _a.sent();
425
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
426
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
476
427
  }
477
428
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
478
429
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -496,10 +447,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
496
447
  getDashboardMetadata: function (code, authorization, options) {
497
448
  if (options === void 0) { options = {}; }
498
449
  return __awaiter(_this, void 0, void 0, function () {
499
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
500
- var _a;
501
- return __generator(this, function (_b) {
502
- switch (_b.label) {
450
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
451
+ return __generator(this, function (_a) {
452
+ switch (_a.label) {
503
453
  case 0:
504
454
  // verify required parameter 'code' is not null or undefined
505
455
  (0, common_1.assertParamExists)('getDashboardMetadata', 'code', code);
@@ -515,19 +465,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
515
465
  localVarQueryParameter = {};
516
466
  // authentication bearer required
517
467
  // http bearer authentication required
518
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
519
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
520
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
521
- ];
468
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
522
469
  case 1:
523
470
  // authentication bearer required
524
471
  // http bearer authentication required
525
- _b.sent();
526
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
527
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
528
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
529
- if (authorizationValue || authorizationKeepEmpty) {
530
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
472
+ _a.sent();
473
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
474
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
531
475
  }
532
476
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
533
477
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -557,10 +501,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
557
501
  listDashboards: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
558
502
  if (options === void 0) { options = {}; }
559
503
  return __awaiter(_this, void 0, void 0, function () {
560
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
561
- var _a;
562
- return __generator(this, function (_b) {
563
- switch (_b.label) {
504
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
505
+ return __generator(this, function (_a) {
506
+ switch (_a.label) {
564
507
  case 0:
565
508
  localVarPath = "/tenantservice/v1/dashboards";
566
509
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -577,7 +520,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
577
520
  case 1:
578
521
  // authentication bearer required
579
522
  // http bearer authentication required
580
- _b.sent();
523
+ _a.sent();
581
524
  if (pageSize !== undefined) {
582
525
  localVarQueryParameter['pageSize'] = pageSize;
583
526
  }
@@ -599,11 +542,8 @@ var DashboardApiAxiosParamCreator = function (configuration) {
599
542
  if (filters !== undefined) {
600
543
  localVarQueryParameter['filters'] = filters;
601
544
  }
602
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
603
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
604
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
605
- if (authorizationValue || authorizationKeepEmpty) {
606
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
545
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
546
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
607
547
  }
608
548
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
609
549
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -627,10 +567,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
627
567
  publishDashboard: function (publishDashboardRequestDto, authorization, options) {
628
568
  if (options === void 0) { options = {}; }
629
569
  return __awaiter(_this, void 0, void 0, function () {
630
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
631
- var _a;
632
- return __generator(this, function (_b) {
633
- switch (_b.label) {
570
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
571
+ return __generator(this, function (_a) {
572
+ switch (_a.label) {
634
573
  case 0:
635
574
  // verify required parameter 'publishDashboardRequestDto' is not null or undefined
636
575
  (0, common_1.assertParamExists)('publishDashboard', 'publishDashboardRequestDto', publishDashboardRequestDto);
@@ -645,19 +584,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
645
584
  localVarQueryParameter = {};
646
585
  // authentication bearer required
647
586
  // http bearer authentication required
648
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
649
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
650
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
651
- ];
587
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
652
588
  case 1:
653
589
  // authentication bearer required
654
590
  // http bearer authentication required
655
- _b.sent();
656
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
657
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
658
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
659
- if (authorizationValue || authorizationKeepEmpty) {
660
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
591
+ _a.sent();
592
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
593
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
661
594
  }
662
595
  localVarHeaderParameter['Content-Type'] = 'application/json';
663
596
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -683,10 +616,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
683
616
  revertAnalysis: function (revertAnalysisRequestDto, authorization, options) {
684
617
  if (options === void 0) { options = {}; }
685
618
  return __awaiter(_this, void 0, void 0, function () {
686
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
687
- var _a;
688
- return __generator(this, function (_b) {
689
- switch (_b.label) {
619
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
620
+ return __generator(this, function (_a) {
621
+ switch (_a.label) {
690
622
  case 0:
691
623
  // verify required parameter 'revertAnalysisRequestDto' is not null or undefined
692
624
  (0, common_1.assertParamExists)('revertAnalysis', 'revertAnalysisRequestDto', revertAnalysisRequestDto);
@@ -701,19 +633,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
701
633
  localVarQueryParameter = {};
702
634
  // authentication bearer required
703
635
  // http bearer authentication required
704
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
705
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
706
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
707
- ];
636
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
708
637
  case 1:
709
638
  // authentication bearer required
710
639
  // http bearer authentication required
711
- _b.sent();
712
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
713
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
714
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
715
- if (authorizationValue || authorizationKeepEmpty) {
716
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
640
+ _a.sent();
641
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
642
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
717
643
  }
718
644
  localVarHeaderParameter['Content-Type'] = 'application/json';
719
645
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -740,10 +666,9 @@ var DashboardApiAxiosParamCreator = function (configuration) {
740
666
  updateDashboard: function (code, updateDashboardRequestDto, authorization, options) {
741
667
  if (options === void 0) { options = {}; }
742
668
  return __awaiter(_this, void 0, void 0, function () {
743
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
744
- var _a;
745
- return __generator(this, function (_b) {
746
- switch (_b.label) {
669
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
670
+ return __generator(this, function (_a) {
671
+ switch (_a.label) {
747
672
  case 0:
748
673
  // verify required parameter 'code' is not null or undefined
749
674
  (0, common_1.assertParamExists)('updateDashboard', 'code', code);
@@ -761,19 +686,13 @@ var DashboardApiAxiosParamCreator = function (configuration) {
761
686
  localVarQueryParameter = {};
762
687
  // authentication bearer required
763
688
  // http bearer authentication required
764
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
765
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
766
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
767
- ];
689
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
768
690
  case 1:
769
691
  // authentication bearer required
770
692
  // http bearer authentication required
771
- _b.sent();
772
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
773
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
774
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
775
- if (authorizationValue || authorizationKeepEmpty) {
776
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
693
+ _a.sent();
694
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
695
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
777
696
  }
778
697
  localVarHeaderParameter['Content-Type'] = 'application/json';
779
698
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -1234,7 +1153,7 @@ var DashboardApi = /** @class */ (function (_super) {
1234
1153
  */
1235
1154
  DashboardApi.prototype.createDashboard = function (requestParameters, options) {
1236
1155
  var _this = this;
1237
- return (0, exports.DashboardApiFp)(this.configuration).createDashboard(requestParameters.createDashboardV2RequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1156
+ return (0, exports.DashboardApiFp)(this.configuration).createDashboard(requestParameters.createDashboardV2RequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1238
1157
  };
1239
1158
  /**
1240
1159
  * Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
@@ -1247,7 +1166,7 @@ var DashboardApi = /** @class */ (function (_super) {
1247
1166
  */
1248
1167
  DashboardApi.prototype.createDashboardLegacy = function (requestParameters, options) {
1249
1168
  var _this = this;
1250
- return (0, exports.DashboardApiFp)(this.configuration).createDashboardLegacy(requestParameters.createDashboardRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1169
+ return (0, exports.DashboardApiFp)(this.configuration).createDashboardLegacy(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1251
1170
  };
1252
1171
  /**
1253
1172
  * Permanently removes a dashboard and all associated data by dashboard code. **Required Permissions** \"reporting.dashboards.delete\"
@@ -1259,7 +1178,7 @@ var DashboardApi = /** @class */ (function (_super) {
1259
1178
  */
1260
1179
  DashboardApi.prototype.deleteDashboard = function (requestParameters, options) {
1261
1180
  var _this = this;
1262
- return (0, exports.DashboardApiFp)(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1181
+ return (0, exports.DashboardApiFp)(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1263
1182
  };
1264
1183
  /**
1265
1184
  * Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\"
@@ -1271,7 +1190,7 @@ var DashboardApi = /** @class */ (function (_super) {
1271
1190
  */
1272
1191
  DashboardApi.prototype.duplicateDashboard = function (requestParameters, options) {
1273
1192
  var _this = this;
1274
- return (0, exports.DashboardApiFp)(this.configuration).duplicateDashboard(requestParameters.code, requestParameters.duplicateDashboardRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1193
+ return (0, exports.DashboardApiFp)(this.configuration).duplicateDashboard(requestParameters.code, requestParameters.duplicateDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1275
1194
  };
1276
1195
  /**
1277
1196
  * Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
@@ -1283,7 +1202,7 @@ var DashboardApi = /** @class */ (function (_super) {
1283
1202
  */
1284
1203
  DashboardApi.prototype.getAnalysisEmbeddedUrl = function (requestParameters, options) {
1285
1204
  var _this = this;
1286
- return (0, exports.DashboardApiFp)(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1205
+ return (0, exports.DashboardApiFp)(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1287
1206
  };
1288
1207
  /**
1289
1208
  * Fetches dashboard details by code including configuration and metadata. **Required Permissions** \"reporting.dashboards.view\"
@@ -1295,7 +1214,7 @@ var DashboardApi = /** @class */ (function (_super) {
1295
1214
  */
1296
1215
  DashboardApi.prototype.getDashboard = function (requestParameters, options) {
1297
1216
  var _this = this;
1298
- return (0, exports.DashboardApiFp)(this.configuration).getDashboard(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1217
+ return (0, exports.DashboardApiFp)(this.configuration).getDashboard(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1299
1218
  };
1300
1219
  /**
1301
1220
  * Creates a secure embedded URL that allows dashboard content to be displayed within external applications. **Required Permissions** \"reporting.dashboards.view\"
@@ -1307,7 +1226,7 @@ var DashboardApi = /** @class */ (function (_super) {
1307
1226
  */
1308
1227
  DashboardApi.prototype.getDashboardEmbeddedUrl = function (requestParameters, options) {
1309
1228
  var _this = this;
1310
- return (0, exports.DashboardApiFp)(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1229
+ return (0, exports.DashboardApiFp)(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1311
1230
  };
1312
1231
  /**
1313
1232
  * Returns sheet names and parameter definitions for the dashboard analysis backing this record. **Required Permissions** \"reporting.dashboards.view\"
@@ -1319,7 +1238,7 @@ var DashboardApi = /** @class */ (function (_super) {
1319
1238
  */
1320
1239
  DashboardApi.prototype.getDashboardMetadata = function (requestParameters, options) {
1321
1240
  var _this = this;
1322
- return (0, exports.DashboardApiFp)(this.configuration).getDashboardMetadata(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1241
+ return (0, exports.DashboardApiFp)(this.configuration).getDashboardMetadata(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1323
1242
  };
1324
1243
  /**
1325
1244
  * Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\"
@@ -1332,7 +1251,7 @@ var DashboardApi = /** @class */ (function (_super) {
1332
1251
  DashboardApi.prototype.listDashboards = function (requestParameters, options) {
1333
1252
  var _this = this;
1334
1253
  if (requestParameters === void 0) { requestParameters = {}; }
1335
- return (0, exports.DashboardApiFp)(this.configuration).listDashboards(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1254
+ return (0, exports.DashboardApiFp)(this.configuration).listDashboards(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1336
1255
  };
1337
1256
  /**
1338
1257
  * Makes a dashboard publicly available by publishing it from draft or analysis state. **Required Permissions** \"reporting.dashboards.update\"
@@ -1344,7 +1263,7 @@ var DashboardApi = /** @class */ (function (_super) {
1344
1263
  */
1345
1264
  DashboardApi.prototype.publishDashboard = function (requestParameters, options) {
1346
1265
  var _this = this;
1347
- return (0, exports.DashboardApiFp)(this.configuration).publishDashboard(requestParameters.publishDashboardRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1266
+ return (0, exports.DashboardApiFp)(this.configuration).publishDashboard(requestParameters.publishDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1348
1267
  };
1349
1268
  /**
1350
1269
  * Rolls back dashboard analysis changes to restore the previous version or state. **Required Permissions** \"reporting.dashboards.update\"
@@ -1356,7 +1275,7 @@ var DashboardApi = /** @class */ (function (_super) {
1356
1275
  */
1357
1276
  DashboardApi.prototype.revertAnalysis = function (requestParameters, options) {
1358
1277
  var _this = this;
1359
- return (0, exports.DashboardApiFp)(this.configuration).revertAnalysis(requestParameters.revertAnalysisRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1278
+ return (0, exports.DashboardApiFp)(this.configuration).revertAnalysis(requestParameters.revertAnalysisRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1360
1279
  };
1361
1280
  /**
1362
1281
  * Modifies dashboard properties, configuration, or metadata by dashboard code. **Required Permissions** \"reporting.dashboards.update\"
@@ -1368,7 +1287,7 @@ var DashboardApi = /** @class */ (function (_super) {
1368
1287
  */
1369
1288
  DashboardApi.prototype.updateDashboard = function (requestParameters, options) {
1370
1289
  var _this = this;
1371
- return (0, exports.DashboardApiFp)(this.configuration).updateDashboard(requestParameters.code, requestParameters.updateDashboardRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
1290
+ return (0, exports.DashboardApiFp)(this.configuration).updateDashboard(requestParameters.code, requestParameters.updateDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1372
1291
  };
1373
1292
  return DashboardApi;
1374
1293
  }(base_1.BaseAPI));