@emilgroup/tenant-sdk 1.31.1-beta.2 → 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 +1 -2
- package/README.md +2 -2
- package/api/dashboard-api.ts +46 -193
- package/api/invite-users-api.ts +4 -4
- package/api/organization-migration-api.ts +113 -8
- package/base.ts +6 -1
- package/dist/api/dashboard-api.d.ts +42 -139
- package/dist/api/dashboard-api.js +44 -177
- package/dist/api/invite-users-api.d.ts +4 -4
- package/dist/api/invite-users-api.js +3 -3
- package/dist/api/organization-migration-api.d.ts +64 -8
- package/dist/api/organization-migration-api.js +101 -8
- package/dist/base.js +5 -1
- package/dist/models/{create-dashboard-v2-request-dto.d.ts → create-resources-migration-request-dto.d.ts} +12 -12
- package/dist/models/index.d.ts +1 -2
- package/dist/models/index.js +1 -2
- package/models/{create-dashboard-v2-request-dto.ts → create-resources-migration-request-dto.ts} +12 -12
- package/models/index.ts +1 -2
- package/package.json +1 -1
- package/dist/models/create-dashboard-v2-response-class.d.ts +0 -25
- package/dist/models/create-dashboard-v2-response-class.js +0 -15
- package/models/create-dashboard-v2-response-class.ts +0 -31
- /package/dist/models/{create-dashboard-v2-request-dto.js → create-resources-migration-request-dto.js} +0 -0
|
@@ -14,8 +14,6 @@ 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
18
|
import { GetDashboardResponseClass } from '../models';
|
|
21
19
|
import { GetEmbeddedUrlResponseClass } from '../models';
|
|
@@ -30,27 +28,15 @@ import { UpdateDashboardResponseClass } from '../models';
|
|
|
30
28
|
*/
|
|
31
29
|
export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
32
30
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @summary Creates a new dashboard
|
|
35
|
-
* @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
|
|
36
|
-
* @param {string} [authorization] Bearer Token
|
|
37
|
-
* @param {*} [options] Override http request option.
|
|
38
|
-
* @throws {RequiredError}
|
|
39
|
-
*/
|
|
40
|
-
createDashboard: (createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
-
/**
|
|
42
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
43
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
31
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
44
32
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
45
33
|
* @param {string} [authorization] Bearer Token
|
|
46
34
|
* @param {*} [options] Override http request option.
|
|
47
|
-
* @deprecated
|
|
48
35
|
* @throws {RequiredError}
|
|
49
36
|
*/
|
|
50
|
-
|
|
37
|
+
createDashboard: (createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
38
|
/**
|
|
52
|
-
*
|
|
53
|
-
* @summary Deletes an existing dashboard
|
|
39
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
54
40
|
* @param {string} code
|
|
55
41
|
* @param {string} [authorization] Bearer Token
|
|
56
42
|
* @param {*} [options] Override http request option.
|
|
@@ -58,8 +44,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
58
44
|
*/
|
|
59
45
|
deleteDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
46
|
/**
|
|
61
|
-
*
|
|
62
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
47
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
63
48
|
* @param {string} providerDashboardId
|
|
64
49
|
* @param {string} [authorization] Bearer Token
|
|
65
50
|
* @param {*} [options] Override http request option.
|
|
@@ -67,8 +52,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
67
52
|
*/
|
|
68
53
|
getAnalysisEmbeddedUrl: (providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
54
|
/**
|
|
70
|
-
*
|
|
71
|
-
* @summary Retrieves a specific dashboard
|
|
55
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
72
56
|
* @param {string} code
|
|
73
57
|
* @param {string} [authorization] Bearer Token
|
|
74
58
|
* @param {*} [options] Override http request option.
|
|
@@ -76,8 +60,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
76
60
|
*/
|
|
77
61
|
getDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
62
|
/**
|
|
79
|
-
*
|
|
80
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
63
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
81
64
|
* @param {string} providerDashboardId
|
|
82
65
|
* @param {string} [authorization] Bearer Token
|
|
83
66
|
* @param {*} [options] Override http request option.
|
|
@@ -85,8 +68,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
85
68
|
*/
|
|
86
69
|
getDashboardEmbeddedUrl: (providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
70
|
/**
|
|
88
|
-
*
|
|
89
|
-
* @summary Retrieves a list of dashboards
|
|
71
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
90
72
|
* @param {string} [authorization] Bearer Token
|
|
91
73
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
92
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.
|
|
@@ -100,8 +82,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
100
82
|
*/
|
|
101
83
|
listDashboards: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
102
84
|
/**
|
|
103
|
-
*
|
|
104
|
-
* @summary Publishes a dashboard for general access
|
|
85
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
105
86
|
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
106
87
|
* @param {string} [authorization] Bearer Token
|
|
107
88
|
* @param {*} [options] Override http request option.
|
|
@@ -109,8 +90,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
109
90
|
*/
|
|
110
91
|
publishDashboard: (publishDashboardRequestDto: PublishDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
92
|
/**
|
|
112
|
-
*
|
|
113
|
-
* @summary Reverts dashboard analysis to previous state
|
|
93
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
114
94
|
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
115
95
|
* @param {string} [authorization] Bearer Token
|
|
116
96
|
* @param {*} [options] Override http request option.
|
|
@@ -118,8 +98,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
118
98
|
*/
|
|
119
99
|
revertAnalysis: (revertAnalysisRequestDto: RevertAnalysisRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
120
100
|
/**
|
|
121
|
-
*
|
|
122
|
-
* @summary Updates an existing dashboard
|
|
101
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
123
102
|
* @param {string} code
|
|
124
103
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
125
104
|
* @param {string} [authorization] Bearer Token
|
|
@@ -134,27 +113,15 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
134
113
|
*/
|
|
135
114
|
export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
136
115
|
/**
|
|
137
|
-
*
|
|
138
|
-
* @summary Creates a new dashboard
|
|
139
|
-
* @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
|
|
140
|
-
* @param {string} [authorization] Bearer Token
|
|
141
|
-
* @param {*} [options] Override http request option.
|
|
142
|
-
* @throws {RequiredError}
|
|
143
|
-
*/
|
|
144
|
-
createDashboard(createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDashboardV2ResponseClass>>;
|
|
145
|
-
/**
|
|
146
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
147
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
116
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
148
117
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
149
118
|
* @param {string} [authorization] Bearer Token
|
|
150
119
|
* @param {*} [options] Override http request option.
|
|
151
|
-
* @deprecated
|
|
152
120
|
* @throws {RequiredError}
|
|
153
121
|
*/
|
|
154
|
-
|
|
122
|
+
createDashboard(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDashboardResponseClass>>;
|
|
155
123
|
/**
|
|
156
|
-
*
|
|
157
|
-
* @summary Deletes an existing dashboard
|
|
124
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
158
125
|
* @param {string} code
|
|
159
126
|
* @param {string} [authorization] Bearer Token
|
|
160
127
|
* @param {*} [options] Override http request option.
|
|
@@ -162,8 +129,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
162
129
|
*/
|
|
163
130
|
deleteDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
164
131
|
/**
|
|
165
|
-
*
|
|
166
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
132
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
167
133
|
* @param {string} providerDashboardId
|
|
168
134
|
* @param {string} [authorization] Bearer Token
|
|
169
135
|
* @param {*} [options] Override http request option.
|
|
@@ -171,8 +137,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
171
137
|
*/
|
|
172
138
|
getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>>;
|
|
173
139
|
/**
|
|
174
|
-
*
|
|
175
|
-
* @summary Retrieves a specific dashboard
|
|
140
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
176
141
|
* @param {string} code
|
|
177
142
|
* @param {string} [authorization] Bearer Token
|
|
178
143
|
* @param {*} [options] Override http request option.
|
|
@@ -180,8 +145,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
180
145
|
*/
|
|
181
146
|
getDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardResponseClass>>;
|
|
182
147
|
/**
|
|
183
|
-
*
|
|
184
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
148
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
185
149
|
* @param {string} providerDashboardId
|
|
186
150
|
* @param {string} [authorization] Bearer Token
|
|
187
151
|
* @param {*} [options] Override http request option.
|
|
@@ -189,8 +153,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
189
153
|
*/
|
|
190
154
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>>;
|
|
191
155
|
/**
|
|
192
|
-
*
|
|
193
|
-
* @summary Retrieves a list of dashboards
|
|
156
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
194
157
|
* @param {string} [authorization] Bearer Token
|
|
195
158
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
196
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.
|
|
@@ -204,8 +167,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
204
167
|
*/
|
|
205
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>>;
|
|
206
169
|
/**
|
|
207
|
-
*
|
|
208
|
-
* @summary Publishes a dashboard for general access
|
|
170
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
209
171
|
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
210
172
|
* @param {string} [authorization] Bearer Token
|
|
211
173
|
* @param {*} [options] Override http request option.
|
|
@@ -213,8 +175,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
213
175
|
*/
|
|
214
176
|
publishDashboard(publishDashboardRequestDto: PublishDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
215
177
|
/**
|
|
216
|
-
*
|
|
217
|
-
* @summary Reverts dashboard analysis to previous state
|
|
178
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
218
179
|
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
219
180
|
* @param {string} [authorization] Bearer Token
|
|
220
181
|
* @param {*} [options] Override http request option.
|
|
@@ -222,8 +183,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
222
183
|
*/
|
|
223
184
|
revertAnalysis(revertAnalysisRequestDto: RevertAnalysisRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
224
185
|
/**
|
|
225
|
-
*
|
|
226
|
-
* @summary Updates an existing dashboard
|
|
186
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
227
187
|
* @param {string} code
|
|
228
188
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
229
189
|
* @param {string} [authorization] Bearer Token
|
|
@@ -238,27 +198,15 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
238
198
|
*/
|
|
239
199
|
export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
240
200
|
/**
|
|
241
|
-
*
|
|
242
|
-
* @summary Creates a new dashboard
|
|
243
|
-
* @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
|
|
244
|
-
* @param {string} [authorization] Bearer Token
|
|
245
|
-
* @param {*} [options] Override http request option.
|
|
246
|
-
* @throws {RequiredError}
|
|
247
|
-
*/
|
|
248
|
-
createDashboard(createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: any): AxiosPromise<CreateDashboardV2ResponseClass>;
|
|
249
|
-
/**
|
|
250
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
251
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
201
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
252
202
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
253
203
|
* @param {string} [authorization] Bearer Token
|
|
254
204
|
* @param {*} [options] Override http request option.
|
|
255
|
-
* @deprecated
|
|
256
205
|
* @throws {RequiredError}
|
|
257
206
|
*/
|
|
258
|
-
|
|
207
|
+
createDashboard(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDashboardResponseClass>;
|
|
259
208
|
/**
|
|
260
|
-
*
|
|
261
|
-
* @summary Deletes an existing dashboard
|
|
209
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
262
210
|
* @param {string} code
|
|
263
211
|
* @param {string} [authorization] Bearer Token
|
|
264
212
|
* @param {*} [options] Override http request option.
|
|
@@ -266,8 +214,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
266
214
|
*/
|
|
267
215
|
deleteDashboard(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
268
216
|
/**
|
|
269
|
-
*
|
|
270
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
217
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
271
218
|
* @param {string} providerDashboardId
|
|
272
219
|
* @param {string} [authorization] Bearer Token
|
|
273
220
|
* @param {*} [options] Override http request option.
|
|
@@ -275,8 +222,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
275
222
|
*/
|
|
276
223
|
getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass>;
|
|
277
224
|
/**
|
|
278
|
-
*
|
|
279
|
-
* @summary Retrieves a specific dashboard
|
|
225
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
280
226
|
* @param {string} code
|
|
281
227
|
* @param {string} [authorization] Bearer Token
|
|
282
228
|
* @param {*} [options] Override http request option.
|
|
@@ -284,8 +230,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
284
230
|
*/
|
|
285
231
|
getDashboard(code: string, authorization?: string, options?: any): AxiosPromise<GetDashboardResponseClass>;
|
|
286
232
|
/**
|
|
287
|
-
*
|
|
288
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
233
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
289
234
|
* @param {string} providerDashboardId
|
|
290
235
|
* @param {string} [authorization] Bearer Token
|
|
291
236
|
* @param {*} [options] Override http request option.
|
|
@@ -293,8 +238,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
293
238
|
*/
|
|
294
239
|
getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass>;
|
|
295
240
|
/**
|
|
296
|
-
*
|
|
297
|
-
* @summary Retrieves a list of dashboards
|
|
241
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
298
242
|
* @param {string} [authorization] Bearer Token
|
|
299
243
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
300
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.
|
|
@@ -308,8 +252,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
308
252
|
*/
|
|
309
253
|
listDashboards(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDashboardsResponseClass>;
|
|
310
254
|
/**
|
|
311
|
-
*
|
|
312
|
-
* @summary Publishes a dashboard for general access
|
|
255
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
313
256
|
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
314
257
|
* @param {string} [authorization] Bearer Token
|
|
315
258
|
* @param {*} [options] Override http request option.
|
|
@@ -317,8 +260,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
317
260
|
*/
|
|
318
261
|
publishDashboard(publishDashboardRequestDto: PublishDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
319
262
|
/**
|
|
320
|
-
*
|
|
321
|
-
* @summary Reverts dashboard analysis to previous state
|
|
263
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
322
264
|
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
323
265
|
* @param {string} [authorization] Bearer Token
|
|
324
266
|
* @param {*} [options] Override http request option.
|
|
@@ -326,8 +268,7 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
326
268
|
*/
|
|
327
269
|
revertAnalysis(revertAnalysisRequestDto: RevertAnalysisRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
328
270
|
/**
|
|
329
|
-
*
|
|
330
|
-
* @summary Updates an existing dashboard
|
|
271
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
331
272
|
* @param {string} code
|
|
332
273
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
333
274
|
* @param {string} [authorization] Bearer Token
|
|
@@ -342,35 +283,16 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
342
283
|
* @interface DashboardApiCreateDashboardRequest
|
|
343
284
|
*/
|
|
344
285
|
export interface DashboardApiCreateDashboardRequest {
|
|
345
|
-
/**
|
|
346
|
-
*
|
|
347
|
-
* @type {CreateDashboardV2RequestDto}
|
|
348
|
-
* @memberof DashboardApiCreateDashboard
|
|
349
|
-
*/
|
|
350
|
-
readonly createDashboardV2RequestDto: CreateDashboardV2RequestDto;
|
|
351
|
-
/**
|
|
352
|
-
* Bearer Token
|
|
353
|
-
* @type {string}
|
|
354
|
-
* @memberof DashboardApiCreateDashboard
|
|
355
|
-
*/
|
|
356
|
-
readonly authorization?: string;
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* Request parameters for createDashboardLegacy operation in DashboardApi.
|
|
360
|
-
* @export
|
|
361
|
-
* @interface DashboardApiCreateDashboardLegacyRequest
|
|
362
|
-
*/
|
|
363
|
-
export interface DashboardApiCreateDashboardLegacyRequest {
|
|
364
286
|
/**
|
|
365
287
|
*
|
|
366
288
|
* @type {CreateDashboardRequestDto}
|
|
367
|
-
* @memberof
|
|
289
|
+
* @memberof DashboardApiCreateDashboard
|
|
368
290
|
*/
|
|
369
291
|
readonly createDashboardRequestDto: CreateDashboardRequestDto;
|
|
370
292
|
/**
|
|
371
293
|
* Bearer Token
|
|
372
294
|
* @type {string}
|
|
373
|
-
* @memberof
|
|
295
|
+
* @memberof DashboardApiCreateDashboard
|
|
374
296
|
*/
|
|
375
297
|
readonly authorization?: string;
|
|
376
298
|
}
|
|
@@ -576,27 +498,15 @@ export interface DashboardApiUpdateDashboardRequest {
|
|
|
576
498
|
*/
|
|
577
499
|
export declare class DashboardApi extends BaseAPI {
|
|
578
500
|
/**
|
|
579
|
-
*
|
|
580
|
-
* @summary Creates a new dashboard
|
|
501
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
581
502
|
* @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
|
|
582
503
|
* @param {*} [options] Override http request option.
|
|
583
504
|
* @throws {RequiredError}
|
|
584
505
|
* @memberof DashboardApi
|
|
585
506
|
*/
|
|
586
|
-
createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
587
|
-
/**
|
|
588
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
589
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
590
|
-
* @param {DashboardApiCreateDashboardLegacyRequest} requestParameters Request parameters.
|
|
591
|
-
* @param {*} [options] Override http request option.
|
|
592
|
-
* @deprecated
|
|
593
|
-
* @throws {RequiredError}
|
|
594
|
-
* @memberof DashboardApi
|
|
595
|
-
*/
|
|
596
|
-
createDashboardLegacy(requestParameters: DashboardApiCreateDashboardLegacyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDashboardResponseClass, any>>;
|
|
507
|
+
createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDashboardResponseClass, any>>;
|
|
597
508
|
/**
|
|
598
|
-
*
|
|
599
|
-
* @summary Deletes an existing dashboard
|
|
509
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
600
510
|
* @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
|
|
601
511
|
* @param {*} [options] Override http request option.
|
|
602
512
|
* @throws {RequiredError}
|
|
@@ -604,8 +514,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
604
514
|
*/
|
|
605
515
|
deleteDashboard(requestParameters: DashboardApiDeleteDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
606
516
|
/**
|
|
607
|
-
*
|
|
608
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
517
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
609
518
|
* @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
|
|
610
519
|
* @param {*} [options] Override http request option.
|
|
611
520
|
* @throws {RequiredError}
|
|
@@ -613,8 +522,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
613
522
|
*/
|
|
614
523
|
getAnalysisEmbeddedUrl(requestParameters: DashboardApiGetAnalysisEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any>>;
|
|
615
524
|
/**
|
|
616
|
-
*
|
|
617
|
-
* @summary Retrieves a specific dashboard
|
|
525
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
618
526
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
619
527
|
* @param {*} [options] Override http request option.
|
|
620
528
|
* @throws {RequiredError}
|
|
@@ -622,8 +530,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
622
530
|
*/
|
|
623
531
|
getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponseClass, any>>;
|
|
624
532
|
/**
|
|
625
|
-
*
|
|
626
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
533
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
627
534
|
* @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
|
|
628
535
|
* @param {*} [options] Override http request option.
|
|
629
536
|
* @throws {RequiredError}
|
|
@@ -631,8 +538,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
631
538
|
*/
|
|
632
539
|
getDashboardEmbeddedUrl(requestParameters: DashboardApiGetDashboardEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any>>;
|
|
633
540
|
/**
|
|
634
|
-
*
|
|
635
|
-
* @summary Retrieves a list of dashboards
|
|
541
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
636
542
|
* @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
|
|
637
543
|
* @param {*} [options] Override http request option.
|
|
638
544
|
* @throws {RequiredError}
|
|
@@ -640,8 +546,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
640
546
|
*/
|
|
641
547
|
listDashboards(requestParameters?: DashboardApiListDashboardsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDashboardsResponseClass, any>>;
|
|
642
548
|
/**
|
|
643
|
-
*
|
|
644
|
-
* @summary Publishes a dashboard for general access
|
|
549
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
645
550
|
* @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters.
|
|
646
551
|
* @param {*} [options] Override http request option.
|
|
647
552
|
* @throws {RequiredError}
|
|
@@ -649,8 +554,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
649
554
|
*/
|
|
650
555
|
publishDashboard(requestParameters: DashboardApiPublishDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
651
556
|
/**
|
|
652
|
-
*
|
|
653
|
-
* @summary Reverts dashboard analysis to previous state
|
|
557
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
654
558
|
* @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters.
|
|
655
559
|
* @param {*} [options] Override http request option.
|
|
656
560
|
* @throws {RequiredError}
|
|
@@ -658,8 +562,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
658
562
|
*/
|
|
659
563
|
revertAnalysis(requestParameters: DashboardApiRevertAnalysisRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
660
564
|
/**
|
|
661
|
-
*
|
|
662
|
-
* @summary Updates an existing dashboard
|
|
565
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
663
566
|
* @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
|
|
664
567
|
* @param {*} [options] Override http request option.
|
|
665
568
|
* @throws {RequiredError}
|