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

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
@@ -157,6 +157,11 @@ var FilterCycleEmailEnum = /* @__PURE__ */ ((FilterCycleEmailEnum2) => {
157
157
  FilterCycleEmailEnum2["Csv"] = "csv";
158
158
  return FilterCycleEmailEnum2;
159
159
  })(FilterCycleEmailEnum || {});
160
+ var ReportTypeEnum = /* @__PURE__ */ ((ReportTypeEnum2) => {
161
+ ReportTypeEnum2["PixelPerfect"] = "pixel-perfect";
162
+ ReportTypeEnum2["Excel"] = "excel";
163
+ return ReportTypeEnum2;
164
+ })(ReportTypeEnum || {});
160
165
  var ReportTaskFrequencyEnum = /* @__PURE__ */ ((ReportTaskFrequencyEnum2) => {
161
166
  ReportTaskFrequencyEnum2["Monthly"] = "Monthly";
162
167
  ReportTaskFrequencyEnum2["OnceNow"] = "Once - now";
@@ -244,6 +249,35 @@ var BaseTemplatesApiAxiosParamCreator = function(configuration) {
244
249
  options: localVarRequestOptions
245
250
  };
246
251
  },
252
+ /**
253
+ *
254
+ * @summary Get base template thumbnail
255
+ * @param {string} id
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ getBaseTemplateThumbnail: async (id, options = {}) => {
260
+ assertParamExists("getBaseTemplateThumbnail", "id", id);
261
+ const localVarPath = `/base-templates/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
262
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
263
+ let baseOptions;
264
+ if (configuration) {
265
+ baseOptions = configuration.baseOptions;
266
+ }
267
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
268
+ const localVarHeaderParameter = {};
269
+ const localVarQueryParameter = {};
270
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
271
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
272
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
273
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
274
+ let formHeaders = {};
275
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
276
+ return {
277
+ url: toPathString(localVarUrlObj),
278
+ options: localVarRequestOptions
279
+ };
280
+ },
247
281
  /**
248
282
  *
249
283
  * @summary List base templates
@@ -295,6 +329,17 @@ var BaseTemplatesApiFp = function(configuration) {
295
329
  const localVarAxiosArgs = await localVarAxiosParamCreator.duplicateBaseTemplate(id, options);
296
330
  return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
297
331
  },
332
+ /**
333
+ *
334
+ * @summary Get base template thumbnail
335
+ * @param {string} id
336
+ * @param {*} [options] Override http request option.
337
+ * @throws {RequiredError}
338
+ */
339
+ async getBaseTemplateThumbnail(id, options) {
340
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBaseTemplateThumbnail(id, options);
341
+ return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
342
+ },
298
343
  /**
299
344
  *
300
345
  * @summary List base templates
@@ -322,6 +367,16 @@ var BaseTemplatesApiFactory = function(configuration, basePath, axios2) {
322
367
  duplicateBaseTemplate(id, options) {
323
368
  return localVarFp.duplicateBaseTemplate(id, options).then((request) => request(axios2, basePath));
324
369
  },
370
+ /**
371
+ *
372
+ * @summary Get base template thumbnail
373
+ * @param {string} id
374
+ * @param {*} [options] Override http request option.
375
+ * @throws {RequiredError}
376
+ */
377
+ getBaseTemplateThumbnail(id, options) {
378
+ return localVarFp.getBaseTemplateThumbnail(id, options).then((request) => request(axios2, basePath));
379
+ },
325
380
  /**
326
381
  *
327
382
  * @summary List base templates
@@ -347,6 +402,17 @@ var BaseTemplatesApi = class extends BaseAPI {
347
402
  duplicateBaseTemplate(id, options) {
348
403
  return BaseTemplatesApiFp(this.configuration).duplicateBaseTemplate(id, options).then((request) => request(this.axios, this.basePath));
349
404
  }
405
+ /**
406
+ *
407
+ * @summary Get base template thumbnail
408
+ * @param {string} id
409
+ * @param {*} [options] Override http request option.
410
+ * @throws {RequiredError}
411
+ * @memberof BaseTemplatesApi
412
+ */
413
+ getBaseTemplateThumbnail(id, options) {
414
+ return BaseTemplatesApiFp(this.configuration).getBaseTemplateThumbnail(id, options).then((request) => request(this.axios, this.basePath));
415
+ }
350
416
  /**
351
417
  *
352
418
  * @summary List base templates
@@ -365,16 +431,49 @@ var DocumentsApiAxiosParamCreator = function(configuration) {
365
431
  /**
366
432
  *
367
433
  * @summary Retrieve a generated document
368
- * @param {string} fileName
434
+ * @param {string} id
369
435
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
370
436
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
371
437
  * @param {*} [options] Override http request option.
372
438
  * @throws {RequiredError}
373
439
  */
374
- getDocument: async (fileName, fileType, attachmentName, options = {}) => {
375
- assertParamExists("getDocument", "fileName", fileName);
440
+ getDocument: async (id, fileType, attachmentName, options = {}) => {
441
+ assertParamExists("getDocument", "id", id);
376
442
  assertParamExists("getDocument", "fileType", fileType);
377
- const localVarPath = `/documents/{fileType}/{fileName}`.replace(`{${"fileName"}}`, encodeURIComponent(String(fileName))).replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
443
+ const localVarPath = `/documents/{fileType}/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id))).replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
444
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
445
+ let baseOptions;
446
+ if (configuration) {
447
+ baseOptions = configuration.baseOptions;
448
+ }
449
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
450
+ const localVarHeaderParameter = {};
451
+ const localVarQueryParameter = {};
452
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
453
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
454
+ if (attachmentName !== void 0) {
455
+ localVarQueryParameter["attachmentName"] = attachmentName;
456
+ }
457
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
458
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
459
+ let formHeaders = {};
460
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
461
+ return {
462
+ url: toPathString(localVarUrlObj),
463
+ options: localVarRequestOptions
464
+ };
465
+ },
466
+ /**
467
+ *
468
+ * @summary Retrieve a generated document
469
+ * @param {string} id
470
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
471
+ * @param {*} [options] Override http request option.
472
+ * @throws {RequiredError}
473
+ */
474
+ getDocumentById: async (id, attachmentName, options = {}) => {
475
+ assertParamExists("getDocumentById", "id", id);
476
+ const localVarPath = `/documents/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
378
477
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
379
478
  let baseOptions;
380
479
  if (configuration) {
@@ -405,14 +504,26 @@ var DocumentsApiFp = function(configuration) {
405
504
  /**
406
505
  *
407
506
  * @summary Retrieve a generated document
408
- * @param {string} fileName
507
+ * @param {string} id
409
508
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
410
509
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
411
510
  * @param {*} [options] Override http request option.
412
511
  * @throws {RequiredError}
413
512
  */
414
- async getDocument(fileName, fileType, attachmentName, options) {
415
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDocument(fileName, fileType, attachmentName, options);
513
+ async getDocument(id, fileType, attachmentName, options) {
514
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDocument(id, fileType, attachmentName, options);
515
+ return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
516
+ },
517
+ /**
518
+ *
519
+ * @summary Retrieve a generated document
520
+ * @param {string} id
521
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ */
525
+ async getDocumentById(id, attachmentName, options) {
526
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDocumentById(id, attachmentName, options);
416
527
  return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
417
528
  }
418
529
  };
@@ -423,14 +534,25 @@ var DocumentsApiFactory = function(configuration, basePath, axios2) {
423
534
  /**
424
535
  *
425
536
  * @summary Retrieve a generated document
426
- * @param {string} fileName
537
+ * @param {string} id
427
538
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
428
539
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
429
540
  * @param {*} [options] Override http request option.
430
541
  * @throws {RequiredError}
431
542
  */
432
- getDocument(fileName, fileType, attachmentName, options) {
433
- return localVarFp.getDocument(fileName, fileType, attachmentName, options).then((request) => request(axios2, basePath));
543
+ getDocument(id, fileType, attachmentName, options) {
544
+ return localVarFp.getDocument(id, fileType, attachmentName, options).then((request) => request(axios2, basePath));
545
+ },
546
+ /**
547
+ *
548
+ * @summary Retrieve a generated document
549
+ * @param {string} id
550
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
551
+ * @param {*} [options] Override http request option.
552
+ * @throws {RequiredError}
553
+ */
554
+ getDocumentById(id, attachmentName, options) {
555
+ return localVarFp.getDocumentById(id, attachmentName, options).then((request) => request(axios2, basePath));
434
556
  }
435
557
  };
436
558
  };
@@ -438,15 +560,27 @@ var DocumentsApi = class extends BaseAPI {
438
560
  /**
439
561
  *
440
562
  * @summary Retrieve a generated document
441
- * @param {string} fileName
563
+ * @param {string} id
442
564
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
443
565
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
444
566
  * @param {*} [options] Override http request option.
445
567
  * @throws {RequiredError}
446
568
  * @memberof DocumentsApi
447
569
  */
448
- getDocument(fileName, fileType, attachmentName, options) {
449
- return DocumentsApiFp(this.configuration).getDocument(fileName, fileType, attachmentName, options).then((request) => request(this.axios, this.basePath));
570
+ getDocument(id, fileType, attachmentName, options) {
571
+ return DocumentsApiFp(this.configuration).getDocument(id, fileType, attachmentName, options).then((request) => request(this.axios, this.basePath));
572
+ }
573
+ /**
574
+ *
575
+ * @summary Retrieve a generated document
576
+ * @param {string} id
577
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
578
+ * @param {*} [options] Override http request option.
579
+ * @throws {RequiredError}
580
+ * @memberof DocumentsApi
581
+ */
582
+ getDocumentById(id, attachmentName, options) {
583
+ return DocumentsApiFp(this.configuration).getDocumentById(id, attachmentName, options).then((request) => request(this.axios, this.basePath));
450
584
  }
451
585
  };
452
586
  var FilterCyclesApiAxiosParamCreator = function(configuration) {
@@ -909,13 +1043,13 @@ var ImagesApiAxiosParamCreator = function(configuration) {
909
1043
  /**
910
1044
  *
911
1045
  * @summary Retrieves a user uploaded image for use in a template
912
- * @param {string} title
1046
+ * @param {string} id
913
1047
  * @param {*} [options] Override http request option.
914
1048
  * @throws {RequiredError}
915
1049
  */
916
- getImage: async (title, options = {}) => {
917
- assertParamExists("getImage", "title", title);
918
- const localVarPath = `/images/{title}`.replace(`{${"title"}}`, encodeURIComponent(String(title)));
1050
+ getImage: async (id, options = {}) => {
1051
+ assertParamExists("getImage", "id", id);
1052
+ const localVarPath = `/images/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
919
1053
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
920
1054
  let baseOptions;
921
1055
  if (configuration) {
@@ -980,12 +1114,12 @@ var ImagesApiFp = function(configuration) {
980
1114
  /**
981
1115
  *
982
1116
  * @summary Retrieves a user uploaded image for use in a template
983
- * @param {string} title
1117
+ * @param {string} id
984
1118
  * @param {*} [options] Override http request option.
985
1119
  * @throws {RequiredError}
986
1120
  */
987
- async getImage(title, options) {
988
- const localVarAxiosArgs = await localVarAxiosParamCreator.getImage(title, options);
1121
+ async getImage(id, options) {
1122
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getImage(id, options);
989
1123
  return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
990
1124
  },
991
1125
  /**
@@ -1007,12 +1141,12 @@ var ImagesApiFactory = function(configuration, basePath, axios2) {
1007
1141
  /**
1008
1142
  *
1009
1143
  * @summary Retrieves a user uploaded image for use in a template
1010
- * @param {string} title
1144
+ * @param {string} id
1011
1145
  * @param {*} [options] Override http request option.
1012
1146
  * @throws {RequiredError}
1013
1147
  */
1014
- getImage(title, options) {
1015
- return localVarFp.getImage(title, options).then((request) => request(axios2, basePath));
1148
+ getImage(id, options) {
1149
+ return localVarFp.getImage(id, options).then((request) => request(axios2, basePath));
1016
1150
  },
1017
1151
  /**
1018
1152
  * Uploads an image to the server for use in templates
@@ -1030,13 +1164,13 @@ var ImagesApi = class extends BaseAPI {
1030
1164
  /**
1031
1165
  *
1032
1166
  * @summary Retrieves a user uploaded image for use in a template
1033
- * @param {string} title
1167
+ * @param {string} id
1034
1168
  * @param {*} [options] Override http request option.
1035
1169
  * @throws {RequiredError}
1036
1170
  * @memberof ImagesApi
1037
1171
  */
1038
- getImage(title, options) {
1039
- return ImagesApiFp(this.configuration).getImage(title, options).then((request) => request(this.axios, this.basePath));
1172
+ getImage(id, options) {
1173
+ return ImagesApiFp(this.configuration).getImage(id, options).then((request) => request(this.axios, this.basePath));
1040
1174
  }
1041
1175
  /**
1042
1176
  * Uploads an image to the server for use in templates
@@ -1629,6 +1763,35 @@ var ReportsApiAxiosParamCreator = function(configuration) {
1629
1763
  options: localVarRequestOptions
1630
1764
  };
1631
1765
  },
1766
+ /**
1767
+ *
1768
+ * @summary Get report thumbnail
1769
+ * @param {string} id
1770
+ * @param {*} [options] Override http request option.
1771
+ * @throws {RequiredError}
1772
+ */
1773
+ getReportThumbnail: async (id, options = {}) => {
1774
+ assertParamExists("getReportThumbnail", "id", id);
1775
+ const localVarPath = `/reports/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
1776
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1777
+ let baseOptions;
1778
+ if (configuration) {
1779
+ baseOptions = configuration.baseOptions;
1780
+ }
1781
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1782
+ const localVarHeaderParameter = {};
1783
+ const localVarQueryParameter = {};
1784
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
1785
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1786
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
1787
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1788
+ let formHeaders = {};
1789
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
1790
+ return {
1791
+ url: toPathString(localVarUrlObj),
1792
+ options: localVarRequestOptions
1793
+ };
1794
+ },
1632
1795
  /**
1633
1796
  *
1634
1797
  * @summary List reports
@@ -1741,6 +1904,17 @@ var ReportsApiFp = function(configuration) {
1741
1904
  const localVarAxiosArgs = await localVarAxiosParamCreator.getReport(id, options);
1742
1905
  return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
1743
1906
  },
1907
+ /**
1908
+ *
1909
+ * @summary Get report thumbnail
1910
+ * @param {string} id
1911
+ * @param {*} [options] Override http request option.
1912
+ * @throws {RequiredError}
1913
+ */
1914
+ async getReportThumbnail(id, options) {
1915
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReportThumbnail(id, options);
1916
+ return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
1917
+ },
1744
1918
  /**
1745
1919
  *
1746
1920
  * @summary List reports
@@ -1794,6 +1968,16 @@ var ReportsApiFactory = function(configuration, basePath, axios2) {
1794
1968
  getReport(id, options) {
1795
1969
  return localVarFp.getReport(id, options).then((request) => request(axios2, basePath));
1796
1970
  },
1971
+ /**
1972
+ *
1973
+ * @summary Get report thumbnail
1974
+ * @param {string} id
1975
+ * @param {*} [options] Override http request option.
1976
+ * @throws {RequiredError}
1977
+ */
1978
+ getReportThumbnail(id, options) {
1979
+ return localVarFp.getReportThumbnail(id, options).then((request) => request(axios2, basePath));
1980
+ },
1797
1981
  /**
1798
1982
  *
1799
1983
  * @summary List reports
@@ -1845,6 +2029,17 @@ var ReportsApi = class extends BaseAPI {
1845
2029
  getReport(id, options) {
1846
2030
  return ReportsApiFp(this.configuration).getReport(id, options).then((request) => request(this.axios, this.basePath));
1847
2031
  }
2032
+ /**
2033
+ *
2034
+ * @summary Get report thumbnail
2035
+ * @param {string} id
2036
+ * @param {*} [options] Override http request option.
2037
+ * @throws {RequiredError}
2038
+ * @memberof ReportsApi
2039
+ */
2040
+ getReportThumbnail(id, options) {
2041
+ return ReportsApiFp(this.configuration).getReportThumbnail(id, options).then((request) => request(this.axios, this.basePath));
2042
+ }
1848
2043
  /**
1849
2044
  *
1850
2045
  * @summary List reports
@@ -2023,6 +2218,35 @@ var TemplatesApiAxiosParamCreator = function(configuration) {
2023
2218
  options: localVarRequestOptions
2024
2219
  };
2025
2220
  },
2221
+ /**
2222
+ *
2223
+ * @summary Get template thumbnail
2224
+ * @param {string} id
2225
+ * @param {*} [options] Override http request option.
2226
+ * @throws {RequiredError}
2227
+ */
2228
+ getTemplateThumbnail: async (id, options = {}) => {
2229
+ assertParamExists("getTemplateThumbnail", "id", id);
2230
+ const localVarPath = `/templates/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
2231
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2232
+ let baseOptions;
2233
+ if (configuration) {
2234
+ baseOptions = configuration.baseOptions;
2235
+ }
2236
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2237
+ const localVarHeaderParameter = {};
2238
+ const localVarQueryParameter = {};
2239
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
2240
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2241
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
2242
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2243
+ let formHeaders = {};
2244
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
2245
+ return {
2246
+ url: toPathString(localVarUrlObj),
2247
+ options: localVarRequestOptions
2248
+ };
2249
+ },
2026
2250
  /**
2027
2251
  *
2028
2252
  * @summary List report templates
@@ -2218,6 +2442,17 @@ var TemplatesApiFp = function(configuration) {
2218
2442
  const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplate(id, options);
2219
2443
  return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
2220
2444
  },
2445
+ /**
2446
+ *
2447
+ * @summary Get template thumbnail
2448
+ * @param {string} id
2449
+ * @param {*} [options] Override http request option.
2450
+ * @throws {RequiredError}
2451
+ */
2452
+ async getTemplateThumbnail(id, options) {
2453
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplateThumbnail(id, options);
2454
+ return createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration);
2455
+ },
2221
2456
  /**
2222
2457
  *
2223
2458
  * @summary List report templates
@@ -2319,6 +2554,16 @@ var TemplatesApiFactory = function(configuration, basePath, axios2) {
2319
2554
  getTemplate(id, options) {
2320
2555
  return localVarFp.getTemplate(id, options).then((request) => request(axios2, basePath));
2321
2556
  },
2557
+ /**
2558
+ *
2559
+ * @summary Get template thumbnail
2560
+ * @param {string} id
2561
+ * @param {*} [options] Override http request option.
2562
+ * @throws {RequiredError}
2563
+ */
2564
+ getTemplateThumbnail(id, options) {
2565
+ return localVarFp.getTemplateThumbnail(id, options).then((request) => request(axios2, basePath));
2566
+ },
2322
2567
  /**
2323
2568
  *
2324
2569
  * @summary List report templates
@@ -2419,6 +2664,17 @@ var TemplatesApi = class extends BaseAPI {
2419
2664
  getTemplate(id, options) {
2420
2665
  return TemplatesApiFp(this.configuration).getTemplate(id, options).then((request) => request(this.axios, this.basePath));
2421
2666
  }
2667
+ /**
2668
+ *
2669
+ * @summary Get template thumbnail
2670
+ * @param {string} id
2671
+ * @param {*} [options] Override http request option.
2672
+ * @throws {RequiredError}
2673
+ * @memberof TemplatesApi
2674
+ */
2675
+ getTemplateThumbnail(id, options) {
2676
+ return TemplatesApiFp(this.configuration).getTemplateThumbnail(id, options).then((request) => request(this.axios, this.basePath));
2677
+ }
2422
2678
  /**
2423
2679
  *
2424
2680
  * @summary List report templates
@@ -2840,6 +3096,7 @@ export {
2840
3096
  ReportTasksApiAxiosParamCreator,
2841
3097
  ReportTasksApiFactory,
2842
3098
  ReportTasksApiFp,
3099
+ ReportTypeEnum,
2843
3100
  ReportsApi,
2844
3101
  ReportsApiAxiosParamCreator,
2845
3102
  ReportsApiFactory,