@connectreport/connectreport-js 2.81.0-beta.1 → 2.81.0-beta.3

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/dist/index.js CHANGED
@@ -140,6 +140,11 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
140
140
  };
141
141
 
142
142
  // api.ts
143
+ var CycleConfigConfigTypeEnum = /* @__PURE__ */ ((CycleConfigConfigTypeEnum2) => {
144
+ CycleConfigConfigTypeEnum2["Filters"] = "filters";
145
+ CycleConfigConfigTypeEnum2["Recipients"] = "recipients";
146
+ return CycleConfigConfigTypeEnum2;
147
+ })(CycleConfigConfigTypeEnum || {});
143
148
  var FilterCycleFrequencyEnum = /* @__PURE__ */ ((FilterCycleFrequencyEnum2) => {
144
149
  FilterCycleFrequencyEnum2["Monthly"] = "Monthly";
145
150
  FilterCycleFrequencyEnum2["OnceNow"] = "Once - now";
@@ -157,6 +162,11 @@ var FilterCycleEmailEnum = /* @__PURE__ */ ((FilterCycleEmailEnum2) => {
157
162
  FilterCycleEmailEnum2["Csv"] = "csv";
158
163
  return FilterCycleEmailEnum2;
159
164
  })(FilterCycleEmailEnum || {});
165
+ var ReportTypeEnum = /* @__PURE__ */ ((ReportTypeEnum2) => {
166
+ ReportTypeEnum2["PixelPerfect"] = "pixel-perfect";
167
+ ReportTypeEnum2["Excel"] = "excel";
168
+ return ReportTypeEnum2;
169
+ })(ReportTypeEnum || {});
160
170
  var ReportTaskFrequencyEnum = /* @__PURE__ */ ((ReportTaskFrequencyEnum2) => {
161
171
  ReportTaskFrequencyEnum2["Monthly"] = "Monthly";
162
172
  ReportTaskFrequencyEnum2["OnceNow"] = "Once - now";
@@ -244,6 +254,35 @@ var BaseTemplatesApiAxiosParamCreator = function(configuration) {
244
254
  options: localVarRequestOptions
245
255
  };
246
256
  },
257
+ /**
258
+ *
259
+ * @summary Get base template thumbnail
260
+ * @param {string} id
261
+ * @param {*} [options] Override http request option.
262
+ * @throws {RequiredError}
263
+ */
264
+ getBaseTemplateThumbnail: async (id, options = {}) => {
265
+ assertParamExists("getBaseTemplateThumbnail", "id", id);
266
+ const localVarPath = `/base-templates/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
267
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
268
+ let baseOptions;
269
+ if (configuration) {
270
+ baseOptions = configuration.baseOptions;
271
+ }
272
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
273
+ const localVarHeaderParameter = {};
274
+ const localVarQueryParameter = {};
275
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
276
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
277
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
278
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
279
+ let formHeaders = {};
280
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
281
+ return {
282
+ url: toPathString(localVarUrlObj),
283
+ options: localVarRequestOptions
284
+ };
285
+ },
247
286
  /**
248
287
  *
249
288
  * @summary List base templates
@@ -295,6 +334,17 @@ var BaseTemplatesApiFp = function(configuration) {
295
334
  const localVarAxiosArgs = await localVarAxiosParamCreator.duplicateBaseTemplate(id, options);
296
335
  return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
297
336
  },
337
+ /**
338
+ *
339
+ * @summary Get base template thumbnail
340
+ * @param {string} id
341
+ * @param {*} [options] Override http request option.
342
+ * @throws {RequiredError}
343
+ */
344
+ async getBaseTemplateThumbnail(id, options) {
345
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBaseTemplateThumbnail(id, options);
346
+ return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
347
+ },
298
348
  /**
299
349
  *
300
350
  * @summary List base templates
@@ -322,6 +372,16 @@ var BaseTemplatesApiFactory = function(configuration, basePath, axios2) {
322
372
  duplicateBaseTemplate(id, options) {
323
373
  return localVarFp.duplicateBaseTemplate(id, options).then((request) => request(axios2, basePath));
324
374
  },
375
+ /**
376
+ *
377
+ * @summary Get base template thumbnail
378
+ * @param {string} id
379
+ * @param {*} [options] Override http request option.
380
+ * @throws {RequiredError}
381
+ */
382
+ getBaseTemplateThumbnail(id, options) {
383
+ return localVarFp.getBaseTemplateThumbnail(id, options).then((request) => request(axios2, basePath));
384
+ },
325
385
  /**
326
386
  *
327
387
  * @summary List base templates
@@ -347,6 +407,17 @@ var BaseTemplatesApi = class extends BaseAPI {
347
407
  duplicateBaseTemplate(id, options) {
348
408
  return BaseTemplatesApiFp(this.configuration).duplicateBaseTemplate(id, options).then((request) => request(this.axios, this.basePath));
349
409
  }
410
+ /**
411
+ *
412
+ * @summary Get base template thumbnail
413
+ * @param {string} id
414
+ * @param {*} [options] Override http request option.
415
+ * @throws {RequiredError}
416
+ * @memberof BaseTemplatesApi
417
+ */
418
+ getBaseTemplateThumbnail(id, options) {
419
+ return BaseTemplatesApiFp(this.configuration).getBaseTemplateThumbnail(id, options).then((request) => request(this.axios, this.basePath));
420
+ }
350
421
  /**
351
422
  *
352
423
  * @summary List base templates
@@ -365,16 +436,49 @@ var DocumentsApiAxiosParamCreator = function(configuration) {
365
436
  /**
366
437
  *
367
438
  * @summary Retrieve a generated document
368
- * @param {string} fileName
439
+ * @param {string} id
369
440
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
370
441
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
371
442
  * @param {*} [options] Override http request option.
372
443
  * @throws {RequiredError}
373
444
  */
374
- getDocument: async (fileName, fileType, attachmentName, options = {}) => {
375
- assertParamExists("getDocument", "fileName", fileName);
445
+ getDocument: async (id, fileType, attachmentName, options = {}) => {
446
+ assertParamExists("getDocument", "id", id);
376
447
  assertParamExists("getDocument", "fileType", fileType);
377
- const localVarPath = `/documents/{fileType}/{fileName}`.replace(`{${"fileName"}}`, encodeURIComponent(String(fileName))).replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
448
+ const localVarPath = `/documents/{fileType}/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id))).replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
449
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
450
+ let baseOptions;
451
+ if (configuration) {
452
+ baseOptions = configuration.baseOptions;
453
+ }
454
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
455
+ const localVarHeaderParameter = {};
456
+ const localVarQueryParameter = {};
457
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
458
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
459
+ if (attachmentName !== void 0) {
460
+ localVarQueryParameter["attachmentName"] = attachmentName;
461
+ }
462
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
463
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
464
+ let formHeaders = {};
465
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
466
+ return {
467
+ url: toPathString(localVarUrlObj),
468
+ options: localVarRequestOptions
469
+ };
470
+ },
471
+ /**
472
+ *
473
+ * @summary Retrieve a generated document
474
+ * @param {string} id
475
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
476
+ * @param {*} [options] Override http request option.
477
+ * @throws {RequiredError}
478
+ */
479
+ getDocumentById: async (id, attachmentName, options = {}) => {
480
+ assertParamExists("getDocumentById", "id", id);
481
+ const localVarPath = `/documents/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
378
482
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
379
483
  let baseOptions;
380
484
  if (configuration) {
@@ -405,14 +509,26 @@ var DocumentsApiFp = function(configuration) {
405
509
  /**
406
510
  *
407
511
  * @summary Retrieve a generated document
408
- * @param {string} fileName
512
+ * @param {string} id
409
513
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
410
514
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
411
515
  * @param {*} [options] Override http request option.
412
516
  * @throws {RequiredError}
413
517
  */
414
- async getDocument(fileName, fileType, attachmentName, options) {
415
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDocument(fileName, fileType, attachmentName, options);
518
+ async getDocument(id, fileType, attachmentName, options) {
519
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDocument(id, fileType, attachmentName, options);
520
+ return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
521
+ },
522
+ /**
523
+ *
524
+ * @summary Retrieve a generated document
525
+ * @param {string} id
526
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
527
+ * @param {*} [options] Override http request option.
528
+ * @throws {RequiredError}
529
+ */
530
+ async getDocumentById(id, attachmentName, options) {
531
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDocumentById(id, attachmentName, options);
416
532
  return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
417
533
  }
418
534
  };
@@ -423,14 +539,25 @@ var DocumentsApiFactory = function(configuration, basePath, axios2) {
423
539
  /**
424
540
  *
425
541
  * @summary Retrieve a generated document
426
- * @param {string} fileName
542
+ * @param {string} id
427
543
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
428
544
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
429
545
  * @param {*} [options] Override http request option.
430
546
  * @throws {RequiredError}
431
547
  */
432
- getDocument(fileName, fileType, attachmentName, options) {
433
- return localVarFp.getDocument(fileName, fileType, attachmentName, options).then((request) => request(axios2, basePath));
548
+ getDocument(id, fileType, attachmentName, options) {
549
+ return localVarFp.getDocument(id, fileType, attachmentName, options).then((request) => request(axios2, basePath));
550
+ },
551
+ /**
552
+ *
553
+ * @summary Retrieve a generated document
554
+ * @param {string} id
555
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
556
+ * @param {*} [options] Override http request option.
557
+ * @throws {RequiredError}
558
+ */
559
+ getDocumentById(id, attachmentName, options) {
560
+ return localVarFp.getDocumentById(id, attachmentName, options).then((request) => request(axios2, basePath));
434
561
  }
435
562
  };
436
563
  };
@@ -438,15 +565,27 @@ var DocumentsApi = class extends BaseAPI {
438
565
  /**
439
566
  *
440
567
  * @summary Retrieve a generated document
441
- * @param {string} fileName
568
+ * @param {string} id
442
569
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
443
570
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
444
571
  * @param {*} [options] Override http request option.
445
572
  * @throws {RequiredError}
446
573
  * @memberof DocumentsApi
447
574
  */
448
- getDocument(fileName, fileType, attachmentName, options) {
449
- return DocumentsApiFp(this.configuration).getDocument(fileName, fileType, attachmentName, options).then((request) => request(this.axios, this.basePath));
575
+ getDocument(id, fileType, attachmentName, options) {
576
+ return DocumentsApiFp(this.configuration).getDocument(id, fileType, attachmentName, options).then((request) => request(this.axios, this.basePath));
577
+ }
578
+ /**
579
+ *
580
+ * @summary Retrieve a generated document
581
+ * @param {string} id
582
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
583
+ * @param {*} [options] Override http request option.
584
+ * @throws {RequiredError}
585
+ * @memberof DocumentsApi
586
+ */
587
+ getDocumentById(id, attachmentName, options) {
588
+ return DocumentsApiFp(this.configuration).getDocumentById(id, attachmentName, options).then((request) => request(this.axios, this.basePath));
450
589
  }
451
590
  };
452
591
  var FilterCyclesApiAxiosParamCreator = function(configuration) {
@@ -909,13 +1048,13 @@ var ImagesApiAxiosParamCreator = function(configuration) {
909
1048
  /**
910
1049
  *
911
1050
  * @summary Retrieves a user uploaded image for use in a template
912
- * @param {string} title
1051
+ * @param {string} id
913
1052
  * @param {*} [options] Override http request option.
914
1053
  * @throws {RequiredError}
915
1054
  */
916
- getImage: async (title, options = {}) => {
917
- assertParamExists("getImage", "title", title);
918
- const localVarPath = `/images/{title}`.replace(`{${"title"}}`, encodeURIComponent(String(title)));
1055
+ getImage: async (id, options = {}) => {
1056
+ assertParamExists("getImage", "id", id);
1057
+ const localVarPath = `/images/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
919
1058
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
920
1059
  let baseOptions;
921
1060
  if (configuration) {
@@ -980,12 +1119,12 @@ var ImagesApiFp = function(configuration) {
980
1119
  /**
981
1120
  *
982
1121
  * @summary Retrieves a user uploaded image for use in a template
983
- * @param {string} title
1122
+ * @param {string} id
984
1123
  * @param {*} [options] Override http request option.
985
1124
  * @throws {RequiredError}
986
1125
  */
987
- async getImage(title, options) {
988
- const localVarAxiosArgs = await localVarAxiosParamCreator.getImage(title, options);
1126
+ async getImage(id, options) {
1127
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getImage(id, options);
989
1128
  return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
990
1129
  },
991
1130
  /**
@@ -1007,12 +1146,12 @@ var ImagesApiFactory = function(configuration, basePath, axios2) {
1007
1146
  /**
1008
1147
  *
1009
1148
  * @summary Retrieves a user uploaded image for use in a template
1010
- * @param {string} title
1149
+ * @param {string} id
1011
1150
  * @param {*} [options] Override http request option.
1012
1151
  * @throws {RequiredError}
1013
1152
  */
1014
- getImage(title, options) {
1015
- return localVarFp.getImage(title, options).then((request) => request(axios2, basePath));
1153
+ getImage(id, options) {
1154
+ return localVarFp.getImage(id, options).then((request) => request(axios2, basePath));
1016
1155
  },
1017
1156
  /**
1018
1157
  * Uploads an image to the server for use in templates
@@ -1030,13 +1169,13 @@ var ImagesApi = class extends BaseAPI {
1030
1169
  /**
1031
1170
  *
1032
1171
  * @summary Retrieves a user uploaded image for use in a template
1033
- * @param {string} title
1172
+ * @param {string} id
1034
1173
  * @param {*} [options] Override http request option.
1035
1174
  * @throws {RequiredError}
1036
1175
  * @memberof ImagesApi
1037
1176
  */
1038
- getImage(title, options) {
1039
- return ImagesApiFp(this.configuration).getImage(title, options).then((request) => request(this.axios, this.basePath));
1177
+ getImage(id, options) {
1178
+ return ImagesApiFp(this.configuration).getImage(id, options).then((request) => request(this.axios, this.basePath));
1040
1179
  }
1041
1180
  /**
1042
1181
  * Uploads an image to the server for use in templates
@@ -1629,6 +1768,35 @@ var ReportsApiAxiosParamCreator = function(configuration) {
1629
1768
  options: localVarRequestOptions
1630
1769
  };
1631
1770
  },
1771
+ /**
1772
+ *
1773
+ * @summary Get report thumbnail
1774
+ * @param {string} id
1775
+ * @param {*} [options] Override http request option.
1776
+ * @throws {RequiredError}
1777
+ */
1778
+ getReportThumbnail: async (id, options = {}) => {
1779
+ assertParamExists("getReportThumbnail", "id", id);
1780
+ const localVarPath = `/reports/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
1781
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1782
+ let baseOptions;
1783
+ if (configuration) {
1784
+ baseOptions = configuration.baseOptions;
1785
+ }
1786
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1787
+ const localVarHeaderParameter = {};
1788
+ const localVarQueryParameter = {};
1789
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
1790
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1791
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
1792
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1793
+ let formHeaders = {};
1794
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
1795
+ return {
1796
+ url: toPathString(localVarUrlObj),
1797
+ options: localVarRequestOptions
1798
+ };
1799
+ },
1632
1800
  /**
1633
1801
  *
1634
1802
  * @summary List reports
@@ -1741,6 +1909,17 @@ var ReportsApiFp = function(configuration) {
1741
1909
  const localVarAxiosArgs = await localVarAxiosParamCreator.getReport(id, options);
1742
1910
  return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
1743
1911
  },
1912
+ /**
1913
+ *
1914
+ * @summary Get report thumbnail
1915
+ * @param {string} id
1916
+ * @param {*} [options] Override http request option.
1917
+ * @throws {RequiredError}
1918
+ */
1919
+ async getReportThumbnail(id, options) {
1920
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReportThumbnail(id, options);
1921
+ return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
1922
+ },
1744
1923
  /**
1745
1924
  *
1746
1925
  * @summary List reports
@@ -1794,6 +1973,16 @@ var ReportsApiFactory = function(configuration, basePath, axios2) {
1794
1973
  getReport(id, options) {
1795
1974
  return localVarFp.getReport(id, options).then((request) => request(axios2, basePath));
1796
1975
  },
1976
+ /**
1977
+ *
1978
+ * @summary Get report thumbnail
1979
+ * @param {string} id
1980
+ * @param {*} [options] Override http request option.
1981
+ * @throws {RequiredError}
1982
+ */
1983
+ getReportThumbnail(id, options) {
1984
+ return localVarFp.getReportThumbnail(id, options).then((request) => request(axios2, basePath));
1985
+ },
1797
1986
  /**
1798
1987
  *
1799
1988
  * @summary List reports
@@ -1845,6 +2034,17 @@ var ReportsApi = class extends BaseAPI {
1845
2034
  getReport(id, options) {
1846
2035
  return ReportsApiFp(this.configuration).getReport(id, options).then((request) => request(this.axios, this.basePath));
1847
2036
  }
2037
+ /**
2038
+ *
2039
+ * @summary Get report thumbnail
2040
+ * @param {string} id
2041
+ * @param {*} [options] Override http request option.
2042
+ * @throws {RequiredError}
2043
+ * @memberof ReportsApi
2044
+ */
2045
+ getReportThumbnail(id, options) {
2046
+ return ReportsApiFp(this.configuration).getReportThumbnail(id, options).then((request) => request(this.axios, this.basePath));
2047
+ }
1848
2048
  /**
1849
2049
  *
1850
2050
  * @summary List reports
@@ -2023,6 +2223,35 @@ var TemplatesApiAxiosParamCreator = function(configuration) {
2023
2223
  options: localVarRequestOptions
2024
2224
  };
2025
2225
  },
2226
+ /**
2227
+ *
2228
+ * @summary Get template thumbnail
2229
+ * @param {string} id
2230
+ * @param {*} [options] Override http request option.
2231
+ * @throws {RequiredError}
2232
+ */
2233
+ getTemplateThumbnail: async (id, options = {}) => {
2234
+ assertParamExists("getTemplateThumbnail", "id", id);
2235
+ const localVarPath = `/templates/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
2236
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2237
+ let baseOptions;
2238
+ if (configuration) {
2239
+ baseOptions = configuration.baseOptions;
2240
+ }
2241
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2242
+ const localVarHeaderParameter = {};
2243
+ const localVarQueryParameter = {};
2244
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
2245
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2246
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
2247
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2248
+ let formHeaders = {};
2249
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
2250
+ return {
2251
+ url: toPathString(localVarUrlObj),
2252
+ options: localVarRequestOptions
2253
+ };
2254
+ },
2026
2255
  /**
2027
2256
  *
2028
2257
  * @summary List report templates
@@ -2218,6 +2447,17 @@ var TemplatesApiFp = function(configuration) {
2218
2447
  const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplate(id, options);
2219
2448
  return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
2220
2449
  },
2450
+ /**
2451
+ *
2452
+ * @summary Get template thumbnail
2453
+ * @param {string} id
2454
+ * @param {*} [options] Override http request option.
2455
+ * @throws {RequiredError}
2456
+ */
2457
+ async getTemplateThumbnail(id, options) {
2458
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplateThumbnail(id, options);
2459
+ return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
2460
+ },
2221
2461
  /**
2222
2462
  *
2223
2463
  * @summary List report templates
@@ -2319,6 +2559,16 @@ var TemplatesApiFactory = function(configuration, basePath, axios2) {
2319
2559
  getTemplate(id, options) {
2320
2560
  return localVarFp.getTemplate(id, options).then((request) => request(axios2, basePath));
2321
2561
  },
2562
+ /**
2563
+ *
2564
+ * @summary Get template thumbnail
2565
+ * @param {string} id
2566
+ * @param {*} [options] Override http request option.
2567
+ * @throws {RequiredError}
2568
+ */
2569
+ getTemplateThumbnail(id, options) {
2570
+ return localVarFp.getTemplateThumbnail(id, options).then((request) => request(axios2, basePath));
2571
+ },
2322
2572
  /**
2323
2573
  *
2324
2574
  * @summary List report templates
@@ -2419,6 +2669,17 @@ var TemplatesApi = class extends BaseAPI {
2419
2669
  getTemplate(id, options) {
2420
2670
  return TemplatesApiFp(this.configuration).getTemplate(id, options).then((request) => request(this.axios, this.basePath));
2421
2671
  }
2672
+ /**
2673
+ *
2674
+ * @summary Get template thumbnail
2675
+ * @param {string} id
2676
+ * @param {*} [options] Override http request option.
2677
+ * @throws {RequiredError}
2678
+ * @memberof TemplatesApi
2679
+ */
2680
+ getTemplateThumbnail(id, options) {
2681
+ return TemplatesApiFp(this.configuration).getTemplateThumbnail(id, options).then((request) => request(this.axios, this.basePath));
2682
+ }
2422
2683
  /**
2423
2684
  *
2424
2685
  * @summary List report templates
@@ -2812,6 +3073,7 @@ export {
2812
3073
  BaseTemplatesApiFactory,
2813
3074
  BaseTemplatesApiFp,
2814
3075
  ConnectReport,
3076
+ CycleConfigConfigTypeEnum,
2815
3077
  DocumentsApi,
2816
3078
  DocumentsApiAxiosParamCreator,
2817
3079
  DocumentsApiFactory,
@@ -2840,6 +3102,7 @@ export {
2840
3102
  ReportTasksApiAxiosParamCreator,
2841
3103
  ReportTasksApiFactory,
2842
3104
  ReportTasksApiFp,
3105
+ ReportTypeEnum,
2843
3106
  ReportsApi,
2844
3107
  ReportsApiAxiosParamCreator,
2845
3108
  ReportsApiFactory,