@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/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * ConnectReport Core API
5
5
  * Leverage core reporting, templating, and document automation capabilities of ConnectReport Server.
6
6
  *
7
- * The version of the OpenAPI document: 2.80.0
7
+ * The version of the OpenAPI document: 2.80.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * ConnectReport Core API
5
5
  * Leverage core reporting, templating, and document automation capabilities of ConnectReport Server.
6
6
  *
7
- * The version of the OpenAPI document: 2.80.0
7
+ * The version of the OpenAPI document: 2.80.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * ConnectReport Core API
5
5
  * Leverage core reporting, templating, and document automation capabilities of ConnectReport Server.
6
6
  *
7
- * The version of the OpenAPI document: 2.80.0
7
+ * The version of the OpenAPI document: 2.80.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.cjs CHANGED
@@ -106,6 +106,7 @@ __export(index_exports, {
106
106
  ReportTasksApiAxiosParamCreator: () => ReportTasksApiAxiosParamCreator,
107
107
  ReportTasksApiFactory: () => ReportTasksApiFactory,
108
108
  ReportTasksApiFp: () => ReportTasksApiFp,
109
+ ReportTypeEnum: () => ReportTypeEnum,
109
110
  ReportsApi: () => ReportsApi,
110
111
  ReportsApiAxiosParamCreator: () => ReportsApiAxiosParamCreator,
111
112
  ReportsApiFactory: () => ReportsApiFactory,
@@ -214,6 +215,11 @@ var FilterCycleEmailEnum = /* @__PURE__ */ ((FilterCycleEmailEnum2) => {
214
215
  FilterCycleEmailEnum2["Csv"] = "csv";
215
216
  return FilterCycleEmailEnum2;
216
217
  })(FilterCycleEmailEnum || {});
218
+ var ReportTypeEnum = /* @__PURE__ */ ((ReportTypeEnum2) => {
219
+ ReportTypeEnum2["PixelPerfect"] = "pixel-perfect";
220
+ ReportTypeEnum2["Excel"] = "excel";
221
+ return ReportTypeEnum2;
222
+ })(ReportTypeEnum || {});
217
223
  var ReportTaskFrequencyEnum = /* @__PURE__ */ ((ReportTaskFrequencyEnum2) => {
218
224
  ReportTaskFrequencyEnum2["Monthly"] = "Monthly";
219
225
  ReportTaskFrequencyEnum2["OnceNow"] = "Once - now";
@@ -301,6 +307,35 @@ var BaseTemplatesApiAxiosParamCreator = function(configuration) {
301
307
  options: localVarRequestOptions
302
308
  };
303
309
  },
310
+ /**
311
+ *
312
+ * @summary Get base template thumbnail
313
+ * @param {string} id
314
+ * @param {*} [options] Override http request option.
315
+ * @throws {RequiredError}
316
+ */
317
+ getBaseTemplateThumbnail: async (id, options = {}) => {
318
+ assertParamExists("getBaseTemplateThumbnail", "id", id);
319
+ const localVarPath = `/base-templates/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
320
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
321
+ let baseOptions;
322
+ if (configuration) {
323
+ baseOptions = configuration.baseOptions;
324
+ }
325
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
326
+ const localVarHeaderParameter = {};
327
+ const localVarQueryParameter = {};
328
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
329
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
330
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
331
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
332
+ let formHeaders = {};
333
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
334
+ return {
335
+ url: toPathString(localVarUrlObj),
336
+ options: localVarRequestOptions
337
+ };
338
+ },
304
339
  /**
305
340
  *
306
341
  * @summary List base templates
@@ -352,6 +387,17 @@ var BaseTemplatesApiFp = function(configuration) {
352
387
  const localVarAxiosArgs = await localVarAxiosParamCreator.duplicateBaseTemplate(id, options);
353
388
  return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
354
389
  },
390
+ /**
391
+ *
392
+ * @summary Get base template thumbnail
393
+ * @param {string} id
394
+ * @param {*} [options] Override http request option.
395
+ * @throws {RequiredError}
396
+ */
397
+ async getBaseTemplateThumbnail(id, options) {
398
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBaseTemplateThumbnail(id, options);
399
+ return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
400
+ },
355
401
  /**
356
402
  *
357
403
  * @summary List base templates
@@ -379,6 +425,16 @@ var BaseTemplatesApiFactory = function(configuration, basePath, axios2) {
379
425
  duplicateBaseTemplate(id, options) {
380
426
  return localVarFp.duplicateBaseTemplate(id, options).then((request) => request(axios2, basePath));
381
427
  },
428
+ /**
429
+ *
430
+ * @summary Get base template thumbnail
431
+ * @param {string} id
432
+ * @param {*} [options] Override http request option.
433
+ * @throws {RequiredError}
434
+ */
435
+ getBaseTemplateThumbnail(id, options) {
436
+ return localVarFp.getBaseTemplateThumbnail(id, options).then((request) => request(axios2, basePath));
437
+ },
382
438
  /**
383
439
  *
384
440
  * @summary List base templates
@@ -404,6 +460,17 @@ var BaseTemplatesApi = class extends BaseAPI {
404
460
  duplicateBaseTemplate(id, options) {
405
461
  return BaseTemplatesApiFp(this.configuration).duplicateBaseTemplate(id, options).then((request) => request(this.axios, this.basePath));
406
462
  }
463
+ /**
464
+ *
465
+ * @summary Get base template thumbnail
466
+ * @param {string} id
467
+ * @param {*} [options] Override http request option.
468
+ * @throws {RequiredError}
469
+ * @memberof BaseTemplatesApi
470
+ */
471
+ getBaseTemplateThumbnail(id, options) {
472
+ return BaseTemplatesApiFp(this.configuration).getBaseTemplateThumbnail(id, options).then((request) => request(this.axios, this.basePath));
473
+ }
407
474
  /**
408
475
  *
409
476
  * @summary List base templates
@@ -422,16 +489,49 @@ var DocumentsApiAxiosParamCreator = function(configuration) {
422
489
  /**
423
490
  *
424
491
  * @summary Retrieve a generated document
425
- * @param {string} fileName
492
+ * @param {string} id
426
493
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
427
494
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
428
495
  * @param {*} [options] Override http request option.
429
496
  * @throws {RequiredError}
430
497
  */
431
- getDocument: async (fileName, fileType, attachmentName, options = {}) => {
432
- assertParamExists("getDocument", "fileName", fileName);
498
+ getDocument: async (id, fileType, attachmentName, options = {}) => {
499
+ assertParamExists("getDocument", "id", id);
433
500
  assertParamExists("getDocument", "fileType", fileType);
434
- const localVarPath = `/documents/{fileType}/{fileName}`.replace(`{${"fileName"}}`, encodeURIComponent(String(fileName))).replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
501
+ const localVarPath = `/documents/{fileType}/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id))).replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
502
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
503
+ let baseOptions;
504
+ if (configuration) {
505
+ baseOptions = configuration.baseOptions;
506
+ }
507
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
508
+ const localVarHeaderParameter = {};
509
+ const localVarQueryParameter = {};
510
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
511
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
512
+ if (attachmentName !== void 0) {
513
+ localVarQueryParameter["attachmentName"] = attachmentName;
514
+ }
515
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
516
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
517
+ let formHeaders = {};
518
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
519
+ return {
520
+ url: toPathString(localVarUrlObj),
521
+ options: localVarRequestOptions
522
+ };
523
+ },
524
+ /**
525
+ *
526
+ * @summary Retrieve a generated document
527
+ * @param {string} id
528
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
529
+ * @param {*} [options] Override http request option.
530
+ * @throws {RequiredError}
531
+ */
532
+ getDocumentById: async (id, attachmentName, options = {}) => {
533
+ assertParamExists("getDocumentById", "id", id);
534
+ const localVarPath = `/documents/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
435
535
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
436
536
  let baseOptions;
437
537
  if (configuration) {
@@ -462,14 +562,26 @@ var DocumentsApiFp = function(configuration) {
462
562
  /**
463
563
  *
464
564
  * @summary Retrieve a generated document
465
- * @param {string} fileName
565
+ * @param {string} id
466
566
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
467
567
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
468
568
  * @param {*} [options] Override http request option.
469
569
  * @throws {RequiredError}
470
570
  */
471
- async getDocument(fileName, fileType, attachmentName, options) {
472
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDocument(fileName, fileType, attachmentName, options);
571
+ async getDocument(id, fileType, attachmentName, options) {
572
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDocument(id, fileType, attachmentName, options);
573
+ return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
574
+ },
575
+ /**
576
+ *
577
+ * @summary Retrieve a generated document
578
+ * @param {string} id
579
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
580
+ * @param {*} [options] Override http request option.
581
+ * @throws {RequiredError}
582
+ */
583
+ async getDocumentById(id, attachmentName, options) {
584
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDocumentById(id, attachmentName, options);
473
585
  return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
474
586
  }
475
587
  };
@@ -480,14 +592,25 @@ var DocumentsApiFactory = function(configuration, basePath, axios2) {
480
592
  /**
481
593
  *
482
594
  * @summary Retrieve a generated document
483
- * @param {string} fileName
595
+ * @param {string} id
484
596
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
485
597
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
486
598
  * @param {*} [options] Override http request option.
487
599
  * @throws {RequiredError}
488
600
  */
489
- getDocument(fileName, fileType, attachmentName, options) {
490
- return localVarFp.getDocument(fileName, fileType, attachmentName, options).then((request) => request(axios2, basePath));
601
+ getDocument(id, fileType, attachmentName, options) {
602
+ return localVarFp.getDocument(id, fileType, attachmentName, options).then((request) => request(axios2, basePath));
603
+ },
604
+ /**
605
+ *
606
+ * @summary Retrieve a generated document
607
+ * @param {string} id
608
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
609
+ * @param {*} [options] Override http request option.
610
+ * @throws {RequiredError}
611
+ */
612
+ getDocumentById(id, attachmentName, options) {
613
+ return localVarFp.getDocumentById(id, attachmentName, options).then((request) => request(axios2, basePath));
491
614
  }
492
615
  };
493
616
  };
@@ -495,15 +618,27 @@ var DocumentsApi = class extends BaseAPI {
495
618
  /**
496
619
  *
497
620
  * @summary Retrieve a generated document
498
- * @param {string} fileName
621
+ * @param {string} id
499
622
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
500
623
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
501
624
  * @param {*} [options] Override http request option.
502
625
  * @throws {RequiredError}
503
626
  * @memberof DocumentsApi
504
627
  */
505
- getDocument(fileName, fileType, attachmentName, options) {
506
- return DocumentsApiFp(this.configuration).getDocument(fileName, fileType, attachmentName, options).then((request) => request(this.axios, this.basePath));
628
+ getDocument(id, fileType, attachmentName, options) {
629
+ return DocumentsApiFp(this.configuration).getDocument(id, fileType, attachmentName, options).then((request) => request(this.axios, this.basePath));
630
+ }
631
+ /**
632
+ *
633
+ * @summary Retrieve a generated document
634
+ * @param {string} id
635
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
636
+ * @param {*} [options] Override http request option.
637
+ * @throws {RequiredError}
638
+ * @memberof DocumentsApi
639
+ */
640
+ getDocumentById(id, attachmentName, options) {
641
+ return DocumentsApiFp(this.configuration).getDocumentById(id, attachmentName, options).then((request) => request(this.axios, this.basePath));
507
642
  }
508
643
  };
509
644
  var FilterCyclesApiAxiosParamCreator = function(configuration) {
@@ -966,13 +1101,13 @@ var ImagesApiAxiosParamCreator = function(configuration) {
966
1101
  /**
967
1102
  *
968
1103
  * @summary Retrieves a user uploaded image for use in a template
969
- * @param {string} title
1104
+ * @param {string} id
970
1105
  * @param {*} [options] Override http request option.
971
1106
  * @throws {RequiredError}
972
1107
  */
973
- getImage: async (title, options = {}) => {
974
- assertParamExists("getImage", "title", title);
975
- const localVarPath = `/images/{title}`.replace(`{${"title"}}`, encodeURIComponent(String(title)));
1108
+ getImage: async (id, options = {}) => {
1109
+ assertParamExists("getImage", "id", id);
1110
+ const localVarPath = `/images/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
976
1111
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
977
1112
  let baseOptions;
978
1113
  if (configuration) {
@@ -1037,12 +1172,12 @@ var ImagesApiFp = function(configuration) {
1037
1172
  /**
1038
1173
  *
1039
1174
  * @summary Retrieves a user uploaded image for use in a template
1040
- * @param {string} title
1175
+ * @param {string} id
1041
1176
  * @param {*} [options] Override http request option.
1042
1177
  * @throws {RequiredError}
1043
1178
  */
1044
- async getImage(title, options) {
1045
- const localVarAxiosArgs = await localVarAxiosParamCreator.getImage(title, options);
1179
+ async getImage(id, options) {
1180
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getImage(id, options);
1046
1181
  return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
1047
1182
  },
1048
1183
  /**
@@ -1064,12 +1199,12 @@ var ImagesApiFactory = function(configuration, basePath, axios2) {
1064
1199
  /**
1065
1200
  *
1066
1201
  * @summary Retrieves a user uploaded image for use in a template
1067
- * @param {string} title
1202
+ * @param {string} id
1068
1203
  * @param {*} [options] Override http request option.
1069
1204
  * @throws {RequiredError}
1070
1205
  */
1071
- getImage(title, options) {
1072
- return localVarFp.getImage(title, options).then((request) => request(axios2, basePath));
1206
+ getImage(id, options) {
1207
+ return localVarFp.getImage(id, options).then((request) => request(axios2, basePath));
1073
1208
  },
1074
1209
  /**
1075
1210
  * Uploads an image to the server for use in templates
@@ -1087,13 +1222,13 @@ var ImagesApi = class extends BaseAPI {
1087
1222
  /**
1088
1223
  *
1089
1224
  * @summary Retrieves a user uploaded image for use in a template
1090
- * @param {string} title
1225
+ * @param {string} id
1091
1226
  * @param {*} [options] Override http request option.
1092
1227
  * @throws {RequiredError}
1093
1228
  * @memberof ImagesApi
1094
1229
  */
1095
- getImage(title, options) {
1096
- return ImagesApiFp(this.configuration).getImage(title, options).then((request) => request(this.axios, this.basePath));
1230
+ getImage(id, options) {
1231
+ return ImagesApiFp(this.configuration).getImage(id, options).then((request) => request(this.axios, this.basePath));
1097
1232
  }
1098
1233
  /**
1099
1234
  * Uploads an image to the server for use in templates
@@ -1686,6 +1821,35 @@ var ReportsApiAxiosParamCreator = function(configuration) {
1686
1821
  options: localVarRequestOptions
1687
1822
  };
1688
1823
  },
1824
+ /**
1825
+ *
1826
+ * @summary Get report thumbnail
1827
+ * @param {string} id
1828
+ * @param {*} [options] Override http request option.
1829
+ * @throws {RequiredError}
1830
+ */
1831
+ getReportThumbnail: async (id, options = {}) => {
1832
+ assertParamExists("getReportThumbnail", "id", id);
1833
+ const localVarPath = `/reports/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
1834
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1835
+ let baseOptions;
1836
+ if (configuration) {
1837
+ baseOptions = configuration.baseOptions;
1838
+ }
1839
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1840
+ const localVarHeaderParameter = {};
1841
+ const localVarQueryParameter = {};
1842
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
1843
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1844
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
1845
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1846
+ let formHeaders = {};
1847
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
1848
+ return {
1849
+ url: toPathString(localVarUrlObj),
1850
+ options: localVarRequestOptions
1851
+ };
1852
+ },
1689
1853
  /**
1690
1854
  *
1691
1855
  * @summary List reports
@@ -1798,6 +1962,17 @@ var ReportsApiFp = function(configuration) {
1798
1962
  const localVarAxiosArgs = await localVarAxiosParamCreator.getReport(id, options);
1799
1963
  return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
1800
1964
  },
1965
+ /**
1966
+ *
1967
+ * @summary Get report thumbnail
1968
+ * @param {string} id
1969
+ * @param {*} [options] Override http request option.
1970
+ * @throws {RequiredError}
1971
+ */
1972
+ async getReportThumbnail(id, options) {
1973
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReportThumbnail(id, options);
1974
+ return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
1975
+ },
1801
1976
  /**
1802
1977
  *
1803
1978
  * @summary List reports
@@ -1851,6 +2026,16 @@ var ReportsApiFactory = function(configuration, basePath, axios2) {
1851
2026
  getReport(id, options) {
1852
2027
  return localVarFp.getReport(id, options).then((request) => request(axios2, basePath));
1853
2028
  },
2029
+ /**
2030
+ *
2031
+ * @summary Get report thumbnail
2032
+ * @param {string} id
2033
+ * @param {*} [options] Override http request option.
2034
+ * @throws {RequiredError}
2035
+ */
2036
+ getReportThumbnail(id, options) {
2037
+ return localVarFp.getReportThumbnail(id, options).then((request) => request(axios2, basePath));
2038
+ },
1854
2039
  /**
1855
2040
  *
1856
2041
  * @summary List reports
@@ -1902,6 +2087,17 @@ var ReportsApi = class extends BaseAPI {
1902
2087
  getReport(id, options) {
1903
2088
  return ReportsApiFp(this.configuration).getReport(id, options).then((request) => request(this.axios, this.basePath));
1904
2089
  }
2090
+ /**
2091
+ *
2092
+ * @summary Get report thumbnail
2093
+ * @param {string} id
2094
+ * @param {*} [options] Override http request option.
2095
+ * @throws {RequiredError}
2096
+ * @memberof ReportsApi
2097
+ */
2098
+ getReportThumbnail(id, options) {
2099
+ return ReportsApiFp(this.configuration).getReportThumbnail(id, options).then((request) => request(this.axios, this.basePath));
2100
+ }
1905
2101
  /**
1906
2102
  *
1907
2103
  * @summary List reports
@@ -2080,6 +2276,35 @@ var TemplatesApiAxiosParamCreator = function(configuration) {
2080
2276
  options: localVarRequestOptions
2081
2277
  };
2082
2278
  },
2279
+ /**
2280
+ *
2281
+ * @summary Get template thumbnail
2282
+ * @param {string} id
2283
+ * @param {*} [options] Override http request option.
2284
+ * @throws {RequiredError}
2285
+ */
2286
+ getTemplateThumbnail: async (id, options = {}) => {
2287
+ assertParamExists("getTemplateThumbnail", "id", id);
2288
+ const localVarPath = `/templates/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
2289
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2290
+ let baseOptions;
2291
+ if (configuration) {
2292
+ baseOptions = configuration.baseOptions;
2293
+ }
2294
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2295
+ const localVarHeaderParameter = {};
2296
+ const localVarQueryParameter = {};
2297
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
2298
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2299
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
2300
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2301
+ let formHeaders = {};
2302
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
2303
+ return {
2304
+ url: toPathString(localVarUrlObj),
2305
+ options: localVarRequestOptions
2306
+ };
2307
+ },
2083
2308
  /**
2084
2309
  *
2085
2310
  * @summary List report templates
@@ -2275,6 +2500,17 @@ var TemplatesApiFp = function(configuration) {
2275
2500
  const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplate(id, options);
2276
2501
  return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
2277
2502
  },
2503
+ /**
2504
+ *
2505
+ * @summary Get template thumbnail
2506
+ * @param {string} id
2507
+ * @param {*} [options] Override http request option.
2508
+ * @throws {RequiredError}
2509
+ */
2510
+ async getTemplateThumbnail(id, options) {
2511
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplateThumbnail(id, options);
2512
+ return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
2513
+ },
2278
2514
  /**
2279
2515
  *
2280
2516
  * @summary List report templates
@@ -2376,6 +2612,16 @@ var TemplatesApiFactory = function(configuration, basePath, axios2) {
2376
2612
  getTemplate(id, options) {
2377
2613
  return localVarFp.getTemplate(id, options).then((request) => request(axios2, basePath));
2378
2614
  },
2615
+ /**
2616
+ *
2617
+ * @summary Get template thumbnail
2618
+ * @param {string} id
2619
+ * @param {*} [options] Override http request option.
2620
+ * @throws {RequiredError}
2621
+ */
2622
+ getTemplateThumbnail(id, options) {
2623
+ return localVarFp.getTemplateThumbnail(id, options).then((request) => request(axios2, basePath));
2624
+ },
2379
2625
  /**
2380
2626
  *
2381
2627
  * @summary List report templates
@@ -2476,6 +2722,17 @@ var TemplatesApi = class extends BaseAPI {
2476
2722
  getTemplate(id, options) {
2477
2723
  return TemplatesApiFp(this.configuration).getTemplate(id, options).then((request) => request(this.axios, this.basePath));
2478
2724
  }
2725
+ /**
2726
+ *
2727
+ * @summary Get template thumbnail
2728
+ * @param {string} id
2729
+ * @param {*} [options] Override http request option.
2730
+ * @throws {RequiredError}
2731
+ * @memberof TemplatesApi
2732
+ */
2733
+ getTemplateThumbnail(id, options) {
2734
+ return TemplatesApiFp(this.configuration).getTemplateThumbnail(id, options).then((request) => request(this.axios, this.basePath));
2735
+ }
2479
2736
  /**
2480
2737
  *
2481
2738
  * @summary List report templates
@@ -2898,6 +3155,7 @@ globalThis.ConnectReport = ConnectReport;
2898
3155
  ReportTasksApiAxiosParamCreator,
2899
3156
  ReportTasksApiFactory,
2900
3157
  ReportTasksApiFp,
3158
+ ReportTypeEnum,
2901
3159
  ReportsApi,
2902
3160
  ReportsApiAxiosParamCreator,
2903
3161
  ReportsApiFactory,