@connectreport/connectreport-js 2.56.0 → 2.78.6
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 +510 -23
- package/base.ts +1 -1
- package/common.ts +2 -4
- package/configuration.ts +3 -3
- package/dist/api.d.ts +256 -45
- package/dist/api.js +966 -300
- package/dist/base.d.ts +1 -1
- package/dist/base.js +4 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +29 -28
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +1 -1
- package/dist/index.js +6 -3
- package/index.ts +9 -3
- package/package.json +4 -4
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.78.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -147,6 +147,24 @@ 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;
|
|
156
|
+
/**
|
|
157
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof FilterCycle
|
|
160
|
+
*/
|
|
161
|
+
emailSubject?: string;
|
|
162
|
+
/**
|
|
163
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof FilterCycle
|
|
166
|
+
*/
|
|
167
|
+
emailBody?: string;
|
|
150
168
|
/**
|
|
151
169
|
*
|
|
152
170
|
* @type {FilterCycleAllOfFieldInfo}
|
|
@@ -186,10 +204,11 @@ export interface FilterCycle {
|
|
|
186
204
|
export enum FilterCycleFrequencyEnum {
|
|
187
205
|
Monthly = 'Monthly',
|
|
188
206
|
OnceNow = 'Once - now',
|
|
189
|
-
OnceScheduled = 'Once -
|
|
207
|
+
OnceScheduled = 'Once - scheduled',
|
|
190
208
|
Annually = 'Annually',
|
|
191
209
|
Daily = 'Daily',
|
|
192
|
-
Weekly = 'Weekly'
|
|
210
|
+
Weekly = 'Weekly',
|
|
211
|
+
UponTrigger = 'Upon trigger'
|
|
193
212
|
}
|
|
194
213
|
/**
|
|
195
214
|
* @export
|
|
@@ -358,6 +377,12 @@ export interface InlineResponse2003 {
|
|
|
358
377
|
* @memberof InlineResponse2003
|
|
359
378
|
*/
|
|
360
379
|
totalPages?: number;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @type {number}
|
|
383
|
+
* @memberof InlineResponse2003
|
|
384
|
+
*/
|
|
385
|
+
totalItems?: number;
|
|
361
386
|
}
|
|
362
387
|
/**
|
|
363
388
|
*
|
|
@@ -525,6 +550,12 @@ export interface Report {
|
|
|
525
550
|
* @memberof Report
|
|
526
551
|
*/
|
|
527
552
|
thumbnailPath?: string;
|
|
553
|
+
/**
|
|
554
|
+
* The size in bytes of the report HTML contents
|
|
555
|
+
* @type {number}
|
|
556
|
+
* @memberof Report
|
|
557
|
+
*/
|
|
558
|
+
sizeBytes?: number;
|
|
528
559
|
}
|
|
529
560
|
/**
|
|
530
561
|
*
|
|
@@ -652,6 +683,24 @@ export interface ReportTask {
|
|
|
652
683
|
* @memberof ReportTask
|
|
653
684
|
*/
|
|
654
685
|
tags?: Array<ReportTaskTags>;
|
|
686
|
+
/**
|
|
687
|
+
* The trigger name for the report task. Used to execute tasks on a trigger
|
|
688
|
+
* @type {string}
|
|
689
|
+
* @memberof ReportTask
|
|
690
|
+
*/
|
|
691
|
+
trigger?: string;
|
|
692
|
+
/**
|
|
693
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
694
|
+
* @type {string}
|
|
695
|
+
* @memberof ReportTask
|
|
696
|
+
*/
|
|
697
|
+
emailSubject?: string;
|
|
698
|
+
/**
|
|
699
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
700
|
+
* @type {string}
|
|
701
|
+
* @memberof ReportTask
|
|
702
|
+
*/
|
|
703
|
+
emailBody?: string;
|
|
655
704
|
}
|
|
656
705
|
|
|
657
706
|
/**
|
|
@@ -661,10 +710,11 @@ export interface ReportTask {
|
|
|
661
710
|
export enum ReportTaskFrequencyEnum {
|
|
662
711
|
Monthly = 'Monthly',
|
|
663
712
|
OnceNow = 'Once - now',
|
|
664
|
-
OnceScheduled = 'Once -
|
|
713
|
+
OnceScheduled = 'Once - scheduled',
|
|
665
714
|
Annually = 'Annually',
|
|
666
715
|
Daily = 'Daily',
|
|
667
|
-
Weekly = 'Weekly'
|
|
716
|
+
Weekly = 'Weekly',
|
|
717
|
+
UponTrigger = 'Upon trigger'
|
|
668
718
|
}
|
|
669
719
|
/**
|
|
670
720
|
* @export
|
|
@@ -879,6 +929,24 @@ export interface ReportTaskRequest {
|
|
|
879
929
|
* @memberof ReportTaskRequest
|
|
880
930
|
*/
|
|
881
931
|
tags?: Array<ReportTaskTags>;
|
|
932
|
+
/**
|
|
933
|
+
* The trigger name for the report task. Used to execute tasks on a trigger
|
|
934
|
+
* @type {string}
|
|
935
|
+
* @memberof ReportTaskRequest
|
|
936
|
+
*/
|
|
937
|
+
trigger?: string;
|
|
938
|
+
/**
|
|
939
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
940
|
+
* @type {string}
|
|
941
|
+
* @memberof ReportTaskRequest
|
|
942
|
+
*/
|
|
943
|
+
emailSubject?: string;
|
|
944
|
+
/**
|
|
945
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
946
|
+
* @type {string}
|
|
947
|
+
* @memberof ReportTaskRequest
|
|
948
|
+
*/
|
|
949
|
+
emailBody?: string;
|
|
882
950
|
/**
|
|
883
951
|
* Emails to send the report to. This is only allowed if \"Allow reports to be shared with any email\" is to true.
|
|
884
952
|
* @type {Array<string>}
|
|
@@ -906,10 +974,11 @@ export interface ReportTaskRequest {
|
|
|
906
974
|
export enum ReportTaskRequestFrequencyEnum {
|
|
907
975
|
Monthly = 'Monthly',
|
|
908
976
|
OnceNow = 'Once - now',
|
|
909
|
-
OnceScheduled = 'Once -
|
|
977
|
+
OnceScheduled = 'Once - scheduled',
|
|
910
978
|
Annually = 'Annually',
|
|
911
979
|
Daily = 'Daily',
|
|
912
|
-
Weekly = 'Weekly'
|
|
980
|
+
Weekly = 'Weekly',
|
|
981
|
+
UponTrigger = 'Upon trigger'
|
|
913
982
|
}
|
|
914
983
|
/**
|
|
915
984
|
* @export
|
|
@@ -1086,6 +1155,24 @@ export interface ReportTaskResponse {
|
|
|
1086
1155
|
* @memberof ReportTaskResponse
|
|
1087
1156
|
*/
|
|
1088
1157
|
tags?: Array<ReportTaskTags>;
|
|
1158
|
+
/**
|
|
1159
|
+
* The trigger name for the report task. Used to execute tasks on a trigger
|
|
1160
|
+
* @type {string}
|
|
1161
|
+
* @memberof ReportTaskResponse
|
|
1162
|
+
*/
|
|
1163
|
+
trigger?: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* The customized subject of the email to be sent if the report task is configured to email
|
|
1166
|
+
* @type {string}
|
|
1167
|
+
* @memberof ReportTaskResponse
|
|
1168
|
+
*/
|
|
1169
|
+
emailSubject?: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* The customized body of the email to be sent if the report task is configured to email
|
|
1172
|
+
* @type {string}
|
|
1173
|
+
* @memberof ReportTaskResponse
|
|
1174
|
+
*/
|
|
1175
|
+
emailBody?: string;
|
|
1089
1176
|
/**
|
|
1090
1177
|
* Users to share the published report with. This field will be updated entirely if provided
|
|
1091
1178
|
* @type {Array<ReportTaskResponseAllOfUsersToShareWith>}
|
|
@@ -1101,10 +1188,11 @@ export interface ReportTaskResponse {
|
|
|
1101
1188
|
export enum ReportTaskResponseFrequencyEnum {
|
|
1102
1189
|
Monthly = 'Monthly',
|
|
1103
1190
|
OnceNow = 'Once - now',
|
|
1104
|
-
OnceScheduled = 'Once -
|
|
1191
|
+
OnceScheduled = 'Once - scheduled',
|
|
1105
1192
|
Annually = 'Annually',
|
|
1106
1193
|
Daily = 'Daily',
|
|
1107
|
-
Weekly = 'Weekly'
|
|
1194
|
+
Weekly = 'Weekly',
|
|
1195
|
+
UponTrigger = 'Upon trigger'
|
|
1108
1196
|
}
|
|
1109
1197
|
/**
|
|
1110
1198
|
* @export
|
|
@@ -1324,6 +1412,10 @@ export const BaseTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
1324
1412
|
// authentication ApiKeyAuth required
|
|
1325
1413
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1326
1414
|
|
|
1415
|
+
// authentication BearerAuth required
|
|
1416
|
+
// http bearer authentication required
|
|
1417
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1418
|
+
|
|
1327
1419
|
// authentication CookieAuth required
|
|
1328
1420
|
|
|
1329
1421
|
|
|
@@ -1362,6 +1454,10 @@ export const BaseTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
1362
1454
|
// authentication ApiKeyAuth required
|
|
1363
1455
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1364
1456
|
|
|
1457
|
+
// authentication BearerAuth required
|
|
1458
|
+
// http bearer authentication required
|
|
1459
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1460
|
+
|
|
1365
1461
|
// authentication CookieAuth required
|
|
1366
1462
|
|
|
1367
1463
|
if (pageNum !== undefined) {
|
|
@@ -1522,6 +1618,10 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1522
1618
|
// authentication ApiKeyAuth required
|
|
1523
1619
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1524
1620
|
|
|
1621
|
+
// authentication BearerAuth required
|
|
1622
|
+
// http bearer authentication required
|
|
1623
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1624
|
+
|
|
1525
1625
|
// authentication CookieAuth required
|
|
1526
1626
|
|
|
1527
1627
|
if (attachmentName !== undefined) {
|
|
@@ -1642,6 +1742,10 @@ export const FilterCyclesApiAxiosParamCreator = function (configuration?: Config
|
|
|
1642
1742
|
// authentication ApiKeyAuth required
|
|
1643
1743
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1644
1744
|
|
|
1745
|
+
// authentication BearerAuth required
|
|
1746
|
+
// http bearer authentication required
|
|
1747
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1748
|
+
|
|
1645
1749
|
// authentication CookieAuth required
|
|
1646
1750
|
|
|
1647
1751
|
|
|
@@ -1685,6 +1789,98 @@ export const FilterCyclesApiAxiosParamCreator = function (configuration?: Config
|
|
|
1685
1789
|
// authentication ApiKeyAuth required
|
|
1686
1790
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1687
1791
|
|
|
1792
|
+
// authentication BearerAuth required
|
|
1793
|
+
// http bearer authentication required
|
|
1794
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1795
|
+
|
|
1796
|
+
// authentication CookieAuth required
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1801
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1802
|
+
let formHeaders = {};
|
|
1803
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers};
|
|
1804
|
+
|
|
1805
|
+
return {
|
|
1806
|
+
url: toPathString(localVarUrlObj),
|
|
1807
|
+
options: localVarRequestOptions,
|
|
1808
|
+
};
|
|
1809
|
+
},
|
|
1810
|
+
/**
|
|
1811
|
+
*
|
|
1812
|
+
* @summary Disable all report tasks in a cycle
|
|
1813
|
+
* @param {string} id
|
|
1814
|
+
* @param {*} [options] Override http request option.
|
|
1815
|
+
* @throws {RequiredError}
|
|
1816
|
+
*/
|
|
1817
|
+
disableAllInCycle: async (id: string, options: any = {}): Promise<RequestArgs> => {
|
|
1818
|
+
// verify required parameter 'id' is not null or undefined
|
|
1819
|
+
assertParamExists('disableAllInCycle', 'id', id)
|
|
1820
|
+
const localVarPath = `/filter-cycles/{Id}/disable`
|
|
1821
|
+
.replace(`{${"Id"}}`, encodeURIComponent(String(id)));
|
|
1822
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1823
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1824
|
+
let baseOptions;
|
|
1825
|
+
if (configuration) {
|
|
1826
|
+
baseOptions = configuration.baseOptions;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1830
|
+
const localVarHeaderParameter = {} as any;
|
|
1831
|
+
const localVarQueryParameter = {} as any;
|
|
1832
|
+
|
|
1833
|
+
// authentication ApiKeyAuth required
|
|
1834
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1835
|
+
|
|
1836
|
+
// authentication BearerAuth required
|
|
1837
|
+
// http bearer authentication required
|
|
1838
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1839
|
+
|
|
1840
|
+
// authentication CookieAuth required
|
|
1841
|
+
|
|
1842
|
+
|
|
1843
|
+
|
|
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
|
+
|
|
1849
|
+
return {
|
|
1850
|
+
url: toPathString(localVarUrlObj),
|
|
1851
|
+
options: localVarRequestOptions,
|
|
1852
|
+
};
|
|
1853
|
+
},
|
|
1854
|
+
/**
|
|
1855
|
+
*
|
|
1856
|
+
* @summary Enable all report tasks in a cycle
|
|
1857
|
+
* @param {string} id
|
|
1858
|
+
* @param {*} [options] Override http request option.
|
|
1859
|
+
* @throws {RequiredError}
|
|
1860
|
+
*/
|
|
1861
|
+
enableAllInCycle: async (id: string, options: any = {}): Promise<RequestArgs> => {
|
|
1862
|
+
// verify required parameter 'id' is not null or undefined
|
|
1863
|
+
assertParamExists('enableAllInCycle', 'id', id)
|
|
1864
|
+
const localVarPath = `/filter-cycles/{Id}/enable`
|
|
1865
|
+
.replace(`{${"Id"}}`, encodeURIComponent(String(id)));
|
|
1866
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1867
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1868
|
+
let baseOptions;
|
|
1869
|
+
if (configuration) {
|
|
1870
|
+
baseOptions = configuration.baseOptions;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1874
|
+
const localVarHeaderParameter = {} as any;
|
|
1875
|
+
const localVarQueryParameter = {} as any;
|
|
1876
|
+
|
|
1877
|
+
// authentication ApiKeyAuth required
|
|
1878
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1879
|
+
|
|
1880
|
+
// authentication BearerAuth required
|
|
1881
|
+
// http bearer authentication required
|
|
1882
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1883
|
+
|
|
1688
1884
|
// authentication CookieAuth required
|
|
1689
1885
|
|
|
1690
1886
|
|
|
@@ -1725,6 +1921,10 @@ export const FilterCyclesApiAxiosParamCreator = function (configuration?: Config
|
|
|
1725
1921
|
// authentication ApiKeyAuth required
|
|
1726
1922
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1727
1923
|
|
|
1924
|
+
// authentication BearerAuth required
|
|
1925
|
+
// http bearer authentication required
|
|
1926
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1927
|
+
|
|
1728
1928
|
// authentication CookieAuth required
|
|
1729
1929
|
|
|
1730
1930
|
|
|
@@ -1764,6 +1964,10 @@ export const FilterCyclesApiAxiosParamCreator = function (configuration?: Config
|
|
|
1764
1964
|
// authentication ApiKeyAuth required
|
|
1765
1965
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1766
1966
|
|
|
1967
|
+
// authentication BearerAuth required
|
|
1968
|
+
// http bearer authentication required
|
|
1969
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1970
|
+
|
|
1767
1971
|
// authentication CookieAuth required
|
|
1768
1972
|
|
|
1769
1973
|
if (templateId !== undefined) {
|
|
@@ -1811,6 +2015,10 @@ export const FilterCyclesApiAxiosParamCreator = function (configuration?: Config
|
|
|
1811
2015
|
// authentication ApiKeyAuth required
|
|
1812
2016
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1813
2017
|
|
|
2018
|
+
// authentication BearerAuth required
|
|
2019
|
+
// http bearer authentication required
|
|
2020
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2021
|
+
|
|
1814
2022
|
// authentication CookieAuth required
|
|
1815
2023
|
|
|
1816
2024
|
|
|
@@ -1860,6 +2068,28 @@ export const FilterCyclesApiFp = function(configuration?: Configuration) {
|
|
|
1860
2068
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFilterCycle(id, options);
|
|
1861
2069
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1862
2070
|
},
|
|
2071
|
+
/**
|
|
2072
|
+
*
|
|
2073
|
+
* @summary Disable all report tasks in a cycle
|
|
2074
|
+
* @param {string} id
|
|
2075
|
+
* @param {*} [options] Override http request option.
|
|
2076
|
+
* @throws {RequiredError}
|
|
2077
|
+
*/
|
|
2078
|
+
async disableAllInCycle(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2079
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableAllInCycle(id, options);
|
|
2080
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2081
|
+
},
|
|
2082
|
+
/**
|
|
2083
|
+
*
|
|
2084
|
+
* @summary Enable all report tasks in a cycle
|
|
2085
|
+
* @param {string} id
|
|
2086
|
+
* @param {*} [options] Override http request option.
|
|
2087
|
+
* @throws {RequiredError}
|
|
2088
|
+
*/
|
|
2089
|
+
async enableAllInCycle(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableAllInCycle(id, options);
|
|
2091
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2092
|
+
},
|
|
1863
2093
|
/**
|
|
1864
2094
|
*
|
|
1865
2095
|
* @summary Get a filter cycle
|
|
@@ -1924,6 +2154,26 @@ export const FilterCyclesApiFactory = function (configuration?: Configuration, b
|
|
|
1924
2154
|
deleteFilterCycle(id: string, options?: any): AxiosPromise<FilterCycle> {
|
|
1925
2155
|
return localVarFp.deleteFilterCycle(id, options).then((request) => request(axios, basePath));
|
|
1926
2156
|
},
|
|
2157
|
+
/**
|
|
2158
|
+
*
|
|
2159
|
+
* @summary Disable all report tasks in a cycle
|
|
2160
|
+
* @param {string} id
|
|
2161
|
+
* @param {*} [options] Override http request option.
|
|
2162
|
+
* @throws {RequiredError}
|
|
2163
|
+
*/
|
|
2164
|
+
disableAllInCycle(id: string, options?: any): AxiosPromise<void> {
|
|
2165
|
+
return localVarFp.disableAllInCycle(id, options).then((request) => request(axios, basePath));
|
|
2166
|
+
},
|
|
2167
|
+
/**
|
|
2168
|
+
*
|
|
2169
|
+
* @summary Enable all report tasks in a cycle
|
|
2170
|
+
* @param {string} id
|
|
2171
|
+
* @param {*} [options] Override http request option.
|
|
2172
|
+
* @throws {RequiredError}
|
|
2173
|
+
*/
|
|
2174
|
+
enableAllInCycle(id: string, options?: any): AxiosPromise<void> {
|
|
2175
|
+
return localVarFp.enableAllInCycle(id, options).then((request) => request(axios, basePath));
|
|
2176
|
+
},
|
|
1927
2177
|
/**
|
|
1928
2178
|
*
|
|
1929
2179
|
* @summary Get a filter cycle
|
|
@@ -1989,6 +2239,30 @@ export class FilterCyclesApi extends BaseAPI {
|
|
|
1989
2239
|
return FilterCyclesApiFp(this.configuration).deleteFilterCycle(id, options).then((request) => request(this.axios, this.basePath));
|
|
1990
2240
|
}
|
|
1991
2241
|
|
|
2242
|
+
/**
|
|
2243
|
+
*
|
|
2244
|
+
* @summary Disable all report tasks in a cycle
|
|
2245
|
+
* @param {string} id
|
|
2246
|
+
* @param {*} [options] Override http request option.
|
|
2247
|
+
* @throws {RequiredError}
|
|
2248
|
+
* @memberof FilterCyclesApi
|
|
2249
|
+
*/
|
|
2250
|
+
public disableAllInCycle(id: string, options?: any) {
|
|
2251
|
+
return FilterCyclesApiFp(this.configuration).disableAllInCycle(id, options).then((request) => request(this.axios, this.basePath));
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
/**
|
|
2255
|
+
*
|
|
2256
|
+
* @summary Enable all report tasks in a cycle
|
|
2257
|
+
* @param {string} id
|
|
2258
|
+
* @param {*} [options] Override http request option.
|
|
2259
|
+
* @throws {RequiredError}
|
|
2260
|
+
* @memberof FilterCyclesApi
|
|
2261
|
+
*/
|
|
2262
|
+
public enableAllInCycle(id: string, options?: any) {
|
|
2263
|
+
return FilterCyclesApiFp(this.configuration).enableAllInCycle(id, options).then((request) => request(this.axios, this.basePath));
|
|
2264
|
+
}
|
|
2265
|
+
|
|
1992
2266
|
/**
|
|
1993
2267
|
*
|
|
1994
2268
|
* @summary Get a filter cycle
|
|
@@ -2060,6 +2334,10 @@ export const ImagesApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2060
2334
|
// authentication ApiKeyAuth required
|
|
2061
2335
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2062
2336
|
|
|
2337
|
+
// authentication BearerAuth required
|
|
2338
|
+
// http bearer authentication required
|
|
2339
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2340
|
+
|
|
2063
2341
|
// authentication CookieAuth required
|
|
2064
2342
|
|
|
2065
2343
|
|
|
@@ -2098,6 +2376,10 @@ export const ImagesApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2098
2376
|
// authentication ApiKeyAuth required
|
|
2099
2377
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2100
2378
|
|
|
2379
|
+
// authentication BearerAuth required
|
|
2380
|
+
// http bearer authentication required
|
|
2381
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2382
|
+
|
|
2101
2383
|
// authentication CookieAuth required
|
|
2102
2384
|
|
|
2103
2385
|
|
|
@@ -2252,6 +2534,10 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2252
2534
|
// authentication ApiKeyAuth required
|
|
2253
2535
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2254
2536
|
|
|
2537
|
+
// authentication BearerAuth required
|
|
2538
|
+
// http bearer authentication required
|
|
2539
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2540
|
+
|
|
2255
2541
|
// authentication CookieAuth required
|
|
2256
2542
|
|
|
2257
2543
|
|
|
@@ -2362,6 +2648,10 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2362
2648
|
// authentication ApiKeyAuth required
|
|
2363
2649
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2364
2650
|
|
|
2651
|
+
// authentication BearerAuth required
|
|
2652
|
+
// http bearer authentication required
|
|
2653
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2654
|
+
|
|
2365
2655
|
// authentication CookieAuth required
|
|
2366
2656
|
|
|
2367
2657
|
|
|
@@ -2406,6 +2696,10 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2406
2696
|
// authentication ApiKeyAuth required
|
|
2407
2697
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2408
2698
|
|
|
2699
|
+
// authentication BearerAuth required
|
|
2700
|
+
// http bearer authentication required
|
|
2701
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2702
|
+
|
|
2409
2703
|
// authentication CookieAuth required
|
|
2410
2704
|
|
|
2411
2705
|
if (deleteAssociatedReports !== undefined) {
|
|
@@ -2450,6 +2744,10 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2450
2744
|
// authentication ApiKeyAuth required
|
|
2451
2745
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2452
2746
|
|
|
2747
|
+
// authentication BearerAuth required
|
|
2748
|
+
// http bearer authentication required
|
|
2749
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2750
|
+
|
|
2453
2751
|
// authentication CookieAuth required
|
|
2454
2752
|
|
|
2455
2753
|
|
|
@@ -2471,10 +2769,13 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2471
2769
|
* @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
2770
|
* @param {string} [templateId]
|
|
2473
2771
|
* @param {number} [perPage]
|
|
2772
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
2773
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
2774
|
+
* @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
2775
|
* @param {*} [options] Override http request option.
|
|
2475
2776
|
* @throws {RequiredError}
|
|
2476
2777
|
*/
|
|
2477
|
-
getReportTasks: async (pageNum?: number, meta?: { [key: string]: string; }, templateId?: string, perPage?: number, options: any = {}): Promise<RequestArgs> => {
|
|
2778
|
+
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
2779
|
const localVarPath = `/report-tasks`;
|
|
2479
2780
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2480
2781
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2490,6 +2791,10 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2490
2791
|
// authentication ApiKeyAuth required
|
|
2491
2792
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2492
2793
|
|
|
2794
|
+
// authentication BearerAuth required
|
|
2795
|
+
// http bearer authentication required
|
|
2796
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2797
|
+
|
|
2493
2798
|
// authentication CookieAuth required
|
|
2494
2799
|
|
|
2495
2800
|
if (pageNum !== undefined) {
|
|
@@ -2508,6 +2813,62 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2508
2813
|
localVarQueryParameter['perPage'] = perPage;
|
|
2509
2814
|
}
|
|
2510
2815
|
|
|
2816
|
+
if (orderBy !== undefined) {
|
|
2817
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
2818
|
+
}
|
|
2819
|
+
|
|
2820
|
+
if (order !== undefined) {
|
|
2821
|
+
localVarQueryParameter['order'] = order;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
if (filter !== undefined) {
|
|
2825
|
+
localVarQueryParameter['filter'] = filter;
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2831
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2832
|
+
let formHeaders = {};
|
|
2833
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...formHeaders, ...options.headers};
|
|
2834
|
+
|
|
2835
|
+
return {
|
|
2836
|
+
url: toPathString(localVarUrlObj),
|
|
2837
|
+
options: localVarRequestOptions,
|
|
2838
|
+
};
|
|
2839
|
+
},
|
|
2840
|
+
/**
|
|
2841
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
2842
|
+
* @summary Run task now
|
|
2843
|
+
* @param {string} id
|
|
2844
|
+
* @param {*} [options] Override http request option.
|
|
2845
|
+
* @throws {RequiredError}
|
|
2846
|
+
*/
|
|
2847
|
+
runReportTaskNow: async (id: string, options: any = {}): Promise<RequestArgs> => {
|
|
2848
|
+
// verify required parameter 'id' is not null or undefined
|
|
2849
|
+
assertParamExists('runReportTaskNow', 'id', id)
|
|
2850
|
+
const localVarPath = `/report-tasks/run-now/{Id}`
|
|
2851
|
+
.replace(`{${"Id"}}`, encodeURIComponent(String(id)));
|
|
2852
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2853
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2854
|
+
let baseOptions;
|
|
2855
|
+
if (configuration) {
|
|
2856
|
+
baseOptions = configuration.baseOptions;
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2860
|
+
const localVarHeaderParameter = {} as any;
|
|
2861
|
+
const localVarQueryParameter = {} as any;
|
|
2862
|
+
|
|
2863
|
+
// authentication ApiKeyAuth required
|
|
2864
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2865
|
+
|
|
2866
|
+
// authentication BearerAuth required
|
|
2867
|
+
// http bearer authentication required
|
|
2868
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2869
|
+
|
|
2870
|
+
// authentication CookieAuth required
|
|
2871
|
+
|
|
2511
2872
|
|
|
2512
2873
|
|
|
2513
2874
|
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
@@ -2549,6 +2910,10 @@ export const ReportTasksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2549
2910
|
// authentication ApiKeyAuth required
|
|
2550
2911
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2551
2912
|
|
|
2913
|
+
// authentication BearerAuth required
|
|
2914
|
+
// http bearer authentication required
|
|
2915
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2916
|
+
|
|
2552
2917
|
// authentication CookieAuth required
|
|
2553
2918
|
|
|
2554
2919
|
|
|
@@ -2617,11 +2982,25 @@ export const ReportTasksApiFp = function(configuration?: Configuration) {
|
|
|
2617
2982
|
* @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
2983
|
* @param {string} [templateId]
|
|
2619
2984
|
* @param {number} [perPage]
|
|
2985
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
2986
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
2987
|
+
* @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\" } ```
|
|
2988
|
+
* @param {*} [options] Override http request option.
|
|
2989
|
+
* @throws {RequiredError}
|
|
2990
|
+
*/
|
|
2991
|
+
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>> {
|
|
2992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, options);
|
|
2993
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2994
|
+
},
|
|
2995
|
+
/**
|
|
2996
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
2997
|
+
* @summary Run task now
|
|
2998
|
+
* @param {string} id
|
|
2620
2999
|
* @param {*} [options] Override http request option.
|
|
2621
3000
|
* @throws {RequiredError}
|
|
2622
3001
|
*/
|
|
2623
|
-
async
|
|
2624
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3002
|
+
async runReportTaskNow(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportTaskResponse>> {
|
|
3003
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.runReportTaskNow(id, options);
|
|
2625
3004
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2626
3005
|
},
|
|
2627
3006
|
/**
|
|
@@ -2684,11 +3063,24 @@ export const ReportTasksApiFactory = function (configuration?: Configuration, ba
|
|
|
2684
3063
|
* @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
3064
|
* @param {string} [templateId]
|
|
2686
3065
|
* @param {number} [perPage]
|
|
3066
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
3067
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
3068
|
+
* @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\" } ```
|
|
2687
3069
|
* @param {*} [options] Override http request option.
|
|
2688
3070
|
* @throws {RequiredError}
|
|
2689
3071
|
*/
|
|
2690
|
-
getReportTasks(pageNum?: number, meta?: { [key: string]: string; }, templateId?: string, perPage?: number, options?: any): AxiosPromise<InlineResponse2002> {
|
|
2691
|
-
return localVarFp.getReportTasks(pageNum, meta, templateId, perPage, options).then((request) => request(axios, basePath));
|
|
3072
|
+
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> {
|
|
3073
|
+
return localVarFp.getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, options).then((request) => request(axios, basePath));
|
|
3074
|
+
},
|
|
3075
|
+
/**
|
|
3076
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
3077
|
+
* @summary Run task now
|
|
3078
|
+
* @param {string} id
|
|
3079
|
+
* @param {*} [options] Override http request option.
|
|
3080
|
+
* @throws {RequiredError}
|
|
3081
|
+
*/
|
|
3082
|
+
runReportTaskNow(id: string, options?: any): AxiosPromise<ReportTaskResponse> {
|
|
3083
|
+
return localVarFp.runReportTaskNow(id, options).then((request) => request(axios, basePath));
|
|
2692
3084
|
},
|
|
2693
3085
|
/**
|
|
2694
3086
|
* Accepts partial updates
|
|
@@ -2755,12 +3147,27 @@ export class ReportTasksApi extends BaseAPI {
|
|
|
2755
3147
|
* @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
3148
|
* @param {string} [templateId]
|
|
2757
3149
|
* @param {number} [perPage]
|
|
3150
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
3151
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
3152
|
+
* @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\" } ```
|
|
3153
|
+
* @param {*} [options] Override http request option.
|
|
3154
|
+
* @throws {RequiredError}
|
|
3155
|
+
* @memberof ReportTasksApi
|
|
3156
|
+
*/
|
|
3157
|
+
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) {
|
|
3158
|
+
return ReportTasksApiFp(this.configuration).getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, options).then((request) => request(this.axios, this.basePath));
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3161
|
+
/**
|
|
3162
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
3163
|
+
* @summary Run task now
|
|
3164
|
+
* @param {string} id
|
|
2758
3165
|
* @param {*} [options] Override http request option.
|
|
2759
3166
|
* @throws {RequiredError}
|
|
2760
3167
|
* @memberof ReportTasksApi
|
|
2761
3168
|
*/
|
|
2762
|
-
public
|
|
2763
|
-
return ReportTasksApiFp(this.configuration).
|
|
3169
|
+
public runReportTaskNow(id: string, options?: any) {
|
|
3170
|
+
return ReportTasksApiFp(this.configuration).runReportTaskNow(id, options).then((request) => request(this.axios, this.basePath));
|
|
2764
3171
|
}
|
|
2765
3172
|
|
|
2766
3173
|
/**
|
|
@@ -2810,6 +3217,10 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2810
3217
|
// authentication ApiKeyAuth required
|
|
2811
3218
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2812
3219
|
|
|
3220
|
+
// authentication BearerAuth required
|
|
3221
|
+
// http bearer authentication required
|
|
3222
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3223
|
+
|
|
2813
3224
|
// authentication CookieAuth required
|
|
2814
3225
|
|
|
2815
3226
|
|
|
@@ -2850,6 +3261,10 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2850
3261
|
// authentication ApiKeyAuth required
|
|
2851
3262
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2852
3263
|
|
|
3264
|
+
// authentication BearerAuth required
|
|
3265
|
+
// http bearer authentication required
|
|
3266
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3267
|
+
|
|
2853
3268
|
// authentication CookieAuth required
|
|
2854
3269
|
|
|
2855
3270
|
|
|
@@ -2868,12 +3283,15 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2868
3283
|
*
|
|
2869
3284
|
* @summary List reports
|
|
2870
3285
|
* @param {number} [pageNum]
|
|
3286
|
+
* @param {number} [perPage]
|
|
3287
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
3288
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
2871
3289
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
2872
3290
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
2873
3291
|
* @param {*} [options] Override http request option.
|
|
2874
3292
|
* @throws {RequiredError}
|
|
2875
3293
|
*/
|
|
2876
|
-
getReports: async (pageNum?: number, tagId?: string, reportTaskId?: string, options: any = {}): Promise<RequestArgs> => {
|
|
3294
|
+
getReports: async (pageNum?: number, perPage?: number, orderBy?: 'title' | 'createdAt', order?: 'asc' | 'desc', tagId?: string, reportTaskId?: string, options: any = {}): Promise<RequestArgs> => {
|
|
2877
3295
|
const localVarPath = `/reports`;
|
|
2878
3296
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2879
3297
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2889,12 +3307,28 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2889
3307
|
// authentication ApiKeyAuth required
|
|
2890
3308
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2891
3309
|
|
|
3310
|
+
// authentication BearerAuth required
|
|
3311
|
+
// http bearer authentication required
|
|
3312
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3313
|
+
|
|
2892
3314
|
// authentication CookieAuth required
|
|
2893
3315
|
|
|
2894
3316
|
if (pageNum !== undefined) {
|
|
2895
3317
|
localVarQueryParameter['pageNum'] = pageNum;
|
|
2896
3318
|
}
|
|
2897
3319
|
|
|
3320
|
+
if (perPage !== undefined) {
|
|
3321
|
+
localVarQueryParameter['perPage'] = perPage;
|
|
3322
|
+
}
|
|
3323
|
+
|
|
3324
|
+
if (orderBy !== undefined) {
|
|
3325
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
3326
|
+
}
|
|
3327
|
+
|
|
3328
|
+
if (order !== undefined) {
|
|
3329
|
+
localVarQueryParameter['order'] = order;
|
|
3330
|
+
}
|
|
3331
|
+
|
|
2898
3332
|
if (tagId !== undefined) {
|
|
2899
3333
|
localVarQueryParameter['tagId'] = tagId;
|
|
2900
3334
|
}
|
|
@@ -2944,6 +3378,10 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2944
3378
|
// authentication ApiKeyAuth required
|
|
2945
3379
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2946
3380
|
|
|
3381
|
+
// authentication BearerAuth required
|
|
3382
|
+
// http bearer authentication required
|
|
3383
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3384
|
+
|
|
2947
3385
|
// authentication CookieAuth required
|
|
2948
3386
|
|
|
2949
3387
|
if (format !== undefined) {
|
|
@@ -2998,13 +3436,16 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
|
2998
3436
|
*
|
|
2999
3437
|
* @summary List reports
|
|
3000
3438
|
* @param {number} [pageNum]
|
|
3439
|
+
* @param {number} [perPage]
|
|
3440
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
3441
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
3001
3442
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
3002
3443
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
3003
3444
|
* @param {*} [options] Override http request option.
|
|
3004
3445
|
* @throws {RequiredError}
|
|
3005
3446
|
*/
|
|
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);
|
|
3447
|
+
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>> {
|
|
3448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getReports(pageNum, perPage, orderBy, order, tagId, reportTaskId, options);
|
|
3008
3449
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3009
3450
|
},
|
|
3010
3451
|
/**
|
|
@@ -3053,13 +3494,16 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
|
3053
3494
|
*
|
|
3054
3495
|
* @summary List reports
|
|
3055
3496
|
* @param {number} [pageNum]
|
|
3497
|
+
* @param {number} [perPage]
|
|
3498
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
3499
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
3056
3500
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
3057
3501
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
3058
3502
|
* @param {*} [options] Override http request option.
|
|
3059
3503
|
* @throws {RequiredError}
|
|
3060
3504
|
*/
|
|
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));
|
|
3505
|
+
getReports(pageNum?: number, perPage?: number, orderBy?: 'title' | 'createdAt', order?: 'asc' | 'desc', tagId?: string, reportTaskId?: string, options?: any): AxiosPromise<InlineResponse2003> {
|
|
3506
|
+
return localVarFp.getReports(pageNum, perPage, orderBy, order, tagId, reportTaskId, options).then((request) => request(axios, basePath));
|
|
3063
3507
|
},
|
|
3064
3508
|
/**
|
|
3065
3509
|
*
|
|
@@ -3110,14 +3554,17 @@ export class ReportsApi extends BaseAPI {
|
|
|
3110
3554
|
*
|
|
3111
3555
|
* @summary List reports
|
|
3112
3556
|
* @param {number} [pageNum]
|
|
3557
|
+
* @param {number} [perPage]
|
|
3558
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
3559
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
3113
3560
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
3114
3561
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
3115
3562
|
* @param {*} [options] Override http request option.
|
|
3116
3563
|
* @throws {RequiredError}
|
|
3117
3564
|
* @memberof ReportsApi
|
|
3118
3565
|
*/
|
|
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));
|
|
3566
|
+
public getReports(pageNum?: number, perPage?: number, orderBy?: 'title' | 'createdAt', order?: 'asc' | 'desc', tagId?: string, reportTaskId?: string, options?: any) {
|
|
3567
|
+
return ReportsApiFp(this.configuration).getReports(pageNum, perPage, orderBy, order, tagId, reportTaskId, options).then((request) => request(this.axios, this.basePath));
|
|
3121
3568
|
}
|
|
3122
3569
|
|
|
3123
3570
|
/**
|
|
@@ -3166,6 +3613,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3166
3613
|
// authentication ApiKeyAuth required
|
|
3167
3614
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3168
3615
|
|
|
3616
|
+
// authentication BearerAuth required
|
|
3617
|
+
// http bearer authentication required
|
|
3618
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3619
|
+
|
|
3169
3620
|
// authentication CookieAuth required
|
|
3170
3621
|
|
|
3171
3622
|
|
|
@@ -3209,6 +3660,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3209
3660
|
// authentication ApiKeyAuth required
|
|
3210
3661
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3211
3662
|
|
|
3663
|
+
// authentication BearerAuth required
|
|
3664
|
+
// http bearer authentication required
|
|
3665
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3666
|
+
|
|
3212
3667
|
// authentication CookieAuth required
|
|
3213
3668
|
|
|
3214
3669
|
|
|
@@ -3249,6 +3704,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3249
3704
|
// authentication ApiKeyAuth required
|
|
3250
3705
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3251
3706
|
|
|
3707
|
+
// authentication BearerAuth required
|
|
3708
|
+
// http bearer authentication required
|
|
3709
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3710
|
+
|
|
3252
3711
|
// authentication CookieAuth required
|
|
3253
3712
|
|
|
3254
3713
|
|
|
@@ -3289,6 +3748,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3289
3748
|
// authentication ApiKeyAuth required
|
|
3290
3749
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3291
3750
|
|
|
3751
|
+
// authentication BearerAuth required
|
|
3752
|
+
// http bearer authentication required
|
|
3753
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3754
|
+
|
|
3292
3755
|
// authentication CookieAuth required
|
|
3293
3756
|
|
|
3294
3757
|
|
|
@@ -3329,6 +3792,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3329
3792
|
// authentication ApiKeyAuth required
|
|
3330
3793
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3331
3794
|
|
|
3795
|
+
// authentication BearerAuth required
|
|
3796
|
+
// http bearer authentication required
|
|
3797
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3798
|
+
|
|
3332
3799
|
// authentication CookieAuth required
|
|
3333
3800
|
|
|
3334
3801
|
|
|
@@ -3366,6 +3833,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3366
3833
|
// authentication ApiKeyAuth required
|
|
3367
3834
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3368
3835
|
|
|
3836
|
+
// authentication BearerAuth required
|
|
3837
|
+
// http bearer authentication required
|
|
3838
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3839
|
+
|
|
3369
3840
|
// authentication CookieAuth required
|
|
3370
3841
|
|
|
3371
3842
|
if (pageNum !== undefined) {
|
|
@@ -3408,6 +3879,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3408
3879
|
// authentication ApiKeyAuth required
|
|
3409
3880
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3410
3881
|
|
|
3882
|
+
// authentication BearerAuth required
|
|
3883
|
+
// http bearer authentication required
|
|
3884
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3885
|
+
|
|
3411
3886
|
// authentication CookieAuth required
|
|
3412
3887
|
|
|
3413
3888
|
|
|
@@ -3461,6 +3936,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3461
3936
|
// authentication ApiKeyAuth required
|
|
3462
3937
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3463
3938
|
|
|
3939
|
+
// authentication BearerAuth required
|
|
3940
|
+
// http bearer authentication required
|
|
3941
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3942
|
+
|
|
3464
3943
|
// authentication CookieAuth required
|
|
3465
3944
|
|
|
3466
3945
|
if (format !== undefined) {
|
|
@@ -3508,6 +3987,10 @@ export const TemplatesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3508
3987
|
// authentication ApiKeyAuth required
|
|
3509
3988
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3510
3989
|
|
|
3990
|
+
// authentication BearerAuth required
|
|
3991
|
+
// http bearer authentication required
|
|
3992
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3993
|
+
|
|
3511
3994
|
// authentication CookieAuth required
|
|
3512
3995
|
|
|
3513
3996
|
|
|
@@ -3892,6 +4375,10 @@ export const VisualizationApiAxiosParamCreator = function (configuration?: Confi
|
|
|
3892
4375
|
// authentication ApiKeyAuth required
|
|
3893
4376
|
await setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3894
4377
|
|
|
4378
|
+
// authentication BearerAuth required
|
|
4379
|
+
// http bearer authentication required
|
|
4380
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4381
|
+
|
|
3895
4382
|
// authentication CookieAuth required
|
|
3896
4383
|
|
|
3897
4384
|
if (priority !== undefined) {
|