@emilgroup/tenant-sdk 1.31.1-beta.3 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -3
- package/README.md +2 -2
- package/api/dashboard-api.ts +46 -296
- package/base.ts +6 -1
- package/dist/api/dashboard-api.d.ts +42 -195
- package/dist/api/dashboard-api.js +44 -269
- package/dist/base.js +5 -1
- package/dist/models/create-organization-migration-request-dto.d.ts +0 -6
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/models/create-organization-migration-request-dto.ts +0 -6
- package/models/index.ts +0 -3
- package/package.json +1 -1
- package/dist/models/create-dashboard-v2-request-dto.d.ts +0 -36
- package/dist/models/create-dashboard-v2-request-dto.js +0 -15
- package/dist/models/create-dashboard-v2-response-class.d.ts +0 -25
- package/dist/models/create-dashboard-v2-response-class.js +0 -15
- package/dist/models/duplicate-dashboard-response-class.d.ts +0 -25
- package/dist/models/duplicate-dashboard-response-class.js +0 -15
- package/models/create-dashboard-v2-request-dto.ts +0 -42
- package/models/create-dashboard-v2-response-class.ts +0 -31
- package/models/duplicate-dashboard-response-class.ts +0 -31
package/base.ts
CHANGED
|
@@ -97,9 +97,14 @@ export class BaseAPI {
|
|
|
97
97
|
this.loadTokenData();
|
|
98
98
|
|
|
99
99
|
if (configuration) {
|
|
100
|
+
const { accessToken } = this.tokenData;
|
|
100
101
|
this.configuration = configuration;
|
|
101
102
|
this.basePath = configuration.basePath || this.basePath;
|
|
102
|
-
|
|
103
|
+
|
|
104
|
+
// Use config token if provided, otherwise use tokenData token
|
|
105
|
+
const configToken = this.configuration.accessToken;
|
|
106
|
+
const storedToken = accessToken ? `Bearer ${accessToken}` : '';
|
|
107
|
+
this.configuration.accessToken = configToken || storedToken;
|
|
103
108
|
} else {
|
|
104
109
|
const { accessToken, username } = this.tokenData;
|
|
105
110
|
|
|
@@ -14,10 +14,7 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateDashboardRequestDto } from '../models';
|
|
16
16
|
import { CreateDashboardResponseClass } from '../models';
|
|
17
|
-
import { CreateDashboardV2RequestDto } from '../models';
|
|
18
|
-
import { CreateDashboardV2ResponseClass } from '../models';
|
|
19
17
|
import { DeleteResponseClass } from '../models';
|
|
20
|
-
import { DuplicateDashboardResponseClass } from '../models';
|
|
21
18
|
import { GetDashboardResponseClass } from '../models';
|
|
22
19
|
import { GetEmbeddedUrlResponseClass } from '../models';
|
|
23
20
|
import { ListDashboardsResponseClass } from '../models';
|
|
@@ -31,27 +28,15 @@ import { UpdateDashboardResponseClass } from '../models';
|
|
|
31
28
|
*/
|
|
32
29
|
export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33
30
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @summary Creates a new dashboard
|
|
36
|
-
* @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
|
|
37
|
-
* @param {string} [authorization] Bearer Token
|
|
38
|
-
* @param {*} [options] Override http request option.
|
|
39
|
-
* @throws {RequiredError}
|
|
40
|
-
*/
|
|
41
|
-
createDashboard: (createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
-
/**
|
|
43
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
44
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
31
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
45
32
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
46
33
|
* @param {string} [authorization] Bearer Token
|
|
47
34
|
* @param {*} [options] Override http request option.
|
|
48
|
-
* @deprecated
|
|
49
35
|
* @throws {RequiredError}
|
|
50
36
|
*/
|
|
51
|
-
|
|
37
|
+
createDashboard: (createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
38
|
/**
|
|
53
|
-
*
|
|
54
|
-
* @summary Deletes an existing dashboard
|
|
39
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
55
40
|
* @param {string} code
|
|
56
41
|
* @param {string} [authorization] Bearer Token
|
|
57
42
|
* @param {*} [options] Override http request option.
|
|
@@ -59,17 +44,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
59
44
|
*/
|
|
60
45
|
deleteDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
46
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @summary Creates a duplicate of an existing dashboard
|
|
64
|
-
* @param {string} code
|
|
65
|
-
* @param {string} [authorization] Bearer Token
|
|
66
|
-
* @param {*} [options] Override http request option.
|
|
67
|
-
* @throws {RequiredError}
|
|
68
|
-
*/
|
|
69
|
-
duplicateDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
-
/**
|
|
71
|
-
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
72
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
47
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
73
48
|
* @param {string} providerDashboardId
|
|
74
49
|
* @param {string} [authorization] Bearer Token
|
|
75
50
|
* @param {*} [options] Override http request option.
|
|
@@ -77,8 +52,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
77
52
|
*/
|
|
78
53
|
getAnalysisEmbeddedUrl: (providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
54
|
/**
|
|
80
|
-
*
|
|
81
|
-
* @summary Retrieves a specific dashboard
|
|
55
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
82
56
|
* @param {string} code
|
|
83
57
|
* @param {string} [authorization] Bearer Token
|
|
84
58
|
* @param {*} [options] Override http request option.
|
|
@@ -86,8 +60,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
86
60
|
*/
|
|
87
61
|
getDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
62
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
63
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
91
64
|
* @param {string} providerDashboardId
|
|
92
65
|
* @param {string} [authorization] Bearer Token
|
|
93
66
|
* @param {*} [options] Override http request option.
|
|
@@ -95,8 +68,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
95
68
|
*/
|
|
96
69
|
getDashboardEmbeddedUrl: (providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
97
70
|
/**
|
|
98
|
-
*
|
|
99
|
-
* @summary Retrieves a list of dashboards
|
|
71
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
100
72
|
* @param {string} [authorization] Bearer Token
|
|
101
73
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
102
74
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -110,8 +82,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
110
82
|
*/
|
|
111
83
|
listDashboards: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
112
84
|
/**
|
|
113
|
-
*
|
|
114
|
-
* @summary Publishes a dashboard for general access
|
|
85
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
115
86
|
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
116
87
|
* @param {string} [authorization] Bearer Token
|
|
117
88
|
* @param {*} [options] Override http request option.
|
|
@@ -119,8 +90,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
119
90
|
*/
|
|
120
91
|
publishDashboard: (publishDashboardRequestDto: PublishDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
121
92
|
/**
|
|
122
|
-
*
|
|
123
|
-
* @summary Reverts dashboard analysis to previous state
|
|
93
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
124
94
|
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
125
95
|
* @param {string} [authorization] Bearer Token
|
|
126
96
|
* @param {*} [options] Override http request option.
|
|
@@ -128,8 +98,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
128
98
|
*/
|
|
129
99
|
revertAnalysis: (revertAnalysisRequestDto: RevertAnalysisRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
130
100
|
/**
|
|
131
|
-
*
|
|
132
|
-
* @summary Updates an existing dashboard
|
|
101
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
133
102
|
* @param {string} code
|
|
134
103
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
135
104
|
* @param {string} [authorization] Bearer Token
|
|
@@ -144,27 +113,15 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
144
113
|
*/
|
|
145
114
|
export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
146
115
|
/**
|
|
147
|
-
*
|
|
148
|
-
* @summary Creates a new dashboard
|
|
149
|
-
* @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
|
|
150
|
-
* @param {string} [authorization] Bearer Token
|
|
151
|
-
* @param {*} [options] Override http request option.
|
|
152
|
-
* @throws {RequiredError}
|
|
153
|
-
*/
|
|
154
|
-
createDashboard(createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDashboardV2ResponseClass>>;
|
|
155
|
-
/**
|
|
156
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
157
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
116
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
158
117
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
159
118
|
* @param {string} [authorization] Bearer Token
|
|
160
119
|
* @param {*} [options] Override http request option.
|
|
161
|
-
* @deprecated
|
|
162
120
|
* @throws {RequiredError}
|
|
163
121
|
*/
|
|
164
|
-
|
|
122
|
+
createDashboard(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDashboardResponseClass>>;
|
|
165
123
|
/**
|
|
166
|
-
*
|
|
167
|
-
* @summary Deletes an existing dashboard
|
|
124
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
168
125
|
* @param {string} code
|
|
169
126
|
* @param {string} [authorization] Bearer Token
|
|
170
127
|
* @param {*} [options] Override http request option.
|
|
@@ -172,17 +129,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
172
129
|
*/
|
|
173
130
|
deleteDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
174
131
|
/**
|
|
175
|
-
*
|
|
176
|
-
* @summary Creates a duplicate of an existing dashboard
|
|
177
|
-
* @param {string} code
|
|
178
|
-
* @param {string} [authorization] Bearer Token
|
|
179
|
-
* @param {*} [options] Override http request option.
|
|
180
|
-
* @throws {RequiredError}
|
|
181
|
-
*/
|
|
182
|
-
duplicateDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateDashboardResponseClass>>;
|
|
183
|
-
/**
|
|
184
|
-
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
185
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
132
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
186
133
|
* @param {string} providerDashboardId
|
|
187
134
|
* @param {string} [authorization] Bearer Token
|
|
188
135
|
* @param {*} [options] Override http request option.
|
|
@@ -190,8 +137,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
190
137
|
*/
|
|
191
138
|
getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>>;
|
|
192
139
|
/**
|
|
193
|
-
*
|
|
194
|
-
* @summary Retrieves a specific dashboard
|
|
140
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
195
141
|
* @param {string} code
|
|
196
142
|
* @param {string} [authorization] Bearer Token
|
|
197
143
|
* @param {*} [options] Override http request option.
|
|
@@ -199,8 +145,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
199
145
|
*/
|
|
200
146
|
getDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardResponseClass>>;
|
|
201
147
|
/**
|
|
202
|
-
*
|
|
203
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
148
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
204
149
|
* @param {string} providerDashboardId
|
|
205
150
|
* @param {string} [authorization] Bearer Token
|
|
206
151
|
* @param {*} [options] Override http request option.
|
|
@@ -208,8 +153,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
208
153
|
*/
|
|
209
154
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>>;
|
|
210
155
|
/**
|
|
211
|
-
*
|
|
212
|
-
* @summary Retrieves a list of dashboards
|
|
156
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
213
157
|
* @param {string} [authorization] Bearer Token
|
|
214
158
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
215
159
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -223,8 +167,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
223
167
|
*/
|
|
224
168
|
listDashboards(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDashboardsResponseClass>>;
|
|
225
169
|
/**
|
|
226
|
-
*
|
|
227
|
-
* @summary Publishes a dashboard for general access
|
|
170
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
228
171
|
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
229
172
|
* @param {string} [authorization] Bearer Token
|
|
230
173
|
* @param {*} [options] Override http request option.
|
|
@@ -232,8 +175,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
232
175
|
*/
|
|
233
176
|
publishDashboard(publishDashboardRequestDto: PublishDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
234
177
|
/**
|
|
235
|
-
*
|
|
236
|
-
* @summary Reverts dashboard analysis to previous state
|
|
178
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
237
179
|
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
238
180
|
* @param {string} [authorization] Bearer Token
|
|
239
181
|
* @param {*} [options] Override http request option.
|
|
@@ -241,8 +183,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
241
183
|
*/
|
|
242
184
|
revertAnalysis(revertAnalysisRequestDto: RevertAnalysisRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
243
185
|
/**
|
|
244
|
-
*
|
|
245
|
-
* @summary Updates an existing dashboard
|
|
186
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
246
187
|
* @param {string} code
|
|
247
188
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
248
189
|
* @param {string} [authorization] Bearer Token
|
|
@@ -257,27 +198,15 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
257
198
|
*/
|
|
258
199
|
export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
259
200
|
/**
|
|
260
|
-
*
|
|
261
|
-
* @summary Creates a new dashboard
|
|
262
|
-
* @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
|
|
263
|
-
* @param {string} [authorization] Bearer Token
|
|
264
|
-
* @param {*} [options] Override http request option.
|
|
265
|
-
* @throws {RequiredError}
|
|
266
|
-
*/
|
|
267
|
-
createDashboard(createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: any): AxiosPromise<CreateDashboardV2ResponseClass>;
|
|
268
|
-
/**
|
|
269
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
270
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
201
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
271
202
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
272
203
|
* @param {string} [authorization] Bearer Token
|
|
273
204
|
* @param {*} [options] Override http request option.
|
|
274
|
-
* @deprecated
|
|
275
205
|
* @throws {RequiredError}
|
|
276
206
|
*/
|
|
277
|
-
|
|
207
|
+
createDashboard(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDashboardResponseClass>;
|
|
278
208
|
/**
|
|
279
|
-
*
|
|
280
|
-
* @summary Deletes an existing dashboard
|
|
209
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
281
210
|
* @param {string} code
|
|
282
211
|
* @param {string} [authorization] Bearer Token
|
|
283
212
|
* @param {*} [options] Override http request option.
|
|
@@ -285,17 +214,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
285
214
|
*/
|
|
286
215
|
deleteDashboard(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
287
216
|
/**
|
|
288
|
-
*
|
|
289
|
-
* @summary Creates a duplicate of an existing dashboard
|
|
290
|
-
* @param {string} code
|
|
291
|
-
* @param {string} [authorization] Bearer Token
|
|
292
|
-
* @param {*} [options] Override http request option.
|
|
293
|
-
* @throws {RequiredError}
|
|
294
|
-
*/
|
|
295
|
-
duplicateDashboard(code: string, authorization?: string, options?: any): AxiosPromise<DuplicateDashboardResponseClass>;
|
|
296
|
-
/**
|
|
297
|
-
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
298
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
217
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
299
218
|
* @param {string} providerDashboardId
|
|
300
219
|
* @param {string} [authorization] Bearer Token
|
|
301
220
|
* @param {*} [options] Override http request option.
|
|
@@ -303,8 +222,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
303
222
|
*/
|
|
304
223
|
getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass>;
|
|
305
224
|
/**
|
|
306
|
-
*
|
|
307
|
-
* @summary Retrieves a specific dashboard
|
|
225
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
308
226
|
* @param {string} code
|
|
309
227
|
* @param {string} [authorization] Bearer Token
|
|
310
228
|
* @param {*} [options] Override http request option.
|
|
@@ -312,8 +230,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
312
230
|
*/
|
|
313
231
|
getDashboard(code: string, authorization?: string, options?: any): AxiosPromise<GetDashboardResponseClass>;
|
|
314
232
|
/**
|
|
315
|
-
*
|
|
316
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
233
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
317
234
|
* @param {string} providerDashboardId
|
|
318
235
|
* @param {string} [authorization] Bearer Token
|
|
319
236
|
* @param {*} [options] Override http request option.
|
|
@@ -321,8 +238,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
321
238
|
*/
|
|
322
239
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass>;
|
|
323
240
|
/**
|
|
324
|
-
*
|
|
325
|
-
* @summary Retrieves a list of dashboards
|
|
241
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
326
242
|
* @param {string} [authorization] Bearer Token
|
|
327
243
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
328
244
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -336,8 +252,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
336
252
|
*/
|
|
337
253
|
listDashboards(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDashboardsResponseClass>;
|
|
338
254
|
/**
|
|
339
|
-
*
|
|
340
|
-
* @summary Publishes a dashboard for general access
|
|
255
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
341
256
|
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
342
257
|
* @param {string} [authorization] Bearer Token
|
|
343
258
|
* @param {*} [options] Override http request option.
|
|
@@ -345,8 +260,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
345
260
|
*/
|
|
346
261
|
publishDashboard(publishDashboardRequestDto: PublishDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
347
262
|
/**
|
|
348
|
-
*
|
|
349
|
-
* @summary Reverts dashboard analysis to previous state
|
|
263
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
350
264
|
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
351
265
|
* @param {string} [authorization] Bearer Token
|
|
352
266
|
* @param {*} [options] Override http request option.
|
|
@@ -354,8 +268,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
354
268
|
*/
|
|
355
269
|
revertAnalysis(revertAnalysisRequestDto: RevertAnalysisRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
356
270
|
/**
|
|
357
|
-
*
|
|
358
|
-
* @summary Updates an existing dashboard
|
|
271
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
359
272
|
* @param {string} code
|
|
360
273
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
361
274
|
* @param {string} [authorization] Bearer Token
|
|
@@ -370,35 +283,16 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
370
283
|
* @interface DashboardApiCreateDashboardRequest
|
|
371
284
|
*/
|
|
372
285
|
export interface DashboardApiCreateDashboardRequest {
|
|
373
|
-
/**
|
|
374
|
-
*
|
|
375
|
-
* @type {CreateDashboardV2RequestDto}
|
|
376
|
-
* @memberof DashboardApiCreateDashboard
|
|
377
|
-
*/
|
|
378
|
-
readonly createDashboardV2RequestDto: CreateDashboardV2RequestDto;
|
|
379
|
-
/**
|
|
380
|
-
* Bearer Token
|
|
381
|
-
* @type {string}
|
|
382
|
-
* @memberof DashboardApiCreateDashboard
|
|
383
|
-
*/
|
|
384
|
-
readonly authorization?: string;
|
|
385
|
-
}
|
|
386
|
-
/**
|
|
387
|
-
* Request parameters for createDashboardLegacy operation in DashboardApi.
|
|
388
|
-
* @export
|
|
389
|
-
* @interface DashboardApiCreateDashboardLegacyRequest
|
|
390
|
-
*/
|
|
391
|
-
export interface DashboardApiCreateDashboardLegacyRequest {
|
|
392
286
|
/**
|
|
393
287
|
*
|
|
394
288
|
* @type {CreateDashboardRequestDto}
|
|
395
|
-
* @memberof
|
|
289
|
+
* @memberof DashboardApiCreateDashboard
|
|
396
290
|
*/
|
|
397
291
|
readonly createDashboardRequestDto: CreateDashboardRequestDto;
|
|
398
292
|
/**
|
|
399
293
|
* Bearer Token
|
|
400
294
|
* @type {string}
|
|
401
|
-
* @memberof
|
|
295
|
+
* @memberof DashboardApiCreateDashboard
|
|
402
296
|
*/
|
|
403
297
|
readonly authorization?: string;
|
|
404
298
|
}
|
|
@@ -421,25 +315,6 @@ export interface DashboardApiDeleteDashboardRequest {
|
|
|
421
315
|
*/
|
|
422
316
|
readonly authorization?: string;
|
|
423
317
|
}
|
|
424
|
-
/**
|
|
425
|
-
* Request parameters for duplicateDashboard operation in DashboardApi.
|
|
426
|
-
* @export
|
|
427
|
-
* @interface DashboardApiDuplicateDashboardRequest
|
|
428
|
-
*/
|
|
429
|
-
export interface DashboardApiDuplicateDashboardRequest {
|
|
430
|
-
/**
|
|
431
|
-
*
|
|
432
|
-
* @type {string}
|
|
433
|
-
* @memberof DashboardApiDuplicateDashboard
|
|
434
|
-
*/
|
|
435
|
-
readonly code: string;
|
|
436
|
-
/**
|
|
437
|
-
* Bearer Token
|
|
438
|
-
* @type {string}
|
|
439
|
-
* @memberof DashboardApiDuplicateDashboard
|
|
440
|
-
*/
|
|
441
|
-
readonly authorization?: string;
|
|
442
|
-
}
|
|
443
318
|
/**
|
|
444
319
|
* Request parameters for getAnalysisEmbeddedUrl operation in DashboardApi.
|
|
445
320
|
* @export
|
|
@@ -623,27 +498,15 @@ export interface DashboardApiUpdateDashboardRequest {
|
|
|
623
498
|
*/
|
|
624
499
|
export declare class DashboardApi extends BaseAPI {
|
|
625
500
|
/**
|
|
626
|
-
*
|
|
627
|
-
* @summary Creates a new dashboard
|
|
501
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
628
502
|
* @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
|
|
629
503
|
* @param {*} [options] Override http request option.
|
|
630
504
|
* @throws {RequiredError}
|
|
631
505
|
* @memberof DashboardApi
|
|
632
506
|
*/
|
|
633
|
-
createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
634
|
-
/**
|
|
635
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
636
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
637
|
-
* @param {DashboardApiCreateDashboardLegacyRequest} requestParameters Request parameters.
|
|
638
|
-
* @param {*} [options] Override http request option.
|
|
639
|
-
* @deprecated
|
|
640
|
-
* @throws {RequiredError}
|
|
641
|
-
* @memberof DashboardApi
|
|
642
|
-
*/
|
|
643
|
-
createDashboardLegacy(requestParameters: DashboardApiCreateDashboardLegacyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDashboardResponseClass, any>>;
|
|
507
|
+
createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDashboardResponseClass, any>>;
|
|
644
508
|
/**
|
|
645
|
-
*
|
|
646
|
-
* @summary Deletes an existing dashboard
|
|
509
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
647
510
|
* @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
|
|
648
511
|
* @param {*} [options] Override http request option.
|
|
649
512
|
* @throws {RequiredError}
|
|
@@ -651,17 +514,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
651
514
|
*/
|
|
652
515
|
deleteDashboard(requestParameters: DashboardApiDeleteDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
653
516
|
/**
|
|
654
|
-
*
|
|
655
|
-
* @summary Creates a duplicate of an existing dashboard
|
|
656
|
-
* @param {DashboardApiDuplicateDashboardRequest} requestParameters Request parameters.
|
|
657
|
-
* @param {*} [options] Override http request option.
|
|
658
|
-
* @throws {RequiredError}
|
|
659
|
-
* @memberof DashboardApi
|
|
660
|
-
*/
|
|
661
|
-
duplicateDashboard(requestParameters: DashboardApiDuplicateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DuplicateDashboardResponseClass, any>>;
|
|
662
|
-
/**
|
|
663
|
-
* Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\"
|
|
664
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
517
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
665
518
|
* @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
|
|
666
519
|
* @param {*} [options] Override http request option.
|
|
667
520
|
* @throws {RequiredError}
|
|
@@ -669,8 +522,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
669
522
|
*/
|
|
670
523
|
getAnalysisEmbeddedUrl(requestParameters: DashboardApiGetAnalysisEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any>>;
|
|
671
524
|
/**
|
|
672
|
-
*
|
|
673
|
-
* @summary Retrieves a specific dashboard
|
|
525
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
674
526
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
675
527
|
* @param {*} [options] Override http request option.
|
|
676
528
|
* @throws {RequiredError}
|
|
@@ -678,8 +530,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
678
530
|
*/
|
|
679
531
|
getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponseClass, any>>;
|
|
680
532
|
/**
|
|
681
|
-
*
|
|
682
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
533
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
683
534
|
* @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
|
|
684
535
|
* @param {*} [options] Override http request option.
|
|
685
536
|
* @throws {RequiredError}
|
|
@@ -687,8 +538,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
687
538
|
*/
|
|
688
539
|
getDashboardEmbeddedUrl(requestParameters: DashboardApiGetDashboardEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any>>;
|
|
689
540
|
/**
|
|
690
|
-
*
|
|
691
|
-
* @summary Retrieves a list of dashboards
|
|
541
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
692
542
|
* @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
|
|
693
543
|
* @param {*} [options] Override http request option.
|
|
694
544
|
* @throws {RequiredError}
|
|
@@ -696,8 +546,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
696
546
|
*/
|
|
697
547
|
listDashboards(requestParameters?: DashboardApiListDashboardsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDashboardsResponseClass, any>>;
|
|
698
548
|
/**
|
|
699
|
-
*
|
|
700
|
-
* @summary Publishes a dashboard for general access
|
|
549
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
701
550
|
* @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters.
|
|
702
551
|
* @param {*} [options] Override http request option.
|
|
703
552
|
* @throws {RequiredError}
|
|
@@ -705,8 +554,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
705
554
|
*/
|
|
706
555
|
publishDashboard(requestParameters: DashboardApiPublishDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
707
556
|
/**
|
|
708
|
-
*
|
|
709
|
-
* @summary Reverts dashboard analysis to previous state
|
|
557
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
710
558
|
* @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters.
|
|
711
559
|
* @param {*} [options] Override http request option.
|
|
712
560
|
* @throws {RequiredError}
|
|
@@ -714,8 +562,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
714
562
|
*/
|
|
715
563
|
revertAnalysis(requestParameters: DashboardApiRevertAnalysisRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
716
564
|
/**
|
|
717
|
-
*
|
|
718
|
-
* @summary Updates an existing dashboard
|
|
565
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
719
566
|
* @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
|
|
720
567
|
* @param {*} [options] Override http request option.
|
|
721
568
|
* @throws {RequiredError}
|