@connectreport/connectreport-js 2.55.1 → 2.71.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/api.ts +462 -23
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +180 -17
- package/dist/api.js +685 -48
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/api.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.
|
|
7
|
+
* The version of the OpenAPI document: 2.71.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -147,6 +147,12 @@ export interface FilterCycle {
|
|
|
147
147
|
* @memberof FilterCycle
|
|
148
148
|
*/
|
|
149
149
|
tags?: Array<ReportTaskTags>;
|
|
150
|
+
/**
|
|
151
|
+
* The trigger name for the report task. Used to execute tasks on a trigger
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof FilterCycle
|
|
154
|
+
*/
|
|
155
|
+
trigger?: string;
|
|
150
156
|
/**
|
|
151
157
|
*
|
|
152
158
|
* @type {FilterCycleAllOfFieldInfo}
|
|
@@ -186,10 +192,11 @@ export interface FilterCycle {
|
|
|
186
192
|
export enum FilterCycleFrequencyEnum {
|
|
187
193
|
Monthly = 'Monthly',
|
|
188
194
|
OnceNow = 'Once - now',
|
|
189
|
-
OnceScheduled = 'Once -
|
|
195
|
+
OnceScheduled = 'Once - scheduled',
|
|
190
196
|
Annually = 'Annually',
|
|
191
197
|
Daily = 'Daily',
|
|
192
|
-
Weekly = 'Weekly'
|
|
198
|
+
Weekly = 'Weekly',
|
|
199
|
+
UponTrigger = 'Upon trigger'
|
|
193
200
|
}
|
|
194
201
|
/**
|
|
195
202
|
* @export
|
|
@@ -358,6 +365,12 @@ export interface InlineResponse2003 {
|
|
|
358
365
|
* @memberof InlineResponse2003
|
|
359
366
|
*/
|
|
360
367
|
totalPages?: number;
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @type {number}
|
|
371
|
+
* @memberof InlineResponse2003
|
|
372
|
+
*/
|
|
373
|
+
totalItems?: number;
|
|
361
374
|
}
|
|
362
375
|
/**
|
|
363
376
|
*
|
|
@@ -525,6 +538,12 @@ export interface Report {
|
|
|
525
538
|
* @memberof Report
|
|
526
539
|
*/
|
|
527
540
|
thumbnailPath?: string;
|
|
541
|
+
/**
|
|
542
|
+
* The size in bytes of the report HTML contents
|
|
543
|
+
* @type {number}
|
|
544
|
+
* @memberof Report
|
|
545
|
+
*/
|
|
546
|
+
sizeBytes?: number;
|
|
528
547
|
}
|
|
529
548
|
/**
|
|
530
549
|
*
|
|
@@ -652,6 +671,12 @@ export interface ReportTask {
|
|
|
652
671
|
* @memberof ReportTask
|
|
653
672
|
*/
|
|
654
673
|
tags?: Array<ReportTaskTags>;
|
|
674
|
+
/**
|
|
675
|
+
* The trigger name for the report task. Used to execute tasks on a trigger
|
|
676
|
+
* @type {string}
|
|
677
|
+
* @memberof ReportTask
|
|
678
|
+
*/
|
|
679
|
+
trigger?: string;
|
|
655
680
|
}
|
|
656
681
|
|
|
657
682
|
/**
|
|
@@ -661,10 +686,11 @@ export interface ReportTask {
|
|
|
661
686
|
export enum ReportTaskFrequencyEnum {
|
|
662
687
|
Monthly = 'Monthly',
|
|
663
688
|
OnceNow = 'Once - now',
|
|
664
|
-
OnceScheduled = 'Once -
|
|
689
|
+
OnceScheduled = 'Once - scheduled',
|
|
665
690
|
Annually = 'Annually',
|
|
666
691
|
Daily = 'Daily',
|
|
667
|
-
Weekly = 'Weekly'
|
|
692
|
+
Weekly = 'Weekly',
|
|
693
|
+
UponTrigger = 'Upon trigger'
|
|
668
694
|
}
|
|
669
695
|
/**
|
|
670
696
|
* @export
|
|
@@ -879,6 +905,12 @@ export interface ReportTaskRequest {
|
|
|
879
905
|
* @memberof ReportTaskRequest
|
|
880
906
|
*/
|
|
881
907
|
tags?: Array<ReportTaskTags>;
|
|
908
|
+
/**
|
|
909
|
+
* The trigger name for the report task. Used to execute tasks on a trigger
|
|
910
|
+
* @type {string}
|
|
911
|
+
* @memberof ReportTaskRequest
|
|
912
|
+
*/
|
|
913
|
+
trigger?: string;
|
|
882
914
|
/**
|
|
883
915
|
* Emails to send the report to. This is only allowed if \"Allow reports to be shared with any email\" is to true.
|
|
884
916
|
* @type {Array<string>}
|
|
@@ -906,10 +938,11 @@ export interface ReportTaskRequest {
|
|
|
906
938
|
export enum ReportTaskRequestFrequencyEnum {
|
|
907
939
|
Monthly = 'Monthly',
|
|
908
940
|
OnceNow = 'Once - now',
|
|
909
|
-
OnceScheduled = 'Once -
|
|
941
|
+
OnceScheduled = 'Once - scheduled',
|
|
910
942
|
Annually = 'Annually',
|
|
911
943
|
Daily = 'Daily',
|
|
912
|
-
Weekly = 'Weekly'
|
|
944
|
+
Weekly = 'Weekly',
|
|
945
|
+
UponTrigger = 'Upon trigger'
|
|
913
946
|
}
|
|
914
947
|
/**
|
|
915
948
|
* @export
|
|
@@ -1086,6 +1119,12 @@ export interface ReportTaskResponse {
|
|
|
1086
1119
|
* @memberof ReportTaskResponse
|
|
1087
1120
|
*/
|
|
1088
1121
|
tags?: Array<ReportTaskTags>;
|
|
1122
|
+
/**
|
|
1123
|
+
* The trigger name for the report task. Used to execute tasks on a trigger
|
|
1124
|
+
* @type {string}
|
|
1125
|
+
* @memberof ReportTaskResponse
|
|
1126
|
+
*/
|
|
1127
|
+
trigger?: string;
|
|
1089
1128
|
/**
|
|
1090
1129
|
* Users to share the published report with. This field will be updated entirely if provided
|
|
1091
1130
|
* @type {Array<ReportTaskResponseAllOfUsersToShareWith>}
|
|
@@ -1101,10 +1140,11 @@ export interface ReportTaskResponse {
|
|
|
1101
1140
|
export enum ReportTaskResponseFrequencyEnum {
|
|
1102
1141
|
Monthly = 'Monthly',
|
|
1103
1142
|
OnceNow = 'Once - now',
|
|
1104
|
-
OnceScheduled = 'Once -
|
|
1143
|
+
OnceScheduled = 'Once - scheduled',
|
|
1105
1144
|
Annually = 'Annually',
|
|
1106
1145
|
Daily = 'Daily',
|
|
1107
|
-
Weekly = 'Weekly'
|
|
1146
|
+
Weekly = 'Weekly',
|
|
1147
|
+
UponTrigger = 'Upon trigger'
|
|
1108
1148
|
}
|
|
1109
1149
|
/**
|
|
1110
1150
|
* @export
|
|
@@ -1324,6 +1364,10 @@ export const BaseTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
1324
1364
|
// authentication ApiKeyAuth required
|
|
1325
1365
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1326
1366
|
|
|
1367
|
+
// authentication BearerAuth required
|
|
1368
|
+
// http bearer authentication required
|
|
1369
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1370
|
+
|
|
1327
1371
|
// authentication CookieAuth required
|
|
1328
1372
|
|
|
1329
1373
|
|
|
@@ -1362,6 +1406,10 @@ export const BaseTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
1362
1406
|
// authentication ApiKeyAuth required
|
|
1363
1407
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1364
1408
|
|
|
1409
|
+
// authentication BearerAuth required
|
|
1410
|
+
// http bearer authentication required
|
|
1411
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1412
|
+
|
|
1365
1413
|
// authentication CookieAuth required
|
|
1366
1414
|
|
|
1367
1415
|
if (pageNum !== undefined) {
|
|
@@ -1522,6 +1570,10 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1522
1570
|
// authentication ApiKeyAuth required
|
|
1523
1571
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1524
1572
|
|
|
1573
|
+
// authentication BearerAuth required
|
|
1574
|
+
// http bearer authentication required
|
|
1575
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1576
|
+
|
|
1525
1577
|
// authentication CookieAuth required
|
|
1526
1578
|
|
|
1527
1579
|
if (attachmentName !== undefined) {
|
|
@@ -1642,6 +1694,10 @@ export const FilterCyclesApiAxiosParamCreator = function (configuration?: Config
|
|
|
1642
1694
|
// authentication ApiKeyAuth required
|
|
1643
1695
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1644
1696
|
|
|
1697
|
+
// authentication BearerAuth required
|
|
1698
|
+
// http bearer authentication required
|
|
1699
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1700
|
+
|
|
1645
1701
|
// authentication CookieAuth required
|
|
1646
1702
|
|
|
1647
1703
|
|
|
@@ -1685,6 +1741,98 @@ export const FilterCyclesApiAxiosParamCreator = function (configuration?: Config
|
|
|
1685
1741
|
// authentication ApiKeyAuth required
|
|
1686
1742
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1687
1743
|
|
|
1744
|
+
// authentication BearerAuth required
|
|
1745
|
+
// http bearer authentication required
|
|
1746
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1747
|
+
|
|
1748
|
+
// authentication CookieAuth required
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
|
|
1752
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1754
|
+
let formHeaders = {};
|
|
1755
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers};
|
|
1756
|
+
|
|
1757
|
+
return {
|
|
1758
|
+
url: toPathString(localVarUrlObj),
|
|
1759
|
+
options: localVarRequestOptions,
|
|
1760
|
+
};
|
|
1761
|
+
},
|
|
1762
|
+
/**
|
|
1763
|
+
*
|
|
1764
|
+
* @summary Disable all report tasks in a cycle
|
|
1765
|
+
* @param {string} id
|
|
1766
|
+
* @param {*} [options] Override http request option.
|
|
1767
|
+
* @throws {RequiredError}
|
|
1768
|
+
*/
|
|
1769
|
+
disableAllInCycle: async (id: string, options: any = {}): Promise<RequestArgs> => {
|
|
1770
|
+
// verify required parameter 'id' is not null or undefined
|
|
1771
|
+
assertParamExists('disableAllInCycle', 'id', id)
|
|
1772
|
+
const localVarPath = `/filter-cycles/{Id}/disable`
|
|
1773
|
+
.replace(`{${"Id"}}`, encodeURIComponent(String(id)));
|
|
1774
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1775
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1776
|
+
let baseOptions;
|
|
1777
|
+
if (configuration) {
|
|
1778
|
+
baseOptions = configuration.baseOptions;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1782
|
+
const localVarHeaderParameter = {} as any;
|
|
1783
|
+
const localVarQueryParameter = {} as any;
|
|
1784
|
+
|
|
1785
|
+
// authentication ApiKeyAuth required
|
|
1786
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1787
|
+
|
|
1788
|
+
// authentication BearerAuth required
|
|
1789
|
+
// http bearer authentication required
|
|
1790
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1791
|
+
|
|
1792
|
+
// authentication CookieAuth required
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1797
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1798
|
+
let formHeaders = {};
|
|
1799
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers};
|
|
1800
|
+
|
|
1801
|
+
return {
|
|
1802
|
+
url: toPathString(localVarUrlObj),
|
|
1803
|
+
options: localVarRequestOptions,
|
|
1804
|
+
};
|
|
1805
|
+
},
|
|
1806
|
+
/**
|
|
1807
|
+
*
|
|
1808
|
+
* @summary Enable all report tasks in a cycle
|
|
1809
|
+
* @param {string} id
|
|
1810
|
+
* @param {*} [options] Override http request option.
|
|
1811
|
+
* @throws {RequiredError}
|
|
1812
|
+
*/
|
|
1813
|
+
enableAllInCycle: async (id: string, options: any = {}): Promise<RequestArgs> => {
|
|
1814
|
+
// verify required parameter 'id' is not null or undefined
|
|
1815
|
+
assertParamExists('enableAllInCycle', 'id', id)
|
|
1816
|
+
const localVarPath = `/filter-cycles/{Id}/enable`
|
|
1817
|
+
.replace(`{${"Id"}}`, encodeURIComponent(String(id)));
|
|
1818
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1819
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1820
|
+
let baseOptions;
|
|
1821
|
+
if (configuration) {
|
|
1822
|
+
baseOptions = configuration.baseOptions;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1826
|
+
const localVarHeaderParameter = {} as any;
|
|
1827
|
+
const localVarQueryParameter = {} as any;
|
|
1828
|
+
|
|
1829
|
+
// authentication ApiKeyAuth required
|
|
1830
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1831
|
+
|
|
1832
|
+
// authentication BearerAuth required
|
|
1833
|
+
// http bearer authentication required
|
|
1834
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1835
|
+
|
|
1688
1836
|
// authentication CookieAuth required
|
|
1689
1837
|
|
|
1690
1838
|
|
|
@@ -1725,6 +1873,10 @@ export const FilterCyclesApiAxiosParamCreator = function (configuration?: Config
|
|
|
1725
1873
|
// authentication ApiKeyAuth required
|
|
1726
1874
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1727
1875
|
|
|
1876
|
+
// authentication BearerAuth required
|
|
1877
|
+
// http bearer authentication required
|
|
1878
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1879
|
+
|
|
1728
1880
|
// authentication CookieAuth required
|
|
1729
1881
|
|
|
1730
1882
|
|
|
@@ -1764,6 +1916,10 @@ export const FilterCyclesApiAxiosParamCreator = function (configuration?: Config
|
|
|
1764
1916
|
// authentication ApiKeyAuth required
|
|
1765
1917
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1766
1918
|
|
|
1919
|
+
// authentication BearerAuth required
|
|
1920
|
+
// http bearer authentication required
|
|
1921
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1922
|
+
|
|
1767
1923
|
// authentication CookieAuth required
|
|
1768
1924
|
|
|
1769
1925
|
if (templateId !== undefined) {
|
|
@@ -1811,6 +1967,10 @@ export const FilterCyclesApiAxiosParamCreator = function (configuration?: Config
|
|
|
1811
1967
|
// authentication ApiKeyAuth required
|
|
1812
1968
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1813
1969
|
|
|
1970
|
+
// authentication BearerAuth required
|
|
1971
|
+
// http bearer authentication required
|
|
1972
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1973
|
+
|
|
1814
1974
|
// authentication CookieAuth required
|
|
1815
1975
|
|
|
1816
1976
|
|
|
@@ -1860,6 +2020,28 @@ export const FilterCyclesApiFp = function(configuration?: Configuration) {
|
|
|
1860
2020
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFilterCycle(id, options);
|
|
1861
2021
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1862
2022
|
},
|
|
2023
|
+
/**
|
|
2024
|
+
*
|
|
2025
|
+
* @summary Disable all report tasks in a cycle
|
|
2026
|
+
* @param {string} id
|
|
2027
|
+
* @param {*} [options] Override http request option.
|
|
2028
|
+
* @throws {RequiredError}
|
|
2029
|
+
*/
|
|
2030
|
+
async disableAllInCycle(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2031
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableAllInCycle(id, options);
|
|
2032
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2033
|
+
},
|
|
2034
|
+
/**
|
|
2035
|
+
*
|
|
2036
|
+
* @summary Enable all report tasks in a cycle
|
|
2037
|
+
* @param {string} id
|
|
2038
|
+
* @param {*} [options] Override http request option.
|
|
2039
|
+
* @throws {RequiredError}
|
|
2040
|
+
*/
|
|
2041
|
+
async enableAllInCycle(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2042
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableAllInCycle(id, options);
|
|
2043
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2044
|
+
},
|
|
1863
2045
|
/**
|
|
1864
2046
|
*
|
|
1865
2047
|
* @summary Get a filter cycle
|
|
@@ -1924,6 +2106,26 @@ export const FilterCyclesApiFactory = function (configuration?: Configuration, b
|
|
|
1924
2106
|
deleteFilterCycle(id: string, options?: any): AxiosPromise<FilterCycle> {
|
|
1925
2107
|
return localVarFp.deleteFilterCycle(id, options).then((request) => request(axios, basePath));
|
|
1926
2108
|
},
|
|
2109
|
+
/**
|
|
2110
|
+
*
|
|
2111
|
+
* @summary Disable all report tasks in a cycle
|
|
2112
|
+
* @param {string} id
|
|
2113
|
+
* @param {*} [options] Override http request option.
|
|
2114
|
+
* @throws {RequiredError}
|
|
2115
|
+
*/
|
|
2116
|
+
disableAllInCycle(id: string, options?: any): AxiosPromise<void> {
|
|
2117
|
+
return localVarFp.disableAllInCycle(id, options).then((request) => request(axios, basePath));
|
|
2118
|
+
},
|
|
2119
|
+
/**
|
|
2120
|
+
*
|
|
2121
|
+
* @summary Enable all report tasks in a cycle
|
|
2122
|
+
* @param {string} id
|
|
2123
|
+
* @param {*} [options] Override http request option.
|
|
2124
|
+
* @throws {RequiredError}
|
|
2125
|
+
*/
|
|
2126
|
+
enableAllInCycle(id: string, options?: any): AxiosPromise<void> {
|
|
2127
|
+
return localVarFp.enableAllInCycle(id, options).then((request) => request(axios, basePath));
|
|
2128
|
+
},
|
|
1927
2129
|
/**
|
|
1928
2130
|
*
|
|
1929
2131
|
* @summary Get a filter cycle
|
|
@@ -1989,6 +2191,30 @@ export class FilterCyclesApi extends BaseAPI {
|
|
|
1989
2191
|
return FilterCyclesApiFp(this.configuration).deleteFilterCycle(id, options).then((request) => request(this.axios, this.basePath));
|
|
1990
2192
|
}
|
|
1991
2193
|
|
|
2194
|
+
/**
|
|
2195
|
+
*
|
|
2196
|
+
* @summary Disable all report tasks in a cycle
|
|
2197
|
+
* @param {string} id
|
|
2198
|
+
* @param {*} [options] Override http request option.
|
|
2199
|
+
* @throws {RequiredError}
|
|
2200
|
+
* @memberof FilterCyclesApi
|
|
2201
|
+
*/
|
|
2202
|
+
public disableAllInCycle(id: string, options?: any) {
|
|
2203
|
+
return FilterCyclesApiFp(this.configuration).disableAllInCycle(id, options).then((request) => request(this.axios, this.basePath));
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
/**
|
|
2207
|
+
*
|
|
2208
|
+
* @summary Enable all report tasks in a cycle
|
|
2209
|
+
* @param {string} id
|
|
2210
|
+
* @param {*} [options] Override http request option.
|
|
2211
|
+
* @throws {RequiredError}
|
|
2212
|
+
* @memberof FilterCyclesApi
|
|
2213
|
+
*/
|
|
2214
|
+
public enableAllInCycle(id: string, options?: any) {
|
|
2215
|
+
return FilterCyclesApiFp(this.configuration).enableAllInCycle(id, options).then((request) => request(this.axios, this.basePath));
|
|
2216
|
+
}
|
|
2217
|
+
|
|
1992
2218
|
/**
|
|
1993
2219
|
*
|
|
1994
2220
|
* @summary Get a filter cycle
|
|
@@ -2060,6 +2286,10 @@ export const ImagesApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2060
2286
|
// authentication ApiKeyAuth required
|
|
2061
2287
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2062
2288
|
|
|
2289
|
+
// authentication BearerAuth required
|
|
2290
|
+
// http bearer authentication required
|
|
2291
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2292
|
+
|
|
2063
2293
|
// authentication CookieAuth required
|
|
2064
2294
|
|
|
2065
2295
|
|
|
@@ -2098,6 +2328,10 @@ export const ImagesApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2098
2328
|
// authentication ApiKeyAuth required
|
|
2099
2329
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2100
2330
|
|
|
2331
|
+
// authentication BearerAuth required
|
|
2332
|
+
// http bearer authentication required
|
|
2333
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2334
|
+
|
|
2101
2335
|
// authentication CookieAuth required
|
|
2102
2336
|
|
|
2103
2337
|
|
|
@@ -2252,6 +2486,10 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2252
2486
|
// authentication ApiKeyAuth required
|
|
2253
2487
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2254
2488
|
|
|
2489
|
+
// authentication BearerAuth required
|
|
2490
|
+
// http bearer authentication required
|
|
2491
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2492
|
+
|
|
2255
2493
|
// authentication CookieAuth required
|
|
2256
2494
|
|
|
2257
2495
|
|
|
@@ -2362,6 +2600,10 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2362
2600
|
// authentication ApiKeyAuth required
|
|
2363
2601
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2364
2602
|
|
|
2603
|
+
// authentication BearerAuth required
|
|
2604
|
+
// http bearer authentication required
|
|
2605
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2606
|
+
|
|
2365
2607
|
// authentication CookieAuth required
|
|
2366
2608
|
|
|
2367
2609
|
|
|
@@ -2406,6 +2648,10 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2406
2648
|
// authentication ApiKeyAuth required
|
|
2407
2649
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2408
2650
|
|
|
2651
|
+
// authentication BearerAuth required
|
|
2652
|
+
// http bearer authentication required
|
|
2653
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2654
|
+
|
|
2409
2655
|
// authentication CookieAuth required
|
|
2410
2656
|
|
|
2411
2657
|
if (deleteAssociatedReports !== undefined) {
|
|
@@ -2450,6 +2696,10 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2450
2696
|
// authentication ApiKeyAuth required
|
|
2451
2697
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2452
2698
|
|
|
2699
|
+
// authentication BearerAuth required
|
|
2700
|
+
// http bearer authentication required
|
|
2701
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2702
|
+
|
|
2453
2703
|
// authentication CookieAuth required
|
|
2454
2704
|
|
|
2455
2705
|
|
|
@@ -2471,10 +2721,13 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2471
2721
|
* @param {{ [key: string]: string; }} [meta] When you list report tasks you can filter the list given one or metadata key/value pairs. Only items that contain all of the given metadata properties are returned.
|
|
2472
2722
|
* @param {string} [templateId]
|
|
2473
2723
|
* @param {number} [perPage]
|
|
2724
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
2725
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
2726
|
+
* @param {object} [filter] Filters for report tasks. JSON encoded object in the form of `{ field: string, query: string}`, or for date range fields (including \"startOn\" and \"endOn\"), `{ field: string, query: { start: Date, end: Date }}`. ### Examples: Filter on \"startOn\": ``` { \"field\": \"startOn\", \"query\": { \"start\": \"2020-01-01T00:00:00.000Z\", \"end\": \"2020-01-02T00:00:00.000Z\" } } ``` Filter on \"enabled\" ``` { \"field\": \"enabled\", \"query\": \"True\" } ``` Filter on \"frequency\": ``` { \"field\": \"frequency\", \"query\": \"Monthly\" } ```
|
|
2474
2727
|
* @param {*} [options] Override http request option.
|
|
2475
2728
|
* @throws {RequiredError}
|
|
2476
2729
|
*/
|
|
2477
|
-
getReportTasks: async (pageNum?: number, meta?: { [key: string]: string; }, templateId?: string, perPage?: number, options: any = {}): Promise<RequestArgs> => {
|
|
2730
|
+
getReportTasks: async (pageNum?: number, meta?: { [key: string]: string; }, templateId?: string, perPage?: number, orderBy?: 'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId', order?: 'asc' | 'desc', filter?: object, options: any = {}): Promise<RequestArgs> => {
|
|
2478
2731
|
const localVarPath = `/report-tasks`;
|
|
2479
2732
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2480
2733
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2490,6 +2743,10 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2490
2743
|
// authentication ApiKeyAuth required
|
|
2491
2744
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2492
2745
|
|
|
2746
|
+
// authentication BearerAuth required
|
|
2747
|
+
// http bearer authentication required
|
|
2748
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2749
|
+
|
|
2493
2750
|
// authentication CookieAuth required
|
|
2494
2751
|
|
|
2495
2752
|
if (pageNum !== undefined) {
|
|
@@ -2508,6 +2765,62 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2508
2765
|
localVarQueryParameter['perPage'] = perPage;
|
|
2509
2766
|
}
|
|
2510
2767
|
|
|
2768
|
+
if (orderBy !== undefined) {
|
|
2769
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
if (order !== undefined) {
|
|
2773
|
+
localVarQueryParameter['order'] = order;
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
if (filter !== undefined) {
|
|
2777
|
+
localVarQueryParameter['filter'] = filter;
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2783
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2784
|
+
let formHeaders = {};
|
|
2785
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers};
|
|
2786
|
+
|
|
2787
|
+
return {
|
|
2788
|
+
url: toPathString(localVarUrlObj),
|
|
2789
|
+
options: localVarRequestOptions,
|
|
2790
|
+
};
|
|
2791
|
+
},
|
|
2792
|
+
/**
|
|
2793
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
2794
|
+
* @summary Run task now
|
|
2795
|
+
* @param {string} id
|
|
2796
|
+
* @param {*} [options] Override http request option.
|
|
2797
|
+
* @throws {RequiredError}
|
|
2798
|
+
*/
|
|
2799
|
+
runReportTaskNow: async (id: string, options: any = {}): Promise<RequestArgs> => {
|
|
2800
|
+
// verify required parameter 'id' is not null or undefined
|
|
2801
|
+
assertParamExists('runReportTaskNow', 'id', id)
|
|
2802
|
+
const localVarPath = `/report-tasks/run-now/{Id}`
|
|
2803
|
+
.replace(`{${"Id"}}`, encodeURIComponent(String(id)));
|
|
2804
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2805
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2806
|
+
let baseOptions;
|
|
2807
|
+
if (configuration) {
|
|
2808
|
+
baseOptions = configuration.baseOptions;
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2812
|
+
const localVarHeaderParameter = {} as any;
|
|
2813
|
+
const localVarQueryParameter = {} as any;
|
|
2814
|
+
|
|
2815
|
+
// authentication ApiKeyAuth required
|
|
2816
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2817
|
+
|
|
2818
|
+
// authentication BearerAuth required
|
|
2819
|
+
// http bearer authentication required
|
|
2820
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2821
|
+
|
|
2822
|
+
// authentication CookieAuth required
|
|
2823
|
+
|
|
2511
2824
|
|
|
2512
2825
|
|
|
2513
2826
|
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
@@ -2549,6 +2862,10 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2549
2862
|
// authentication ApiKeyAuth required
|
|
2550
2863
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2551
2864
|
|
|
2865
|
+
// authentication BearerAuth required
|
|
2866
|
+
// http bearer authentication required
|
|
2867
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2868
|
+
|
|
2552
2869
|
// authentication CookieAuth required
|
|
2553
2870
|
|
|
2554
2871
|
|
|
@@ -2617,11 +2934,25 @@ export const ReportTasksApiFp = function(configuration?: Configuration) {
|
|
|
2617
2934
|
* @param {{ [key: string]: string; }} [meta] When you list report tasks you can filter the list given one or metadata key/value pairs. Only items that contain all of the given metadata properties are returned.
|
|
2618
2935
|
* @param {string} [templateId]
|
|
2619
2936
|
* @param {number} [perPage]
|
|
2937
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
2938
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
2939
|
+
* @param {object} [filter] Filters for report tasks. JSON encoded object in the form of `{ field: string, query: string}`, or for date range fields (including \"startOn\" and \"endOn\"), `{ field: string, query: { start: Date, end: Date }}`. ### Examples: Filter on \"startOn\": ``` { \"field\": \"startOn\", \"query\": { \"start\": \"2020-01-01T00:00:00.000Z\", \"end\": \"2020-01-02T00:00:00.000Z\" } } ``` Filter on \"enabled\" ``` { \"field\": \"enabled\", \"query\": \"True\" } ``` Filter on \"frequency\": ``` { \"field\": \"frequency\", \"query\": \"Monthly\" } ```
|
|
2620
2940
|
* @param {*} [options] Override http request option.
|
|
2621
2941
|
* @throws {RequiredError}
|
|
2622
2942
|
*/
|
|
2623
|
-
async getReportTasks(pageNum?: number, meta?: { [key: string]: string; }, templateId?: string, perPage?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2002>> {
|
|
2624
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getReportTasks(pageNum, meta, templateId, perPage, options);
|
|
2943
|
+
async getReportTasks(pageNum?: number, meta?: { [key: string]: string; }, templateId?: string, perPage?: number, orderBy?: 'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId', order?: 'asc' | 'desc', filter?: object, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2002>> {
|
|
2944
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, options);
|
|
2945
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2946
|
+
},
|
|
2947
|
+
/**
|
|
2948
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
2949
|
+
* @summary Run task now
|
|
2950
|
+
* @param {string} id
|
|
2951
|
+
* @param {*} [options] Override http request option.
|
|
2952
|
+
* @throws {RequiredError}
|
|
2953
|
+
*/
|
|
2954
|
+
async runReportTaskNow(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportTaskResponse>> {
|
|
2955
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.runReportTaskNow(id, options);
|
|
2625
2956
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2626
2957
|
},
|
|
2627
2958
|
/**
|
|
@@ -2684,11 +3015,24 @@ export const ReportTasksApiFactory = function (configuration?: Configuration, ba
|
|
|
2684
3015
|
* @param {{ [key: string]: string; }} [meta] When you list report tasks you can filter the list given one or metadata key/value pairs. Only items that contain all of the given metadata properties are returned.
|
|
2685
3016
|
* @param {string} [templateId]
|
|
2686
3017
|
* @param {number} [perPage]
|
|
3018
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
3019
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
3020
|
+
* @param {object} [filter] Filters for report tasks. JSON encoded object in the form of `{ field: string, query: string}`, or for date range fields (including \"startOn\" and \"endOn\"), `{ field: string, query: { start: Date, end: Date }}`. ### Examples: Filter on \"startOn\": ``` { \"field\": \"startOn\", \"query\": { \"start\": \"2020-01-01T00:00:00.000Z\", \"end\": \"2020-01-02T00:00:00.000Z\" } } ``` Filter on \"enabled\" ``` { \"field\": \"enabled\", \"query\": \"True\" } ``` Filter on \"frequency\": ``` { \"field\": \"frequency\", \"query\": \"Monthly\" } ```
|
|
3021
|
+
* @param {*} [options] Override http request option.
|
|
3022
|
+
* @throws {RequiredError}
|
|
3023
|
+
*/
|
|
3024
|
+
getReportTasks(pageNum?: number, meta?: { [key: string]: string; }, templateId?: string, perPage?: number, orderBy?: 'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId', order?: 'asc' | 'desc', filter?: object, options?: any): AxiosPromise<InlineResponse2002> {
|
|
3025
|
+
return localVarFp.getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, options).then((request) => request(axios, basePath));
|
|
3026
|
+
},
|
|
3027
|
+
/**
|
|
3028
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
3029
|
+
* @summary Run task now
|
|
3030
|
+
* @param {string} id
|
|
2687
3031
|
* @param {*} [options] Override http request option.
|
|
2688
3032
|
* @throws {RequiredError}
|
|
2689
3033
|
*/
|
|
2690
|
-
|
|
2691
|
-
return localVarFp.
|
|
3034
|
+
runReportTaskNow(id: string, options?: any): AxiosPromise<ReportTaskResponse> {
|
|
3035
|
+
return localVarFp.runReportTaskNow(id, options).then((request) => request(axios, basePath));
|
|
2692
3036
|
},
|
|
2693
3037
|
/**
|
|
2694
3038
|
* Accepts partial updates
|
|
@@ -2755,12 +3099,27 @@ export class ReportTasksApi extends BaseAPI {
|
|
|
2755
3099
|
* @param {{ [key: string]: string; }} [meta] When you list report tasks you can filter the list given one or metadata key/value pairs. Only items that contain all of the given metadata properties are returned.
|
|
2756
3100
|
* @param {string} [templateId]
|
|
2757
3101
|
* @param {number} [perPage]
|
|
3102
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
3103
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
3104
|
+
* @param {object} [filter] Filters for report tasks. JSON encoded object in the form of `{ field: string, query: string}`, or for date range fields (including \"startOn\" and \"endOn\"), `{ field: string, query: { start: Date, end: Date }}`. ### Examples: Filter on \"startOn\": ``` { \"field\": \"startOn\", \"query\": { \"start\": \"2020-01-01T00:00:00.000Z\", \"end\": \"2020-01-02T00:00:00.000Z\" } } ``` Filter on \"enabled\" ``` { \"field\": \"enabled\", \"query\": \"True\" } ``` Filter on \"frequency\": ``` { \"field\": \"frequency\", \"query\": \"Monthly\" } ```
|
|
2758
3105
|
* @param {*} [options] Override http request option.
|
|
2759
3106
|
* @throws {RequiredError}
|
|
2760
3107
|
* @memberof ReportTasksApi
|
|
2761
3108
|
*/
|
|
2762
|
-
public getReportTasks(pageNum?: number, meta?: { [key: string]: string; }, templateId?: string, perPage?: number, options?: any) {
|
|
2763
|
-
return ReportTasksApiFp(this.configuration).getReportTasks(pageNum, meta, templateId, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
3109
|
+
public getReportTasks(pageNum?: number, meta?: { [key: string]: string; }, templateId?: string, perPage?: number, orderBy?: 'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId', order?: 'asc' | 'desc', filter?: object, options?: any) {
|
|
3110
|
+
return ReportTasksApiFp(this.configuration).getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, options).then((request) => request(this.axios, this.basePath));
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
/**
|
|
3114
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
3115
|
+
* @summary Run task now
|
|
3116
|
+
* @param {string} id
|
|
3117
|
+
* @param {*} [options] Override http request option.
|
|
3118
|
+
* @throws {RequiredError}
|
|
3119
|
+
* @memberof ReportTasksApi
|
|
3120
|
+
*/
|
|
3121
|
+
public runReportTaskNow(id: string, options?: any) {
|
|
3122
|
+
return ReportTasksApiFp(this.configuration).runReportTaskNow(id, options).then((request) => request(this.axios, this.basePath));
|
|
2764
3123
|
}
|
|
2765
3124
|
|
|
2766
3125
|
/**
|
|
@@ -2810,6 +3169,10 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2810
3169
|
// authentication ApiKeyAuth required
|
|
2811
3170
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2812
3171
|
|
|
3172
|
+
// authentication BearerAuth required
|
|
3173
|
+
// http bearer authentication required
|
|
3174
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3175
|
+
|
|
2813
3176
|
// authentication CookieAuth required
|
|
2814
3177
|
|
|
2815
3178
|
|
|
@@ -2850,6 +3213,10 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2850
3213
|
// authentication ApiKeyAuth required
|
|
2851
3214
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2852
3215
|
|
|
3216
|
+
// authentication BearerAuth required
|
|
3217
|
+
// http bearer authentication required
|
|
3218
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3219
|
+
|
|
2853
3220
|
// authentication CookieAuth required
|
|
2854
3221
|
|
|
2855
3222
|
|
|
@@ -2868,12 +3235,15 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2868
3235
|
*
|
|
2869
3236
|
* @summary List reports
|
|
2870
3237
|
* @param {number} [pageNum]
|
|
3238
|
+
* @param {number} [perPage]
|
|
3239
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
3240
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
2871
3241
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
2872
3242
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
2873
3243
|
* @param {*} [options] Override http request option.
|
|
2874
3244
|
* @throws {RequiredError}
|
|
2875
3245
|
*/
|
|
2876
|
-
getReports: async (pageNum?: number, tagId?: string, reportTaskId?: string, options: any = {}): Promise<RequestArgs> => {
|
|
3246
|
+
getReports: async (pageNum?: number, perPage?: number, orderBy?: 'title' | 'createdAt', order?: 'asc' | 'desc', tagId?: string, reportTaskId?: string, options: any = {}): Promise<RequestArgs> => {
|
|
2877
3247
|
const localVarPath = `/reports`;
|
|
2878
3248
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2879
3249
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2889,12 +3259,28 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2889
3259
|
// authentication ApiKeyAuth required
|
|
2890
3260
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2891
3261
|
|
|
3262
|
+
// authentication BearerAuth required
|
|
3263
|
+
// http bearer authentication required
|
|
3264
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3265
|
+
|
|
2892
3266
|
// authentication CookieAuth required
|
|
2893
3267
|
|
|
2894
3268
|
if (pageNum !== undefined) {
|
|
2895
3269
|
localVarQueryParameter['pageNum'] = pageNum;
|
|
2896
3270
|
}
|
|
2897
3271
|
|
|
3272
|
+
if (perPage !== undefined) {
|
|
3273
|
+
localVarQueryParameter['perPage'] = perPage;
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3276
|
+
if (orderBy !== undefined) {
|
|
3277
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
if (order !== undefined) {
|
|
3281
|
+
localVarQueryParameter['order'] = order;
|
|
3282
|
+
}
|
|
3283
|
+
|
|
2898
3284
|
if (tagId !== undefined) {
|
|
2899
3285
|
localVarQueryParameter['tagId'] = tagId;
|
|
2900
3286
|
}
|
|
@@ -2944,6 +3330,10 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2944
3330
|
// authentication ApiKeyAuth required
|
|
2945
3331
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2946
3332
|
|
|
3333
|
+
// authentication BearerAuth required
|
|
3334
|
+
// http bearer authentication required
|
|
3335
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3336
|
+
|
|
2947
3337
|
// authentication CookieAuth required
|
|
2948
3338
|
|
|
2949
3339
|
if (format !== undefined) {
|
|
@@ -2998,13 +3388,16 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
|
2998
3388
|
*
|
|
2999
3389
|
* @summary List reports
|
|
3000
3390
|
* @param {number} [pageNum]
|
|
3391
|
+
* @param {number} [perPage]
|
|
3392
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
3393
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
3001
3394
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
3002
3395
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
3003
3396
|
* @param {*} [options] Override http request option.
|
|
3004
3397
|
* @throws {RequiredError}
|
|
3005
3398
|
*/
|
|
3006
|
-
async getReports(pageNum?: number, tagId?: string, reportTaskId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2003>> {
|
|
3007
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getReports(pageNum, tagId, reportTaskId, options);
|
|
3399
|
+
async getReports(pageNum?: number, perPage?: number, orderBy?: 'title' | 'createdAt', order?: 'asc' | 'desc', tagId?: string, reportTaskId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2003>> {
|
|
3400
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getReports(pageNum, perPage, orderBy, order, tagId, reportTaskId, options);
|
|
3008
3401
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3009
3402
|
},
|
|
3010
3403
|
/**
|
|
@@ -3053,13 +3446,16 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
|
3053
3446
|
*
|
|
3054
3447
|
* @summary List reports
|
|
3055
3448
|
* @param {number} [pageNum]
|
|
3449
|
+
* @param {number} [perPage]
|
|
3450
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
3451
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
3056
3452
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
3057
3453
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
3058
3454
|
* @param {*} [options] Override http request option.
|
|
3059
3455
|
* @throws {RequiredError}
|
|
3060
3456
|
*/
|
|
3061
|
-
getReports(pageNum?: number, tagId?: string, reportTaskId?: string, options?: any): AxiosPromise<InlineResponse2003> {
|
|
3062
|
-
return localVarFp.getReports(pageNum, tagId, reportTaskId, options).then((request) => request(axios, basePath));
|
|
3457
|
+
getReports(pageNum?: number, perPage?: number, orderBy?: 'title' | 'createdAt', order?: 'asc' | 'desc', tagId?: string, reportTaskId?: string, options?: any): AxiosPromise<InlineResponse2003> {
|
|
3458
|
+
return localVarFp.getReports(pageNum, perPage, orderBy, order, tagId, reportTaskId, options).then((request) => request(axios, basePath));
|
|
3063
3459
|
},
|
|
3064
3460
|
/**
|
|
3065
3461
|
*
|
|
@@ -3110,14 +3506,17 @@ export class ReportsApi extends BaseAPI {
|
|
|
3110
3506
|
*
|
|
3111
3507
|
* @summary List reports
|
|
3112
3508
|
* @param {number} [pageNum]
|
|
3509
|
+
* @param {number} [perPage]
|
|
3510
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
3511
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
3113
3512
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
3114
3513
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
3115
3514
|
* @param {*} [options] Override http request option.
|
|
3116
3515
|
* @throws {RequiredError}
|
|
3117
3516
|
* @memberof ReportsApi
|
|
3118
3517
|
*/
|
|
3119
|
-
public getReports(pageNum?: number, tagId?: string, reportTaskId?: string, options?: any) {
|
|
3120
|
-
return ReportsApiFp(this.configuration).getReports(pageNum, tagId, reportTaskId, options).then((request) => request(this.axios, this.basePath));
|
|
3518
|
+
public getReports(pageNum?: number, perPage?: number, orderBy?: 'title' | 'createdAt', order?: 'asc' | 'desc', tagId?: string, reportTaskId?: string, options?: any) {
|
|
3519
|
+
return ReportsApiFp(this.configuration).getReports(pageNum, perPage, orderBy, order, tagId, reportTaskId, options).then((request) => request(this.axios, this.basePath));
|
|
3121
3520
|
}
|
|
3122
3521
|
|
|
3123
3522
|
/**
|
|
@@ -3166,6 +3565,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3166
3565
|
// authentication ApiKeyAuth required
|
|
3167
3566
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3168
3567
|
|
|
3568
|
+
// authentication BearerAuth required
|
|
3569
|
+
// http bearer authentication required
|
|
3570
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3571
|
+
|
|
3169
3572
|
// authentication CookieAuth required
|
|
3170
3573
|
|
|
3171
3574
|
|
|
@@ -3209,6 +3612,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3209
3612
|
// authentication ApiKeyAuth required
|
|
3210
3613
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3211
3614
|
|
|
3615
|
+
// authentication BearerAuth required
|
|
3616
|
+
// http bearer authentication required
|
|
3617
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3618
|
+
|
|
3212
3619
|
// authentication CookieAuth required
|
|
3213
3620
|
|
|
3214
3621
|
|
|
@@ -3249,6 +3656,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3249
3656
|
// authentication ApiKeyAuth required
|
|
3250
3657
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3251
3658
|
|
|
3659
|
+
// authentication BearerAuth required
|
|
3660
|
+
// http bearer authentication required
|
|
3661
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3662
|
+
|
|
3252
3663
|
// authentication CookieAuth required
|
|
3253
3664
|
|
|
3254
3665
|
|
|
@@ -3289,6 +3700,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3289
3700
|
// authentication ApiKeyAuth required
|
|
3290
3701
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3291
3702
|
|
|
3703
|
+
// authentication BearerAuth required
|
|
3704
|
+
// http bearer authentication required
|
|
3705
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3706
|
+
|
|
3292
3707
|
// authentication CookieAuth required
|
|
3293
3708
|
|
|
3294
3709
|
|
|
@@ -3329,6 +3744,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3329
3744
|
// authentication ApiKeyAuth required
|
|
3330
3745
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3331
3746
|
|
|
3747
|
+
// authentication BearerAuth required
|
|
3748
|
+
// http bearer authentication required
|
|
3749
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3750
|
+
|
|
3332
3751
|
// authentication CookieAuth required
|
|
3333
3752
|
|
|
3334
3753
|
|
|
@@ -3366,6 +3785,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3366
3785
|
// authentication ApiKeyAuth required
|
|
3367
3786
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3368
3787
|
|
|
3788
|
+
// authentication BearerAuth required
|
|
3789
|
+
// http bearer authentication required
|
|
3790
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3791
|
+
|
|
3369
3792
|
// authentication CookieAuth required
|
|
3370
3793
|
|
|
3371
3794
|
if (pageNum !== undefined) {
|
|
@@ -3408,6 +3831,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3408
3831
|
// authentication ApiKeyAuth required
|
|
3409
3832
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3410
3833
|
|
|
3834
|
+
// authentication BearerAuth required
|
|
3835
|
+
// http bearer authentication required
|
|
3836
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3837
|
+
|
|
3411
3838
|
// authentication CookieAuth required
|
|
3412
3839
|
|
|
3413
3840
|
|
|
@@ -3461,6 +3888,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3461
3888
|
// authentication ApiKeyAuth required
|
|
3462
3889
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3463
3890
|
|
|
3891
|
+
// authentication BearerAuth required
|
|
3892
|
+
// http bearer authentication required
|
|
3893
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3894
|
+
|
|
3464
3895
|
// authentication CookieAuth required
|
|
3465
3896
|
|
|
3466
3897
|
if (format !== undefined) {
|
|
@@ -3508,6 +3939,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3508
3939
|
// authentication ApiKeyAuth required
|
|
3509
3940
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3510
3941
|
|
|
3942
|
+
// authentication BearerAuth required
|
|
3943
|
+
// http bearer authentication required
|
|
3944
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3945
|
+
|
|
3511
3946
|
// authentication CookieAuth required
|
|
3512
3947
|
|
|
3513
3948
|
|
|
@@ -3892,6 +4327,10 @@ export const VisualizationApiAxiosParamCreator = function (configuration?: Confi
|
|
|
3892
4327
|
// authentication ApiKeyAuth required
|
|
3893
4328
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3894
4329
|
|
|
4330
|
+
// authentication BearerAuth required
|
|
4331
|
+
// http bearer authentication required
|
|
4332
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4333
|
+
|
|
3895
4334
|
// authentication CookieAuth required
|
|
3896
4335
|
|
|
3897
4336
|
if (priority !== undefined) {
|