@connectreport/connectreport-js 2.78.6 → 2.79.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/README.md +1 -37
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/index.cjs +2286 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1530 -0
- package/dist/index.d.ts +1518 -4
- package/dist/index.js +2271 -57
- package/dist/index.js.map +1 -0
- package/index.ts +1 -1
- package/package.json +8 -3
- package/tsconfig.json +2 -1
- package/tsup.config.ts +14 -0
- package/dist/api.d.ts +0 -2787
- package/dist/api.js +0 -3953
- package/dist/base.d.ts +0 -55
- package/dist/base.js +0 -82
- package/dist/common.d.ts +0 -65
- package/dist/common.js +0 -235
- package/dist/configuration.d.ts +0 -85
- package/dist/configuration.js +0 -45
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,1519 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as axios from 'axios';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* ConnectReport Core API
|
|
6
|
+
* Leverage core reporting, templating, and document automation capabilities of ConnectReport Server.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.79.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
interface ConfigurationParameters {
|
|
16
|
+
apiKey?: string;
|
|
17
|
+
httpsAgent?: any;
|
|
18
|
+
username?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
21
|
+
basePath?: string;
|
|
22
|
+
baseOptions?: any;
|
|
23
|
+
formDataCtor?: new () => any;
|
|
24
|
+
}
|
|
25
|
+
declare class Configuration {
|
|
26
|
+
/**
|
|
27
|
+
* parameter for apiKey security
|
|
28
|
+
* @param name security name
|
|
29
|
+
* @memberof Configuration
|
|
30
|
+
*/
|
|
31
|
+
apiKey?: string;
|
|
32
|
+
/**
|
|
33
|
+
* parameter for basic security
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Configuration
|
|
37
|
+
*/
|
|
38
|
+
username?: string;
|
|
39
|
+
/**
|
|
40
|
+
* parameter for basic security
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof Configuration
|
|
44
|
+
*/
|
|
45
|
+
password?: string;
|
|
46
|
+
/**
|
|
47
|
+
* parameter for oauth2 security
|
|
48
|
+
* @param name security name
|
|
49
|
+
* @param scopes oauth2 scope
|
|
50
|
+
* @memberof Configuration
|
|
51
|
+
*/
|
|
52
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
53
|
+
/**
|
|
54
|
+
* override base path
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Configuration
|
|
58
|
+
*/
|
|
59
|
+
basePath?: string;
|
|
60
|
+
/**
|
|
61
|
+
* base options for axios calls
|
|
62
|
+
*
|
|
63
|
+
* @type {any}
|
|
64
|
+
* @memberof Configuration
|
|
65
|
+
*/
|
|
66
|
+
baseOptions?: any;
|
|
67
|
+
/**
|
|
68
|
+
* The FormData constructor that will be used to create multipart form data
|
|
69
|
+
* requests. You can inject this here so that execution environments that
|
|
70
|
+
* do not support the FormData class can still run the generated client.
|
|
71
|
+
*
|
|
72
|
+
* @type {new () => FormData}
|
|
73
|
+
*/
|
|
74
|
+
formDataCtor?: new () => any;
|
|
75
|
+
httpsAgent?: any;
|
|
76
|
+
constructor(param?: ConfigurationParameters);
|
|
77
|
+
/**
|
|
78
|
+
* Check if the given MIME is a JSON MIME.
|
|
79
|
+
* JSON MIME examples:
|
|
80
|
+
* application/json
|
|
81
|
+
* application/json; charset=UTF8
|
|
82
|
+
* APPLICATION/JSON
|
|
83
|
+
* application/vnd.company+json
|
|
84
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
85
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
86
|
+
*/
|
|
87
|
+
isJsonMime(mime: string): boolean;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* ConnectReport Core API
|
|
92
|
+
* Leverage core reporting, templating, and document automation capabilities of ConnectReport Server.
|
|
93
|
+
*
|
|
94
|
+
* The version of the OpenAPI document: 2.79.0
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
98
|
+
* https://openapi-generator.tech
|
|
99
|
+
* Do not edit the class manually.
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @export
|
|
105
|
+
* @class BaseAPI
|
|
106
|
+
*/
|
|
107
|
+
declare class BaseAPI {
|
|
108
|
+
protected basePath: string;
|
|
109
|
+
protected axios: AxiosInstance;
|
|
110
|
+
protected configuration: Configuration | undefined;
|
|
111
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @export
|
|
117
|
+
* @interface FilterCycle
|
|
118
|
+
*/
|
|
119
|
+
interface FilterCycle {
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof FilterCycle
|
|
124
|
+
*/
|
|
125
|
+
id?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Title of the report task
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof FilterCycle
|
|
130
|
+
*/
|
|
131
|
+
title: string;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof FilterCycle
|
|
136
|
+
*/
|
|
137
|
+
templateId: string;
|
|
138
|
+
/**
|
|
139
|
+
* Datetime in UTC when report task\'s schedule will execute
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof FilterCycle
|
|
142
|
+
*/
|
|
143
|
+
startOn: string;
|
|
144
|
+
/**
|
|
145
|
+
* Datetime in UTC when report task schedule will end
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof FilterCycle
|
|
148
|
+
*/
|
|
149
|
+
endOn?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Describes the frequency of the report task\'s schedule
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof FilterCycle
|
|
154
|
+
*/
|
|
155
|
+
frequency: FilterCycleFrequencyEnum;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {number | string}
|
|
159
|
+
* @memberof FilterCycle
|
|
160
|
+
*/
|
|
161
|
+
every?: number | string;
|
|
162
|
+
/**
|
|
163
|
+
* Denotes whether the report task will go into the report processing queue
|
|
164
|
+
* @type {boolean}
|
|
165
|
+
* @memberof FilterCycle
|
|
166
|
+
*/
|
|
167
|
+
enabled?: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Array of objects denoting filter sets to apply to the report task
|
|
170
|
+
* @type {Array<ReportTaskFilterSets>}
|
|
171
|
+
* @memberof FilterCycle
|
|
172
|
+
*/
|
|
173
|
+
filterSets?: Array<ReportTaskFilterSets>;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {string}
|
|
177
|
+
* @memberof FilterCycle
|
|
178
|
+
*/
|
|
179
|
+
filterCycleId?: string;
|
|
180
|
+
/**
|
|
181
|
+
* Calculated datetime in UTC when the report task will run next, if applicable
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof FilterCycle
|
|
184
|
+
*/
|
|
185
|
+
nextRunAt?: string;
|
|
186
|
+
/**
|
|
187
|
+
* The error object from the last report task execution, if applicable
|
|
188
|
+
* @type {string}
|
|
189
|
+
* @memberof FilterCycle
|
|
190
|
+
*/
|
|
191
|
+
error?: string;
|
|
192
|
+
/**
|
|
193
|
+
* The average time to run the report task, in minutes
|
|
194
|
+
* @type {number}
|
|
195
|
+
* @memberof FilterCycle
|
|
196
|
+
*/
|
|
197
|
+
averageTimeToGenerate?: number;
|
|
198
|
+
/**
|
|
199
|
+
* Custom filters to apply. This field will be updated entirely if provided
|
|
200
|
+
* @type {Array<ReportTaskCustomSelection>}
|
|
201
|
+
* @memberof FilterCycle
|
|
202
|
+
*/
|
|
203
|
+
customSelection?: Array<ReportTaskCustomSelection>;
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {Array<ReportTaskVariables>}
|
|
207
|
+
* @memberof FilterCycle
|
|
208
|
+
*/
|
|
209
|
+
variables?: Array<ReportTaskVariables>;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {{ [key: string]: string; }}
|
|
213
|
+
* @memberof FilterCycle
|
|
214
|
+
*/
|
|
215
|
+
meta?: {
|
|
216
|
+
[key: string]: string;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* The time spent waiting on data platform responses during the last report task execution, in minutes
|
|
220
|
+
* @type {number}
|
|
221
|
+
* @memberof FilterCycle
|
|
222
|
+
*/
|
|
223
|
+
dataPlatformWaitTime?: number;
|
|
224
|
+
/**
|
|
225
|
+
* Denotes whether the generated report should be emailed to its users or groups after a successful run
|
|
226
|
+
* @type {string}
|
|
227
|
+
* @memberof FilterCycle
|
|
228
|
+
*/
|
|
229
|
+
email?: FilterCycleEmailEnum;
|
|
230
|
+
/**
|
|
231
|
+
* Groups to share the published report with. This field will be updated entirely if provided
|
|
232
|
+
* @type {Array<ReportTaskGroupsToShareWith>}
|
|
233
|
+
* @memberof FilterCycle
|
|
234
|
+
*/
|
|
235
|
+
groupsToShareWith?: Array<ReportTaskGroupsToShareWith>;
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @type {Array<ReportTaskTags>}
|
|
239
|
+
* @memberof FilterCycle
|
|
240
|
+
*/
|
|
241
|
+
tags?: Array<ReportTaskTags>;
|
|
242
|
+
/**
|
|
243
|
+
* The trigger name for the report task. Used to execute tasks on a trigger
|
|
244
|
+
* @type {string}
|
|
245
|
+
* @memberof FilterCycle
|
|
246
|
+
*/
|
|
247
|
+
trigger?: string;
|
|
248
|
+
/**
|
|
249
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
250
|
+
* @type {string}
|
|
251
|
+
* @memberof FilterCycle
|
|
252
|
+
*/
|
|
253
|
+
emailSubject?: string;
|
|
254
|
+
/**
|
|
255
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
256
|
+
* @type {string}
|
|
257
|
+
* @memberof FilterCycle
|
|
258
|
+
*/
|
|
259
|
+
emailBody?: string;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {FilterCycleAllOfFieldInfo}
|
|
263
|
+
* @memberof FilterCycle
|
|
264
|
+
*/
|
|
265
|
+
fieldInfo?: FilterCycleAllOfFieldInfo;
|
|
266
|
+
/**
|
|
267
|
+
* This field will be updated entirely if provided and will result in removing any existing report tasks associated with the filter cycle.
|
|
268
|
+
* @type {Array<FilterCycleAllOfFieldValues>}
|
|
269
|
+
* @memberof FilterCycle
|
|
270
|
+
*/
|
|
271
|
+
fieldValues?: Array<FilterCycleAllOfFieldValues>;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @type {string}
|
|
275
|
+
* @memberof FilterCycle
|
|
276
|
+
*/
|
|
277
|
+
connectionId?: string;
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @type {boolean}
|
|
281
|
+
* @memberof FilterCycle
|
|
282
|
+
*/
|
|
283
|
+
selectAll?: boolean;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @type {boolean}
|
|
287
|
+
* @memberof FilterCycle
|
|
288
|
+
*/
|
|
289
|
+
autotag?: boolean;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* @export
|
|
293
|
+
* @enum {string}
|
|
294
|
+
*/
|
|
295
|
+
declare enum FilterCycleFrequencyEnum {
|
|
296
|
+
Monthly = "Monthly",
|
|
297
|
+
OnceNow = "Once - now",
|
|
298
|
+
OnceScheduled = "Once - scheduled",
|
|
299
|
+
Annually = "Annually",
|
|
300
|
+
Daily = "Daily",
|
|
301
|
+
Weekly = "Weekly",
|
|
302
|
+
UponTrigger = "Upon trigger"
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* @export
|
|
306
|
+
* @enum {string}
|
|
307
|
+
*/
|
|
308
|
+
declare enum FilterCycleEmailEnum {
|
|
309
|
+
Pdf = "pdf",
|
|
310
|
+
Pptx = "pptx",
|
|
311
|
+
Xlsx = "xlsx",
|
|
312
|
+
Csv = "csv"
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @export
|
|
317
|
+
* @interface FilterCycleAllOfFieldInfo
|
|
318
|
+
*/
|
|
319
|
+
interface FilterCycleAllOfFieldInfo {
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @type {string}
|
|
323
|
+
* @memberof FilterCycleAllOfFieldInfo
|
|
324
|
+
*/
|
|
325
|
+
fieldId?: string;
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @type {string}
|
|
329
|
+
* @memberof FilterCycleAllOfFieldInfo
|
|
330
|
+
*/
|
|
331
|
+
fieldName?: string;
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @type {string}
|
|
335
|
+
* @memberof FilterCycleAllOfFieldInfo
|
|
336
|
+
*/
|
|
337
|
+
fieldDef?: string;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
*
|
|
341
|
+
* @export
|
|
342
|
+
* @interface FilterCycleAllOfFieldValues
|
|
343
|
+
*/
|
|
344
|
+
interface FilterCycleAllOfFieldValues {
|
|
345
|
+
/**
|
|
346
|
+
*
|
|
347
|
+
* @type {string}
|
|
348
|
+
* @memberof FilterCycleAllOfFieldValues
|
|
349
|
+
*/
|
|
350
|
+
name?: string;
|
|
351
|
+
/**
|
|
352
|
+
*
|
|
353
|
+
* @type {string}
|
|
354
|
+
* @memberof FilterCycleAllOfFieldValues
|
|
355
|
+
*/
|
|
356
|
+
text?: string;
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @type {number}
|
|
360
|
+
* @memberof FilterCycleAllOfFieldValues
|
|
361
|
+
*/
|
|
362
|
+
number?: number;
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
* @export
|
|
367
|
+
* @interface InlineResponse200
|
|
368
|
+
*/
|
|
369
|
+
interface InlineResponse200 {
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @type {Array<Template>}
|
|
373
|
+
* @memberof InlineResponse200
|
|
374
|
+
*/
|
|
375
|
+
baseTemplates?: Array<Template>;
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @type {number}
|
|
379
|
+
* @memberof InlineResponse200
|
|
380
|
+
*/
|
|
381
|
+
totalPages?: number;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
*
|
|
385
|
+
* @export
|
|
386
|
+
* @interface InlineResponse2001
|
|
387
|
+
*/
|
|
388
|
+
interface InlineResponse2001 {
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* @type {string}
|
|
392
|
+
* @memberof InlineResponse2001
|
|
393
|
+
*/
|
|
394
|
+
path?: string;
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
*
|
|
398
|
+
* @export
|
|
399
|
+
* @interface InlineResponse2002
|
|
400
|
+
*/
|
|
401
|
+
interface InlineResponse2002 {
|
|
402
|
+
/**
|
|
403
|
+
*
|
|
404
|
+
* @type {Array<ReportTaskResponse>}
|
|
405
|
+
* @memberof InlineResponse2002
|
|
406
|
+
*/
|
|
407
|
+
reportTasks?: Array<ReportTaskResponse>;
|
|
408
|
+
/**
|
|
409
|
+
*
|
|
410
|
+
* @type {number}
|
|
411
|
+
* @memberof InlineResponse2002
|
|
412
|
+
*/
|
|
413
|
+
totalPages?: number;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @export
|
|
418
|
+
* @interface InlineResponse2003
|
|
419
|
+
*/
|
|
420
|
+
interface InlineResponse2003 {
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @type {Array<Report>}
|
|
424
|
+
* @memberof InlineResponse2003
|
|
425
|
+
*/
|
|
426
|
+
reports?: Array<Report>;
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
* @type {number}
|
|
430
|
+
* @memberof InlineResponse2003
|
|
431
|
+
*/
|
|
432
|
+
totalPages?: number;
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @type {number}
|
|
436
|
+
* @memberof InlineResponse2003
|
|
437
|
+
*/
|
|
438
|
+
totalItems?: number;
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @export
|
|
443
|
+
* @interface InlineResponse2004
|
|
444
|
+
*/
|
|
445
|
+
interface InlineResponse2004 {
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @type {Array<Template>}
|
|
449
|
+
* @memberof InlineResponse2004
|
|
450
|
+
*/
|
|
451
|
+
templates?: Array<Template>;
|
|
452
|
+
/**
|
|
453
|
+
*
|
|
454
|
+
* @type {number}
|
|
455
|
+
* @memberof InlineResponse2004
|
|
456
|
+
*/
|
|
457
|
+
totalPages?: number;
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @export
|
|
462
|
+
* @interface Job
|
|
463
|
+
*/
|
|
464
|
+
interface Job {
|
|
465
|
+
/**
|
|
466
|
+
*
|
|
467
|
+
* @type {string}
|
|
468
|
+
* @memberof Job
|
|
469
|
+
*/
|
|
470
|
+
id?: string;
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @type {object}
|
|
474
|
+
* @memberof Job
|
|
475
|
+
*/
|
|
476
|
+
data?: object;
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
* @type {string}
|
|
480
|
+
* @memberof Job
|
|
481
|
+
*/
|
|
482
|
+
status?: string;
|
|
483
|
+
/**
|
|
484
|
+
*
|
|
485
|
+
* @type {string}
|
|
486
|
+
* @memberof Job
|
|
487
|
+
*/
|
|
488
|
+
error?: string;
|
|
489
|
+
/**
|
|
490
|
+
*
|
|
491
|
+
* @type {string}
|
|
492
|
+
* @memberof Job
|
|
493
|
+
*/
|
|
494
|
+
userId?: string;
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
*
|
|
498
|
+
* @export
|
|
499
|
+
* @interface JobResponse
|
|
500
|
+
*/
|
|
501
|
+
interface JobResponse {
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @type {string}
|
|
505
|
+
* @memberof JobResponse
|
|
506
|
+
*/
|
|
507
|
+
jobId?: string;
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @type {object}
|
|
511
|
+
* @memberof JobResponse
|
|
512
|
+
*/
|
|
513
|
+
data?: object;
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @type {string}
|
|
517
|
+
* @memberof JobResponse
|
|
518
|
+
*/
|
|
519
|
+
status?: string;
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @type {string}
|
|
523
|
+
* @memberof JobResponse
|
|
524
|
+
*/
|
|
525
|
+
error?: string;
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @type {string}
|
|
529
|
+
* @memberof JobResponse
|
|
530
|
+
*/
|
|
531
|
+
userId?: string;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @export
|
|
536
|
+
* @interface Report
|
|
537
|
+
*/
|
|
538
|
+
interface Report {
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type {string}
|
|
542
|
+
* @memberof Report
|
|
543
|
+
*/
|
|
544
|
+
reportId?: string;
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @type {string}
|
|
548
|
+
* @memberof Report
|
|
549
|
+
*/
|
|
550
|
+
id?: string;
|
|
551
|
+
/**
|
|
552
|
+
* Datetime in UTC when the report was published
|
|
553
|
+
* @type {string}
|
|
554
|
+
* @memberof Report
|
|
555
|
+
*/
|
|
556
|
+
createdAt?: string;
|
|
557
|
+
/**
|
|
558
|
+
* Title of the report task
|
|
559
|
+
* @type {string}
|
|
560
|
+
* @memberof Report
|
|
561
|
+
*/
|
|
562
|
+
title?: string;
|
|
563
|
+
/**
|
|
564
|
+
*
|
|
565
|
+
* @type {string}
|
|
566
|
+
* @memberof Report
|
|
567
|
+
*/
|
|
568
|
+
authorId?: string;
|
|
569
|
+
/**
|
|
570
|
+
* The given name of the author of the report
|
|
571
|
+
* @type {string}
|
|
572
|
+
* @memberof Report
|
|
573
|
+
*/
|
|
574
|
+
firstName?: string;
|
|
575
|
+
/**
|
|
576
|
+
* The surname of the author of the report
|
|
577
|
+
* @type {string}
|
|
578
|
+
* @memberof Report
|
|
579
|
+
*/
|
|
580
|
+
lastName?: string;
|
|
581
|
+
/**
|
|
582
|
+
* The relative path to the thumbnail of the report
|
|
583
|
+
* @type {string}
|
|
584
|
+
* @memberof Report
|
|
585
|
+
*/
|
|
586
|
+
thumbnailPath?: string;
|
|
587
|
+
/**
|
|
588
|
+
* The size in bytes of the report HTML contents
|
|
589
|
+
* @type {number}
|
|
590
|
+
* @memberof Report
|
|
591
|
+
*/
|
|
592
|
+
sizeBytes?: number;
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @export
|
|
597
|
+
* @interface ReportTaskCustomSelection
|
|
598
|
+
*/
|
|
599
|
+
interface ReportTaskCustomSelection {
|
|
600
|
+
/**
|
|
601
|
+
* The label of the field. Used for display in certain scenarios.
|
|
602
|
+
* @type {string}
|
|
603
|
+
* @memberof ReportTaskCustomSelection
|
|
604
|
+
*/
|
|
605
|
+
fieldName?: string;
|
|
606
|
+
/**
|
|
607
|
+
* The definition of the field.
|
|
608
|
+
* @type {string}
|
|
609
|
+
* @memberof ReportTaskCustomSelection
|
|
610
|
+
*/
|
|
611
|
+
fieldDef?: string;
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @type {Array<ReportTaskFieldValues>}
|
|
615
|
+
* @memberof ReportTaskCustomSelection
|
|
616
|
+
*/
|
|
617
|
+
fieldValues?: Array<ReportTaskFieldValues>;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
*
|
|
621
|
+
* @export
|
|
622
|
+
* @interface ReportTaskFieldValues
|
|
623
|
+
*/
|
|
624
|
+
interface ReportTaskFieldValues {
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @type {string}
|
|
628
|
+
* @memberof ReportTaskFieldValues
|
|
629
|
+
*/
|
|
630
|
+
text?: string;
|
|
631
|
+
/**
|
|
632
|
+
*
|
|
633
|
+
* @type {string}
|
|
634
|
+
* @memberof ReportTaskFieldValues
|
|
635
|
+
*/
|
|
636
|
+
number?: string;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @export
|
|
641
|
+
* @interface ReportTaskFilterSets
|
|
642
|
+
*/
|
|
643
|
+
interface ReportTaskFilterSets {
|
|
644
|
+
/**
|
|
645
|
+
*
|
|
646
|
+
* @type {string}
|
|
647
|
+
* @memberof ReportTaskFilterSets
|
|
648
|
+
*/
|
|
649
|
+
id?: string;
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @type {string}
|
|
653
|
+
* @memberof ReportTaskFilterSets
|
|
654
|
+
*/
|
|
655
|
+
title?: string;
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* @export
|
|
660
|
+
* @interface ReportTaskGroupsToShareWith
|
|
661
|
+
*/
|
|
662
|
+
interface ReportTaskGroupsToShareWith {
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @type {string}
|
|
666
|
+
* @memberof ReportTaskGroupsToShareWith
|
|
667
|
+
*/
|
|
668
|
+
groupId?: string;
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
*
|
|
672
|
+
* @export
|
|
673
|
+
* @interface ReportTaskRequest
|
|
674
|
+
*/
|
|
675
|
+
interface ReportTaskRequest {
|
|
676
|
+
/**
|
|
677
|
+
*
|
|
678
|
+
* @type {string}
|
|
679
|
+
* @memberof ReportTaskRequest
|
|
680
|
+
*/
|
|
681
|
+
id?: string;
|
|
682
|
+
/**
|
|
683
|
+
* Title of the report task
|
|
684
|
+
* @type {string}
|
|
685
|
+
* @memberof ReportTaskRequest
|
|
686
|
+
*/
|
|
687
|
+
title: string;
|
|
688
|
+
/**
|
|
689
|
+
*
|
|
690
|
+
* @type {string}
|
|
691
|
+
* @memberof ReportTaskRequest
|
|
692
|
+
*/
|
|
693
|
+
templateId: string;
|
|
694
|
+
/**
|
|
695
|
+
* Datetime in UTC when report task\'s schedule will execute
|
|
696
|
+
* @type {string}
|
|
697
|
+
* @memberof ReportTaskRequest
|
|
698
|
+
*/
|
|
699
|
+
startOn: string;
|
|
700
|
+
/**
|
|
701
|
+
* Datetime in UTC when report task schedule will end
|
|
702
|
+
* @type {string}
|
|
703
|
+
* @memberof ReportTaskRequest
|
|
704
|
+
*/
|
|
705
|
+
endOn?: string;
|
|
706
|
+
/**
|
|
707
|
+
* Describes the frequency of the report task\'s schedule
|
|
708
|
+
* @type {string}
|
|
709
|
+
* @memberof ReportTaskRequest
|
|
710
|
+
*/
|
|
711
|
+
frequency: ReportTaskRequestFrequencyEnum;
|
|
712
|
+
/**
|
|
713
|
+
*
|
|
714
|
+
* @type {number | string}
|
|
715
|
+
* @memberof ReportTaskRequest
|
|
716
|
+
*/
|
|
717
|
+
every?: number | string;
|
|
718
|
+
/**
|
|
719
|
+
* Denotes whether the report task will go into the report processing queue
|
|
720
|
+
* @type {boolean}
|
|
721
|
+
* @memberof ReportTaskRequest
|
|
722
|
+
*/
|
|
723
|
+
enabled?: boolean;
|
|
724
|
+
/**
|
|
725
|
+
* Array of objects denoting filter sets to apply to the report task
|
|
726
|
+
* @type {Array<ReportTaskFilterSets>}
|
|
727
|
+
* @memberof ReportTaskRequest
|
|
728
|
+
*/
|
|
729
|
+
filterSets?: Array<ReportTaskFilterSets>;
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @type {string}
|
|
733
|
+
* @memberof ReportTaskRequest
|
|
734
|
+
*/
|
|
735
|
+
filterCycleId?: string;
|
|
736
|
+
/**
|
|
737
|
+
* Calculated datetime in UTC when the report task will run next, if applicable
|
|
738
|
+
* @type {string}
|
|
739
|
+
* @memberof ReportTaskRequest
|
|
740
|
+
*/
|
|
741
|
+
nextRunAt?: string;
|
|
742
|
+
/**
|
|
743
|
+
* The error object from the last report task execution, if applicable
|
|
744
|
+
* @type {string}
|
|
745
|
+
* @memberof ReportTaskRequest
|
|
746
|
+
*/
|
|
747
|
+
error?: string;
|
|
748
|
+
/**
|
|
749
|
+
* The average time to run the report task, in minutes
|
|
750
|
+
* @type {number}
|
|
751
|
+
* @memberof ReportTaskRequest
|
|
752
|
+
*/
|
|
753
|
+
averageTimeToGenerate?: number;
|
|
754
|
+
/**
|
|
755
|
+
* Custom filters to apply. This field will be updated entirely if provided
|
|
756
|
+
* @type {Array<ReportTaskCustomSelection>}
|
|
757
|
+
* @memberof ReportTaskRequest
|
|
758
|
+
*/
|
|
759
|
+
customSelection?: Array<ReportTaskCustomSelection>;
|
|
760
|
+
/**
|
|
761
|
+
*
|
|
762
|
+
* @type {Array<ReportTaskVariables>}
|
|
763
|
+
* @memberof ReportTaskRequest
|
|
764
|
+
*/
|
|
765
|
+
variables?: Array<ReportTaskVariables>;
|
|
766
|
+
/**
|
|
767
|
+
*
|
|
768
|
+
* @type {{ [key: string]: string; }}
|
|
769
|
+
* @memberof ReportTaskRequest
|
|
770
|
+
*/
|
|
771
|
+
meta?: {
|
|
772
|
+
[key: string]: string;
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* The time spent waiting on data platform responses during the last report task execution, in minutes
|
|
776
|
+
* @type {number}
|
|
777
|
+
* @memberof ReportTaskRequest
|
|
778
|
+
*/
|
|
779
|
+
dataPlatformWaitTime?: number;
|
|
780
|
+
/**
|
|
781
|
+
* Denotes whether the generated report should be emailed to its users or groups after a successful run
|
|
782
|
+
* @type {string}
|
|
783
|
+
* @memberof ReportTaskRequest
|
|
784
|
+
*/
|
|
785
|
+
email?: ReportTaskRequestEmailEnum;
|
|
786
|
+
/**
|
|
787
|
+
* Groups to share the published report with. This field will be updated entirely if provided
|
|
788
|
+
* @type {Array<ReportTaskGroupsToShareWith>}
|
|
789
|
+
* @memberof ReportTaskRequest
|
|
790
|
+
*/
|
|
791
|
+
groupsToShareWith?: Array<ReportTaskGroupsToShareWith>;
|
|
792
|
+
/**
|
|
793
|
+
*
|
|
794
|
+
* @type {Array<ReportTaskTags>}
|
|
795
|
+
* @memberof ReportTaskRequest
|
|
796
|
+
*/
|
|
797
|
+
tags?: Array<ReportTaskTags>;
|
|
798
|
+
/**
|
|
799
|
+
* The trigger name for the report task. Used to execute tasks on a trigger
|
|
800
|
+
* @type {string}
|
|
801
|
+
* @memberof ReportTaskRequest
|
|
802
|
+
*/
|
|
803
|
+
trigger?: string;
|
|
804
|
+
/**
|
|
805
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
806
|
+
* @type {string}
|
|
807
|
+
* @memberof ReportTaskRequest
|
|
808
|
+
*/
|
|
809
|
+
emailSubject?: string;
|
|
810
|
+
/**
|
|
811
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
812
|
+
* @type {string}
|
|
813
|
+
* @memberof ReportTaskRequest
|
|
814
|
+
*/
|
|
815
|
+
emailBody?: string;
|
|
816
|
+
/**
|
|
817
|
+
* Emails to send the report to. This is only allowed if \"Allow reports to be shared with any email\" is to true.
|
|
818
|
+
* @type {Array<string>}
|
|
819
|
+
* @memberof ReportTaskRequest
|
|
820
|
+
*/
|
|
821
|
+
emailRecipients?: Array<string>;
|
|
822
|
+
/**
|
|
823
|
+
* Denotes whether the email recipient list is confirmed. Value required to be true if emailRecipients is defined.
|
|
824
|
+
* @type {boolean}
|
|
825
|
+
* @memberof ReportTaskRequest
|
|
826
|
+
*/
|
|
827
|
+
confirmedEmailRecipients?: boolean;
|
|
828
|
+
/**
|
|
829
|
+
* Users to share the published report with. This field will be updated entirely if provided
|
|
830
|
+
* @type {Array<ReportTaskRequestAllOfUsersToShareWith>}
|
|
831
|
+
* @memberof ReportTaskRequest
|
|
832
|
+
*/
|
|
833
|
+
usersToShareWith?: Array<ReportTaskRequestAllOfUsersToShareWith>;
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* @export
|
|
837
|
+
* @enum {string}
|
|
838
|
+
*/
|
|
839
|
+
declare enum ReportTaskRequestFrequencyEnum {
|
|
840
|
+
Monthly = "Monthly",
|
|
841
|
+
OnceNow = "Once - now",
|
|
842
|
+
OnceScheduled = "Once - scheduled",
|
|
843
|
+
Annually = "Annually",
|
|
844
|
+
Daily = "Daily",
|
|
845
|
+
Weekly = "Weekly",
|
|
846
|
+
UponTrigger = "Upon trigger"
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
* @export
|
|
850
|
+
* @enum {string}
|
|
851
|
+
*/
|
|
852
|
+
declare enum ReportTaskRequestEmailEnum {
|
|
853
|
+
Pdf = "pdf",
|
|
854
|
+
Pptx = "pptx",
|
|
855
|
+
Xlsx = "xlsx",
|
|
856
|
+
Csv = "csv"
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @export
|
|
861
|
+
* @interface ReportTaskRequestAllOfUsersToShareWith
|
|
862
|
+
*/
|
|
863
|
+
interface ReportTaskRequestAllOfUsersToShareWith {
|
|
864
|
+
/**
|
|
865
|
+
*
|
|
866
|
+
* @type {string}
|
|
867
|
+
* @memberof ReportTaskRequestAllOfUsersToShareWith
|
|
868
|
+
*/
|
|
869
|
+
userId?: string;
|
|
870
|
+
}
|
|
871
|
+
/**
|
|
872
|
+
*
|
|
873
|
+
* @export
|
|
874
|
+
* @interface ReportTaskResponse
|
|
875
|
+
*/
|
|
876
|
+
interface ReportTaskResponse {
|
|
877
|
+
/**
|
|
878
|
+
*
|
|
879
|
+
* @type {string}
|
|
880
|
+
* @memberof ReportTaskResponse
|
|
881
|
+
*/
|
|
882
|
+
id?: string;
|
|
883
|
+
/**
|
|
884
|
+
* Title of the report task
|
|
885
|
+
* @type {string}
|
|
886
|
+
* @memberof ReportTaskResponse
|
|
887
|
+
*/
|
|
888
|
+
title: string;
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @type {string}
|
|
892
|
+
* @memberof ReportTaskResponse
|
|
893
|
+
*/
|
|
894
|
+
templateId: string;
|
|
895
|
+
/**
|
|
896
|
+
* Datetime in UTC when report task\'s schedule will execute
|
|
897
|
+
* @type {string}
|
|
898
|
+
* @memberof ReportTaskResponse
|
|
899
|
+
*/
|
|
900
|
+
startOn: string;
|
|
901
|
+
/**
|
|
902
|
+
* Datetime in UTC when report task schedule will end
|
|
903
|
+
* @type {string}
|
|
904
|
+
* @memberof ReportTaskResponse
|
|
905
|
+
*/
|
|
906
|
+
endOn?: string;
|
|
907
|
+
/**
|
|
908
|
+
* Describes the frequency of the report task\'s schedule
|
|
909
|
+
* @type {string}
|
|
910
|
+
* @memberof ReportTaskResponse
|
|
911
|
+
*/
|
|
912
|
+
frequency: ReportTaskResponseFrequencyEnum;
|
|
913
|
+
/**
|
|
914
|
+
*
|
|
915
|
+
* @type {number | string}
|
|
916
|
+
* @memberof ReportTaskResponse
|
|
917
|
+
*/
|
|
918
|
+
every?: number | string;
|
|
919
|
+
/**
|
|
920
|
+
* Denotes whether the report task will go into the report processing queue
|
|
921
|
+
* @type {boolean}
|
|
922
|
+
* @memberof ReportTaskResponse
|
|
923
|
+
*/
|
|
924
|
+
enabled?: boolean;
|
|
925
|
+
/**
|
|
926
|
+
* Array of objects denoting filter sets to apply to the report task
|
|
927
|
+
* @type {Array<ReportTaskFilterSets>}
|
|
928
|
+
* @memberof ReportTaskResponse
|
|
929
|
+
*/
|
|
930
|
+
filterSets?: Array<ReportTaskFilterSets>;
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @type {string}
|
|
934
|
+
* @memberof ReportTaskResponse
|
|
935
|
+
*/
|
|
936
|
+
filterCycleId?: string;
|
|
937
|
+
/**
|
|
938
|
+
* Calculated datetime in UTC when the report task will run next, if applicable
|
|
939
|
+
* @type {string}
|
|
940
|
+
* @memberof ReportTaskResponse
|
|
941
|
+
*/
|
|
942
|
+
nextRunAt?: string;
|
|
943
|
+
/**
|
|
944
|
+
* The error object from the last report task execution, if applicable
|
|
945
|
+
* @type {string}
|
|
946
|
+
* @memberof ReportTaskResponse
|
|
947
|
+
*/
|
|
948
|
+
error?: string;
|
|
949
|
+
/**
|
|
950
|
+
* The average time to run the report task, in minutes
|
|
951
|
+
* @type {number}
|
|
952
|
+
* @memberof ReportTaskResponse
|
|
953
|
+
*/
|
|
954
|
+
averageTimeToGenerate?: number;
|
|
955
|
+
/**
|
|
956
|
+
* Custom filters to apply. This field will be updated entirely if provided
|
|
957
|
+
* @type {Array<ReportTaskCustomSelection>}
|
|
958
|
+
* @memberof ReportTaskResponse
|
|
959
|
+
*/
|
|
960
|
+
customSelection?: Array<ReportTaskCustomSelection>;
|
|
961
|
+
/**
|
|
962
|
+
*
|
|
963
|
+
* @type {Array<ReportTaskVariables>}
|
|
964
|
+
* @memberof ReportTaskResponse
|
|
965
|
+
*/
|
|
966
|
+
variables?: Array<ReportTaskVariables>;
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @type {{ [key: string]: string; }}
|
|
970
|
+
* @memberof ReportTaskResponse
|
|
971
|
+
*/
|
|
972
|
+
meta?: {
|
|
973
|
+
[key: string]: string;
|
|
974
|
+
};
|
|
975
|
+
/**
|
|
976
|
+
* The time spent waiting on data platform responses during the last report task execution, in minutes
|
|
977
|
+
* @type {number}
|
|
978
|
+
* @memberof ReportTaskResponse
|
|
979
|
+
*/
|
|
980
|
+
dataPlatformWaitTime?: number;
|
|
981
|
+
/**
|
|
982
|
+
* Denotes whether the generated report should be emailed to its users or groups after a successful run
|
|
983
|
+
* @type {string}
|
|
984
|
+
* @memberof ReportTaskResponse
|
|
985
|
+
*/
|
|
986
|
+
email?: ReportTaskResponseEmailEnum;
|
|
987
|
+
/**
|
|
988
|
+
* Groups to share the published report with. This field will be updated entirely if provided
|
|
989
|
+
* @type {Array<ReportTaskGroupsToShareWith>}
|
|
990
|
+
* @memberof ReportTaskResponse
|
|
991
|
+
*/
|
|
992
|
+
groupsToShareWith?: Array<ReportTaskGroupsToShareWith>;
|
|
993
|
+
/**
|
|
994
|
+
*
|
|
995
|
+
* @type {Array<ReportTaskTags>}
|
|
996
|
+
* @memberof ReportTaskResponse
|
|
997
|
+
*/
|
|
998
|
+
tags?: Array<ReportTaskTags>;
|
|
999
|
+
/**
|
|
1000
|
+
* The trigger name for the report task. Used to execute tasks on a trigger
|
|
1001
|
+
* @type {string}
|
|
1002
|
+
* @memberof ReportTaskResponse
|
|
1003
|
+
*/
|
|
1004
|
+
trigger?: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
1007
|
+
* @type {string}
|
|
1008
|
+
* @memberof ReportTaskResponse
|
|
1009
|
+
*/
|
|
1010
|
+
emailSubject?: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
1013
|
+
* @type {string}
|
|
1014
|
+
* @memberof ReportTaskResponse
|
|
1015
|
+
*/
|
|
1016
|
+
emailBody?: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* Users to share the published report with. This field will be updated entirely if provided
|
|
1019
|
+
* @type {Array<ReportTaskResponseAllOfUsersToShareWith>}
|
|
1020
|
+
* @memberof ReportTaskResponse
|
|
1021
|
+
*/
|
|
1022
|
+
usersToShareWith?: Array<ReportTaskResponseAllOfUsersToShareWith>;
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* @export
|
|
1026
|
+
* @enum {string}
|
|
1027
|
+
*/
|
|
1028
|
+
declare enum ReportTaskResponseFrequencyEnum {
|
|
1029
|
+
Monthly = "Monthly",
|
|
1030
|
+
OnceNow = "Once - now",
|
|
1031
|
+
OnceScheduled = "Once - scheduled",
|
|
1032
|
+
Annually = "Annually",
|
|
1033
|
+
Daily = "Daily",
|
|
1034
|
+
Weekly = "Weekly",
|
|
1035
|
+
UponTrigger = "Upon trigger"
|
|
1036
|
+
}
|
|
1037
|
+
/**
|
|
1038
|
+
* @export
|
|
1039
|
+
* @enum {string}
|
|
1040
|
+
*/
|
|
1041
|
+
declare enum ReportTaskResponseEmailEnum {
|
|
1042
|
+
Pdf = "pdf",
|
|
1043
|
+
Pptx = "pptx",
|
|
1044
|
+
Xlsx = "xlsx",
|
|
1045
|
+
Csv = "csv"
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
*
|
|
1049
|
+
* @export
|
|
1050
|
+
* @interface ReportTaskResponseAllOfUsersToShareWith
|
|
1051
|
+
*/
|
|
1052
|
+
interface ReportTaskResponseAllOfUsersToShareWith {
|
|
1053
|
+
/**
|
|
1054
|
+
*
|
|
1055
|
+
* @type {string}
|
|
1056
|
+
* @memberof ReportTaskResponseAllOfUsersToShareWith
|
|
1057
|
+
*/
|
|
1058
|
+
userId?: string;
|
|
1059
|
+
/**
|
|
1060
|
+
*
|
|
1061
|
+
* @type {string}
|
|
1062
|
+
* @memberof ReportTaskResponseAllOfUsersToShareWith
|
|
1063
|
+
*/
|
|
1064
|
+
email?: string;
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
*
|
|
1068
|
+
* @export
|
|
1069
|
+
* @interface ReportTaskTags
|
|
1070
|
+
*/
|
|
1071
|
+
interface ReportTaskTags {
|
|
1072
|
+
/**
|
|
1073
|
+
*
|
|
1074
|
+
* @type {string}
|
|
1075
|
+
* @memberof ReportTaskTags
|
|
1076
|
+
*/
|
|
1077
|
+
id?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
*
|
|
1080
|
+
* @type {string}
|
|
1081
|
+
* @memberof ReportTaskTags
|
|
1082
|
+
*/
|
|
1083
|
+
name?: string;
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
*
|
|
1087
|
+
* @export
|
|
1088
|
+
* @interface ReportTaskVariables
|
|
1089
|
+
*/
|
|
1090
|
+
interface ReportTaskVariables {
|
|
1091
|
+
/**
|
|
1092
|
+
*
|
|
1093
|
+
* @type {string}
|
|
1094
|
+
* @memberof ReportTaskVariables
|
|
1095
|
+
*/
|
|
1096
|
+
name?: string;
|
|
1097
|
+
/**
|
|
1098
|
+
*
|
|
1099
|
+
* @type {string}
|
|
1100
|
+
* @memberof ReportTaskVariables
|
|
1101
|
+
*/
|
|
1102
|
+
value?: string;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
*
|
|
1106
|
+
* @export
|
|
1107
|
+
* @interface Template
|
|
1108
|
+
*/
|
|
1109
|
+
interface Template {
|
|
1110
|
+
/**
|
|
1111
|
+
*
|
|
1112
|
+
* @type {string}
|
|
1113
|
+
* @memberof Template
|
|
1114
|
+
*/
|
|
1115
|
+
id?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
*
|
|
1118
|
+
* @type {string}
|
|
1119
|
+
* @memberof Template
|
|
1120
|
+
*/
|
|
1121
|
+
title: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* HTML content of the template
|
|
1124
|
+
* @type {string}
|
|
1125
|
+
* @memberof Template
|
|
1126
|
+
*/
|
|
1127
|
+
htmlContent: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* Width of the template in pixels
|
|
1130
|
+
* @type {number}
|
|
1131
|
+
* @memberof Template
|
|
1132
|
+
*/
|
|
1133
|
+
pageWidth: number;
|
|
1134
|
+
/**
|
|
1135
|
+
* Height of the template in pixels
|
|
1136
|
+
* @type {number}
|
|
1137
|
+
* @memberof Template
|
|
1138
|
+
*/
|
|
1139
|
+
pageHeight: number;
|
|
1140
|
+
}
|
|
1141
|
+
/**
|
|
1142
|
+
* BaseTemplatesApi - object-oriented interface
|
|
1143
|
+
* @export
|
|
1144
|
+
* @class BaseTemplatesApi
|
|
1145
|
+
* @extends {BaseAPI}
|
|
1146
|
+
*/
|
|
1147
|
+
declare class BaseTemplatesApi extends BaseAPI {
|
|
1148
|
+
/**
|
|
1149
|
+
* Duplicate a base template by its ID
|
|
1150
|
+
* @summary Duplicate a base template
|
|
1151
|
+
* @param {string} id
|
|
1152
|
+
* @param {*} [options] Override http request option.
|
|
1153
|
+
* @throws {RequiredError}
|
|
1154
|
+
* @memberof BaseTemplatesApi
|
|
1155
|
+
*/
|
|
1156
|
+
duplicateBaseTemplate(id: string, options?: any): Promise<axios.AxiosResponse<Template, any>>;
|
|
1157
|
+
/**
|
|
1158
|
+
*
|
|
1159
|
+
* @summary List base templates
|
|
1160
|
+
* @param {number} [pageNum]
|
|
1161
|
+
* @param {number} [page]
|
|
1162
|
+
* @param {*} [options] Override http request option.
|
|
1163
|
+
* @throws {RequiredError}
|
|
1164
|
+
* @memberof BaseTemplatesApi
|
|
1165
|
+
*/
|
|
1166
|
+
getBaseTemplates(pageNum?: number, page?: number, options?: any): Promise<axios.AxiosResponse<InlineResponse200, any>>;
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* DocumentsApi - object-oriented interface
|
|
1170
|
+
* @export
|
|
1171
|
+
* @class DocumentsApi
|
|
1172
|
+
* @extends {BaseAPI}
|
|
1173
|
+
*/
|
|
1174
|
+
declare class DocumentsApi extends BaseAPI {
|
|
1175
|
+
/**
|
|
1176
|
+
*
|
|
1177
|
+
* @summary Retrieve a generated document
|
|
1178
|
+
* @param {string} fileName
|
|
1179
|
+
* @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
|
|
1180
|
+
* @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
|
|
1181
|
+
* @param {*} [options] Override http request option.
|
|
1182
|
+
* @throws {RequiredError}
|
|
1183
|
+
* @memberof DocumentsApi
|
|
1184
|
+
*/
|
|
1185
|
+
getDocument(fileName: string, fileType: 'pdf' | 'pptx' | 'xlsx' | 'csv', attachmentName?: string, options?: any): Promise<axios.AxiosResponse<any, any>>;
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* FilterCyclesApi - object-oriented interface
|
|
1189
|
+
* @export
|
|
1190
|
+
* @class FilterCyclesApi
|
|
1191
|
+
* @extends {BaseAPI}
|
|
1192
|
+
*/
|
|
1193
|
+
declare class FilterCyclesApi extends BaseAPI {
|
|
1194
|
+
/**
|
|
1195
|
+
*
|
|
1196
|
+
* @summary Create a filter cycle
|
|
1197
|
+
* @param {FilterCycle} filterCycle
|
|
1198
|
+
* @param {*} [options] Override http request option.
|
|
1199
|
+
* @throws {RequiredError}
|
|
1200
|
+
* @memberof FilterCyclesApi
|
|
1201
|
+
*/
|
|
1202
|
+
createFilterCycle(filterCycle: FilterCycle, options?: any): Promise<axios.AxiosResponse<FilterCycle, any>>;
|
|
1203
|
+
/**
|
|
1204
|
+
*
|
|
1205
|
+
* @summary Delete a filter cycle
|
|
1206
|
+
* @param {string} id
|
|
1207
|
+
* @param {*} [options] Override http request option.
|
|
1208
|
+
* @throws {RequiredError}
|
|
1209
|
+
* @memberof FilterCyclesApi
|
|
1210
|
+
*/
|
|
1211
|
+
deleteFilterCycle(id: string, options?: any): Promise<axios.AxiosResponse<FilterCycle, any>>;
|
|
1212
|
+
/**
|
|
1213
|
+
*
|
|
1214
|
+
* @summary Disable all report tasks in a cycle
|
|
1215
|
+
* @param {string} id
|
|
1216
|
+
* @param {*} [options] Override http request option.
|
|
1217
|
+
* @throws {RequiredError}
|
|
1218
|
+
* @memberof FilterCyclesApi
|
|
1219
|
+
*/
|
|
1220
|
+
disableAllInCycle(id: string, options?: any): Promise<axios.AxiosResponse<void, any>>;
|
|
1221
|
+
/**
|
|
1222
|
+
*
|
|
1223
|
+
* @summary Enable all report tasks in a cycle
|
|
1224
|
+
* @param {string} id
|
|
1225
|
+
* @param {*} [options] Override http request option.
|
|
1226
|
+
* @throws {RequiredError}
|
|
1227
|
+
* @memberof FilterCyclesApi
|
|
1228
|
+
*/
|
|
1229
|
+
enableAllInCycle(id: string, options?: any): Promise<axios.AxiosResponse<void, any>>;
|
|
1230
|
+
/**
|
|
1231
|
+
*
|
|
1232
|
+
* @summary Get a filter cycle
|
|
1233
|
+
* @param {string} id
|
|
1234
|
+
* @param {*} [options] Override http request option.
|
|
1235
|
+
* @throws {RequiredError}
|
|
1236
|
+
* @memberof FilterCyclesApi
|
|
1237
|
+
*/
|
|
1238
|
+
getFilterCycle(id: string, options?: any): Promise<axios.AxiosResponse<FilterCycle, any>>;
|
|
1239
|
+
/**
|
|
1240
|
+
*
|
|
1241
|
+
* @summary List filter cycles
|
|
1242
|
+
* @param {string} templateId
|
|
1243
|
+
* @param {*} [options] Override http request option.
|
|
1244
|
+
* @throws {RequiredError}
|
|
1245
|
+
* @memberof FilterCyclesApi
|
|
1246
|
+
*/
|
|
1247
|
+
getFilterCycles(templateId: string, options?: any): Promise<axios.AxiosResponse<FilterCycle[], any>>;
|
|
1248
|
+
/**
|
|
1249
|
+
*
|
|
1250
|
+
* @summary Update a filter cycle
|
|
1251
|
+
* @param {string} id
|
|
1252
|
+
* @param {FilterCycle} filterCycle
|
|
1253
|
+
* @param {*} [options] Override http request option.
|
|
1254
|
+
* @throws {RequiredError}
|
|
1255
|
+
* @memberof FilterCyclesApi
|
|
1256
|
+
*/
|
|
1257
|
+
updateFilterCycle(id: string, filterCycle: FilterCycle, options?: any): Promise<axios.AxiosResponse<FilterCycle, any>>;
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* ImagesApi - object-oriented interface
|
|
1261
|
+
* @export
|
|
1262
|
+
* @class ImagesApi
|
|
1263
|
+
* @extends {BaseAPI}
|
|
1264
|
+
*/
|
|
1265
|
+
declare class ImagesApi extends BaseAPI {
|
|
1266
|
+
/**
|
|
1267
|
+
*
|
|
1268
|
+
* @summary Retrieves a user uploaded image for use in a template
|
|
1269
|
+
* @param {string} title
|
|
1270
|
+
* @param {*} [options] Override http request option.
|
|
1271
|
+
* @throws {RequiredError}
|
|
1272
|
+
* @memberof ImagesApi
|
|
1273
|
+
*/
|
|
1274
|
+
getImage(title: string, options?: any): Promise<axios.AxiosResponse<any, any>>;
|
|
1275
|
+
/**
|
|
1276
|
+
* Uploads an image to the server for use in templates
|
|
1277
|
+
* @summary Upload an image for use in a template
|
|
1278
|
+
* @param {any} [image]
|
|
1279
|
+
* @param {*} [options] Override http request option.
|
|
1280
|
+
* @throws {RequiredError}
|
|
1281
|
+
* @memberof ImagesApi
|
|
1282
|
+
*/
|
|
1283
|
+
uploadImage(image?: any, options?: any): Promise<axios.AxiosResponse<InlineResponse2001, any>>;
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* JobsApi - object-oriented interface
|
|
1287
|
+
* @export
|
|
1288
|
+
* @class JobsApi
|
|
1289
|
+
* @extends {BaseAPI}
|
|
1290
|
+
*/
|
|
1291
|
+
declare class JobsApi extends BaseAPI {
|
|
1292
|
+
/**
|
|
1293
|
+
* Get the status of a queued job, including its status and result if available.
|
|
1294
|
+
* @summary Get job
|
|
1295
|
+
* @param {string} id
|
|
1296
|
+
* @param {*} [options] Override http request option.
|
|
1297
|
+
* @throws {RequiredError}
|
|
1298
|
+
* @memberof JobsApi
|
|
1299
|
+
*/
|
|
1300
|
+
getJob(id: string, options?: any): Promise<axios.AxiosResponse<Job, any>>;
|
|
1301
|
+
}
|
|
1302
|
+
/**
|
|
1303
|
+
* ReportTasksApi - object-oriented interface
|
|
1304
|
+
* @export
|
|
1305
|
+
* @class ReportTasksApi
|
|
1306
|
+
* @extends {BaseAPI}
|
|
1307
|
+
*/
|
|
1308
|
+
declare class ReportTasksApi extends BaseAPI {
|
|
1309
|
+
/**
|
|
1310
|
+
*
|
|
1311
|
+
* @summary Create report task
|
|
1312
|
+
* @param {ReportTaskRequest} reportTaskRequest
|
|
1313
|
+
* @param {*} [options] Override http request option.
|
|
1314
|
+
* @throws {RequiredError}
|
|
1315
|
+
* @memberof ReportTasksApi
|
|
1316
|
+
*/
|
|
1317
|
+
createReportTask(reportTaskRequest: ReportTaskRequest, options?: any): Promise<axios.AxiosResponse<ReportTaskResponse, any>>;
|
|
1318
|
+
/**
|
|
1319
|
+
* Delete a report task by its ID
|
|
1320
|
+
* @summary Delete report task
|
|
1321
|
+
* @param {string} id
|
|
1322
|
+
* @param {boolean} [deleteAssociatedReports]
|
|
1323
|
+
* @param {*} [options] Override http request option.
|
|
1324
|
+
* @throws {RequiredError}
|
|
1325
|
+
* @memberof ReportTasksApi
|
|
1326
|
+
*/
|
|
1327
|
+
deleteReportTask(id: string, deleteAssociatedReports?: boolean, options?: any): Promise<axios.AxiosResponse<void, any>>;
|
|
1328
|
+
/**
|
|
1329
|
+
* Read a report task by its ID
|
|
1330
|
+
* @summary Read report task
|
|
1331
|
+
* @param {string} id
|
|
1332
|
+
* @param {*} [options] Override http request option.
|
|
1333
|
+
* @throws {RequiredError}
|
|
1334
|
+
* @memberof ReportTasksApi
|
|
1335
|
+
*/
|
|
1336
|
+
getReportTask(id: string, options?: any): Promise<axios.AxiosResponse<ReportTaskResponse, any>>;
|
|
1337
|
+
/**
|
|
1338
|
+
*
|
|
1339
|
+
* @summary List report tasks
|
|
1340
|
+
* @param {number} [pageNum]
|
|
1341
|
+
* @param {{ [key: string]: string; }} [meta] When you list report tasks you can filter the list given one or metadata key/value pairs. Only items that contain all of the given metadata properties are returned.
|
|
1342
|
+
* @param {string} [templateId]
|
|
1343
|
+
* @param {number} [perPage]
|
|
1344
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
1345
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
1346
|
+
* @param {object} [filter] Filters for report tasks. JSON encoded object in the form of `{ field: string, query: string}`, or for date range fields (including \"startOn\" and \"endOn\"), `{ field: string, query: { start: Date, end: Date }}`. ### Examples: Filter on \"startOn\": ``` { \"field\": \"startOn\", \"query\": { \"start\": \"2020-01-01T00:00:00.000Z\", \"end\": \"2020-01-02T00:00:00.000Z\" } } ``` Filter on \"enabled\" ``` { \"field\": \"enabled\", \"query\": \"True\" } ``` Filter on \"frequency\": ``` { \"field\": \"frequency\", \"query\": \"Monthly\" } ```
|
|
1347
|
+
* @param {*} [options] Override http request option.
|
|
1348
|
+
* @throws {RequiredError}
|
|
1349
|
+
* @memberof ReportTasksApi
|
|
1350
|
+
*/
|
|
1351
|
+
getReportTasks(pageNum?: number, meta?: {
|
|
1352
|
+
[key: string]: string;
|
|
1353
|
+
}, templateId?: string, perPage?: number, orderBy?: 'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId', order?: 'asc' | 'desc', filter?: object, options?: any): Promise<axios.AxiosResponse<InlineResponse2002, any>>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
1356
|
+
* @summary Run task now
|
|
1357
|
+
* @param {string} id
|
|
1358
|
+
* @param {*} [options] Override http request option.
|
|
1359
|
+
* @throws {RequiredError}
|
|
1360
|
+
* @memberof ReportTasksApi
|
|
1361
|
+
*/
|
|
1362
|
+
runReportTaskNow(id: string, options?: any): Promise<axios.AxiosResponse<ReportTaskResponse, any>>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Accepts partial updates
|
|
1365
|
+
* @summary Update report task by ID
|
|
1366
|
+
* @param {string} id
|
|
1367
|
+
* @param {ReportTaskRequest} reportTaskRequest
|
|
1368
|
+
* @param {*} [options] Override http request option.
|
|
1369
|
+
* @throws {RequiredError}
|
|
1370
|
+
* @memberof ReportTasksApi
|
|
1371
|
+
*/
|
|
1372
|
+
updateReportTask(id: string, reportTaskRequest: ReportTaskRequest, options?: any): Promise<axios.AxiosResponse<ReportTaskResponse, any>>;
|
|
1373
|
+
}
|
|
1374
|
+
/**
|
|
1375
|
+
* ReportsApi - object-oriented interface
|
|
1376
|
+
* @export
|
|
1377
|
+
* @class ReportsApi
|
|
1378
|
+
* @extends {BaseAPI}
|
|
1379
|
+
*/
|
|
1380
|
+
declare class ReportsApi extends BaseAPI {
|
|
1381
|
+
/**
|
|
1382
|
+
*
|
|
1383
|
+
* @summary Delete a published report
|
|
1384
|
+
* @param {string} id
|
|
1385
|
+
* @param {*} [options] Override http request option.
|
|
1386
|
+
* @throws {RequiredError}
|
|
1387
|
+
* @memberof ReportsApi
|
|
1388
|
+
*/
|
|
1389
|
+
deleteReport(id: string, options?: any): Promise<axios.AxiosResponse<Report, any>>;
|
|
1390
|
+
/**
|
|
1391
|
+
*
|
|
1392
|
+
* @summary Get a published report
|
|
1393
|
+
* @param {string} id
|
|
1394
|
+
* @param {*} [options] Override http request option.
|
|
1395
|
+
* @throws {RequiredError}
|
|
1396
|
+
* @memberof ReportsApi
|
|
1397
|
+
*/
|
|
1398
|
+
getReport(id: string, options?: any): Promise<axios.AxiosResponse<Report, any>>;
|
|
1399
|
+
/**
|
|
1400
|
+
*
|
|
1401
|
+
* @summary List reports
|
|
1402
|
+
* @param {number} [pageNum]
|
|
1403
|
+
* @param {number} [perPage]
|
|
1404
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
1405
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
1406
|
+
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
1407
|
+
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
1408
|
+
* @param {*} [options] Override http request option.
|
|
1409
|
+
* @throws {RequiredError}
|
|
1410
|
+
* @memberof ReportsApi
|
|
1411
|
+
*/
|
|
1412
|
+
getReports(pageNum?: number, perPage?: number, orderBy?: 'title' | 'createdAt', order?: 'asc' | 'desc', tagId?: string, reportTaskId?: string, options?: any): Promise<axios.AxiosResponse<InlineResponse2003, any>>;
|
|
1413
|
+
/**
|
|
1414
|
+
*
|
|
1415
|
+
* @summary Render a published report
|
|
1416
|
+
* @param {string} id
|
|
1417
|
+
* @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} format
|
|
1418
|
+
* @param {*} [options] Override http request option.
|
|
1419
|
+
* @throws {RequiredError}
|
|
1420
|
+
* @memberof ReportsApi
|
|
1421
|
+
*/
|
|
1422
|
+
renderReport(id: string, format: 'pdf' | 'pptx' | 'xlsx' | 'csv', options?: any): Promise<axios.AxiosResponse<Job, any>>;
|
|
1423
|
+
}
|
|
1424
|
+
/**
|
|
1425
|
+
* TemplatesApi - object-oriented interface
|
|
1426
|
+
* @export
|
|
1427
|
+
* @class TemplatesApi
|
|
1428
|
+
* @extends {BaseAPI}
|
|
1429
|
+
*/
|
|
1430
|
+
declare class TemplatesApi extends BaseAPI {
|
|
1431
|
+
/**
|
|
1432
|
+
*
|
|
1433
|
+
* @summary Create report template by ID
|
|
1434
|
+
* @param {Template} template
|
|
1435
|
+
* @param {*} [options] Override http request option.
|
|
1436
|
+
* @throws {RequiredError}
|
|
1437
|
+
* @memberof TemplatesApi
|
|
1438
|
+
*/
|
|
1439
|
+
createTemplate(template: Template, options?: any): Promise<axios.AxiosResponse<Template, any>>;
|
|
1440
|
+
/**
|
|
1441
|
+
* Delete a report template by its ID
|
|
1442
|
+
* @summary Delete report template
|
|
1443
|
+
* @param {string} id
|
|
1444
|
+
* @param {*} [options] Override http request option.
|
|
1445
|
+
* @throws {RequiredError}
|
|
1446
|
+
* @memberof TemplatesApi
|
|
1447
|
+
*/
|
|
1448
|
+
deleteTemplate(id: string, options?: any): Promise<axios.AxiosResponse<Template, any>>;
|
|
1449
|
+
/**
|
|
1450
|
+
* Duplicate a report template by its ID
|
|
1451
|
+
* @summary Duplicate a report template
|
|
1452
|
+
* @param {string} id
|
|
1453
|
+
* @param {*} [options] Override http request option.
|
|
1454
|
+
* @throws {RequiredError}
|
|
1455
|
+
* @memberof TemplatesApi
|
|
1456
|
+
*/
|
|
1457
|
+
duplicateTemplate(id: string, options?: any): Promise<axios.AxiosResponse<Template, any>>;
|
|
1458
|
+
/**
|
|
1459
|
+
* Export a report template to a .CRPT file
|
|
1460
|
+
* @summary Export a report template
|
|
1461
|
+
* @param {string} id
|
|
1462
|
+
* @param {*} [options] Override http request option.
|
|
1463
|
+
* @throws {RequiredError}
|
|
1464
|
+
* @memberof TemplatesApi
|
|
1465
|
+
*/
|
|
1466
|
+
exportTemplate(id: string, options?: any): Promise<axios.AxiosResponse<any, any>>;
|
|
1467
|
+
/**
|
|
1468
|
+
* Read a report template by its ID
|
|
1469
|
+
* @summary Read report template
|
|
1470
|
+
* @param {string} id
|
|
1471
|
+
* @param {*} [options] Override http request option.
|
|
1472
|
+
* @throws {RequiredError}
|
|
1473
|
+
* @memberof TemplatesApi
|
|
1474
|
+
*/
|
|
1475
|
+
getTemplate(id: string, options?: any): Promise<axios.AxiosResponse<Template, any>>;
|
|
1476
|
+
/**
|
|
1477
|
+
*
|
|
1478
|
+
* @summary List report templates
|
|
1479
|
+
* @param {number} [pageNum]
|
|
1480
|
+
* @param {*} [options] Override http request option.
|
|
1481
|
+
* @throws {RequiredError}
|
|
1482
|
+
* @memberof TemplatesApi
|
|
1483
|
+
*/
|
|
1484
|
+
getTemplates(pageNum?: number, options?: any): Promise<axios.AxiosResponse<InlineResponse2004, any>>;
|
|
1485
|
+
/**
|
|
1486
|
+
* Imports an exported .CRPT file
|
|
1487
|
+
* @summary Import a template
|
|
1488
|
+
* @param {any} [template]
|
|
1489
|
+
* @param {*} [options] Override http request option.
|
|
1490
|
+
* @throws {RequiredError}
|
|
1491
|
+
* @memberof TemplatesApi
|
|
1492
|
+
*/
|
|
1493
|
+
importTemplate(template?: any, options?: any): Promise<axios.AxiosResponse<Template, any>>;
|
|
1494
|
+
/**
|
|
1495
|
+
* Render a report template to PDF, PPTX, or XLSX. Responds with a job entity.
|
|
1496
|
+
* @summary Render a report template
|
|
1497
|
+
* @param {string} id
|
|
1498
|
+
* @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} format
|
|
1499
|
+
* @param {*} [options] Override http request option.
|
|
1500
|
+
* @throws {RequiredError}
|
|
1501
|
+
* @memberof TemplatesApi
|
|
1502
|
+
*/
|
|
1503
|
+
renderTemplate(id: string, format: 'pdf' | 'pptx' | 'xlsx' | 'csv', options?: any): Promise<axios.AxiosResponse<JobResponse, any>>;
|
|
1504
|
+
/**
|
|
1505
|
+
* Accepts partial updates
|
|
1506
|
+
* @summary Update report template by ID
|
|
1507
|
+
* @param {string} id
|
|
1508
|
+
* @param {Template} template
|
|
1509
|
+
* @param {*} [options] Override http request option.
|
|
1510
|
+
* @throws {RequiredError}
|
|
1511
|
+
* @memberof TemplatesApi
|
|
1512
|
+
*/
|
|
1513
|
+
updateTemplate(id: string, template: Template, options?: any): Promise<axios.AxiosResponse<Template, any>>;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
declare class ConnectReport {
|
|
5
1517
|
templates: TemplatesApi;
|
|
6
1518
|
images: ImagesApi;
|
|
7
1519
|
reports: ReportsApi;
|
|
@@ -14,3 +1526,5 @@ export declare class ConnectReport {
|
|
|
14
1526
|
client: AxiosInstance;
|
|
15
1527
|
constructor(config: Pick<Configuration, "apiKey" | "basePath" | "formDataCtor" | "httpsAgent">);
|
|
16
1528
|
}
|
|
1529
|
+
|
|
1530
|
+
export { ConnectReport };
|