@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/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
@@ -78,6 +78,7 @@ __export(index_exports, {
78
78
  BaseTemplatesApiFactory: () => BaseTemplatesApiFactory,
79
79
  BaseTemplatesApiFp: () => BaseTemplatesApiFp,
80
80
  ConnectReport: () => ConnectReport,
81
+ CycleConfigConfigTypeEnum: () => CycleConfigConfigTypeEnum,
81
82
  DocumentsApi: () => DocumentsApi,
82
83
  DocumentsApiAxiosParamCreator: () => DocumentsApiAxiosParamCreator,
83
84
  DocumentsApiFactory: () => DocumentsApiFactory,
@@ -106,6 +107,7 @@ __export(index_exports, {
106
107
  ReportTasksApiAxiosParamCreator: () => ReportTasksApiAxiosParamCreator,
107
108
  ReportTasksApiFactory: () => ReportTasksApiFactory,
108
109
  ReportTasksApiFp: () => ReportTasksApiFp,
110
+ ReportTypeEnum: () => ReportTypeEnum,
109
111
  ReportsApi: () => ReportsApi,
110
112
  ReportsApiAxiosParamCreator: () => ReportsApiAxiosParamCreator,
111
113
  ReportsApiFactory: () => ReportsApiFactory,
@@ -197,6 +199,11 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
197
199
  };
198
200
 
199
201
  // api.ts
202
+ var CycleConfigConfigTypeEnum = /* @__PURE__ */ ((CycleConfigConfigTypeEnum2) => {
203
+ CycleConfigConfigTypeEnum2["Filters"] = "filters";
204
+ CycleConfigConfigTypeEnum2["Recipients"] = "recipients";
205
+ return CycleConfigConfigTypeEnum2;
206
+ })(CycleConfigConfigTypeEnum || {});
200
207
  var FilterCycleFrequencyEnum = /* @__PURE__ */ ((FilterCycleFrequencyEnum2) => {
201
208
  FilterCycleFrequencyEnum2["Monthly"] = "Monthly";
202
209
  FilterCycleFrequencyEnum2["OnceNow"] = "Once - now";
@@ -214,6 +221,11 @@ var FilterCycleEmailEnum = /* @__PURE__ */ ((FilterCycleEmailEnum2) => {
214
221
  FilterCycleEmailEnum2["Csv"] = "csv";
215
222
  return FilterCycleEmailEnum2;
216
223
  })(FilterCycleEmailEnum || {});
224
+ var ReportTypeEnum = /* @__PURE__ */ ((ReportTypeEnum2) => {
225
+ ReportTypeEnum2["PixelPerfect"] = "pixel-perfect";
226
+ ReportTypeEnum2["Excel"] = "excel";
227
+ return ReportTypeEnum2;
228
+ })(ReportTypeEnum || {});
217
229
  var ReportTaskFrequencyEnum = /* @__PURE__ */ ((ReportTaskFrequencyEnum2) => {
218
230
  ReportTaskFrequencyEnum2["Monthly"] = "Monthly";
219
231
  ReportTaskFrequencyEnum2["OnceNow"] = "Once - now";
@@ -301,6 +313,35 @@ var BaseTemplatesApiAxiosParamCreator = function(configuration) {
301
313
  options: localVarRequestOptions
302
314
  };
303
315
  },
316
+ /**
317
+ *
318
+ * @summary Get base template thumbnail
319
+ * @param {string} id
320
+ * @param {*} [options] Override http request option.
321
+ * @throws {RequiredError}
322
+ */
323
+ getBaseTemplateThumbnail: async (id, options = {}) => {
324
+ assertParamExists("getBaseTemplateThumbnail", "id", id);
325
+ const localVarPath = `/base-templates/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
326
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
327
+ let baseOptions;
328
+ if (configuration) {
329
+ baseOptions = configuration.baseOptions;
330
+ }
331
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
332
+ const localVarHeaderParameter = {};
333
+ const localVarQueryParameter = {};
334
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
335
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
336
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
337
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
338
+ let formHeaders = {};
339
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
340
+ return {
341
+ url: toPathString(localVarUrlObj),
342
+ options: localVarRequestOptions
343
+ };
344
+ },
304
345
  /**
305
346
  *
306
347
  * @summary List base templates
@@ -352,6 +393,17 @@ var BaseTemplatesApiFp = function(configuration) {
352
393
  const localVarAxiosArgs = await localVarAxiosParamCreator.duplicateBaseTemplate(id, options);
353
394
  return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
354
395
  },
396
+ /**
397
+ *
398
+ * @summary Get base template thumbnail
399
+ * @param {string} id
400
+ * @param {*} [options] Override http request option.
401
+ * @throws {RequiredError}
402
+ */
403
+ async getBaseTemplateThumbnail(id, options) {
404
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBaseTemplateThumbnail(id, options);
405
+ return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
406
+ },
355
407
  /**
356
408
  *
357
409
  * @summary List base templates
@@ -379,6 +431,16 @@ var BaseTemplatesApiFactory = function(configuration, basePath, axios2) {
379
431
  duplicateBaseTemplate(id, options) {
380
432
  return localVarFp.duplicateBaseTemplate(id, options).then((request) => request(axios2, basePath));
381
433
  },
434
+ /**
435
+ *
436
+ * @summary Get base template thumbnail
437
+ * @param {string} id
438
+ * @param {*} [options] Override http request option.
439
+ * @throws {RequiredError}
440
+ */
441
+ getBaseTemplateThumbnail(id, options) {
442
+ return localVarFp.getBaseTemplateThumbnail(id, options).then((request) => request(axios2, basePath));
443
+ },
382
444
  /**
383
445
  *
384
446
  * @summary List base templates
@@ -404,6 +466,17 @@ var BaseTemplatesApi = class extends BaseAPI {
404
466
  duplicateBaseTemplate(id, options) {
405
467
  return BaseTemplatesApiFp(this.configuration).duplicateBaseTemplate(id, options).then((request) => request(this.axios, this.basePath));
406
468
  }
469
+ /**
470
+ *
471
+ * @summary Get base template thumbnail
472
+ * @param {string} id
473
+ * @param {*} [options] Override http request option.
474
+ * @throws {RequiredError}
475
+ * @memberof BaseTemplatesApi
476
+ */
477
+ getBaseTemplateThumbnail(id, options) {
478
+ return BaseTemplatesApiFp(this.configuration).getBaseTemplateThumbnail(id, options).then((request) => request(this.axios, this.basePath));
479
+ }
407
480
  /**
408
481
  *
409
482
  * @summary List base templates
@@ -422,16 +495,49 @@ var DocumentsApiAxiosParamCreator = function(configuration) {
422
495
  /**
423
496
  *
424
497
  * @summary Retrieve a generated document
425
- * @param {string} fileName
498
+ * @param {string} id
426
499
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
427
500
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
428
501
  * @param {*} [options] Override http request option.
429
502
  * @throws {RequiredError}
430
503
  */
431
- getDocument: async (fileName, fileType, attachmentName, options = {}) => {
432
- assertParamExists("getDocument", "fileName", fileName);
504
+ getDocument: async (id, fileType, attachmentName, options = {}) => {
505
+ assertParamExists("getDocument", "id", id);
433
506
  assertParamExists("getDocument", "fileType", fileType);
434
- const localVarPath = `/documents/{fileType}/{fileName}`.replace(`{${"fileName"}}`, encodeURIComponent(String(fileName))).replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
507
+ const localVarPath = `/documents/{fileType}/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id))).replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
508
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
509
+ let baseOptions;
510
+ if (configuration) {
511
+ baseOptions = configuration.baseOptions;
512
+ }
513
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
514
+ const localVarHeaderParameter = {};
515
+ const localVarQueryParameter = {};
516
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
517
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
518
+ if (attachmentName !== void 0) {
519
+ localVarQueryParameter["attachmentName"] = attachmentName;
520
+ }
521
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
522
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
523
+ let formHeaders = {};
524
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
525
+ return {
526
+ url: toPathString(localVarUrlObj),
527
+ options: localVarRequestOptions
528
+ };
529
+ },
530
+ /**
531
+ *
532
+ * @summary Retrieve a generated document
533
+ * @param {string} id
534
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
535
+ * @param {*} [options] Override http request option.
536
+ * @throws {RequiredError}
537
+ */
538
+ getDocumentById: async (id, attachmentName, options = {}) => {
539
+ assertParamExists("getDocumentById", "id", id);
540
+ const localVarPath = `/documents/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
435
541
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
436
542
  let baseOptions;
437
543
  if (configuration) {
@@ -462,14 +568,26 @@ var DocumentsApiFp = function(configuration) {
462
568
  /**
463
569
  *
464
570
  * @summary Retrieve a generated document
465
- * @param {string} fileName
571
+ * @param {string} id
466
572
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
467
573
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
468
574
  * @param {*} [options] Override http request option.
469
575
  * @throws {RequiredError}
470
576
  */
471
- async getDocument(fileName, fileType, attachmentName, options) {
472
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDocument(fileName, fileType, attachmentName, options);
577
+ async getDocument(id, fileType, attachmentName, options) {
578
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDocument(id, fileType, attachmentName, options);
579
+ return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
580
+ },
581
+ /**
582
+ *
583
+ * @summary Retrieve a generated document
584
+ * @param {string} id
585
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
586
+ * @param {*} [options] Override http request option.
587
+ * @throws {RequiredError}
588
+ */
589
+ async getDocumentById(id, attachmentName, options) {
590
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDocumentById(id, attachmentName, options);
473
591
  return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
474
592
  }
475
593
  };
@@ -480,14 +598,25 @@ var DocumentsApiFactory = function(configuration, basePath, axios2) {
480
598
  /**
481
599
  *
482
600
  * @summary Retrieve a generated document
483
- * @param {string} fileName
601
+ * @param {string} id
484
602
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
485
603
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
486
604
  * @param {*} [options] Override http request option.
487
605
  * @throws {RequiredError}
488
606
  */
489
- getDocument(fileName, fileType, attachmentName, options) {
490
- return localVarFp.getDocument(fileName, fileType, attachmentName, options).then((request) => request(axios2, basePath));
607
+ getDocument(id, fileType, attachmentName, options) {
608
+ return localVarFp.getDocument(id, fileType, attachmentName, options).then((request) => request(axios2, basePath));
609
+ },
610
+ /**
611
+ *
612
+ * @summary Retrieve a generated document
613
+ * @param {string} id
614
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
615
+ * @param {*} [options] Override http request option.
616
+ * @throws {RequiredError}
617
+ */
618
+ getDocumentById(id, attachmentName, options) {
619
+ return localVarFp.getDocumentById(id, attachmentName, options).then((request) => request(axios2, basePath));
491
620
  }
492
621
  };
493
622
  };
@@ -495,15 +624,27 @@ var DocumentsApi = class extends BaseAPI {
495
624
  /**
496
625
  *
497
626
  * @summary Retrieve a generated document
498
- * @param {string} fileName
627
+ * @param {string} id
499
628
  * @param {'pdf' | 'pptx' | 'xlsx' | 'csv'} fileType
500
629
  * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
501
630
  * @param {*} [options] Override http request option.
502
631
  * @throws {RequiredError}
503
632
  * @memberof DocumentsApi
504
633
  */
505
- getDocument(fileName, fileType, attachmentName, options) {
506
- return DocumentsApiFp(this.configuration).getDocument(fileName, fileType, attachmentName, options).then((request) => request(this.axios, this.basePath));
634
+ getDocument(id, fileType, attachmentName, options) {
635
+ return DocumentsApiFp(this.configuration).getDocument(id, fileType, attachmentName, options).then((request) => request(this.axios, this.basePath));
636
+ }
637
+ /**
638
+ *
639
+ * @summary Retrieve a generated document
640
+ * @param {string} id
641
+ * @param {string} [attachmentName] A document file title. This value is reflected back to the client in the fileName header.
642
+ * @param {*} [options] Override http request option.
643
+ * @throws {RequiredError}
644
+ * @memberof DocumentsApi
645
+ */
646
+ getDocumentById(id, attachmentName, options) {
647
+ return DocumentsApiFp(this.configuration).getDocumentById(id, attachmentName, options).then((request) => request(this.axios, this.basePath));
507
648
  }
508
649
  };
509
650
  var FilterCyclesApiAxiosParamCreator = function(configuration) {
@@ -966,13 +1107,13 @@ var ImagesApiAxiosParamCreator = function(configuration) {
966
1107
  /**
967
1108
  *
968
1109
  * @summary Retrieves a user uploaded image for use in a template
969
- * @param {string} title
1110
+ * @param {string} id
970
1111
  * @param {*} [options] Override http request option.
971
1112
  * @throws {RequiredError}
972
1113
  */
973
- getImage: async (title, options = {}) => {
974
- assertParamExists("getImage", "title", title);
975
- const localVarPath = `/images/{title}`.replace(`{${"title"}}`, encodeURIComponent(String(title)));
1114
+ getImage: async (id, options = {}) => {
1115
+ assertParamExists("getImage", "id", id);
1116
+ const localVarPath = `/images/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
976
1117
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
977
1118
  let baseOptions;
978
1119
  if (configuration) {
@@ -1037,12 +1178,12 @@ var ImagesApiFp = function(configuration) {
1037
1178
  /**
1038
1179
  *
1039
1180
  * @summary Retrieves a user uploaded image for use in a template
1040
- * @param {string} title
1181
+ * @param {string} id
1041
1182
  * @param {*} [options] Override http request option.
1042
1183
  * @throws {RequiredError}
1043
1184
  */
1044
- async getImage(title, options) {
1045
- const localVarAxiosArgs = await localVarAxiosParamCreator.getImage(title, options);
1185
+ async getImage(id, options) {
1186
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getImage(id, options);
1046
1187
  return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
1047
1188
  },
1048
1189
  /**
@@ -1064,12 +1205,12 @@ var ImagesApiFactory = function(configuration, basePath, axios2) {
1064
1205
  /**
1065
1206
  *
1066
1207
  * @summary Retrieves a user uploaded image for use in a template
1067
- * @param {string} title
1208
+ * @param {string} id
1068
1209
  * @param {*} [options] Override http request option.
1069
1210
  * @throws {RequiredError}
1070
1211
  */
1071
- getImage(title, options) {
1072
- return localVarFp.getImage(title, options).then((request) => request(axios2, basePath));
1212
+ getImage(id, options) {
1213
+ return localVarFp.getImage(id, options).then((request) => request(axios2, basePath));
1073
1214
  },
1074
1215
  /**
1075
1216
  * Uploads an image to the server for use in templates
@@ -1087,13 +1228,13 @@ var ImagesApi = class extends BaseAPI {
1087
1228
  /**
1088
1229
  *
1089
1230
  * @summary Retrieves a user uploaded image for use in a template
1090
- * @param {string} title
1231
+ * @param {string} id
1091
1232
  * @param {*} [options] Override http request option.
1092
1233
  * @throws {RequiredError}
1093
1234
  * @memberof ImagesApi
1094
1235
  */
1095
- getImage(title, options) {
1096
- return ImagesApiFp(this.configuration).getImage(title, options).then((request) => request(this.axios, this.basePath));
1236
+ getImage(id, options) {
1237
+ return ImagesApiFp(this.configuration).getImage(id, options).then((request) => request(this.axios, this.basePath));
1097
1238
  }
1098
1239
  /**
1099
1240
  * Uploads an image to the server for use in templates
@@ -1686,6 +1827,35 @@ var ReportsApiAxiosParamCreator = function(configuration) {
1686
1827
  options: localVarRequestOptions
1687
1828
  };
1688
1829
  },
1830
+ /**
1831
+ *
1832
+ * @summary Get report thumbnail
1833
+ * @param {string} id
1834
+ * @param {*} [options] Override http request option.
1835
+ * @throws {RequiredError}
1836
+ */
1837
+ getReportThumbnail: async (id, options = {}) => {
1838
+ assertParamExists("getReportThumbnail", "id", id);
1839
+ const localVarPath = `/reports/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
1840
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1841
+ let baseOptions;
1842
+ if (configuration) {
1843
+ baseOptions = configuration.baseOptions;
1844
+ }
1845
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1846
+ const localVarHeaderParameter = {};
1847
+ const localVarQueryParameter = {};
1848
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
1849
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1850
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
1851
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1852
+ let formHeaders = {};
1853
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
1854
+ return {
1855
+ url: toPathString(localVarUrlObj),
1856
+ options: localVarRequestOptions
1857
+ };
1858
+ },
1689
1859
  /**
1690
1860
  *
1691
1861
  * @summary List reports
@@ -1798,6 +1968,17 @@ var ReportsApiFp = function(configuration) {
1798
1968
  const localVarAxiosArgs = await localVarAxiosParamCreator.getReport(id, options);
1799
1969
  return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
1800
1970
  },
1971
+ /**
1972
+ *
1973
+ * @summary Get report thumbnail
1974
+ * @param {string} id
1975
+ * @param {*} [options] Override http request option.
1976
+ * @throws {RequiredError}
1977
+ */
1978
+ async getReportThumbnail(id, options) {
1979
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReportThumbnail(id, options);
1980
+ return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
1981
+ },
1801
1982
  /**
1802
1983
  *
1803
1984
  * @summary List reports
@@ -1851,6 +2032,16 @@ var ReportsApiFactory = function(configuration, basePath, axios2) {
1851
2032
  getReport(id, options) {
1852
2033
  return localVarFp.getReport(id, options).then((request) => request(axios2, basePath));
1853
2034
  },
2035
+ /**
2036
+ *
2037
+ * @summary Get report thumbnail
2038
+ * @param {string} id
2039
+ * @param {*} [options] Override http request option.
2040
+ * @throws {RequiredError}
2041
+ */
2042
+ getReportThumbnail(id, options) {
2043
+ return localVarFp.getReportThumbnail(id, options).then((request) => request(axios2, basePath));
2044
+ },
1854
2045
  /**
1855
2046
  *
1856
2047
  * @summary List reports
@@ -1902,6 +2093,17 @@ var ReportsApi = class extends BaseAPI {
1902
2093
  getReport(id, options) {
1903
2094
  return ReportsApiFp(this.configuration).getReport(id, options).then((request) => request(this.axios, this.basePath));
1904
2095
  }
2096
+ /**
2097
+ *
2098
+ * @summary Get report thumbnail
2099
+ * @param {string} id
2100
+ * @param {*} [options] Override http request option.
2101
+ * @throws {RequiredError}
2102
+ * @memberof ReportsApi
2103
+ */
2104
+ getReportThumbnail(id, options) {
2105
+ return ReportsApiFp(this.configuration).getReportThumbnail(id, options).then((request) => request(this.axios, this.basePath));
2106
+ }
1905
2107
  /**
1906
2108
  *
1907
2109
  * @summary List reports
@@ -2080,6 +2282,35 @@ var TemplatesApiAxiosParamCreator = function(configuration) {
2080
2282
  options: localVarRequestOptions
2081
2283
  };
2082
2284
  },
2285
+ /**
2286
+ *
2287
+ * @summary Get template thumbnail
2288
+ * @param {string} id
2289
+ * @param {*} [options] Override http request option.
2290
+ * @throws {RequiredError}
2291
+ */
2292
+ getTemplateThumbnail: async (id, options = {}) => {
2293
+ assertParamExists("getTemplateThumbnail", "id", id);
2294
+ const localVarPath = `/templates/{id}/thumbnail`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
2295
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2296
+ let baseOptions;
2297
+ if (configuration) {
2298
+ baseOptions = configuration.baseOptions;
2299
+ }
2300
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2301
+ const localVarHeaderParameter = {};
2302
+ const localVarQueryParameter = {};
2303
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration);
2304
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2305
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
2306
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2307
+ let formHeaders = {};
2308
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers };
2309
+ return {
2310
+ url: toPathString(localVarUrlObj),
2311
+ options: localVarRequestOptions
2312
+ };
2313
+ },
2083
2314
  /**
2084
2315
  *
2085
2316
  * @summary List report templates
@@ -2275,6 +2506,17 @@ var TemplatesApiFp = function(configuration) {
2275
2506
  const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplate(id, options);
2276
2507
  return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
2277
2508
  },
2509
+ /**
2510
+ *
2511
+ * @summary Get template thumbnail
2512
+ * @param {string} id
2513
+ * @param {*} [options] Override http request option.
2514
+ * @throws {RequiredError}
2515
+ */
2516
+ async getTemplateThumbnail(id, options) {
2517
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplateThumbnail(id, options);
2518
+ return createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration);
2519
+ },
2278
2520
  /**
2279
2521
  *
2280
2522
  * @summary List report templates
@@ -2376,6 +2618,16 @@ var TemplatesApiFactory = function(configuration, basePath, axios2) {
2376
2618
  getTemplate(id, options) {
2377
2619
  return localVarFp.getTemplate(id, options).then((request) => request(axios2, basePath));
2378
2620
  },
2621
+ /**
2622
+ *
2623
+ * @summary Get template thumbnail
2624
+ * @param {string} id
2625
+ * @param {*} [options] Override http request option.
2626
+ * @throws {RequiredError}
2627
+ */
2628
+ getTemplateThumbnail(id, options) {
2629
+ return localVarFp.getTemplateThumbnail(id, options).then((request) => request(axios2, basePath));
2630
+ },
2379
2631
  /**
2380
2632
  *
2381
2633
  * @summary List report templates
@@ -2476,6 +2728,17 @@ var TemplatesApi = class extends BaseAPI {
2476
2728
  getTemplate(id, options) {
2477
2729
  return TemplatesApiFp(this.configuration).getTemplate(id, options).then((request) => request(this.axios, this.basePath));
2478
2730
  }
2731
+ /**
2732
+ *
2733
+ * @summary Get template thumbnail
2734
+ * @param {string} id
2735
+ * @param {*} [options] Override http request option.
2736
+ * @throws {RequiredError}
2737
+ * @memberof TemplatesApi
2738
+ */
2739
+ getTemplateThumbnail(id, options) {
2740
+ return TemplatesApiFp(this.configuration).getTemplateThumbnail(id, options).then((request) => request(this.axios, this.basePath));
2741
+ }
2479
2742
  /**
2480
2743
  *
2481
2744
  * @summary List report templates
@@ -2870,6 +3133,7 @@ globalThis.ConnectReport = ConnectReport;
2870
3133
  BaseTemplatesApiFactory,
2871
3134
  BaseTemplatesApiFp,
2872
3135
  ConnectReport,
3136
+ CycleConfigConfigTypeEnum,
2873
3137
  DocumentsApi,
2874
3138
  DocumentsApiAxiosParamCreator,
2875
3139
  DocumentsApiFactory,
@@ -2898,6 +3162,7 @@ globalThis.ConnectReport = ConnectReport;
2898
3162
  ReportTasksApiAxiosParamCreator,
2899
3163
  ReportTasksApiFactory,
2900
3164
  ReportTasksApiFp,
3165
+ ReportTypeEnum,
2901
3166
  ReportsApi,
2902
3167
  ReportsApiAxiosParamCreator,
2903
3168
  ReportsApiFactory,