@emilgroup/tenant-sdk 1.42.1-beta.141 → 1.42.1-beta.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/api/custom-schema-api.ts +32 -12
- package/api/dashboard-api.ts +96 -36
- package/api/dashboard-group-api.ts +40 -15
- package/api/data-report-api.ts +32 -12
- package/api/data-report-executor-api.ts +8 -3
- package/api/delete-organization-invitations-api.ts +8 -3
- package/api/health-check-api.ts +1 -1
- package/api/invitation-controller-rest-api.ts +32 -12
- package/api/invite-organizations-api.ts +8 -3
- package/api/invite-users-api.ts +32 -12
- package/api/list-organization-invitations-api.ts +8 -3
- package/api/organization-migration-api.ts +40 -15
- package/api/organizations-api.ts +24 -9
- package/api/re-invite-an-organization-api.ts +8 -3
- package/api/report-schedule-api.ts +40 -15
- package/api/report-schedule-logs-api.ts +8 -3
- package/api/roles-api.ts +8 -3
- package/api/settings-api.ts +32 -12
- package/api/ssoconnection-api.ts +168 -21
- package/api/ssoid-pgroups-api.ts +48 -18
- package/api/user-controller-rest-api.ts +108 -49
- package/api/user-group-api.ts +64 -24
- package/api/users-api.ts +76 -37
- package/base.ts +239 -43
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/custom-schema-api.d.ts +4 -4
- package/dist/api/custom-schema-api.js +52 -30
- package/dist/api/dashboard-api.d.ts +12 -12
- package/dist/api/dashboard-api.js +176 -95
- package/dist/api/dashboard-group-api.d.ts +5 -5
- package/dist/api/dashboard-group-api.js +71 -39
- package/dist/api/data-report-api.d.ts +4 -4
- package/dist/api/data-report-api.js +52 -30
- package/dist/api/data-report-executor-api.d.ts +1 -1
- package/dist/api/data-report-executor-api.js +15 -8
- package/dist/api/delete-organization-invitations-api.d.ts +1 -1
- package/dist/api/delete-organization-invitations-api.js +15 -8
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/health-check-api.js +1 -1
- package/dist/api/invitation-controller-rest-api.d.ts +4 -4
- package/dist/api/invitation-controller-rest-api.js +56 -31
- package/dist/api/invite-organizations-api.d.ts +1 -1
- package/dist/api/invite-organizations-api.js +15 -8
- package/dist/api/invite-users-api.d.ts +4 -4
- package/dist/api/invite-users-api.js +56 -31
- package/dist/api/list-organization-invitations-api.d.ts +1 -1
- package/dist/api/list-organization-invitations-api.js +11 -7
- package/dist/api/organization-migration-api.d.ts +5 -5
- package/dist/api/organization-migration-api.js +67 -38
- package/dist/api/organizations-api.d.ts +3 -3
- package/dist/api/organizations-api.js +41 -23
- package/dist/api/re-invite-an-organization-api.d.ts +1 -1
- package/dist/api/re-invite-an-organization-api.js +15 -8
- package/dist/api/report-schedule-api.d.ts +5 -5
- package/dist/api/report-schedule-api.js +67 -38
- package/dist/api/report-schedule-logs-api.d.ts +1 -1
- package/dist/api/report-schedule-logs-api.js +11 -7
- package/dist/api/roles-api.d.ts +1 -1
- package/dist/api/roles-api.js +11 -7
- package/dist/api/settings-api.d.ts +4 -4
- package/dist/api/settings-api.js +52 -30
- package/dist/api/ssoconnection-api.d.ts +64 -7
- package/dist/api/ssoconnection-api.js +205 -56
- package/dist/api/ssoid-pgroups-api.d.ts +6 -6
- package/dist/api/ssoid-pgroups-api.js +86 -47
- package/dist/api/user-controller-rest-api.d.ts +31 -27
- package/dist/api/user-controller-rest-api.js +171 -99
- package/dist/api/user-group-api.d.ts +8 -8
- package/dist/api/user-group-api.js +112 -62
- package/dist/api/users-api.d.ts +27 -23
- package/dist/api/users-api.js +115 -68
- package/dist/base.d.ts +26 -0
- package/dist/base.js +243 -60
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/create-sso-connection-request-dto.d.ts +1 -0
- package/dist/models/create-sso-connection-request-dto.js +2 -1
- package/dist/models/dbconfig-dto.d.ts +6 -0
- package/dist/models/delete-tenant-request-dto.d.ts +30 -0
- package/dist/models/delete-tenant-request-dto.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/sso-connection-class.d.ts +1 -0
- package/dist/models/sso-connection-class.js +2 -1
- package/dist/models/validate-sso-idp-url-request-dto.d.ts +35 -0
- package/dist/models/validate-sso-idp-url-request-dto.js +20 -0
- package/dist/models/validate-sso-idp-url-response-class.d.ts +24 -0
- package/dist/models/validate-sso-idp-url-response-class.js +15 -0
- package/models/create-sso-connection-request-dto.ts +2 -1
- package/models/dbconfig-dto.ts +6 -0
- package/models/delete-tenant-request-dto.ts +36 -0
- package/models/index.ts +3 -0
- package/models/sso-connection-class.ts +2 -1
- package/models/validate-sso-idp-url-request-dto.ts +44 -0
- package/models/validate-sso-idp-url-response-class.ts +30 -0
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -74,6 +74,7 @@ models/data-report-filter-value-dto.ts
|
|
|
74
74
|
models/dbconfig-dto.ts
|
|
75
75
|
models/delete-by-code-response-class.ts
|
|
76
76
|
models/delete-response-class.ts
|
|
77
|
+
models/delete-tenant-request-dto.ts
|
|
77
78
|
models/disable-users-request-dto.ts
|
|
78
79
|
models/disable-users-response-class.ts
|
|
79
80
|
models/duplicate-dashboard-request-dto.ts
|
|
@@ -189,5 +190,7 @@ models/update-user-group-response-class.ts
|
|
|
189
190
|
models/user-class.ts
|
|
190
191
|
models/user-group-class.ts
|
|
191
192
|
models/user-group-member-class.ts
|
|
193
|
+
models/validate-sso-idp-url-request-dto.ts
|
|
194
|
+
models/validate-sso-idp-url-response-class.ts
|
|
192
195
|
package.json
|
|
193
196
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/tenant-sdk@1.42.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.42.1-beta.143 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.42.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.42.1-beta.143
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/custom-schema-api.ts
CHANGED
|
@@ -67,8 +67,13 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
71
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
72
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
73
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
74
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
75
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
76
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
72
77
|
}
|
|
73
78
|
|
|
74
79
|
|
|
@@ -120,8 +125,13 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
|
|
|
120
125
|
localVarQueryParameter['expand'] = expand;
|
|
121
126
|
}
|
|
122
127
|
|
|
123
|
-
|
|
124
|
-
|
|
128
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
129
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
130
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
131
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
132
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
133
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
134
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
125
135
|
}
|
|
126
136
|
|
|
127
137
|
|
|
@@ -196,8 +206,13 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
|
|
|
196
206
|
localVarQueryParameter['filters'] = filters;
|
|
197
207
|
}
|
|
198
208
|
|
|
199
|
-
|
|
200
|
-
|
|
209
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
210
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
211
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
212
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
213
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
214
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
215
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
201
216
|
}
|
|
202
217
|
|
|
203
218
|
|
|
@@ -244,8 +259,13 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
|
|
|
244
259
|
// http bearer authentication required
|
|
245
260
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
246
261
|
|
|
247
|
-
|
|
248
|
-
|
|
262
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
263
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
264
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
265
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
266
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
267
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
268
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
249
269
|
}
|
|
250
270
|
|
|
251
271
|
|
|
@@ -549,7 +569,7 @@ export class CustomSchemaApi extends BaseAPI {
|
|
|
549
569
|
* @memberof CustomSchemaApi
|
|
550
570
|
*/
|
|
551
571
|
public createCustomSchema(requestParameters: CustomSchemaApiCreateCustomSchemaRequest, options?: AxiosRequestConfig) {
|
|
552
|
-
return CustomSchemaApiFp(this.configuration).createCustomSchema(requestParameters.createCustomSchemaRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
572
|
+
return CustomSchemaApiFp(this.configuration).createCustomSchema(requestParameters.createCustomSchemaRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
553
573
|
}
|
|
554
574
|
|
|
555
575
|
/**
|
|
@@ -561,7 +581,7 @@ export class CustomSchemaApi extends BaseAPI {
|
|
|
561
581
|
* @memberof CustomSchemaApi
|
|
562
582
|
*/
|
|
563
583
|
public getCustomSchema(requestParameters: CustomSchemaApiGetCustomSchemaRequest, options?: AxiosRequestConfig) {
|
|
564
|
-
return CustomSchemaApiFp(this.configuration).getCustomSchema(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
584
|
+
return CustomSchemaApiFp(this.configuration).getCustomSchema(requestParameters.code, requestParameters.authorization, requestParameters.expand, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
565
585
|
}
|
|
566
586
|
|
|
567
587
|
/**
|
|
@@ -573,7 +593,7 @@ export class CustomSchemaApi extends BaseAPI {
|
|
|
573
593
|
* @memberof CustomSchemaApi
|
|
574
594
|
*/
|
|
575
595
|
public listCustomSchemas(requestParameters: CustomSchemaApiListCustomSchemasRequest = {}, options?: AxiosRequestConfig) {
|
|
576
|
-
return CustomSchemaApiFp(this.configuration).listCustomSchemas(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
596
|
+
return CustomSchemaApiFp(this.configuration).listCustomSchemas(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));
|
|
577
597
|
}
|
|
578
598
|
|
|
579
599
|
/**
|
|
@@ -585,6 +605,6 @@ export class CustomSchemaApi extends BaseAPI {
|
|
|
585
605
|
* @memberof CustomSchemaApi
|
|
586
606
|
*/
|
|
587
607
|
public updateCustomSchema(requestParameters: CustomSchemaApiUpdateCustomSchemaRequest, options?: AxiosRequestConfig) {
|
|
588
|
-
return CustomSchemaApiFp(this.configuration).updateCustomSchema(requestParameters.code, requestParameters.updateCustomSchemaRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
608
|
+
return CustomSchemaApiFp(this.configuration).updateCustomSchema(requestParameters.code, requestParameters.updateCustomSchemaRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
589
609
|
}
|
|
590
610
|
}
|
package/api/dashboard-api.ts
CHANGED
|
@@ -85,8 +85,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
85
85
|
// http bearer authentication required
|
|
86
86
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
89
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
90
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
91
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
92
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
93
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
94
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
90
95
|
}
|
|
91
96
|
|
|
92
97
|
|
|
@@ -133,8 +138,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
133
138
|
// http bearer authentication required
|
|
134
139
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
135
140
|
|
|
136
|
-
|
|
137
|
-
|
|
141
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
142
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
143
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
144
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
145
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
146
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
147
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
138
148
|
}
|
|
139
149
|
|
|
140
150
|
|
|
@@ -181,8 +191,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
181
191
|
// http bearer authentication required
|
|
182
192
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
183
193
|
|
|
184
|
-
|
|
185
|
-
|
|
194
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
195
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
196
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
197
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
198
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
199
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
200
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
186
201
|
}
|
|
187
202
|
|
|
188
203
|
|
|
@@ -229,8 +244,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
229
244
|
// http bearer authentication required
|
|
230
245
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
231
246
|
|
|
232
|
-
|
|
233
|
-
|
|
247
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
248
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
249
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
250
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
251
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
252
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
253
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
234
254
|
}
|
|
235
255
|
|
|
236
256
|
|
|
@@ -277,8 +297,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
277
297
|
// http bearer authentication required
|
|
278
298
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
279
299
|
|
|
280
|
-
|
|
281
|
-
|
|
300
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
301
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
302
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
303
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
304
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
305
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
306
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
282
307
|
}
|
|
283
308
|
|
|
284
309
|
|
|
@@ -322,8 +347,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
322
347
|
// http bearer authentication required
|
|
323
348
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
324
349
|
|
|
325
|
-
|
|
326
|
-
|
|
350
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
351
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
352
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
353
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
354
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
355
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
356
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
327
357
|
}
|
|
328
358
|
|
|
329
359
|
|
|
@@ -367,8 +397,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
367
397
|
// http bearer authentication required
|
|
368
398
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
369
399
|
|
|
370
|
-
|
|
371
|
-
|
|
400
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
401
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
402
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
403
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
404
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
405
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
406
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
372
407
|
}
|
|
373
408
|
|
|
374
409
|
|
|
@@ -412,8 +447,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
412
447
|
// http bearer authentication required
|
|
413
448
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
414
449
|
|
|
415
|
-
|
|
416
|
-
|
|
450
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
451
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
452
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
453
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
454
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
455
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
456
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
417
457
|
}
|
|
418
458
|
|
|
419
459
|
|
|
@@ -488,8 +528,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
488
528
|
localVarQueryParameter['filters'] = filters;
|
|
489
529
|
}
|
|
490
530
|
|
|
491
|
-
|
|
492
|
-
|
|
531
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
532
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
533
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
534
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
535
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
536
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
537
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
493
538
|
}
|
|
494
539
|
|
|
495
540
|
|
|
@@ -532,8 +577,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
532
577
|
// http bearer authentication required
|
|
533
578
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
534
579
|
|
|
535
|
-
|
|
536
|
-
|
|
580
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
581
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
582
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
583
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
584
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
585
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
586
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
537
587
|
}
|
|
538
588
|
|
|
539
589
|
|
|
@@ -579,8 +629,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
579
629
|
// http bearer authentication required
|
|
580
630
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
581
631
|
|
|
582
|
-
|
|
583
|
-
|
|
632
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
633
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
634
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
635
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
636
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
637
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
638
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
584
639
|
}
|
|
585
640
|
|
|
586
641
|
|
|
@@ -630,8 +685,13 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
630
685
|
// http bearer authentication required
|
|
631
686
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
632
687
|
|
|
633
|
-
|
|
634
|
-
|
|
688
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
689
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
690
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
691
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
692
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
693
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
694
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
635
695
|
}
|
|
636
696
|
|
|
637
697
|
|
|
@@ -1289,7 +1349,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1289
1349
|
* @memberof DashboardApi
|
|
1290
1350
|
*/
|
|
1291
1351
|
public createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig) {
|
|
1292
|
-
return DashboardApiFp(this.configuration).createDashboard(requestParameters.createDashboardV2RequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1352
|
+
return DashboardApiFp(this.configuration).createDashboard(requestParameters.createDashboardV2RequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1293
1353
|
}
|
|
1294
1354
|
|
|
1295
1355
|
/**
|
|
@@ -1302,7 +1362,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1302
1362
|
* @memberof DashboardApi
|
|
1303
1363
|
*/
|
|
1304
1364
|
public createDashboardLegacy(requestParameters: DashboardApiCreateDashboardLegacyRequest, options?: AxiosRequestConfig) {
|
|
1305
|
-
return DashboardApiFp(this.configuration).createDashboardLegacy(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1365
|
+
return DashboardApiFp(this.configuration).createDashboardLegacy(requestParameters.createDashboardRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1306
1366
|
}
|
|
1307
1367
|
|
|
1308
1368
|
/**
|
|
@@ -1314,7 +1374,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1314
1374
|
* @memberof DashboardApi
|
|
1315
1375
|
*/
|
|
1316
1376
|
public deleteDashboard(requestParameters: DashboardApiDeleteDashboardRequest, options?: AxiosRequestConfig) {
|
|
1317
|
-
return DashboardApiFp(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1377
|
+
return DashboardApiFp(this.configuration).deleteDashboard(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1318
1378
|
}
|
|
1319
1379
|
|
|
1320
1380
|
/**
|
|
@@ -1326,7 +1386,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1326
1386
|
* @memberof DashboardApi
|
|
1327
1387
|
*/
|
|
1328
1388
|
public duplicateDashboard(requestParameters: DashboardApiDuplicateDashboardRequest, options?: AxiosRequestConfig) {
|
|
1329
|
-
return DashboardApiFp(this.configuration).duplicateDashboard(requestParameters.code, requestParameters.duplicateDashboardRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1389
|
+
return DashboardApiFp(this.configuration).duplicateDashboard(requestParameters.code, requestParameters.duplicateDashboardRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1330
1390
|
}
|
|
1331
1391
|
|
|
1332
1392
|
/**
|
|
@@ -1338,7 +1398,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1338
1398
|
* @memberof DashboardApi
|
|
1339
1399
|
*/
|
|
1340
1400
|
public getAnalysisEmbeddedUrl(requestParameters: DashboardApiGetAnalysisEmbeddedUrlRequest, options?: AxiosRequestConfig) {
|
|
1341
|
-
return DashboardApiFp(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1401
|
+
return DashboardApiFp(this.configuration).getAnalysisEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1342
1402
|
}
|
|
1343
1403
|
|
|
1344
1404
|
/**
|
|
@@ -1350,7 +1410,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1350
1410
|
* @memberof DashboardApi
|
|
1351
1411
|
*/
|
|
1352
1412
|
public getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: AxiosRequestConfig) {
|
|
1353
|
-
return DashboardApiFp(this.configuration).getDashboard(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1413
|
+
return DashboardApiFp(this.configuration).getDashboard(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1354
1414
|
}
|
|
1355
1415
|
|
|
1356
1416
|
/**
|
|
@@ -1362,7 +1422,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1362
1422
|
* @memberof DashboardApi
|
|
1363
1423
|
*/
|
|
1364
1424
|
public getDashboardEmbeddedUrl(requestParameters: DashboardApiGetDashboardEmbeddedUrlRequest, options?: AxiosRequestConfig) {
|
|
1365
|
-
return DashboardApiFp(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1425
|
+
return DashboardApiFp(this.configuration).getDashboardEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1366
1426
|
}
|
|
1367
1427
|
|
|
1368
1428
|
/**
|
|
@@ -1374,7 +1434,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1374
1434
|
* @memberof DashboardApi
|
|
1375
1435
|
*/
|
|
1376
1436
|
public getDashboardMetadata(requestParameters: DashboardApiGetDashboardMetadataRequest, options?: AxiosRequestConfig) {
|
|
1377
|
-
return DashboardApiFp(this.configuration).getDashboardMetadata(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1437
|
+
return DashboardApiFp(this.configuration).getDashboardMetadata(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1378
1438
|
}
|
|
1379
1439
|
|
|
1380
1440
|
/**
|
|
@@ -1386,7 +1446,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1386
1446
|
* @memberof DashboardApi
|
|
1387
1447
|
*/
|
|
1388
1448
|
public listDashboards(requestParameters: DashboardApiListDashboardsRequest = {}, options?: AxiosRequestConfig) {
|
|
1389
|
-
return DashboardApiFp(this.configuration).listDashboards(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1449
|
+
return DashboardApiFp(this.configuration).listDashboards(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));
|
|
1390
1450
|
}
|
|
1391
1451
|
|
|
1392
1452
|
/**
|
|
@@ -1398,7 +1458,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1398
1458
|
* @memberof DashboardApi
|
|
1399
1459
|
*/
|
|
1400
1460
|
public publishDashboard(requestParameters: DashboardApiPublishDashboardRequest, options?: AxiosRequestConfig) {
|
|
1401
|
-
return DashboardApiFp(this.configuration).publishDashboard(requestParameters.publishDashboardRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1461
|
+
return DashboardApiFp(this.configuration).publishDashboard(requestParameters.publishDashboardRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1402
1462
|
}
|
|
1403
1463
|
|
|
1404
1464
|
/**
|
|
@@ -1410,7 +1470,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1410
1470
|
* @memberof DashboardApi
|
|
1411
1471
|
*/
|
|
1412
1472
|
public revertAnalysis(requestParameters: DashboardApiRevertAnalysisRequest, options?: AxiosRequestConfig) {
|
|
1413
|
-
return DashboardApiFp(this.configuration).revertAnalysis(requestParameters.revertAnalysisRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1473
|
+
return DashboardApiFp(this.configuration).revertAnalysis(requestParameters.revertAnalysisRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1414
1474
|
}
|
|
1415
1475
|
|
|
1416
1476
|
/**
|
|
@@ -1422,6 +1482,6 @@ export class DashboardApi extends BaseAPI {
|
|
|
1422
1482
|
* @memberof DashboardApi
|
|
1423
1483
|
*/
|
|
1424
1484
|
public updateDashboard(requestParameters: DashboardApiUpdateDashboardRequest, options?: AxiosRequestConfig) {
|
|
1425
|
-
return DashboardApiFp(this.configuration).updateDashboard(requestParameters.code, requestParameters.updateDashboardRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1485
|
+
return DashboardApiFp(this.configuration).updateDashboard(requestParameters.code, requestParameters.updateDashboardRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1426
1486
|
}
|
|
1427
1487
|
}
|
|
@@ -68,8 +68,13 @@ export const DashboardGroupApiAxiosParamCreator = function (configuration?: Conf
|
|
|
68
68
|
// http bearer authentication required
|
|
69
69
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
72
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
73
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
74
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
75
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
76
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
77
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
73
78
|
}
|
|
74
79
|
|
|
75
80
|
|
|
@@ -115,8 +120,13 @@ export const DashboardGroupApiAxiosParamCreator = function (configuration?: Conf
|
|
|
115
120
|
// http bearer authentication required
|
|
116
121
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
117
122
|
|
|
118
|
-
|
|
119
|
-
|
|
123
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
124
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
125
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
126
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
127
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
128
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
120
130
|
}
|
|
121
131
|
|
|
122
132
|
|
|
@@ -159,8 +169,13 @@ export const DashboardGroupApiAxiosParamCreator = function (configuration?: Conf
|
|
|
159
169
|
// http bearer authentication required
|
|
160
170
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
161
171
|
|
|
162
|
-
|
|
163
|
-
|
|
172
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
173
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
174
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
175
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
176
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
177
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
178
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
164
179
|
}
|
|
165
180
|
|
|
166
181
|
|
|
@@ -234,8 +249,13 @@ export const DashboardGroupApiAxiosParamCreator = function (configuration?: Conf
|
|
|
234
249
|
localVarQueryParameter['filters'] = filters;
|
|
235
250
|
}
|
|
236
251
|
|
|
237
|
-
|
|
238
|
-
|
|
252
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
253
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
254
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
255
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
256
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
257
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
258
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
239
259
|
}
|
|
240
260
|
|
|
241
261
|
|
|
@@ -281,8 +301,13 @@ export const DashboardGroupApiAxiosParamCreator = function (configuration?: Conf
|
|
|
281
301
|
// http bearer authentication required
|
|
282
302
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
283
303
|
|
|
284
|
-
|
|
285
|
-
|
|
304
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
305
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
306
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
307
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
308
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
309
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
310
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
286
311
|
}
|
|
287
312
|
|
|
288
313
|
|
|
@@ -610,7 +635,7 @@ export class DashboardGroupApi extends BaseAPI {
|
|
|
610
635
|
* @memberof DashboardGroupApi
|
|
611
636
|
*/
|
|
612
637
|
public createDashboardGroup(requestParameters: DashboardGroupApiCreateDashboardGroupRequest, options?: AxiosRequestConfig) {
|
|
613
|
-
return DashboardGroupApiFp(this.configuration).createDashboardGroup(requestParameters.createDashboardGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
638
|
+
return DashboardGroupApiFp(this.configuration).createDashboardGroup(requestParameters.createDashboardGroupRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
614
639
|
}
|
|
615
640
|
|
|
616
641
|
/**
|
|
@@ -621,7 +646,7 @@ export class DashboardGroupApi extends BaseAPI {
|
|
|
621
646
|
* @memberof DashboardGroupApi
|
|
622
647
|
*/
|
|
623
648
|
public deleteDashboardGroup(requestParameters: DashboardGroupApiDeleteDashboardGroupRequest, options?: AxiosRequestConfig) {
|
|
624
|
-
return DashboardGroupApiFp(this.configuration).deleteDashboardGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
649
|
+
return DashboardGroupApiFp(this.configuration).deleteDashboardGroup(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
625
650
|
}
|
|
626
651
|
|
|
627
652
|
/**
|
|
@@ -632,7 +657,7 @@ export class DashboardGroupApi extends BaseAPI {
|
|
|
632
657
|
* @memberof DashboardGroupApi
|
|
633
658
|
*/
|
|
634
659
|
public getDashboardGroup(requestParameters: DashboardGroupApiGetDashboardGroupRequest, options?: AxiosRequestConfig) {
|
|
635
|
-
return DashboardGroupApiFp(this.configuration).getDashboardGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
660
|
+
return DashboardGroupApiFp(this.configuration).getDashboardGroup(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
636
661
|
}
|
|
637
662
|
|
|
638
663
|
/**
|
|
@@ -643,7 +668,7 @@ export class DashboardGroupApi extends BaseAPI {
|
|
|
643
668
|
* @memberof DashboardGroupApi
|
|
644
669
|
*/
|
|
645
670
|
public listDashboardGroups(requestParameters: DashboardGroupApiListDashboardGroupsRequest = {}, options?: AxiosRequestConfig) {
|
|
646
|
-
return DashboardGroupApiFp(this.configuration).listDashboardGroups(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
671
|
+
return DashboardGroupApiFp(this.configuration).listDashboardGroups(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));
|
|
647
672
|
}
|
|
648
673
|
|
|
649
674
|
/**
|
|
@@ -654,6 +679,6 @@ export class DashboardGroupApi extends BaseAPI {
|
|
|
654
679
|
* @memberof DashboardGroupApi
|
|
655
680
|
*/
|
|
656
681
|
public updateDashboardGroup(requestParameters: DashboardGroupApiUpdateDashboardGroupRequest, options?: AxiosRequestConfig) {
|
|
657
|
-
return DashboardGroupApiFp(this.configuration).updateDashboardGroup(requestParameters.code, requestParameters.updateDashboardGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
682
|
+
return DashboardGroupApiFp(this.configuration).updateDashboardGroup(requestParameters.code, requestParameters.updateDashboardGroupRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
658
683
|
}
|
|
659
684
|
}
|