@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/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ConnectReport Core API
|
|
6
6
|
* Leverage core reporting, templating, and document automation capabilities of ConnectReport Server.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.78.6
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,10 +16,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
var extendStatics = function (d, b) {
|
|
17
17
|
extendStatics = Object.setPrototypeOf ||
|
|
18
18
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
20
|
return extendStatics(d, b);
|
|
21
21
|
};
|
|
22
22
|
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
23
25
|
extendStatics(d, b);
|
|
24
26
|
function __() { this.constructor = d; }
|
|
25
27
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -51,7 +53,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
51
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
52
54
|
function step(op) {
|
|
53
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
54
|
-
while (_) try {
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
55
57
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
56
58
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
57
59
|
switch (op[0]) {
|
|
@@ -88,10 +90,11 @@ var FilterCycleFrequencyEnum;
|
|
|
88
90
|
(function (FilterCycleFrequencyEnum) {
|
|
89
91
|
FilterCycleFrequencyEnum["Monthly"] = "Monthly";
|
|
90
92
|
FilterCycleFrequencyEnum["OnceNow"] = "Once - now";
|
|
91
|
-
FilterCycleFrequencyEnum["OnceScheduled"] = "Once -
|
|
93
|
+
FilterCycleFrequencyEnum["OnceScheduled"] = "Once - scheduled";
|
|
92
94
|
FilterCycleFrequencyEnum["Annually"] = "Annually";
|
|
93
95
|
FilterCycleFrequencyEnum["Daily"] = "Daily";
|
|
94
96
|
FilterCycleFrequencyEnum["Weekly"] = "Weekly";
|
|
97
|
+
FilterCycleFrequencyEnum["UponTrigger"] = "Upon trigger";
|
|
95
98
|
})(FilterCycleFrequencyEnum = exports.FilterCycleFrequencyEnum || (exports.FilterCycleFrequencyEnum = {}));
|
|
96
99
|
/**
|
|
97
100
|
* @export
|
|
@@ -112,10 +115,11 @@ var ReportTaskFrequencyEnum;
|
|
|
112
115
|
(function (ReportTaskFrequencyEnum) {
|
|
113
116
|
ReportTaskFrequencyEnum["Monthly"] = "Monthly";
|
|
114
117
|
ReportTaskFrequencyEnum["OnceNow"] = "Once - now";
|
|
115
|
-
ReportTaskFrequencyEnum["OnceScheduled"] = "Once -
|
|
118
|
+
ReportTaskFrequencyEnum["OnceScheduled"] = "Once - scheduled";
|
|
116
119
|
ReportTaskFrequencyEnum["Annually"] = "Annually";
|
|
117
120
|
ReportTaskFrequencyEnum["Daily"] = "Daily";
|
|
118
121
|
ReportTaskFrequencyEnum["Weekly"] = "Weekly";
|
|
122
|
+
ReportTaskFrequencyEnum["UponTrigger"] = "Upon trigger";
|
|
119
123
|
})(ReportTaskFrequencyEnum = exports.ReportTaskFrequencyEnum || (exports.ReportTaskFrequencyEnum = {}));
|
|
120
124
|
/**
|
|
121
125
|
* @export
|
|
@@ -136,10 +140,11 @@ var ReportTaskRequestFrequencyEnum;
|
|
|
136
140
|
(function (ReportTaskRequestFrequencyEnum) {
|
|
137
141
|
ReportTaskRequestFrequencyEnum["Monthly"] = "Monthly";
|
|
138
142
|
ReportTaskRequestFrequencyEnum["OnceNow"] = "Once - now";
|
|
139
|
-
ReportTaskRequestFrequencyEnum["OnceScheduled"] = "Once -
|
|
143
|
+
ReportTaskRequestFrequencyEnum["OnceScheduled"] = "Once - scheduled";
|
|
140
144
|
ReportTaskRequestFrequencyEnum["Annually"] = "Annually";
|
|
141
145
|
ReportTaskRequestFrequencyEnum["Daily"] = "Daily";
|
|
142
146
|
ReportTaskRequestFrequencyEnum["Weekly"] = "Weekly";
|
|
147
|
+
ReportTaskRequestFrequencyEnum["UponTrigger"] = "Upon trigger";
|
|
143
148
|
})(ReportTaskRequestFrequencyEnum = exports.ReportTaskRequestFrequencyEnum || (exports.ReportTaskRequestFrequencyEnum = {}));
|
|
144
149
|
/**
|
|
145
150
|
* @export
|
|
@@ -160,10 +165,11 @@ var ReportTaskResponseFrequencyEnum;
|
|
|
160
165
|
(function (ReportTaskResponseFrequencyEnum) {
|
|
161
166
|
ReportTaskResponseFrequencyEnum["Monthly"] = "Monthly";
|
|
162
167
|
ReportTaskResponseFrequencyEnum["OnceNow"] = "Once - now";
|
|
163
|
-
ReportTaskResponseFrequencyEnum["OnceScheduled"] = "Once -
|
|
168
|
+
ReportTaskResponseFrequencyEnum["OnceScheduled"] = "Once - scheduled";
|
|
164
169
|
ReportTaskResponseFrequencyEnum["Annually"] = "Annually";
|
|
165
170
|
ReportTaskResponseFrequencyEnum["Daily"] = "Daily";
|
|
166
171
|
ReportTaskResponseFrequencyEnum["Weekly"] = "Weekly";
|
|
172
|
+
ReportTaskResponseFrequencyEnum["UponTrigger"] = "Upon trigger";
|
|
167
173
|
})(ReportTaskResponseFrequencyEnum = exports.ReportTaskResponseFrequencyEnum || (exports.ReportTaskResponseFrequencyEnum = {}));
|
|
168
174
|
/**
|
|
169
175
|
* @export
|
|
@@ -180,7 +186,7 @@ var ReportTaskResponseEmailEnum;
|
|
|
180
186
|
* BaseTemplatesApi - axios parameter creator
|
|
181
187
|
* @export
|
|
182
188
|
*/
|
|
183
|
-
|
|
189
|
+
var BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
184
190
|
var _this = this;
|
|
185
191
|
return {
|
|
186
192
|
/**
|
|
@@ -198,9 +204,9 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
198
204
|
switch (_a.label) {
|
|
199
205
|
case 0:
|
|
200
206
|
// verify required parameter 'id' is not null or undefined
|
|
201
|
-
common_1.assertParamExists('duplicateBaseTemplate', 'id', id);
|
|
207
|
+
(0, common_1.assertParamExists)('duplicateBaseTemplate', 'id', id);
|
|
202
208
|
localVarPath = "/base-templates/{Id}/duplicate"
|
|
203
|
-
.replace("{"
|
|
209
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
204
210
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
205
211
|
if (configuration) {
|
|
206
212
|
baseOptions = configuration.baseOptions;
|
|
@@ -209,19 +215,29 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
209
215
|
localVarHeaderParameter = {};
|
|
210
216
|
localVarQueryParameter = {};
|
|
211
217
|
// authentication ApiKeyAuth required
|
|
212
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
213
|
-
// authentication
|
|
218
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
219
|
+
// authentication BearerAuth required
|
|
220
|
+
// http bearer authentication required
|
|
214
221
|
];
|
|
215
222
|
case 1:
|
|
216
223
|
// authentication ApiKeyAuth required
|
|
217
224
|
_a.sent();
|
|
225
|
+
// authentication BearerAuth required
|
|
226
|
+
// http bearer authentication required
|
|
227
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
228
|
+
// authentication CookieAuth required
|
|
229
|
+
];
|
|
230
|
+
case 2:
|
|
231
|
+
// authentication BearerAuth required
|
|
232
|
+
// http bearer authentication required
|
|
233
|
+
_a.sent();
|
|
218
234
|
// authentication CookieAuth required
|
|
219
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
235
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
220
236
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
221
237
|
formHeaders = {};
|
|
222
238
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
223
239
|
return [2 /*return*/, {
|
|
224
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
240
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
225
241
|
options: localVarRequestOptions,
|
|
226
242
|
}];
|
|
227
243
|
}
|
|
@@ -252,12 +268,22 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
252
268
|
localVarHeaderParameter = {};
|
|
253
269
|
localVarQueryParameter = {};
|
|
254
270
|
// authentication ApiKeyAuth required
|
|
255
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
256
|
-
// authentication
|
|
271
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
272
|
+
// authentication BearerAuth required
|
|
273
|
+
// http bearer authentication required
|
|
257
274
|
];
|
|
258
275
|
case 1:
|
|
259
276
|
// authentication ApiKeyAuth required
|
|
260
277
|
_a.sent();
|
|
278
|
+
// authentication BearerAuth required
|
|
279
|
+
// http bearer authentication required
|
|
280
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
281
|
+
// authentication CookieAuth required
|
|
282
|
+
];
|
|
283
|
+
case 2:
|
|
284
|
+
// authentication BearerAuth required
|
|
285
|
+
// http bearer authentication required
|
|
286
|
+
_a.sent();
|
|
261
287
|
// authentication CookieAuth required
|
|
262
288
|
if (pageNum !== undefined) {
|
|
263
289
|
localVarQueryParameter['pageNum'] = pageNum;
|
|
@@ -265,12 +291,12 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
265
291
|
if (page !== undefined) {
|
|
266
292
|
localVarQueryParameter['page'] = page;
|
|
267
293
|
}
|
|
268
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
294
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
269
295
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
270
296
|
formHeaders = {};
|
|
271
297
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
272
298
|
return [2 /*return*/, {
|
|
273
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
299
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
274
300
|
options: localVarRequestOptions,
|
|
275
301
|
}];
|
|
276
302
|
}
|
|
@@ -279,12 +305,13 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
279
305
|
},
|
|
280
306
|
};
|
|
281
307
|
};
|
|
308
|
+
exports.BaseTemplatesApiAxiosParamCreator = BaseTemplatesApiAxiosParamCreator;
|
|
282
309
|
/**
|
|
283
310
|
* BaseTemplatesApi - functional programming interface
|
|
284
311
|
* @export
|
|
285
312
|
*/
|
|
286
|
-
|
|
287
|
-
var localVarAxiosParamCreator = exports.BaseTemplatesApiAxiosParamCreator(configuration);
|
|
313
|
+
var BaseTemplatesApiFp = function (configuration) {
|
|
314
|
+
var localVarAxiosParamCreator = (0, exports.BaseTemplatesApiAxiosParamCreator)(configuration);
|
|
288
315
|
return {
|
|
289
316
|
/**
|
|
290
317
|
* Duplicate a base template by its ID
|
|
@@ -301,7 +328,7 @@ exports.BaseTemplatesApiFp = function (configuration) {
|
|
|
301
328
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.duplicateBaseTemplate(id, options)];
|
|
302
329
|
case 1:
|
|
303
330
|
localVarAxiosArgs = _a.sent();
|
|
304
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
331
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
305
332
|
}
|
|
306
333
|
});
|
|
307
334
|
});
|
|
@@ -322,19 +349,20 @@ exports.BaseTemplatesApiFp = function (configuration) {
|
|
|
322
349
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBaseTemplates(pageNum, page, options)];
|
|
323
350
|
case 1:
|
|
324
351
|
localVarAxiosArgs = _a.sent();
|
|
325
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
352
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
326
353
|
}
|
|
327
354
|
});
|
|
328
355
|
});
|
|
329
356
|
},
|
|
330
357
|
};
|
|
331
358
|
};
|
|
359
|
+
exports.BaseTemplatesApiFp = BaseTemplatesApiFp;
|
|
332
360
|
/**
|
|
333
361
|
* BaseTemplatesApi - factory interface
|
|
334
362
|
* @export
|
|
335
363
|
*/
|
|
336
|
-
|
|
337
|
-
var localVarFp = exports.BaseTemplatesApiFp(configuration);
|
|
364
|
+
var BaseTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
365
|
+
var localVarFp = (0, exports.BaseTemplatesApiFp)(configuration);
|
|
338
366
|
return {
|
|
339
367
|
/**
|
|
340
368
|
* Duplicate a base template by its ID
|
|
@@ -359,6 +387,7 @@ exports.BaseTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
359
387
|
},
|
|
360
388
|
};
|
|
361
389
|
};
|
|
390
|
+
exports.BaseTemplatesApiFactory = BaseTemplatesApiFactory;
|
|
362
391
|
/**
|
|
363
392
|
* BaseTemplatesApi - object-oriented interface
|
|
364
393
|
* @export
|
|
@@ -380,7 +409,7 @@ var BaseTemplatesApi = /** @class */ (function (_super) {
|
|
|
380
409
|
*/
|
|
381
410
|
BaseTemplatesApi.prototype.duplicateBaseTemplate = function (id, options) {
|
|
382
411
|
var _this = this;
|
|
383
|
-
return exports.BaseTemplatesApiFp(this.configuration).duplicateBaseTemplate(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
412
|
+
return (0, exports.BaseTemplatesApiFp)(this.configuration).duplicateBaseTemplate(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
384
413
|
};
|
|
385
414
|
/**
|
|
386
415
|
*
|
|
@@ -393,7 +422,7 @@ var BaseTemplatesApi = /** @class */ (function (_super) {
|
|
|
393
422
|
*/
|
|
394
423
|
BaseTemplatesApi.prototype.getBaseTemplates = function (pageNum, page, options) {
|
|
395
424
|
var _this = this;
|
|
396
|
-
return exports.BaseTemplatesApiFp(this.configuration).getBaseTemplates(pageNum, page, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
425
|
+
return (0, exports.BaseTemplatesApiFp)(this.configuration).getBaseTemplates(pageNum, page, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
397
426
|
};
|
|
398
427
|
return BaseTemplatesApi;
|
|
399
428
|
}(base_1.BaseAPI));
|
|
@@ -402,7 +431,7 @@ exports.BaseTemplatesApi = BaseTemplatesApi;
|
|
|
402
431
|
* DocumentsApi - axios parameter creator
|
|
403
432
|
* @export
|
|
404
433
|
*/
|
|
405
|
-
|
|
434
|
+
var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
406
435
|
var _this = this;
|
|
407
436
|
return {
|
|
408
437
|
/**
|
|
@@ -422,12 +451,12 @@ exports.DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
422
451
|
switch (_a.label) {
|
|
423
452
|
case 0:
|
|
424
453
|
// verify required parameter 'fileName' is not null or undefined
|
|
425
|
-
common_1.assertParamExists('getDocument', 'fileName', fileName);
|
|
454
|
+
(0, common_1.assertParamExists)('getDocument', 'fileName', fileName);
|
|
426
455
|
// verify required parameter 'fileType' is not null or undefined
|
|
427
|
-
common_1.assertParamExists('getDocument', 'fileType', fileType);
|
|
456
|
+
(0, common_1.assertParamExists)('getDocument', 'fileType', fileType);
|
|
428
457
|
localVarPath = "/documents/{fileType}/{fileName}"
|
|
429
|
-
.replace("{"
|
|
430
|
-
.replace("{"
|
|
458
|
+
.replace("{".concat("fileName", "}"), encodeURIComponent(String(fileName)))
|
|
459
|
+
.replace("{".concat("fileType", "}"), encodeURIComponent(String(fileType)));
|
|
431
460
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
432
461
|
if (configuration) {
|
|
433
462
|
baseOptions = configuration.baseOptions;
|
|
@@ -436,22 +465,32 @@ exports.DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
436
465
|
localVarHeaderParameter = {};
|
|
437
466
|
localVarQueryParameter = {};
|
|
438
467
|
// authentication ApiKeyAuth required
|
|
439
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
440
|
-
// authentication
|
|
468
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
469
|
+
// authentication BearerAuth required
|
|
470
|
+
// http bearer authentication required
|
|
441
471
|
];
|
|
442
472
|
case 1:
|
|
443
473
|
// authentication ApiKeyAuth required
|
|
444
474
|
_a.sent();
|
|
475
|
+
// authentication BearerAuth required
|
|
476
|
+
// http bearer authentication required
|
|
477
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
478
|
+
// authentication CookieAuth required
|
|
479
|
+
];
|
|
480
|
+
case 2:
|
|
481
|
+
// authentication BearerAuth required
|
|
482
|
+
// http bearer authentication required
|
|
483
|
+
_a.sent();
|
|
445
484
|
// authentication CookieAuth required
|
|
446
485
|
if (attachmentName !== undefined) {
|
|
447
486
|
localVarQueryParameter['attachmentName'] = attachmentName;
|
|
448
487
|
}
|
|
449
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
488
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
450
489
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
451
490
|
formHeaders = {};
|
|
452
491
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
453
492
|
return [2 /*return*/, {
|
|
454
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
493
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
455
494
|
options: localVarRequestOptions,
|
|
456
495
|
}];
|
|
457
496
|
}
|
|
@@ -460,12 +499,13 @@ exports.DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
460
499
|
},
|
|
461
500
|
};
|
|
462
501
|
};
|
|
502
|
+
exports.DocumentsApiAxiosParamCreator = DocumentsApiAxiosParamCreator;
|
|
463
503
|
/**
|
|
464
504
|
* DocumentsApi - functional programming interface
|
|
465
505
|
* @export
|
|
466
506
|
*/
|
|
467
|
-
|
|
468
|
-
var localVarAxiosParamCreator = exports.DocumentsApiAxiosParamCreator(configuration);
|
|
507
|
+
var DocumentsApiFp = function (configuration) {
|
|
508
|
+
var localVarAxiosParamCreator = (0, exports.DocumentsApiAxiosParamCreator)(configuration);
|
|
469
509
|
return {
|
|
470
510
|
/**
|
|
471
511
|
*
|
|
@@ -484,19 +524,20 @@ exports.DocumentsApiFp = function (configuration) {
|
|
|
484
524
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDocument(fileName, fileType, attachmentName, options)];
|
|
485
525
|
case 1:
|
|
486
526
|
localVarAxiosArgs = _a.sent();
|
|
487
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
527
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
488
528
|
}
|
|
489
529
|
});
|
|
490
530
|
});
|
|
491
531
|
},
|
|
492
532
|
};
|
|
493
533
|
};
|
|
534
|
+
exports.DocumentsApiFp = DocumentsApiFp;
|
|
494
535
|
/**
|
|
495
536
|
* DocumentsApi - factory interface
|
|
496
537
|
* @export
|
|
497
538
|
*/
|
|
498
|
-
|
|
499
|
-
var localVarFp = exports.DocumentsApiFp(configuration);
|
|
539
|
+
var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
540
|
+
var localVarFp = (0, exports.DocumentsApiFp)(configuration);
|
|
500
541
|
return {
|
|
501
542
|
/**
|
|
502
543
|
*
|
|
@@ -512,6 +553,7 @@ exports.DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
512
553
|
},
|
|
513
554
|
};
|
|
514
555
|
};
|
|
556
|
+
exports.DocumentsApiFactory = DocumentsApiFactory;
|
|
515
557
|
/**
|
|
516
558
|
* DocumentsApi - object-oriented interface
|
|
517
559
|
* @export
|
|
@@ -535,7 +577,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
535
577
|
*/
|
|
536
578
|
DocumentsApi.prototype.getDocument = function (fileName, fileType, attachmentName, options) {
|
|
537
579
|
var _this = this;
|
|
538
|
-
return exports.DocumentsApiFp(this.configuration).getDocument(fileName, fileType, attachmentName, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
580
|
+
return (0, exports.DocumentsApiFp)(this.configuration).getDocument(fileName, fileType, attachmentName, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
539
581
|
};
|
|
540
582
|
return DocumentsApi;
|
|
541
583
|
}(base_1.BaseAPI));
|
|
@@ -544,7 +586,7 @@ exports.DocumentsApi = DocumentsApi;
|
|
|
544
586
|
* FilterCyclesApi - axios parameter creator
|
|
545
587
|
* @export
|
|
546
588
|
*/
|
|
547
|
-
|
|
589
|
+
var FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
548
590
|
var _this = this;
|
|
549
591
|
return {
|
|
550
592
|
/**
|
|
@@ -562,7 +604,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
562
604
|
switch (_a.label) {
|
|
563
605
|
case 0:
|
|
564
606
|
// verify required parameter 'filterCycle' is not null or undefined
|
|
565
|
-
common_1.assertParamExists('createFilterCycle', 'filterCycle', filterCycle);
|
|
607
|
+
(0, common_1.assertParamExists)('createFilterCycle', 'filterCycle', filterCycle);
|
|
566
608
|
localVarPath = "/filter-cycles";
|
|
567
609
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
568
610
|
if (configuration) {
|
|
@@ -572,21 +614,31 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
572
614
|
localVarHeaderParameter = {};
|
|
573
615
|
localVarQueryParameter = {};
|
|
574
616
|
// authentication ApiKeyAuth required
|
|
575
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
576
|
-
// authentication
|
|
617
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
618
|
+
// authentication BearerAuth required
|
|
619
|
+
// http bearer authentication required
|
|
577
620
|
];
|
|
578
621
|
case 1:
|
|
579
622
|
// authentication ApiKeyAuth required
|
|
580
623
|
_a.sent();
|
|
624
|
+
// authentication BearerAuth required
|
|
625
|
+
// http bearer authentication required
|
|
626
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
627
|
+
// authentication CookieAuth required
|
|
628
|
+
];
|
|
629
|
+
case 2:
|
|
630
|
+
// authentication BearerAuth required
|
|
631
|
+
// http bearer authentication required
|
|
632
|
+
_a.sent();
|
|
581
633
|
// authentication CookieAuth required
|
|
582
634
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
583
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
635
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
584
636
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
585
637
|
formHeaders = {};
|
|
586
638
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
587
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(filterCycle, localVarRequestOptions, configuration);
|
|
639
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(filterCycle, localVarRequestOptions, configuration);
|
|
588
640
|
return [2 /*return*/, {
|
|
589
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
641
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
590
642
|
options: localVarRequestOptions,
|
|
591
643
|
}];
|
|
592
644
|
}
|
|
@@ -608,9 +660,9 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
608
660
|
switch (_a.label) {
|
|
609
661
|
case 0:
|
|
610
662
|
// verify required parameter 'id' is not null or undefined
|
|
611
|
-
common_1.assertParamExists('deleteFilterCycle', 'id', id);
|
|
663
|
+
(0, common_1.assertParamExists)('deleteFilterCycle', 'id', id);
|
|
612
664
|
localVarPath = "/filter-cycles/{Id}"
|
|
613
|
-
.replace("{"
|
|
665
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
614
666
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
615
667
|
if (configuration) {
|
|
616
668
|
baseOptions = configuration.baseOptions;
|
|
@@ -619,19 +671,139 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
619
671
|
localVarHeaderParameter = {};
|
|
620
672
|
localVarQueryParameter = {};
|
|
621
673
|
// authentication ApiKeyAuth required
|
|
622
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
674
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
675
|
+
// authentication BearerAuth required
|
|
676
|
+
// http bearer authentication required
|
|
677
|
+
];
|
|
678
|
+
case 1:
|
|
679
|
+
// authentication ApiKeyAuth required
|
|
680
|
+
_a.sent();
|
|
681
|
+
// authentication BearerAuth required
|
|
682
|
+
// http bearer authentication required
|
|
683
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
623
684
|
// authentication CookieAuth required
|
|
624
685
|
];
|
|
686
|
+
case 2:
|
|
687
|
+
// authentication BearerAuth required
|
|
688
|
+
// http bearer authentication required
|
|
689
|
+
_a.sent();
|
|
690
|
+
// authentication CookieAuth required
|
|
691
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
692
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
693
|
+
formHeaders = {};
|
|
694
|
+
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
695
|
+
return [2 /*return*/, {
|
|
696
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
697
|
+
options: localVarRequestOptions,
|
|
698
|
+
}];
|
|
699
|
+
}
|
|
700
|
+
});
|
|
701
|
+
});
|
|
702
|
+
},
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @summary Disable all report tasks in a cycle
|
|
706
|
+
* @param {string} id
|
|
707
|
+
* @param {*} [options] Override http request option.
|
|
708
|
+
* @throws {RequiredError}
|
|
709
|
+
*/
|
|
710
|
+
disableAllInCycle: function (id, options) {
|
|
711
|
+
if (options === void 0) { options = {}; }
|
|
712
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
713
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions, formHeaders;
|
|
714
|
+
return __generator(this, function (_a) {
|
|
715
|
+
switch (_a.label) {
|
|
716
|
+
case 0:
|
|
717
|
+
// verify required parameter 'id' is not null or undefined
|
|
718
|
+
(0, common_1.assertParamExists)('disableAllInCycle', 'id', id);
|
|
719
|
+
localVarPath = "/filter-cycles/{Id}/disable"
|
|
720
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
721
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
722
|
+
if (configuration) {
|
|
723
|
+
baseOptions = configuration.baseOptions;
|
|
724
|
+
}
|
|
725
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
726
|
+
localVarHeaderParameter = {};
|
|
727
|
+
localVarQueryParameter = {};
|
|
728
|
+
// authentication ApiKeyAuth required
|
|
729
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
730
|
+
// authentication BearerAuth required
|
|
731
|
+
// http bearer authentication required
|
|
732
|
+
];
|
|
733
|
+
case 1:
|
|
734
|
+
// authentication ApiKeyAuth required
|
|
735
|
+
_a.sent();
|
|
736
|
+
// authentication BearerAuth required
|
|
737
|
+
// http bearer authentication required
|
|
738
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
739
|
+
// authentication CookieAuth required
|
|
740
|
+
];
|
|
741
|
+
case 2:
|
|
742
|
+
// authentication BearerAuth required
|
|
743
|
+
// http bearer authentication required
|
|
744
|
+
_a.sent();
|
|
745
|
+
// authentication CookieAuth required
|
|
746
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
747
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
748
|
+
formHeaders = {};
|
|
749
|
+
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
750
|
+
return [2 /*return*/, {
|
|
751
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
752
|
+
options: localVarRequestOptions,
|
|
753
|
+
}];
|
|
754
|
+
}
|
|
755
|
+
});
|
|
756
|
+
});
|
|
757
|
+
},
|
|
758
|
+
/**
|
|
759
|
+
*
|
|
760
|
+
* @summary Enable all report tasks in a cycle
|
|
761
|
+
* @param {string} id
|
|
762
|
+
* @param {*} [options] Override http request option.
|
|
763
|
+
* @throws {RequiredError}
|
|
764
|
+
*/
|
|
765
|
+
enableAllInCycle: function (id, options) {
|
|
766
|
+
if (options === void 0) { options = {}; }
|
|
767
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
768
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions, formHeaders;
|
|
769
|
+
return __generator(this, function (_a) {
|
|
770
|
+
switch (_a.label) {
|
|
771
|
+
case 0:
|
|
772
|
+
// verify required parameter 'id' is not null or undefined
|
|
773
|
+
(0, common_1.assertParamExists)('enableAllInCycle', 'id', id);
|
|
774
|
+
localVarPath = "/filter-cycles/{Id}/enable"
|
|
775
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
776
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
777
|
+
if (configuration) {
|
|
778
|
+
baseOptions = configuration.baseOptions;
|
|
779
|
+
}
|
|
780
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
781
|
+
localVarHeaderParameter = {};
|
|
782
|
+
localVarQueryParameter = {};
|
|
783
|
+
// authentication ApiKeyAuth required
|
|
784
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
785
|
+
// authentication BearerAuth required
|
|
786
|
+
// http bearer authentication required
|
|
787
|
+
];
|
|
625
788
|
case 1:
|
|
626
789
|
// authentication ApiKeyAuth required
|
|
627
790
|
_a.sent();
|
|
791
|
+
// authentication BearerAuth required
|
|
792
|
+
// http bearer authentication required
|
|
793
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
794
|
+
// authentication CookieAuth required
|
|
795
|
+
];
|
|
796
|
+
case 2:
|
|
797
|
+
// authentication BearerAuth required
|
|
798
|
+
// http bearer authentication required
|
|
799
|
+
_a.sent();
|
|
628
800
|
// authentication CookieAuth required
|
|
629
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
801
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
630
802
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
631
803
|
formHeaders = {};
|
|
632
804
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
633
805
|
return [2 /*return*/, {
|
|
634
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
806
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
635
807
|
options: localVarRequestOptions,
|
|
636
808
|
}];
|
|
637
809
|
}
|
|
@@ -653,9 +825,9 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
653
825
|
switch (_a.label) {
|
|
654
826
|
case 0:
|
|
655
827
|
// verify required parameter 'id' is not null or undefined
|
|
656
|
-
common_1.assertParamExists('getFilterCycle', 'id', id);
|
|
828
|
+
(0, common_1.assertParamExists)('getFilterCycle', 'id', id);
|
|
657
829
|
localVarPath = "/filter-cycles/{Id}"
|
|
658
|
-
.replace("{"
|
|
830
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
659
831
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
660
832
|
if (configuration) {
|
|
661
833
|
baseOptions = configuration.baseOptions;
|
|
@@ -664,19 +836,29 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
664
836
|
localVarHeaderParameter = {};
|
|
665
837
|
localVarQueryParameter = {};
|
|
666
838
|
// authentication ApiKeyAuth required
|
|
667
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
668
|
-
// authentication
|
|
839
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
840
|
+
// authentication BearerAuth required
|
|
841
|
+
// http bearer authentication required
|
|
669
842
|
];
|
|
670
843
|
case 1:
|
|
671
844
|
// authentication ApiKeyAuth required
|
|
672
845
|
_a.sent();
|
|
846
|
+
// authentication BearerAuth required
|
|
847
|
+
// http bearer authentication required
|
|
848
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
849
|
+
// authentication CookieAuth required
|
|
850
|
+
];
|
|
851
|
+
case 2:
|
|
852
|
+
// authentication BearerAuth required
|
|
853
|
+
// http bearer authentication required
|
|
854
|
+
_a.sent();
|
|
673
855
|
// authentication CookieAuth required
|
|
674
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
856
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
675
857
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
676
858
|
formHeaders = {};
|
|
677
859
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
678
860
|
return [2 /*return*/, {
|
|
679
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
861
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
680
862
|
options: localVarRequestOptions,
|
|
681
863
|
}];
|
|
682
864
|
}
|
|
@@ -698,7 +880,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
698
880
|
switch (_a.label) {
|
|
699
881
|
case 0:
|
|
700
882
|
// verify required parameter 'templateId' is not null or undefined
|
|
701
|
-
common_1.assertParamExists('getFilterCycles', 'templateId', templateId);
|
|
883
|
+
(0, common_1.assertParamExists)('getFilterCycles', 'templateId', templateId);
|
|
702
884
|
localVarPath = "/filter-cycles";
|
|
703
885
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
704
886
|
if (configuration) {
|
|
@@ -708,22 +890,32 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
708
890
|
localVarHeaderParameter = {};
|
|
709
891
|
localVarQueryParameter = {};
|
|
710
892
|
// authentication ApiKeyAuth required
|
|
711
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
712
|
-
// authentication
|
|
893
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
894
|
+
// authentication BearerAuth required
|
|
895
|
+
// http bearer authentication required
|
|
713
896
|
];
|
|
714
897
|
case 1:
|
|
715
898
|
// authentication ApiKeyAuth required
|
|
716
899
|
_a.sent();
|
|
900
|
+
// authentication BearerAuth required
|
|
901
|
+
// http bearer authentication required
|
|
902
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
903
|
+
// authentication CookieAuth required
|
|
904
|
+
];
|
|
905
|
+
case 2:
|
|
906
|
+
// authentication BearerAuth required
|
|
907
|
+
// http bearer authentication required
|
|
908
|
+
_a.sent();
|
|
717
909
|
// authentication CookieAuth required
|
|
718
910
|
if (templateId !== undefined) {
|
|
719
911
|
localVarQueryParameter['templateId'] = templateId;
|
|
720
912
|
}
|
|
721
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
913
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
722
914
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
723
915
|
formHeaders = {};
|
|
724
916
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
725
917
|
return [2 /*return*/, {
|
|
726
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
918
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
727
919
|
options: localVarRequestOptions,
|
|
728
920
|
}];
|
|
729
921
|
}
|
|
@@ -746,11 +938,11 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
746
938
|
switch (_a.label) {
|
|
747
939
|
case 0:
|
|
748
940
|
// verify required parameter 'id' is not null or undefined
|
|
749
|
-
common_1.assertParamExists('updateFilterCycle', 'id', id);
|
|
941
|
+
(0, common_1.assertParamExists)('updateFilterCycle', 'id', id);
|
|
750
942
|
// verify required parameter 'filterCycle' is not null or undefined
|
|
751
|
-
common_1.assertParamExists('updateFilterCycle', 'filterCycle', filterCycle);
|
|
943
|
+
(0, common_1.assertParamExists)('updateFilterCycle', 'filterCycle', filterCycle);
|
|
752
944
|
localVarPath = "/filter-cycles/{Id}"
|
|
753
|
-
.replace("{"
|
|
945
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
754
946
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
755
947
|
if (configuration) {
|
|
756
948
|
baseOptions = configuration.baseOptions;
|
|
@@ -759,21 +951,31 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
759
951
|
localVarHeaderParameter = {};
|
|
760
952
|
localVarQueryParameter = {};
|
|
761
953
|
// authentication ApiKeyAuth required
|
|
762
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
763
|
-
// authentication
|
|
954
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
955
|
+
// authentication BearerAuth required
|
|
956
|
+
// http bearer authentication required
|
|
764
957
|
];
|
|
765
958
|
case 1:
|
|
766
959
|
// authentication ApiKeyAuth required
|
|
767
960
|
_a.sent();
|
|
961
|
+
// authentication BearerAuth required
|
|
962
|
+
// http bearer authentication required
|
|
963
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
964
|
+
// authentication CookieAuth required
|
|
965
|
+
];
|
|
966
|
+
case 2:
|
|
967
|
+
// authentication BearerAuth required
|
|
968
|
+
// http bearer authentication required
|
|
969
|
+
_a.sent();
|
|
768
970
|
// authentication CookieAuth required
|
|
769
971
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
770
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
972
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
771
973
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
772
974
|
formHeaders = {};
|
|
773
975
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
774
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(filterCycle, localVarRequestOptions, configuration);
|
|
976
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(filterCycle, localVarRequestOptions, configuration);
|
|
775
977
|
return [2 /*return*/, {
|
|
776
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
978
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
777
979
|
options: localVarRequestOptions,
|
|
778
980
|
}];
|
|
779
981
|
}
|
|
@@ -782,12 +984,13 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
782
984
|
},
|
|
783
985
|
};
|
|
784
986
|
};
|
|
987
|
+
exports.FilterCyclesApiAxiosParamCreator = FilterCyclesApiAxiosParamCreator;
|
|
785
988
|
/**
|
|
786
989
|
* FilterCyclesApi - functional programming interface
|
|
787
990
|
* @export
|
|
788
991
|
*/
|
|
789
|
-
|
|
790
|
-
var localVarAxiosParamCreator = exports.FilterCyclesApiAxiosParamCreator(configuration);
|
|
992
|
+
var FilterCyclesApiFp = function (configuration) {
|
|
993
|
+
var localVarAxiosParamCreator = (0, exports.FilterCyclesApiAxiosParamCreator)(configuration);
|
|
791
994
|
return {
|
|
792
995
|
/**
|
|
793
996
|
*
|
|
@@ -804,7 +1007,7 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
804
1007
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createFilterCycle(filterCycle, options)];
|
|
805
1008
|
case 1:
|
|
806
1009
|
localVarAxiosArgs = _a.sent();
|
|
807
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1010
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
808
1011
|
}
|
|
809
1012
|
});
|
|
810
1013
|
});
|
|
@@ -824,7 +1027,47 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
824
1027
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteFilterCycle(id, options)];
|
|
825
1028
|
case 1:
|
|
826
1029
|
localVarAxiosArgs = _a.sent();
|
|
827
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1030
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1031
|
+
}
|
|
1032
|
+
});
|
|
1033
|
+
});
|
|
1034
|
+
},
|
|
1035
|
+
/**
|
|
1036
|
+
*
|
|
1037
|
+
* @summary Disable all report tasks in a cycle
|
|
1038
|
+
* @param {string} id
|
|
1039
|
+
* @param {*} [options] Override http request option.
|
|
1040
|
+
* @throws {RequiredError}
|
|
1041
|
+
*/
|
|
1042
|
+
disableAllInCycle: function (id, options) {
|
|
1043
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1044
|
+
var localVarAxiosArgs;
|
|
1045
|
+
return __generator(this, function (_a) {
|
|
1046
|
+
switch (_a.label) {
|
|
1047
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.disableAllInCycle(id, options)];
|
|
1048
|
+
case 1:
|
|
1049
|
+
localVarAxiosArgs = _a.sent();
|
|
1050
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1051
|
+
}
|
|
1052
|
+
});
|
|
1053
|
+
});
|
|
1054
|
+
},
|
|
1055
|
+
/**
|
|
1056
|
+
*
|
|
1057
|
+
* @summary Enable all report tasks in a cycle
|
|
1058
|
+
* @param {string} id
|
|
1059
|
+
* @param {*} [options] Override http request option.
|
|
1060
|
+
* @throws {RequiredError}
|
|
1061
|
+
*/
|
|
1062
|
+
enableAllInCycle: function (id, options) {
|
|
1063
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1064
|
+
var localVarAxiosArgs;
|
|
1065
|
+
return __generator(this, function (_a) {
|
|
1066
|
+
switch (_a.label) {
|
|
1067
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.enableAllInCycle(id, options)];
|
|
1068
|
+
case 1:
|
|
1069
|
+
localVarAxiosArgs = _a.sent();
|
|
1070
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
828
1071
|
}
|
|
829
1072
|
});
|
|
830
1073
|
});
|
|
@@ -844,7 +1087,7 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
844
1087
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFilterCycle(id, options)];
|
|
845
1088
|
case 1:
|
|
846
1089
|
localVarAxiosArgs = _a.sent();
|
|
847
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1090
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
848
1091
|
}
|
|
849
1092
|
});
|
|
850
1093
|
});
|
|
@@ -864,7 +1107,7 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
864
1107
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFilterCycles(templateId, options)];
|
|
865
1108
|
case 1:
|
|
866
1109
|
localVarAxiosArgs = _a.sent();
|
|
867
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1110
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
868
1111
|
}
|
|
869
1112
|
});
|
|
870
1113
|
});
|
|
@@ -885,19 +1128,20 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
885
1128
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateFilterCycle(id, filterCycle, options)];
|
|
886
1129
|
case 1:
|
|
887
1130
|
localVarAxiosArgs = _a.sent();
|
|
888
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1131
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
889
1132
|
}
|
|
890
1133
|
});
|
|
891
1134
|
});
|
|
892
1135
|
},
|
|
893
1136
|
};
|
|
894
1137
|
};
|
|
1138
|
+
exports.FilterCyclesApiFp = FilterCyclesApiFp;
|
|
895
1139
|
/**
|
|
896
1140
|
* FilterCyclesApi - factory interface
|
|
897
1141
|
* @export
|
|
898
1142
|
*/
|
|
899
|
-
|
|
900
|
-
var localVarFp = exports.FilterCyclesApiFp(configuration);
|
|
1143
|
+
var FilterCyclesApiFactory = function (configuration, basePath, axios) {
|
|
1144
|
+
var localVarFp = (0, exports.FilterCyclesApiFp)(configuration);
|
|
901
1145
|
return {
|
|
902
1146
|
/**
|
|
903
1147
|
*
|
|
@@ -919,6 +1163,26 @@ exports.FilterCyclesApiFactory = function (configuration, basePath, axios) {
|
|
|
919
1163
|
deleteFilterCycle: function (id, options) {
|
|
920
1164
|
return localVarFp.deleteFilterCycle(id, options).then(function (request) { return request(axios, basePath); });
|
|
921
1165
|
},
|
|
1166
|
+
/**
|
|
1167
|
+
*
|
|
1168
|
+
* @summary Disable all report tasks in a cycle
|
|
1169
|
+
* @param {string} id
|
|
1170
|
+
* @param {*} [options] Override http request option.
|
|
1171
|
+
* @throws {RequiredError}
|
|
1172
|
+
*/
|
|
1173
|
+
disableAllInCycle: function (id, options) {
|
|
1174
|
+
return localVarFp.disableAllInCycle(id, options).then(function (request) { return request(axios, basePath); });
|
|
1175
|
+
},
|
|
1176
|
+
/**
|
|
1177
|
+
*
|
|
1178
|
+
* @summary Enable all report tasks in a cycle
|
|
1179
|
+
* @param {string} id
|
|
1180
|
+
* @param {*} [options] Override http request option.
|
|
1181
|
+
* @throws {RequiredError}
|
|
1182
|
+
*/
|
|
1183
|
+
enableAllInCycle: function (id, options) {
|
|
1184
|
+
return localVarFp.enableAllInCycle(id, options).then(function (request) { return request(axios, basePath); });
|
|
1185
|
+
},
|
|
922
1186
|
/**
|
|
923
1187
|
*
|
|
924
1188
|
* @summary Get a filter cycle
|
|
@@ -952,6 +1216,7 @@ exports.FilterCyclesApiFactory = function (configuration, basePath, axios) {
|
|
|
952
1216
|
},
|
|
953
1217
|
};
|
|
954
1218
|
};
|
|
1219
|
+
exports.FilterCyclesApiFactory = FilterCyclesApiFactory;
|
|
955
1220
|
/**
|
|
956
1221
|
* FilterCyclesApi - object-oriented interface
|
|
957
1222
|
* @export
|
|
@@ -973,7 +1238,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
973
1238
|
*/
|
|
974
1239
|
FilterCyclesApi.prototype.createFilterCycle = function (filterCycle, options) {
|
|
975
1240
|
var _this = this;
|
|
976
|
-
return exports.FilterCyclesApiFp(this.configuration).createFilterCycle(filterCycle, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1241
|
+
return (0, exports.FilterCyclesApiFp)(this.configuration).createFilterCycle(filterCycle, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
977
1242
|
};
|
|
978
1243
|
/**
|
|
979
1244
|
*
|
|
@@ -985,7 +1250,31 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
985
1250
|
*/
|
|
986
1251
|
FilterCyclesApi.prototype.deleteFilterCycle = function (id, options) {
|
|
987
1252
|
var _this = this;
|
|
988
|
-
return exports.FilterCyclesApiFp(this.configuration).deleteFilterCycle(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1253
|
+
return (0, exports.FilterCyclesApiFp)(this.configuration).deleteFilterCycle(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1254
|
+
};
|
|
1255
|
+
/**
|
|
1256
|
+
*
|
|
1257
|
+
* @summary Disable all report tasks in a cycle
|
|
1258
|
+
* @param {string} id
|
|
1259
|
+
* @param {*} [options] Override http request option.
|
|
1260
|
+
* @throws {RequiredError}
|
|
1261
|
+
* @memberof FilterCyclesApi
|
|
1262
|
+
*/
|
|
1263
|
+
FilterCyclesApi.prototype.disableAllInCycle = function (id, options) {
|
|
1264
|
+
var _this = this;
|
|
1265
|
+
return (0, exports.FilterCyclesApiFp)(this.configuration).disableAllInCycle(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1266
|
+
};
|
|
1267
|
+
/**
|
|
1268
|
+
*
|
|
1269
|
+
* @summary Enable all report tasks in a cycle
|
|
1270
|
+
* @param {string} id
|
|
1271
|
+
* @param {*} [options] Override http request option.
|
|
1272
|
+
* @throws {RequiredError}
|
|
1273
|
+
* @memberof FilterCyclesApi
|
|
1274
|
+
*/
|
|
1275
|
+
FilterCyclesApi.prototype.enableAllInCycle = function (id, options) {
|
|
1276
|
+
var _this = this;
|
|
1277
|
+
return (0, exports.FilterCyclesApiFp)(this.configuration).enableAllInCycle(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
989
1278
|
};
|
|
990
1279
|
/**
|
|
991
1280
|
*
|
|
@@ -997,7 +1286,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
997
1286
|
*/
|
|
998
1287
|
FilterCyclesApi.prototype.getFilterCycle = function (id, options) {
|
|
999
1288
|
var _this = this;
|
|
1000
|
-
return exports.FilterCyclesApiFp(this.configuration).getFilterCycle(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1289
|
+
return (0, exports.FilterCyclesApiFp)(this.configuration).getFilterCycle(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1001
1290
|
};
|
|
1002
1291
|
/**
|
|
1003
1292
|
*
|
|
@@ -1009,7 +1298,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
1009
1298
|
*/
|
|
1010
1299
|
FilterCyclesApi.prototype.getFilterCycles = function (templateId, options) {
|
|
1011
1300
|
var _this = this;
|
|
1012
|
-
return exports.FilterCyclesApiFp(this.configuration).getFilterCycles(templateId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1301
|
+
return (0, exports.FilterCyclesApiFp)(this.configuration).getFilterCycles(templateId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1013
1302
|
};
|
|
1014
1303
|
/**
|
|
1015
1304
|
*
|
|
@@ -1022,7 +1311,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
1022
1311
|
*/
|
|
1023
1312
|
FilterCyclesApi.prototype.updateFilterCycle = function (id, filterCycle, options) {
|
|
1024
1313
|
var _this = this;
|
|
1025
|
-
return exports.FilterCyclesApiFp(this.configuration).updateFilterCycle(id, filterCycle, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1314
|
+
return (0, exports.FilterCyclesApiFp)(this.configuration).updateFilterCycle(id, filterCycle, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1026
1315
|
};
|
|
1027
1316
|
return FilterCyclesApi;
|
|
1028
1317
|
}(base_1.BaseAPI));
|
|
@@ -1031,7 +1320,7 @@ exports.FilterCyclesApi = FilterCyclesApi;
|
|
|
1031
1320
|
* ImagesApi - axios parameter creator
|
|
1032
1321
|
* @export
|
|
1033
1322
|
*/
|
|
1034
|
-
|
|
1323
|
+
var ImagesApiAxiosParamCreator = function (configuration) {
|
|
1035
1324
|
var _this = this;
|
|
1036
1325
|
return {
|
|
1037
1326
|
/**
|
|
@@ -1049,9 +1338,9 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1049
1338
|
switch (_a.label) {
|
|
1050
1339
|
case 0:
|
|
1051
1340
|
// verify required parameter 'title' is not null or undefined
|
|
1052
|
-
common_1.assertParamExists('getImage', 'title', title);
|
|
1341
|
+
(0, common_1.assertParamExists)('getImage', 'title', title);
|
|
1053
1342
|
localVarPath = "/images/{title}"
|
|
1054
|
-
.replace("{"
|
|
1343
|
+
.replace("{".concat("title", "}"), encodeURIComponent(String(title)));
|
|
1055
1344
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1056
1345
|
if (configuration) {
|
|
1057
1346
|
baseOptions = configuration.baseOptions;
|
|
@@ -1060,19 +1349,29 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1060
1349
|
localVarHeaderParameter = {};
|
|
1061
1350
|
localVarQueryParameter = {};
|
|
1062
1351
|
// authentication ApiKeyAuth required
|
|
1063
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1064
|
-
// authentication
|
|
1352
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1353
|
+
// authentication BearerAuth required
|
|
1354
|
+
// http bearer authentication required
|
|
1065
1355
|
];
|
|
1066
1356
|
case 1:
|
|
1067
1357
|
// authentication ApiKeyAuth required
|
|
1068
1358
|
_a.sent();
|
|
1359
|
+
// authentication BearerAuth required
|
|
1360
|
+
// http bearer authentication required
|
|
1361
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1362
|
+
// authentication CookieAuth required
|
|
1363
|
+
];
|
|
1364
|
+
case 2:
|
|
1365
|
+
// authentication BearerAuth required
|
|
1366
|
+
// http bearer authentication required
|
|
1367
|
+
_a.sent();
|
|
1069
1368
|
// authentication CookieAuth required
|
|
1070
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1369
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1071
1370
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1072
1371
|
formHeaders = {};
|
|
1073
1372
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1074
1373
|
return [2 /*return*/, {
|
|
1075
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1374
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1076
1375
|
options: localVarRequestOptions,
|
|
1077
1376
|
}];
|
|
1078
1377
|
}
|
|
@@ -1103,18 +1402,28 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1103
1402
|
localVarQueryParameter = {};
|
|
1104
1403
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
1105
1404
|
// authentication ApiKeyAuth required
|
|
1106
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1107
|
-
// authentication
|
|
1405
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1406
|
+
// authentication BearerAuth required
|
|
1407
|
+
// http bearer authentication required
|
|
1108
1408
|
];
|
|
1109
1409
|
case 1:
|
|
1110
1410
|
// authentication ApiKeyAuth required
|
|
1111
1411
|
_a.sent();
|
|
1412
|
+
// authentication BearerAuth required
|
|
1413
|
+
// http bearer authentication required
|
|
1414
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1415
|
+
// authentication CookieAuth required
|
|
1416
|
+
];
|
|
1417
|
+
case 2:
|
|
1418
|
+
// authentication BearerAuth required
|
|
1419
|
+
// http bearer authentication required
|
|
1420
|
+
_a.sent();
|
|
1112
1421
|
// authentication CookieAuth required
|
|
1113
1422
|
if (image !== undefined) {
|
|
1114
1423
|
localVarFormParams.append('image', image);
|
|
1115
1424
|
}
|
|
1116
1425
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1117
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1426
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1118
1427
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1119
1428
|
formHeaders = {};
|
|
1120
1429
|
if (configuration && configuration.formDataCtor && localVarFormParams && localVarFormParams.getHeaders) {
|
|
@@ -1123,7 +1432,7 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1123
1432
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1124
1433
|
localVarRequestOptions.data = localVarFormParams;
|
|
1125
1434
|
return [2 /*return*/, {
|
|
1126
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1435
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1127
1436
|
options: localVarRequestOptions,
|
|
1128
1437
|
}];
|
|
1129
1438
|
}
|
|
@@ -1132,12 +1441,13 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1132
1441
|
},
|
|
1133
1442
|
};
|
|
1134
1443
|
};
|
|
1444
|
+
exports.ImagesApiAxiosParamCreator = ImagesApiAxiosParamCreator;
|
|
1135
1445
|
/**
|
|
1136
1446
|
* ImagesApi - functional programming interface
|
|
1137
1447
|
* @export
|
|
1138
1448
|
*/
|
|
1139
|
-
|
|
1140
|
-
var localVarAxiosParamCreator = exports.ImagesApiAxiosParamCreator(configuration);
|
|
1449
|
+
var ImagesApiFp = function (configuration) {
|
|
1450
|
+
var localVarAxiosParamCreator = (0, exports.ImagesApiAxiosParamCreator)(configuration);
|
|
1141
1451
|
return {
|
|
1142
1452
|
/**
|
|
1143
1453
|
*
|
|
@@ -1154,7 +1464,7 @@ exports.ImagesApiFp = function (configuration) {
|
|
|
1154
1464
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getImage(title, options)];
|
|
1155
1465
|
case 1:
|
|
1156
1466
|
localVarAxiosArgs = _a.sent();
|
|
1157
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1467
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1158
1468
|
}
|
|
1159
1469
|
});
|
|
1160
1470
|
});
|
|
@@ -1174,19 +1484,20 @@ exports.ImagesApiFp = function (configuration) {
|
|
|
1174
1484
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.uploadImage(image, options)];
|
|
1175
1485
|
case 1:
|
|
1176
1486
|
localVarAxiosArgs = _a.sent();
|
|
1177
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1487
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1178
1488
|
}
|
|
1179
1489
|
});
|
|
1180
1490
|
});
|
|
1181
1491
|
},
|
|
1182
1492
|
};
|
|
1183
1493
|
};
|
|
1494
|
+
exports.ImagesApiFp = ImagesApiFp;
|
|
1184
1495
|
/**
|
|
1185
1496
|
* ImagesApi - factory interface
|
|
1186
1497
|
* @export
|
|
1187
1498
|
*/
|
|
1188
|
-
|
|
1189
|
-
var localVarFp = exports.ImagesApiFp(configuration);
|
|
1499
|
+
var ImagesApiFactory = function (configuration, basePath, axios) {
|
|
1500
|
+
var localVarFp = (0, exports.ImagesApiFp)(configuration);
|
|
1190
1501
|
return {
|
|
1191
1502
|
/**
|
|
1192
1503
|
*
|
|
@@ -1210,6 +1521,7 @@ exports.ImagesApiFactory = function (configuration, basePath, axios) {
|
|
|
1210
1521
|
},
|
|
1211
1522
|
};
|
|
1212
1523
|
};
|
|
1524
|
+
exports.ImagesApiFactory = ImagesApiFactory;
|
|
1213
1525
|
/**
|
|
1214
1526
|
* ImagesApi - object-oriented interface
|
|
1215
1527
|
* @export
|
|
@@ -1231,7 +1543,7 @@ var ImagesApi = /** @class */ (function (_super) {
|
|
|
1231
1543
|
*/
|
|
1232
1544
|
ImagesApi.prototype.getImage = function (title, options) {
|
|
1233
1545
|
var _this = this;
|
|
1234
|
-
return exports.ImagesApiFp(this.configuration).getImage(title, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1546
|
+
return (0, exports.ImagesApiFp)(this.configuration).getImage(title, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1235
1547
|
};
|
|
1236
1548
|
/**
|
|
1237
1549
|
* Uploads an image to the server for use in templates
|
|
@@ -1243,7 +1555,7 @@ var ImagesApi = /** @class */ (function (_super) {
|
|
|
1243
1555
|
*/
|
|
1244
1556
|
ImagesApi.prototype.uploadImage = function (image, options) {
|
|
1245
1557
|
var _this = this;
|
|
1246
|
-
return exports.ImagesApiFp(this.configuration).uploadImage(image, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1558
|
+
return (0, exports.ImagesApiFp)(this.configuration).uploadImage(image, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1247
1559
|
};
|
|
1248
1560
|
return ImagesApi;
|
|
1249
1561
|
}(base_1.BaseAPI));
|
|
@@ -1252,7 +1564,7 @@ exports.ImagesApi = ImagesApi;
|
|
|
1252
1564
|
* JobsApi - axios parameter creator
|
|
1253
1565
|
* @export
|
|
1254
1566
|
*/
|
|
1255
|
-
|
|
1567
|
+
var JobsApiAxiosParamCreator = function (configuration) {
|
|
1256
1568
|
var _this = this;
|
|
1257
1569
|
return {
|
|
1258
1570
|
/**
|
|
@@ -1270,9 +1582,9 @@ exports.JobsApiAxiosParamCreator = function (configuration) {
|
|
|
1270
1582
|
switch (_a.label) {
|
|
1271
1583
|
case 0:
|
|
1272
1584
|
// verify required parameter 'id' is not null or undefined
|
|
1273
|
-
common_1.assertParamExists('getJob', 'id', id);
|
|
1585
|
+
(0, common_1.assertParamExists)('getJob', 'id', id);
|
|
1274
1586
|
localVarPath = "/jobs/{Id}"
|
|
1275
|
-
.replace("{"
|
|
1587
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1276
1588
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1277
1589
|
if (configuration) {
|
|
1278
1590
|
baseOptions = configuration.baseOptions;
|
|
@@ -1281,19 +1593,29 @@ exports.JobsApiAxiosParamCreator = function (configuration) {
|
|
|
1281
1593
|
localVarHeaderParameter = {};
|
|
1282
1594
|
localVarQueryParameter = {};
|
|
1283
1595
|
// authentication ApiKeyAuth required
|
|
1284
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1285
|
-
// authentication
|
|
1596
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1597
|
+
// authentication BearerAuth required
|
|
1598
|
+
// http bearer authentication required
|
|
1286
1599
|
];
|
|
1287
1600
|
case 1:
|
|
1288
1601
|
// authentication ApiKeyAuth required
|
|
1289
1602
|
_a.sent();
|
|
1603
|
+
// authentication BearerAuth required
|
|
1604
|
+
// http bearer authentication required
|
|
1605
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1606
|
+
// authentication CookieAuth required
|
|
1607
|
+
];
|
|
1608
|
+
case 2:
|
|
1609
|
+
// authentication BearerAuth required
|
|
1610
|
+
// http bearer authentication required
|
|
1611
|
+
_a.sent();
|
|
1290
1612
|
// authentication CookieAuth required
|
|
1291
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1613
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1292
1614
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1293
1615
|
formHeaders = {};
|
|
1294
1616
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1295
1617
|
return [2 /*return*/, {
|
|
1296
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1618
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1297
1619
|
options: localVarRequestOptions,
|
|
1298
1620
|
}];
|
|
1299
1621
|
}
|
|
@@ -1302,12 +1624,13 @@ exports.JobsApiAxiosParamCreator = function (configuration) {
|
|
|
1302
1624
|
},
|
|
1303
1625
|
};
|
|
1304
1626
|
};
|
|
1627
|
+
exports.JobsApiAxiosParamCreator = JobsApiAxiosParamCreator;
|
|
1305
1628
|
/**
|
|
1306
1629
|
* JobsApi - functional programming interface
|
|
1307
1630
|
* @export
|
|
1308
1631
|
*/
|
|
1309
|
-
|
|
1310
|
-
var localVarAxiosParamCreator = exports.JobsApiAxiosParamCreator(configuration);
|
|
1632
|
+
var JobsApiFp = function (configuration) {
|
|
1633
|
+
var localVarAxiosParamCreator = (0, exports.JobsApiAxiosParamCreator)(configuration);
|
|
1311
1634
|
return {
|
|
1312
1635
|
/**
|
|
1313
1636
|
* Get the status of a queued job, including its status and result if available.
|
|
@@ -1324,19 +1647,20 @@ exports.JobsApiFp = function (configuration) {
|
|
|
1324
1647
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getJob(id, options)];
|
|
1325
1648
|
case 1:
|
|
1326
1649
|
localVarAxiosArgs = _a.sent();
|
|
1327
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1650
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1328
1651
|
}
|
|
1329
1652
|
});
|
|
1330
1653
|
});
|
|
1331
1654
|
},
|
|
1332
1655
|
};
|
|
1333
1656
|
};
|
|
1657
|
+
exports.JobsApiFp = JobsApiFp;
|
|
1334
1658
|
/**
|
|
1335
1659
|
* JobsApi - factory interface
|
|
1336
1660
|
* @export
|
|
1337
1661
|
*/
|
|
1338
|
-
|
|
1339
|
-
var localVarFp = exports.JobsApiFp(configuration);
|
|
1662
|
+
var JobsApiFactory = function (configuration, basePath, axios) {
|
|
1663
|
+
var localVarFp = (0, exports.JobsApiFp)(configuration);
|
|
1340
1664
|
return {
|
|
1341
1665
|
/**
|
|
1342
1666
|
* Get the status of a queued job, including its status and result if available.
|
|
@@ -1350,6 +1674,7 @@ exports.JobsApiFactory = function (configuration, basePath, axios) {
|
|
|
1350
1674
|
},
|
|
1351
1675
|
};
|
|
1352
1676
|
};
|
|
1677
|
+
exports.JobsApiFactory = JobsApiFactory;
|
|
1353
1678
|
/**
|
|
1354
1679
|
* JobsApi - object-oriented interface
|
|
1355
1680
|
* @export
|
|
@@ -1371,7 +1696,7 @@ var JobsApi = /** @class */ (function (_super) {
|
|
|
1371
1696
|
*/
|
|
1372
1697
|
JobsApi.prototype.getJob = function (id, options) {
|
|
1373
1698
|
var _this = this;
|
|
1374
|
-
return exports.JobsApiFp(this.configuration).getJob(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1699
|
+
return (0, exports.JobsApiFp)(this.configuration).getJob(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1375
1700
|
};
|
|
1376
1701
|
return JobsApi;
|
|
1377
1702
|
}(base_1.BaseAPI));
|
|
@@ -1380,7 +1705,7 @@ exports.JobsApi = JobsApi;
|
|
|
1380
1705
|
* ReportTasksApi - axios parameter creator
|
|
1381
1706
|
* @export
|
|
1382
1707
|
*/
|
|
1383
|
-
|
|
1708
|
+
var ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
1384
1709
|
var _this = this;
|
|
1385
1710
|
return {
|
|
1386
1711
|
/**
|
|
@@ -1398,7 +1723,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1398
1723
|
switch (_a.label) {
|
|
1399
1724
|
case 0:
|
|
1400
1725
|
// verify required parameter 'reportTaskRequest' is not null or undefined
|
|
1401
|
-
common_1.assertParamExists('createReportTask', 'reportTaskRequest', reportTaskRequest);
|
|
1726
|
+
(0, common_1.assertParamExists)('createReportTask', 'reportTaskRequest', reportTaskRequest);
|
|
1402
1727
|
localVarPath = "/report-tasks";
|
|
1403
1728
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1404
1729
|
if (configuration) {
|
|
@@ -1408,21 +1733,31 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1408
1733
|
localVarHeaderParameter = {};
|
|
1409
1734
|
localVarQueryParameter = {};
|
|
1410
1735
|
// authentication ApiKeyAuth required
|
|
1411
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1412
|
-
// authentication
|
|
1736
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1737
|
+
// authentication BearerAuth required
|
|
1738
|
+
// http bearer authentication required
|
|
1413
1739
|
];
|
|
1414
1740
|
case 1:
|
|
1415
1741
|
// authentication ApiKeyAuth required
|
|
1416
1742
|
_a.sent();
|
|
1743
|
+
// authentication BearerAuth required
|
|
1744
|
+
// http bearer authentication required
|
|
1745
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1746
|
+
// authentication CookieAuth required
|
|
1747
|
+
];
|
|
1748
|
+
case 2:
|
|
1749
|
+
// authentication BearerAuth required
|
|
1750
|
+
// http bearer authentication required
|
|
1751
|
+
_a.sent();
|
|
1417
1752
|
// authentication CookieAuth required
|
|
1418
1753
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1419
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1754
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1420
1755
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1421
1756
|
formHeaders = {};
|
|
1422
1757
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1423
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(reportTaskRequest, localVarRequestOptions, configuration);
|
|
1758
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reportTaskRequest, localVarRequestOptions, configuration);
|
|
1424
1759
|
return [2 /*return*/, {
|
|
1425
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1760
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1426
1761
|
options: localVarRequestOptions,
|
|
1427
1762
|
}];
|
|
1428
1763
|
}
|
|
@@ -1445,9 +1780,9 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1445
1780
|
switch (_a.label) {
|
|
1446
1781
|
case 0:
|
|
1447
1782
|
// verify required parameter 'id' is not null or undefined
|
|
1448
|
-
common_1.assertParamExists('deleteReportTask', 'id', id);
|
|
1783
|
+
(0, common_1.assertParamExists)('deleteReportTask', 'id', id);
|
|
1449
1784
|
localVarPath = "/report-tasks/{Id}"
|
|
1450
|
-
.replace("{"
|
|
1785
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1451
1786
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1452
1787
|
if (configuration) {
|
|
1453
1788
|
baseOptions = configuration.baseOptions;
|
|
@@ -1456,22 +1791,32 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1456
1791
|
localVarHeaderParameter = {};
|
|
1457
1792
|
localVarQueryParameter = {};
|
|
1458
1793
|
// authentication ApiKeyAuth required
|
|
1459
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1460
|
-
// authentication
|
|
1794
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1795
|
+
// authentication BearerAuth required
|
|
1796
|
+
// http bearer authentication required
|
|
1461
1797
|
];
|
|
1462
1798
|
case 1:
|
|
1463
1799
|
// authentication ApiKeyAuth required
|
|
1464
1800
|
_a.sent();
|
|
1801
|
+
// authentication BearerAuth required
|
|
1802
|
+
// http bearer authentication required
|
|
1803
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1804
|
+
// authentication CookieAuth required
|
|
1805
|
+
];
|
|
1806
|
+
case 2:
|
|
1807
|
+
// authentication BearerAuth required
|
|
1808
|
+
// http bearer authentication required
|
|
1809
|
+
_a.sent();
|
|
1465
1810
|
// authentication CookieAuth required
|
|
1466
1811
|
if (deleteAssociatedReports !== undefined) {
|
|
1467
1812
|
localVarQueryParameter['deleteAssociatedReports'] = deleteAssociatedReports;
|
|
1468
1813
|
}
|
|
1469
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1814
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1470
1815
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1471
1816
|
formHeaders = {};
|
|
1472
1817
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1473
1818
|
return [2 /*return*/, {
|
|
1474
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1819
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1475
1820
|
options: localVarRequestOptions,
|
|
1476
1821
|
}];
|
|
1477
1822
|
}
|
|
@@ -1493,9 +1838,9 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1493
1838
|
switch (_a.label) {
|
|
1494
1839
|
case 0:
|
|
1495
1840
|
// verify required parameter 'id' is not null or undefined
|
|
1496
|
-
common_1.assertParamExists('getReportTask', 'id', id);
|
|
1841
|
+
(0, common_1.assertParamExists)('getReportTask', 'id', id);
|
|
1497
1842
|
localVarPath = "/report-tasks/{Id}"
|
|
1498
|
-
.replace("{"
|
|
1843
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1499
1844
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1500
1845
|
if (configuration) {
|
|
1501
1846
|
baseOptions = configuration.baseOptions;
|
|
@@ -1504,19 +1849,29 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1504
1849
|
localVarHeaderParameter = {};
|
|
1505
1850
|
localVarQueryParameter = {};
|
|
1506
1851
|
// authentication ApiKeyAuth required
|
|
1507
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1508
|
-
// authentication
|
|
1852
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1853
|
+
// authentication BearerAuth required
|
|
1854
|
+
// http bearer authentication required
|
|
1509
1855
|
];
|
|
1510
1856
|
case 1:
|
|
1511
1857
|
// authentication ApiKeyAuth required
|
|
1512
1858
|
_a.sent();
|
|
1859
|
+
// authentication BearerAuth required
|
|
1860
|
+
// http bearer authentication required
|
|
1861
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1862
|
+
// authentication CookieAuth required
|
|
1863
|
+
];
|
|
1864
|
+
case 2:
|
|
1865
|
+
// authentication BearerAuth required
|
|
1866
|
+
// http bearer authentication required
|
|
1867
|
+
_a.sent();
|
|
1513
1868
|
// authentication CookieAuth required
|
|
1514
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1869
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1515
1870
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1516
1871
|
formHeaders = {};
|
|
1517
1872
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1518
1873
|
return [2 /*return*/, {
|
|
1519
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1874
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1520
1875
|
options: localVarRequestOptions,
|
|
1521
1876
|
}];
|
|
1522
1877
|
}
|
|
@@ -1530,10 +1885,13 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1530
1885
|
* @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.
|
|
1531
1886
|
* @param {string} [templateId]
|
|
1532
1887
|
* @param {number} [perPage]
|
|
1888
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
1889
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
1890
|
+
* @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\" } ```
|
|
1533
1891
|
* @param {*} [options] Override http request option.
|
|
1534
1892
|
* @throws {RequiredError}
|
|
1535
1893
|
*/
|
|
1536
|
-
getReportTasks: function (pageNum, meta, templateId, perPage, options) {
|
|
1894
|
+
getReportTasks: function (pageNum, meta, templateId, perPage, orderBy, order, filter, options) {
|
|
1537
1895
|
if (options === void 0) { options = {}; }
|
|
1538
1896
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1539
1897
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions, formHeaders;
|
|
@@ -1549,12 +1907,22 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1549
1907
|
localVarHeaderParameter = {};
|
|
1550
1908
|
localVarQueryParameter = {};
|
|
1551
1909
|
// authentication ApiKeyAuth required
|
|
1552
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1553
|
-
// authentication
|
|
1910
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1911
|
+
// authentication BearerAuth required
|
|
1912
|
+
// http bearer authentication required
|
|
1554
1913
|
];
|
|
1555
1914
|
case 1:
|
|
1556
1915
|
// authentication ApiKeyAuth required
|
|
1557
1916
|
_a.sent();
|
|
1917
|
+
// authentication BearerAuth required
|
|
1918
|
+
// http bearer authentication required
|
|
1919
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1920
|
+
// authentication CookieAuth required
|
|
1921
|
+
];
|
|
1922
|
+
case 2:
|
|
1923
|
+
// authentication BearerAuth required
|
|
1924
|
+
// http bearer authentication required
|
|
1925
|
+
_a.sent();
|
|
1558
1926
|
// authentication CookieAuth required
|
|
1559
1927
|
if (pageNum !== undefined) {
|
|
1560
1928
|
localVarQueryParameter['pageNum'] = pageNum;
|
|
@@ -1568,12 +1936,76 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1568
1936
|
if (perPage !== undefined) {
|
|
1569
1937
|
localVarQueryParameter['perPage'] = perPage;
|
|
1570
1938
|
}
|
|
1571
|
-
|
|
1939
|
+
if (orderBy !== undefined) {
|
|
1940
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
1941
|
+
}
|
|
1942
|
+
if (order !== undefined) {
|
|
1943
|
+
localVarQueryParameter['order'] = order;
|
|
1944
|
+
}
|
|
1945
|
+
if (filter !== undefined) {
|
|
1946
|
+
localVarQueryParameter['filter'] = filter;
|
|
1947
|
+
}
|
|
1948
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1572
1949
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1573
1950
|
formHeaders = {};
|
|
1574
1951
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1575
1952
|
return [2 /*return*/, {
|
|
1576
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1953
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1954
|
+
options: localVarRequestOptions,
|
|
1955
|
+
}];
|
|
1956
|
+
}
|
|
1957
|
+
});
|
|
1958
|
+
});
|
|
1959
|
+
},
|
|
1960
|
+
/**
|
|
1961
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
1962
|
+
* @summary Run task now
|
|
1963
|
+
* @param {string} id
|
|
1964
|
+
* @param {*} [options] Override http request option.
|
|
1965
|
+
* @throws {RequiredError}
|
|
1966
|
+
*/
|
|
1967
|
+
runReportTaskNow: function (id, options) {
|
|
1968
|
+
if (options === void 0) { options = {}; }
|
|
1969
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1970
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions, formHeaders;
|
|
1971
|
+
return __generator(this, function (_a) {
|
|
1972
|
+
switch (_a.label) {
|
|
1973
|
+
case 0:
|
|
1974
|
+
// verify required parameter 'id' is not null or undefined
|
|
1975
|
+
(0, common_1.assertParamExists)('runReportTaskNow', 'id', id);
|
|
1976
|
+
localVarPath = "/report-tasks/run-now/{Id}"
|
|
1977
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1978
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1979
|
+
if (configuration) {
|
|
1980
|
+
baseOptions = configuration.baseOptions;
|
|
1981
|
+
}
|
|
1982
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1983
|
+
localVarHeaderParameter = {};
|
|
1984
|
+
localVarQueryParameter = {};
|
|
1985
|
+
// authentication ApiKeyAuth required
|
|
1986
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1987
|
+
// authentication BearerAuth required
|
|
1988
|
+
// http bearer authentication required
|
|
1989
|
+
];
|
|
1990
|
+
case 1:
|
|
1991
|
+
// authentication ApiKeyAuth required
|
|
1992
|
+
_a.sent();
|
|
1993
|
+
// authentication BearerAuth required
|
|
1994
|
+
// http bearer authentication required
|
|
1995
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1996
|
+
// authentication CookieAuth required
|
|
1997
|
+
];
|
|
1998
|
+
case 2:
|
|
1999
|
+
// authentication BearerAuth required
|
|
2000
|
+
// http bearer authentication required
|
|
2001
|
+
_a.sent();
|
|
2002
|
+
// authentication CookieAuth required
|
|
2003
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2004
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2005
|
+
formHeaders = {};
|
|
2006
|
+
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2007
|
+
return [2 /*return*/, {
|
|
2008
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1577
2009
|
options: localVarRequestOptions,
|
|
1578
2010
|
}];
|
|
1579
2011
|
}
|
|
@@ -1596,11 +2028,11 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1596
2028
|
switch (_a.label) {
|
|
1597
2029
|
case 0:
|
|
1598
2030
|
// verify required parameter 'id' is not null or undefined
|
|
1599
|
-
common_1.assertParamExists('updateReportTask', 'id', id);
|
|
2031
|
+
(0, common_1.assertParamExists)('updateReportTask', 'id', id);
|
|
1600
2032
|
// verify required parameter 'reportTaskRequest' is not null or undefined
|
|
1601
|
-
common_1.assertParamExists('updateReportTask', 'reportTaskRequest', reportTaskRequest);
|
|
2033
|
+
(0, common_1.assertParamExists)('updateReportTask', 'reportTaskRequest', reportTaskRequest);
|
|
1602
2034
|
localVarPath = "/report-tasks/{Id}"
|
|
1603
|
-
.replace("{"
|
|
2035
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1604
2036
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1605
2037
|
if (configuration) {
|
|
1606
2038
|
baseOptions = configuration.baseOptions;
|
|
@@ -1609,21 +2041,31 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1609
2041
|
localVarHeaderParameter = {};
|
|
1610
2042
|
localVarQueryParameter = {};
|
|
1611
2043
|
// authentication ApiKeyAuth required
|
|
1612
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1613
|
-
// authentication
|
|
2044
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2045
|
+
// authentication BearerAuth required
|
|
2046
|
+
// http bearer authentication required
|
|
1614
2047
|
];
|
|
1615
2048
|
case 1:
|
|
1616
2049
|
// authentication ApiKeyAuth required
|
|
1617
2050
|
_a.sent();
|
|
2051
|
+
// authentication BearerAuth required
|
|
2052
|
+
// http bearer authentication required
|
|
2053
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2054
|
+
// authentication CookieAuth required
|
|
2055
|
+
];
|
|
2056
|
+
case 2:
|
|
2057
|
+
// authentication BearerAuth required
|
|
2058
|
+
// http bearer authentication required
|
|
2059
|
+
_a.sent();
|
|
1618
2060
|
// authentication CookieAuth required
|
|
1619
2061
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1620
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2062
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1621
2063
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1622
2064
|
formHeaders = {};
|
|
1623
2065
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1624
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(reportTaskRequest, localVarRequestOptions, configuration);
|
|
2066
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reportTaskRequest, localVarRequestOptions, configuration);
|
|
1625
2067
|
return [2 /*return*/, {
|
|
1626
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2068
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1627
2069
|
options: localVarRequestOptions,
|
|
1628
2070
|
}];
|
|
1629
2071
|
}
|
|
@@ -1632,12 +2074,13 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1632
2074
|
},
|
|
1633
2075
|
};
|
|
1634
2076
|
};
|
|
2077
|
+
exports.ReportTasksApiAxiosParamCreator = ReportTasksApiAxiosParamCreator;
|
|
1635
2078
|
/**
|
|
1636
2079
|
* ReportTasksApi - functional programming interface
|
|
1637
2080
|
* @export
|
|
1638
2081
|
*/
|
|
1639
|
-
|
|
1640
|
-
var localVarAxiosParamCreator = exports.ReportTasksApiAxiosParamCreator(configuration);
|
|
2082
|
+
var ReportTasksApiFp = function (configuration) {
|
|
2083
|
+
var localVarAxiosParamCreator = (0, exports.ReportTasksApiAxiosParamCreator)(configuration);
|
|
1641
2084
|
return {
|
|
1642
2085
|
/**
|
|
1643
2086
|
*
|
|
@@ -1654,7 +2097,7 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
1654
2097
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createReportTask(reportTaskRequest, options)];
|
|
1655
2098
|
case 1:
|
|
1656
2099
|
localVarAxiosArgs = _a.sent();
|
|
1657
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2100
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1658
2101
|
}
|
|
1659
2102
|
});
|
|
1660
2103
|
});
|
|
@@ -1675,7 +2118,7 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
1675
2118
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteReportTask(id, deleteAssociatedReports, options)];
|
|
1676
2119
|
case 1:
|
|
1677
2120
|
localVarAxiosArgs = _a.sent();
|
|
1678
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2121
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1679
2122
|
}
|
|
1680
2123
|
});
|
|
1681
2124
|
});
|
|
@@ -1695,7 +2138,7 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
1695
2138
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReportTask(id, options)];
|
|
1696
2139
|
case 1:
|
|
1697
2140
|
localVarAxiosArgs = _a.sent();
|
|
1698
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2141
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1699
2142
|
}
|
|
1700
2143
|
});
|
|
1701
2144
|
});
|
|
@@ -1707,18 +2150,41 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
1707
2150
|
* @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.
|
|
1708
2151
|
* @param {string} [templateId]
|
|
1709
2152
|
* @param {number} [perPage]
|
|
2153
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
2154
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
2155
|
+
* @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\" } ```
|
|
1710
2156
|
* @param {*} [options] Override http request option.
|
|
1711
2157
|
* @throws {RequiredError}
|
|
1712
2158
|
*/
|
|
1713
|
-
getReportTasks: function (pageNum, meta, templateId, perPage, options) {
|
|
2159
|
+
getReportTasks: function (pageNum, meta, templateId, perPage, orderBy, order, filter, options) {
|
|
1714
2160
|
return __awaiter(this, void 0, void 0, function () {
|
|
1715
2161
|
var localVarAxiosArgs;
|
|
1716
2162
|
return __generator(this, function (_a) {
|
|
1717
2163
|
switch (_a.label) {
|
|
1718
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReportTasks(pageNum, meta, templateId, perPage, options)];
|
|
2164
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, options)];
|
|
1719
2165
|
case 1:
|
|
1720
2166
|
localVarAxiosArgs = _a.sent();
|
|
1721
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2167
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2168
|
+
}
|
|
2169
|
+
});
|
|
2170
|
+
});
|
|
2171
|
+
},
|
|
2172
|
+
/**
|
|
2173
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
2174
|
+
* @summary Run task now
|
|
2175
|
+
* @param {string} id
|
|
2176
|
+
* @param {*} [options] Override http request option.
|
|
2177
|
+
* @throws {RequiredError}
|
|
2178
|
+
*/
|
|
2179
|
+
runReportTaskNow: function (id, options) {
|
|
2180
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2181
|
+
var localVarAxiosArgs;
|
|
2182
|
+
return __generator(this, function (_a) {
|
|
2183
|
+
switch (_a.label) {
|
|
2184
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.runReportTaskNow(id, options)];
|
|
2185
|
+
case 1:
|
|
2186
|
+
localVarAxiosArgs = _a.sent();
|
|
2187
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1722
2188
|
}
|
|
1723
2189
|
});
|
|
1724
2190
|
});
|
|
@@ -1739,19 +2205,20 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
1739
2205
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateReportTask(id, reportTaskRequest, options)];
|
|
1740
2206
|
case 1:
|
|
1741
2207
|
localVarAxiosArgs = _a.sent();
|
|
1742
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2208
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1743
2209
|
}
|
|
1744
2210
|
});
|
|
1745
2211
|
});
|
|
1746
2212
|
},
|
|
1747
2213
|
};
|
|
1748
2214
|
};
|
|
2215
|
+
exports.ReportTasksApiFp = ReportTasksApiFp;
|
|
1749
2216
|
/**
|
|
1750
2217
|
* ReportTasksApi - factory interface
|
|
1751
2218
|
* @export
|
|
1752
2219
|
*/
|
|
1753
|
-
|
|
1754
|
-
var localVarFp = exports.ReportTasksApiFp(configuration);
|
|
2220
|
+
var ReportTasksApiFactory = function (configuration, basePath, axios) {
|
|
2221
|
+
var localVarFp = (0, exports.ReportTasksApiFp)(configuration);
|
|
1755
2222
|
return {
|
|
1756
2223
|
/**
|
|
1757
2224
|
*
|
|
@@ -1791,11 +2258,24 @@ exports.ReportTasksApiFactory = function (configuration, basePath, axios) {
|
|
|
1791
2258
|
* @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.
|
|
1792
2259
|
* @param {string} [templateId]
|
|
1793
2260
|
* @param {number} [perPage]
|
|
2261
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
2262
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
2263
|
+
* @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\" } ```
|
|
2264
|
+
* @param {*} [options] Override http request option.
|
|
2265
|
+
* @throws {RequiredError}
|
|
2266
|
+
*/
|
|
2267
|
+
getReportTasks: function (pageNum, meta, templateId, perPage, orderBy, order, filter, options) {
|
|
2268
|
+
return localVarFp.getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2269
|
+
},
|
|
2270
|
+
/**
|
|
2271
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
2272
|
+
* @summary Run task now
|
|
2273
|
+
* @param {string} id
|
|
1794
2274
|
* @param {*} [options] Override http request option.
|
|
1795
2275
|
* @throws {RequiredError}
|
|
1796
2276
|
*/
|
|
1797
|
-
|
|
1798
|
-
return localVarFp.
|
|
2277
|
+
runReportTaskNow: function (id, options) {
|
|
2278
|
+
return localVarFp.runReportTaskNow(id, options).then(function (request) { return request(axios, basePath); });
|
|
1799
2279
|
},
|
|
1800
2280
|
/**
|
|
1801
2281
|
* Accepts partial updates
|
|
@@ -1810,6 +2290,7 @@ exports.ReportTasksApiFactory = function (configuration, basePath, axios) {
|
|
|
1810
2290
|
},
|
|
1811
2291
|
};
|
|
1812
2292
|
};
|
|
2293
|
+
exports.ReportTasksApiFactory = ReportTasksApiFactory;
|
|
1813
2294
|
/**
|
|
1814
2295
|
* ReportTasksApi - object-oriented interface
|
|
1815
2296
|
* @export
|
|
@@ -1831,7 +2312,7 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
1831
2312
|
*/
|
|
1832
2313
|
ReportTasksApi.prototype.createReportTask = function (reportTaskRequest, options) {
|
|
1833
2314
|
var _this = this;
|
|
1834
|
-
return exports.ReportTasksApiFp(this.configuration).createReportTask(reportTaskRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2315
|
+
return (0, exports.ReportTasksApiFp)(this.configuration).createReportTask(reportTaskRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1835
2316
|
};
|
|
1836
2317
|
/**
|
|
1837
2318
|
* Delete a report task by its ID
|
|
@@ -1844,7 +2325,7 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
1844
2325
|
*/
|
|
1845
2326
|
ReportTasksApi.prototype.deleteReportTask = function (id, deleteAssociatedReports, options) {
|
|
1846
2327
|
var _this = this;
|
|
1847
|
-
return exports.ReportTasksApiFp(this.configuration).deleteReportTask(id, deleteAssociatedReports, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2328
|
+
return (0, exports.ReportTasksApiFp)(this.configuration).deleteReportTask(id, deleteAssociatedReports, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1848
2329
|
};
|
|
1849
2330
|
/**
|
|
1850
2331
|
* Read a report task by its ID
|
|
@@ -1856,7 +2337,7 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
1856
2337
|
*/
|
|
1857
2338
|
ReportTasksApi.prototype.getReportTask = function (id, options) {
|
|
1858
2339
|
var _this = this;
|
|
1859
|
-
return exports.ReportTasksApiFp(this.configuration).getReportTask(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2340
|
+
return (0, exports.ReportTasksApiFp)(this.configuration).getReportTask(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1860
2341
|
};
|
|
1861
2342
|
/**
|
|
1862
2343
|
*
|
|
@@ -1865,13 +2346,28 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
1865
2346
|
* @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.
|
|
1866
2347
|
* @param {string} [templateId]
|
|
1867
2348
|
* @param {number} [perPage]
|
|
2349
|
+
* @param {'title' | 'startOn' | 'endOn' | 'enabled' | 'username' | 'frequency' | 'scheduledJobs.lastFinishedAt' | 'scheduledJobs.nextRunAt' | 'scheduledJobs.lastRunAt' | 'averageTimeToGenerate' | 'id' | 'templateId'} [orderBy]
|
|
2350
|
+
* @param {'asc' | 'desc'} [order] The order to retrieve the logs in
|
|
2351
|
+
* @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\" } ```
|
|
1868
2352
|
* @param {*} [options] Override http request option.
|
|
1869
2353
|
* @throws {RequiredError}
|
|
1870
2354
|
* @memberof ReportTasksApi
|
|
1871
2355
|
*/
|
|
1872
|
-
ReportTasksApi.prototype.getReportTasks = function (pageNum, meta, templateId, perPage, options) {
|
|
2356
|
+
ReportTasksApi.prototype.getReportTasks = function (pageNum, meta, templateId, perPage, orderBy, order, filter, options) {
|
|
1873
2357
|
var _this = this;
|
|
1874
|
-
return exports.ReportTasksApiFp(this.configuration).getReportTasks(pageNum, meta, templateId, perPage, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2358
|
+
return (0, exports.ReportTasksApiFp)(this.configuration).getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2359
|
+
};
|
|
2360
|
+
/**
|
|
2361
|
+
* Duplicates the task and runs it as \"Once - Now\"
|
|
2362
|
+
* @summary Run task now
|
|
2363
|
+
* @param {string} id
|
|
2364
|
+
* @param {*} [options] Override http request option.
|
|
2365
|
+
* @throws {RequiredError}
|
|
2366
|
+
* @memberof ReportTasksApi
|
|
2367
|
+
*/
|
|
2368
|
+
ReportTasksApi.prototype.runReportTaskNow = function (id, options) {
|
|
2369
|
+
var _this = this;
|
|
2370
|
+
return (0, exports.ReportTasksApiFp)(this.configuration).runReportTaskNow(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1875
2371
|
};
|
|
1876
2372
|
/**
|
|
1877
2373
|
* Accepts partial updates
|
|
@@ -1884,7 +2380,7 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
1884
2380
|
*/
|
|
1885
2381
|
ReportTasksApi.prototype.updateReportTask = function (id, reportTaskRequest, options) {
|
|
1886
2382
|
var _this = this;
|
|
1887
|
-
return exports.ReportTasksApiFp(this.configuration).updateReportTask(id, reportTaskRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2383
|
+
return (0, exports.ReportTasksApiFp)(this.configuration).updateReportTask(id, reportTaskRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1888
2384
|
};
|
|
1889
2385
|
return ReportTasksApi;
|
|
1890
2386
|
}(base_1.BaseAPI));
|
|
@@ -1893,7 +2389,7 @@ exports.ReportTasksApi = ReportTasksApi;
|
|
|
1893
2389
|
* ReportsApi - axios parameter creator
|
|
1894
2390
|
* @export
|
|
1895
2391
|
*/
|
|
1896
|
-
|
|
2392
|
+
var ReportsApiAxiosParamCreator = function (configuration) {
|
|
1897
2393
|
var _this = this;
|
|
1898
2394
|
return {
|
|
1899
2395
|
/**
|
|
@@ -1911,9 +2407,9 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
1911
2407
|
switch (_a.label) {
|
|
1912
2408
|
case 0:
|
|
1913
2409
|
// verify required parameter 'id' is not null or undefined
|
|
1914
|
-
common_1.assertParamExists('deleteReport', 'id', id);
|
|
2410
|
+
(0, common_1.assertParamExists)('deleteReport', 'id', id);
|
|
1915
2411
|
localVarPath = "/reports/{Id}"
|
|
1916
|
-
.replace("{"
|
|
2412
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1917
2413
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1918
2414
|
if (configuration) {
|
|
1919
2415
|
baseOptions = configuration.baseOptions;
|
|
@@ -1922,19 +2418,29 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
1922
2418
|
localVarHeaderParameter = {};
|
|
1923
2419
|
localVarQueryParameter = {};
|
|
1924
2420
|
// authentication ApiKeyAuth required
|
|
1925
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1926
|
-
// authentication
|
|
2421
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2422
|
+
// authentication BearerAuth required
|
|
2423
|
+
// http bearer authentication required
|
|
1927
2424
|
];
|
|
1928
2425
|
case 1:
|
|
1929
2426
|
// authentication ApiKeyAuth required
|
|
1930
2427
|
_a.sent();
|
|
2428
|
+
// authentication BearerAuth required
|
|
2429
|
+
// http bearer authentication required
|
|
2430
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2431
|
+
// authentication CookieAuth required
|
|
2432
|
+
];
|
|
2433
|
+
case 2:
|
|
2434
|
+
// authentication BearerAuth required
|
|
2435
|
+
// http bearer authentication required
|
|
2436
|
+
_a.sent();
|
|
1931
2437
|
// authentication CookieAuth required
|
|
1932
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2438
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1933
2439
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1934
2440
|
formHeaders = {};
|
|
1935
2441
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1936
2442
|
return [2 /*return*/, {
|
|
1937
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2443
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1938
2444
|
options: localVarRequestOptions,
|
|
1939
2445
|
}];
|
|
1940
2446
|
}
|
|
@@ -1956,9 +2462,9 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
1956
2462
|
switch (_a.label) {
|
|
1957
2463
|
case 0:
|
|
1958
2464
|
// verify required parameter 'id' is not null or undefined
|
|
1959
|
-
common_1.assertParamExists('getReport', 'id', id);
|
|
2465
|
+
(0, common_1.assertParamExists)('getReport', 'id', id);
|
|
1960
2466
|
localVarPath = "/reports/{Id}"
|
|
1961
|
-
.replace("{"
|
|
2467
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1962
2468
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1963
2469
|
if (configuration) {
|
|
1964
2470
|
baseOptions = configuration.baseOptions;
|
|
@@ -1967,19 +2473,29 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
1967
2473
|
localVarHeaderParameter = {};
|
|
1968
2474
|
localVarQueryParameter = {};
|
|
1969
2475
|
// authentication ApiKeyAuth required
|
|
1970
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1971
|
-
// authentication
|
|
2476
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2477
|
+
// authentication BearerAuth required
|
|
2478
|
+
// http bearer authentication required
|
|
1972
2479
|
];
|
|
1973
2480
|
case 1:
|
|
1974
2481
|
// authentication ApiKeyAuth required
|
|
1975
2482
|
_a.sent();
|
|
2483
|
+
// authentication BearerAuth required
|
|
2484
|
+
// http bearer authentication required
|
|
2485
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2486
|
+
// authentication CookieAuth required
|
|
2487
|
+
];
|
|
2488
|
+
case 2:
|
|
2489
|
+
// authentication BearerAuth required
|
|
2490
|
+
// http bearer authentication required
|
|
2491
|
+
_a.sent();
|
|
1976
2492
|
// authentication CookieAuth required
|
|
1977
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2493
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1978
2494
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1979
2495
|
formHeaders = {};
|
|
1980
2496
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1981
2497
|
return [2 /*return*/, {
|
|
1982
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2498
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1983
2499
|
options: localVarRequestOptions,
|
|
1984
2500
|
}];
|
|
1985
2501
|
}
|
|
@@ -1990,12 +2506,15 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
1990
2506
|
*
|
|
1991
2507
|
* @summary List reports
|
|
1992
2508
|
* @param {number} [pageNum]
|
|
2509
|
+
* @param {number} [perPage]
|
|
2510
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
2511
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
1993
2512
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
1994
2513
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
1995
2514
|
* @param {*} [options] Override http request option.
|
|
1996
2515
|
* @throws {RequiredError}
|
|
1997
2516
|
*/
|
|
1998
|
-
getReports: function (pageNum, tagId, reportTaskId, options) {
|
|
2517
|
+
getReports: function (pageNum, perPage, orderBy, order, tagId, reportTaskId, options) {
|
|
1999
2518
|
if (options === void 0) { options = {}; }
|
|
2000
2519
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2001
2520
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions, formHeaders;
|
|
@@ -2011,28 +2530,47 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2011
2530
|
localVarHeaderParameter = {};
|
|
2012
2531
|
localVarQueryParameter = {};
|
|
2013
2532
|
// authentication ApiKeyAuth required
|
|
2014
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2015
|
-
// authentication
|
|
2533
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2534
|
+
// authentication BearerAuth required
|
|
2535
|
+
// http bearer authentication required
|
|
2016
2536
|
];
|
|
2017
2537
|
case 1:
|
|
2018
2538
|
// authentication ApiKeyAuth required
|
|
2019
2539
|
_a.sent();
|
|
2540
|
+
// authentication BearerAuth required
|
|
2541
|
+
// http bearer authentication required
|
|
2542
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2543
|
+
// authentication CookieAuth required
|
|
2544
|
+
];
|
|
2545
|
+
case 2:
|
|
2546
|
+
// authentication BearerAuth required
|
|
2547
|
+
// http bearer authentication required
|
|
2548
|
+
_a.sent();
|
|
2020
2549
|
// authentication CookieAuth required
|
|
2021
2550
|
if (pageNum !== undefined) {
|
|
2022
2551
|
localVarQueryParameter['pageNum'] = pageNum;
|
|
2023
2552
|
}
|
|
2553
|
+
if (perPage !== undefined) {
|
|
2554
|
+
localVarQueryParameter['perPage'] = perPage;
|
|
2555
|
+
}
|
|
2556
|
+
if (orderBy !== undefined) {
|
|
2557
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
2558
|
+
}
|
|
2559
|
+
if (order !== undefined) {
|
|
2560
|
+
localVarQueryParameter['order'] = order;
|
|
2561
|
+
}
|
|
2024
2562
|
if (tagId !== undefined) {
|
|
2025
2563
|
localVarQueryParameter['tagId'] = tagId;
|
|
2026
2564
|
}
|
|
2027
2565
|
if (reportTaskId !== undefined) {
|
|
2028
2566
|
localVarQueryParameter['reportTaskId'] = reportTaskId;
|
|
2029
2567
|
}
|
|
2030
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2568
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2031
2569
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2032
2570
|
formHeaders = {};
|
|
2033
2571
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2034
2572
|
return [2 /*return*/, {
|
|
2035
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2573
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2036
2574
|
options: localVarRequestOptions,
|
|
2037
2575
|
}];
|
|
2038
2576
|
}
|
|
@@ -2055,11 +2593,11 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2055
2593
|
switch (_a.label) {
|
|
2056
2594
|
case 0:
|
|
2057
2595
|
// verify required parameter 'id' is not null or undefined
|
|
2058
|
-
common_1.assertParamExists('renderReport', 'id', id);
|
|
2596
|
+
(0, common_1.assertParamExists)('renderReport', 'id', id);
|
|
2059
2597
|
// verify required parameter 'format' is not null or undefined
|
|
2060
|
-
common_1.assertParamExists('renderReport', 'format', format);
|
|
2598
|
+
(0, common_1.assertParamExists)('renderReport', 'format', format);
|
|
2061
2599
|
localVarPath = "/reports/{Id}/render"
|
|
2062
|
-
.replace("{"
|
|
2600
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2063
2601
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2064
2602
|
if (configuration) {
|
|
2065
2603
|
baseOptions = configuration.baseOptions;
|
|
@@ -2068,22 +2606,32 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2068
2606
|
localVarHeaderParameter = {};
|
|
2069
2607
|
localVarQueryParameter = {};
|
|
2070
2608
|
// authentication ApiKeyAuth required
|
|
2071
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2072
|
-
// authentication
|
|
2609
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2610
|
+
// authentication BearerAuth required
|
|
2611
|
+
// http bearer authentication required
|
|
2073
2612
|
];
|
|
2074
2613
|
case 1:
|
|
2075
2614
|
// authentication ApiKeyAuth required
|
|
2076
2615
|
_a.sent();
|
|
2616
|
+
// authentication BearerAuth required
|
|
2617
|
+
// http bearer authentication required
|
|
2618
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2619
|
+
// authentication CookieAuth required
|
|
2620
|
+
];
|
|
2621
|
+
case 2:
|
|
2622
|
+
// authentication BearerAuth required
|
|
2623
|
+
// http bearer authentication required
|
|
2624
|
+
_a.sent();
|
|
2077
2625
|
// authentication CookieAuth required
|
|
2078
2626
|
if (format !== undefined) {
|
|
2079
2627
|
localVarQueryParameter['format'] = format;
|
|
2080
2628
|
}
|
|
2081
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2629
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2082
2630
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2083
2631
|
formHeaders = {};
|
|
2084
2632
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2085
2633
|
return [2 /*return*/, {
|
|
2086
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2634
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2087
2635
|
options: localVarRequestOptions,
|
|
2088
2636
|
}];
|
|
2089
2637
|
}
|
|
@@ -2092,12 +2640,13 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2092
2640
|
},
|
|
2093
2641
|
};
|
|
2094
2642
|
};
|
|
2643
|
+
exports.ReportsApiAxiosParamCreator = ReportsApiAxiosParamCreator;
|
|
2095
2644
|
/**
|
|
2096
2645
|
* ReportsApi - functional programming interface
|
|
2097
2646
|
* @export
|
|
2098
2647
|
*/
|
|
2099
|
-
|
|
2100
|
-
var localVarAxiosParamCreator = exports.ReportsApiAxiosParamCreator(configuration);
|
|
2648
|
+
var ReportsApiFp = function (configuration) {
|
|
2649
|
+
var localVarAxiosParamCreator = (0, exports.ReportsApiAxiosParamCreator)(configuration);
|
|
2101
2650
|
return {
|
|
2102
2651
|
/**
|
|
2103
2652
|
*
|
|
@@ -2114,7 +2663,7 @@ exports.ReportsApiFp = function (configuration) {
|
|
|
2114
2663
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteReport(id, options)];
|
|
2115
2664
|
case 1:
|
|
2116
2665
|
localVarAxiosArgs = _a.sent();
|
|
2117
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2666
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2118
2667
|
}
|
|
2119
2668
|
});
|
|
2120
2669
|
});
|
|
@@ -2134,7 +2683,7 @@ exports.ReportsApiFp = function (configuration) {
|
|
|
2134
2683
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReport(id, options)];
|
|
2135
2684
|
case 1:
|
|
2136
2685
|
localVarAxiosArgs = _a.sent();
|
|
2137
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2686
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2138
2687
|
}
|
|
2139
2688
|
});
|
|
2140
2689
|
});
|
|
@@ -2143,20 +2692,23 @@ exports.ReportsApiFp = function (configuration) {
|
|
|
2143
2692
|
*
|
|
2144
2693
|
* @summary List reports
|
|
2145
2694
|
* @param {number} [pageNum]
|
|
2695
|
+
* @param {number} [perPage]
|
|
2696
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
2697
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
2146
2698
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
2147
2699
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
2148
2700
|
* @param {*} [options] Override http request option.
|
|
2149
2701
|
* @throws {RequiredError}
|
|
2150
2702
|
*/
|
|
2151
|
-
getReports: function (pageNum, tagId, reportTaskId, options) {
|
|
2703
|
+
getReports: function (pageNum, perPage, orderBy, order, tagId, reportTaskId, options) {
|
|
2152
2704
|
return __awaiter(this, void 0, void 0, function () {
|
|
2153
2705
|
var localVarAxiosArgs;
|
|
2154
2706
|
return __generator(this, function (_a) {
|
|
2155
2707
|
switch (_a.label) {
|
|
2156
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReports(pageNum, tagId, reportTaskId, options)];
|
|
2708
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReports(pageNum, perPage, orderBy, order, tagId, reportTaskId, options)];
|
|
2157
2709
|
case 1:
|
|
2158
2710
|
localVarAxiosArgs = _a.sent();
|
|
2159
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2711
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2160
2712
|
}
|
|
2161
2713
|
});
|
|
2162
2714
|
});
|
|
@@ -2177,19 +2729,20 @@ exports.ReportsApiFp = function (configuration) {
|
|
|
2177
2729
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.renderReport(id, format, options)];
|
|
2178
2730
|
case 1:
|
|
2179
2731
|
localVarAxiosArgs = _a.sent();
|
|
2180
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2732
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2181
2733
|
}
|
|
2182
2734
|
});
|
|
2183
2735
|
});
|
|
2184
2736
|
},
|
|
2185
2737
|
};
|
|
2186
2738
|
};
|
|
2739
|
+
exports.ReportsApiFp = ReportsApiFp;
|
|
2187
2740
|
/**
|
|
2188
2741
|
* ReportsApi - factory interface
|
|
2189
2742
|
* @export
|
|
2190
2743
|
*/
|
|
2191
|
-
|
|
2192
|
-
var localVarFp = exports.ReportsApiFp(configuration);
|
|
2744
|
+
var ReportsApiFactory = function (configuration, basePath, axios) {
|
|
2745
|
+
var localVarFp = (0, exports.ReportsApiFp)(configuration);
|
|
2193
2746
|
return {
|
|
2194
2747
|
/**
|
|
2195
2748
|
*
|
|
@@ -2215,13 +2768,16 @@ exports.ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
2215
2768
|
*
|
|
2216
2769
|
* @summary List reports
|
|
2217
2770
|
* @param {number} [pageNum]
|
|
2771
|
+
* @param {number} [perPage]
|
|
2772
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
2773
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
2218
2774
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
2219
2775
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
2220
2776
|
* @param {*} [options] Override http request option.
|
|
2221
2777
|
* @throws {RequiredError}
|
|
2222
2778
|
*/
|
|
2223
|
-
getReports: function (pageNum, tagId, reportTaskId, options) {
|
|
2224
|
-
return localVarFp.getReports(pageNum, tagId, reportTaskId, options).then(function (request) { return request(axios, basePath); });
|
|
2779
|
+
getReports: function (pageNum, perPage, orderBy, order, tagId, reportTaskId, options) {
|
|
2780
|
+
return localVarFp.getReports(pageNum, perPage, orderBy, order, tagId, reportTaskId, options).then(function (request) { return request(axios, basePath); });
|
|
2225
2781
|
},
|
|
2226
2782
|
/**
|
|
2227
2783
|
*
|
|
@@ -2236,6 +2792,7 @@ exports.ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
2236
2792
|
},
|
|
2237
2793
|
};
|
|
2238
2794
|
};
|
|
2795
|
+
exports.ReportsApiFactory = ReportsApiFactory;
|
|
2239
2796
|
/**
|
|
2240
2797
|
* ReportsApi - object-oriented interface
|
|
2241
2798
|
* @export
|
|
@@ -2257,7 +2814,7 @@ var ReportsApi = /** @class */ (function (_super) {
|
|
|
2257
2814
|
*/
|
|
2258
2815
|
ReportsApi.prototype.deleteReport = function (id, options) {
|
|
2259
2816
|
var _this = this;
|
|
2260
|
-
return exports.ReportsApiFp(this.configuration).deleteReport(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2817
|
+
return (0, exports.ReportsApiFp)(this.configuration).deleteReport(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2261
2818
|
};
|
|
2262
2819
|
/**
|
|
2263
2820
|
*
|
|
@@ -2269,21 +2826,24 @@ var ReportsApi = /** @class */ (function (_super) {
|
|
|
2269
2826
|
*/
|
|
2270
2827
|
ReportsApi.prototype.getReport = function (id, options) {
|
|
2271
2828
|
var _this = this;
|
|
2272
|
-
return exports.ReportsApiFp(this.configuration).getReport(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2829
|
+
return (0, exports.ReportsApiFp)(this.configuration).getReport(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2273
2830
|
};
|
|
2274
2831
|
/**
|
|
2275
2832
|
*
|
|
2276
2833
|
* @summary List reports
|
|
2277
2834
|
* @param {number} [pageNum]
|
|
2835
|
+
* @param {number} [perPage]
|
|
2836
|
+
* @param {'title' | 'createdAt'} [orderBy] The field to order the list of reports on
|
|
2837
|
+
* @param {'asc' | 'desc'} [order] The order to sort the list of reports on
|
|
2278
2838
|
* @param {string} [tagId] A tagId to filter the list of reports on
|
|
2279
2839
|
* @param {string} [reportTaskId] A reportId to filter the list of reports on
|
|
2280
2840
|
* @param {*} [options] Override http request option.
|
|
2281
2841
|
* @throws {RequiredError}
|
|
2282
2842
|
* @memberof ReportsApi
|
|
2283
2843
|
*/
|
|
2284
|
-
ReportsApi.prototype.getReports = function (pageNum, tagId, reportTaskId, options) {
|
|
2844
|
+
ReportsApi.prototype.getReports = function (pageNum, perPage, orderBy, order, tagId, reportTaskId, options) {
|
|
2285
2845
|
var _this = this;
|
|
2286
|
-
return exports.ReportsApiFp(this.configuration).getReports(pageNum, tagId, reportTaskId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2846
|
+
return (0, exports.ReportsApiFp)(this.configuration).getReports(pageNum, perPage, orderBy, order, tagId, reportTaskId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2287
2847
|
};
|
|
2288
2848
|
/**
|
|
2289
2849
|
*
|
|
@@ -2296,7 +2856,7 @@ var ReportsApi = /** @class */ (function (_super) {
|
|
|
2296
2856
|
*/
|
|
2297
2857
|
ReportsApi.prototype.renderReport = function (id, format, options) {
|
|
2298
2858
|
var _this = this;
|
|
2299
|
-
return exports.ReportsApiFp(this.configuration).renderReport(id, format, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2859
|
+
return (0, exports.ReportsApiFp)(this.configuration).renderReport(id, format, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2300
2860
|
};
|
|
2301
2861
|
return ReportsApi;
|
|
2302
2862
|
}(base_1.BaseAPI));
|
|
@@ -2305,7 +2865,7 @@ exports.ReportsApi = ReportsApi;
|
|
|
2305
2865
|
* TemplatesApi - axios parameter creator
|
|
2306
2866
|
* @export
|
|
2307
2867
|
*/
|
|
2308
|
-
|
|
2868
|
+
var TemplatesApiAxiosParamCreator = function (configuration) {
|
|
2309
2869
|
var _this = this;
|
|
2310
2870
|
return {
|
|
2311
2871
|
/**
|
|
@@ -2323,7 +2883,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2323
2883
|
switch (_a.label) {
|
|
2324
2884
|
case 0:
|
|
2325
2885
|
// verify required parameter 'template' is not null or undefined
|
|
2326
|
-
common_1.assertParamExists('createTemplate', 'template', template);
|
|
2886
|
+
(0, common_1.assertParamExists)('createTemplate', 'template', template);
|
|
2327
2887
|
localVarPath = "/templates";
|
|
2328
2888
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2329
2889
|
if (configuration) {
|
|
@@ -2333,21 +2893,31 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2333
2893
|
localVarHeaderParameter = {};
|
|
2334
2894
|
localVarQueryParameter = {};
|
|
2335
2895
|
// authentication ApiKeyAuth required
|
|
2336
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2337
|
-
// authentication
|
|
2896
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2897
|
+
// authentication BearerAuth required
|
|
2898
|
+
// http bearer authentication required
|
|
2338
2899
|
];
|
|
2339
2900
|
case 1:
|
|
2340
2901
|
// authentication ApiKeyAuth required
|
|
2341
2902
|
_a.sent();
|
|
2903
|
+
// authentication BearerAuth required
|
|
2904
|
+
// http bearer authentication required
|
|
2905
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2906
|
+
// authentication CookieAuth required
|
|
2907
|
+
];
|
|
2908
|
+
case 2:
|
|
2909
|
+
// authentication BearerAuth required
|
|
2910
|
+
// http bearer authentication required
|
|
2911
|
+
_a.sent();
|
|
2342
2912
|
// authentication CookieAuth required
|
|
2343
2913
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2344
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2914
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2345
2915
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2346
2916
|
formHeaders = {};
|
|
2347
2917
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2348
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(template, localVarRequestOptions, configuration);
|
|
2918
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(template, localVarRequestOptions, configuration);
|
|
2349
2919
|
return [2 /*return*/, {
|
|
2350
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2920
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2351
2921
|
options: localVarRequestOptions,
|
|
2352
2922
|
}];
|
|
2353
2923
|
}
|
|
@@ -2369,9 +2939,9 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2369
2939
|
switch (_a.label) {
|
|
2370
2940
|
case 0:
|
|
2371
2941
|
// verify required parameter 'id' is not null or undefined
|
|
2372
|
-
common_1.assertParamExists('deleteTemplate', 'id', id);
|
|
2942
|
+
(0, common_1.assertParamExists)('deleteTemplate', 'id', id);
|
|
2373
2943
|
localVarPath = "/templates/{Id}"
|
|
2374
|
-
.replace("{"
|
|
2944
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2375
2945
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2376
2946
|
if (configuration) {
|
|
2377
2947
|
baseOptions = configuration.baseOptions;
|
|
@@ -2380,19 +2950,29 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2380
2950
|
localVarHeaderParameter = {};
|
|
2381
2951
|
localVarQueryParameter = {};
|
|
2382
2952
|
// authentication ApiKeyAuth required
|
|
2383
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2384
|
-
// authentication
|
|
2953
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2954
|
+
// authentication BearerAuth required
|
|
2955
|
+
// http bearer authentication required
|
|
2385
2956
|
];
|
|
2386
2957
|
case 1:
|
|
2387
2958
|
// authentication ApiKeyAuth required
|
|
2388
2959
|
_a.sent();
|
|
2960
|
+
// authentication BearerAuth required
|
|
2961
|
+
// http bearer authentication required
|
|
2962
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2963
|
+
// authentication CookieAuth required
|
|
2964
|
+
];
|
|
2965
|
+
case 2:
|
|
2966
|
+
// authentication BearerAuth required
|
|
2967
|
+
// http bearer authentication required
|
|
2968
|
+
_a.sent();
|
|
2389
2969
|
// authentication CookieAuth required
|
|
2390
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2970
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2391
2971
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2392
2972
|
formHeaders = {};
|
|
2393
2973
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2394
2974
|
return [2 /*return*/, {
|
|
2395
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2975
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2396
2976
|
options: localVarRequestOptions,
|
|
2397
2977
|
}];
|
|
2398
2978
|
}
|
|
@@ -2414,9 +2994,9 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2414
2994
|
switch (_a.label) {
|
|
2415
2995
|
case 0:
|
|
2416
2996
|
// verify required parameter 'id' is not null or undefined
|
|
2417
|
-
common_1.assertParamExists('duplicateTemplate', 'id', id);
|
|
2997
|
+
(0, common_1.assertParamExists)('duplicateTemplate', 'id', id);
|
|
2418
2998
|
localVarPath = "/templates/{Id}/duplicate"
|
|
2419
|
-
.replace("{"
|
|
2999
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2420
3000
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2421
3001
|
if (configuration) {
|
|
2422
3002
|
baseOptions = configuration.baseOptions;
|
|
@@ -2425,19 +3005,29 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2425
3005
|
localVarHeaderParameter = {};
|
|
2426
3006
|
localVarQueryParameter = {};
|
|
2427
3007
|
// authentication ApiKeyAuth required
|
|
2428
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2429
|
-
// authentication
|
|
3008
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3009
|
+
// authentication BearerAuth required
|
|
3010
|
+
// http bearer authentication required
|
|
2430
3011
|
];
|
|
2431
3012
|
case 1:
|
|
2432
3013
|
// authentication ApiKeyAuth required
|
|
2433
3014
|
_a.sent();
|
|
3015
|
+
// authentication BearerAuth required
|
|
3016
|
+
// http bearer authentication required
|
|
3017
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3018
|
+
// authentication CookieAuth required
|
|
3019
|
+
];
|
|
3020
|
+
case 2:
|
|
3021
|
+
// authentication BearerAuth required
|
|
3022
|
+
// http bearer authentication required
|
|
3023
|
+
_a.sent();
|
|
2434
3024
|
// authentication CookieAuth required
|
|
2435
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3025
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2436
3026
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2437
3027
|
formHeaders = {};
|
|
2438
3028
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2439
3029
|
return [2 /*return*/, {
|
|
2440
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3030
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2441
3031
|
options: localVarRequestOptions,
|
|
2442
3032
|
}];
|
|
2443
3033
|
}
|
|
@@ -2459,9 +3049,9 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2459
3049
|
switch (_a.label) {
|
|
2460
3050
|
case 0:
|
|
2461
3051
|
// verify required parameter 'id' is not null or undefined
|
|
2462
|
-
common_1.assertParamExists('exportTemplate', 'id', id);
|
|
3052
|
+
(0, common_1.assertParamExists)('exportTemplate', 'id', id);
|
|
2463
3053
|
localVarPath = "/templates/{Id}/export"
|
|
2464
|
-
.replace("{"
|
|
3054
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2465
3055
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2466
3056
|
if (configuration) {
|
|
2467
3057
|
baseOptions = configuration.baseOptions;
|
|
@@ -2470,19 +3060,29 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2470
3060
|
localVarHeaderParameter = {};
|
|
2471
3061
|
localVarQueryParameter = {};
|
|
2472
3062
|
// authentication ApiKeyAuth required
|
|
2473
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2474
|
-
// authentication
|
|
3063
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3064
|
+
// authentication BearerAuth required
|
|
3065
|
+
// http bearer authentication required
|
|
2475
3066
|
];
|
|
2476
3067
|
case 1:
|
|
2477
3068
|
// authentication ApiKeyAuth required
|
|
2478
3069
|
_a.sent();
|
|
3070
|
+
// authentication BearerAuth required
|
|
3071
|
+
// http bearer authentication required
|
|
3072
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3073
|
+
// authentication CookieAuth required
|
|
3074
|
+
];
|
|
3075
|
+
case 2:
|
|
3076
|
+
// authentication BearerAuth required
|
|
3077
|
+
// http bearer authentication required
|
|
3078
|
+
_a.sent();
|
|
2479
3079
|
// authentication CookieAuth required
|
|
2480
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3080
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2481
3081
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2482
3082
|
formHeaders = {};
|
|
2483
3083
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2484
3084
|
return [2 /*return*/, {
|
|
2485
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3085
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2486
3086
|
options: localVarRequestOptions,
|
|
2487
3087
|
}];
|
|
2488
3088
|
}
|
|
@@ -2504,9 +3104,9 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2504
3104
|
switch (_a.label) {
|
|
2505
3105
|
case 0:
|
|
2506
3106
|
// verify required parameter 'id' is not null or undefined
|
|
2507
|
-
common_1.assertParamExists('getTemplate', 'id', id);
|
|
3107
|
+
(0, common_1.assertParamExists)('getTemplate', 'id', id);
|
|
2508
3108
|
localVarPath = "/templates/{Id}"
|
|
2509
|
-
.replace("{"
|
|
3109
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2510
3110
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2511
3111
|
if (configuration) {
|
|
2512
3112
|
baseOptions = configuration.baseOptions;
|
|
@@ -2515,19 +3115,29 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2515
3115
|
localVarHeaderParameter = {};
|
|
2516
3116
|
localVarQueryParameter = {};
|
|
2517
3117
|
// authentication ApiKeyAuth required
|
|
2518
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2519
|
-
// authentication
|
|
3118
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3119
|
+
// authentication BearerAuth required
|
|
3120
|
+
// http bearer authentication required
|
|
2520
3121
|
];
|
|
2521
3122
|
case 1:
|
|
2522
3123
|
// authentication ApiKeyAuth required
|
|
2523
3124
|
_a.sent();
|
|
3125
|
+
// authentication BearerAuth required
|
|
3126
|
+
// http bearer authentication required
|
|
3127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3128
|
+
// authentication CookieAuth required
|
|
3129
|
+
];
|
|
3130
|
+
case 2:
|
|
3131
|
+
// authentication BearerAuth required
|
|
3132
|
+
// http bearer authentication required
|
|
3133
|
+
_a.sent();
|
|
2524
3134
|
// authentication CookieAuth required
|
|
2525
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3135
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2526
3136
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2527
3137
|
formHeaders = {};
|
|
2528
3138
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2529
3139
|
return [2 /*return*/, {
|
|
2530
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3140
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2531
3141
|
options: localVarRequestOptions,
|
|
2532
3142
|
}];
|
|
2533
3143
|
}
|
|
@@ -2557,22 +3167,32 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2557
3167
|
localVarHeaderParameter = {};
|
|
2558
3168
|
localVarQueryParameter = {};
|
|
2559
3169
|
// authentication ApiKeyAuth required
|
|
2560
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2561
|
-
// authentication
|
|
3170
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3171
|
+
// authentication BearerAuth required
|
|
3172
|
+
// http bearer authentication required
|
|
2562
3173
|
];
|
|
2563
3174
|
case 1:
|
|
2564
3175
|
// authentication ApiKeyAuth required
|
|
2565
3176
|
_a.sent();
|
|
3177
|
+
// authentication BearerAuth required
|
|
3178
|
+
// http bearer authentication required
|
|
3179
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3180
|
+
// authentication CookieAuth required
|
|
3181
|
+
];
|
|
3182
|
+
case 2:
|
|
3183
|
+
// authentication BearerAuth required
|
|
3184
|
+
// http bearer authentication required
|
|
3185
|
+
_a.sent();
|
|
2566
3186
|
// authentication CookieAuth required
|
|
2567
3187
|
if (pageNum !== undefined) {
|
|
2568
3188
|
localVarQueryParameter['pageNum'] = pageNum;
|
|
2569
3189
|
}
|
|
2570
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3190
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2571
3191
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2572
3192
|
formHeaders = {};
|
|
2573
3193
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2574
3194
|
return [2 /*return*/, {
|
|
2575
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3195
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2576
3196
|
options: localVarRequestOptions,
|
|
2577
3197
|
}];
|
|
2578
3198
|
}
|
|
@@ -2603,18 +3223,28 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2603
3223
|
localVarQueryParameter = {};
|
|
2604
3224
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2605
3225
|
// authentication ApiKeyAuth required
|
|
2606
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2607
|
-
// authentication
|
|
3226
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3227
|
+
// authentication BearerAuth required
|
|
3228
|
+
// http bearer authentication required
|
|
2608
3229
|
];
|
|
2609
3230
|
case 1:
|
|
2610
3231
|
// authentication ApiKeyAuth required
|
|
2611
3232
|
_a.sent();
|
|
3233
|
+
// authentication BearerAuth required
|
|
3234
|
+
// http bearer authentication required
|
|
3235
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3236
|
+
// authentication CookieAuth required
|
|
3237
|
+
];
|
|
3238
|
+
case 2:
|
|
3239
|
+
// authentication BearerAuth required
|
|
3240
|
+
// http bearer authentication required
|
|
3241
|
+
_a.sent();
|
|
2612
3242
|
// authentication CookieAuth required
|
|
2613
3243
|
if (template !== undefined) {
|
|
2614
3244
|
localVarFormParams.append('template', template);
|
|
2615
3245
|
}
|
|
2616
3246
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2617
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3247
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2618
3248
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2619
3249
|
formHeaders = {};
|
|
2620
3250
|
if (configuration && configuration.formDataCtor && localVarFormParams && localVarFormParams.getHeaders) {
|
|
@@ -2623,7 +3253,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2623
3253
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2624
3254
|
localVarRequestOptions.data = localVarFormParams;
|
|
2625
3255
|
return [2 /*return*/, {
|
|
2626
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3256
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2627
3257
|
options: localVarRequestOptions,
|
|
2628
3258
|
}];
|
|
2629
3259
|
}
|
|
@@ -2646,11 +3276,11 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2646
3276
|
switch (_a.label) {
|
|
2647
3277
|
case 0:
|
|
2648
3278
|
// verify required parameter 'id' is not null or undefined
|
|
2649
|
-
common_1.assertParamExists('renderTemplate', 'id', id);
|
|
3279
|
+
(0, common_1.assertParamExists)('renderTemplate', 'id', id);
|
|
2650
3280
|
// verify required parameter 'format' is not null or undefined
|
|
2651
|
-
common_1.assertParamExists('renderTemplate', 'format', format);
|
|
3281
|
+
(0, common_1.assertParamExists)('renderTemplate', 'format', format);
|
|
2652
3282
|
localVarPath = "/templates/{Id}/render"
|
|
2653
|
-
.replace("{"
|
|
3283
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2654
3284
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2655
3285
|
if (configuration) {
|
|
2656
3286
|
baseOptions = configuration.baseOptions;
|
|
@@ -2659,22 +3289,32 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2659
3289
|
localVarHeaderParameter = {};
|
|
2660
3290
|
localVarQueryParameter = {};
|
|
2661
3291
|
// authentication ApiKeyAuth required
|
|
2662
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2663
|
-
// authentication
|
|
3292
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3293
|
+
// authentication BearerAuth required
|
|
3294
|
+
// http bearer authentication required
|
|
2664
3295
|
];
|
|
2665
3296
|
case 1:
|
|
2666
3297
|
// authentication ApiKeyAuth required
|
|
2667
3298
|
_a.sent();
|
|
3299
|
+
// authentication BearerAuth required
|
|
3300
|
+
// http bearer authentication required
|
|
3301
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3302
|
+
// authentication CookieAuth required
|
|
3303
|
+
];
|
|
3304
|
+
case 2:
|
|
3305
|
+
// authentication BearerAuth required
|
|
3306
|
+
// http bearer authentication required
|
|
3307
|
+
_a.sent();
|
|
2668
3308
|
// authentication CookieAuth required
|
|
2669
3309
|
if (format !== undefined) {
|
|
2670
3310
|
localVarQueryParameter['format'] = format;
|
|
2671
3311
|
}
|
|
2672
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3312
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2673
3313
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2674
3314
|
formHeaders = {};
|
|
2675
3315
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2676
3316
|
return [2 /*return*/, {
|
|
2677
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3317
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2678
3318
|
options: localVarRequestOptions,
|
|
2679
3319
|
}];
|
|
2680
3320
|
}
|
|
@@ -2697,11 +3337,11 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2697
3337
|
switch (_a.label) {
|
|
2698
3338
|
case 0:
|
|
2699
3339
|
// verify required parameter 'id' is not null or undefined
|
|
2700
|
-
common_1.assertParamExists('updateTemplate', 'id', id);
|
|
3340
|
+
(0, common_1.assertParamExists)('updateTemplate', 'id', id);
|
|
2701
3341
|
// verify required parameter 'template' is not null or undefined
|
|
2702
|
-
common_1.assertParamExists('updateTemplate', 'template', template);
|
|
3342
|
+
(0, common_1.assertParamExists)('updateTemplate', 'template', template);
|
|
2703
3343
|
localVarPath = "/templates/{Id}"
|
|
2704
|
-
.replace("{"
|
|
3344
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2705
3345
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2706
3346
|
if (configuration) {
|
|
2707
3347
|
baseOptions = configuration.baseOptions;
|
|
@@ -2710,21 +3350,31 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2710
3350
|
localVarHeaderParameter = {};
|
|
2711
3351
|
localVarQueryParameter = {};
|
|
2712
3352
|
// authentication ApiKeyAuth required
|
|
2713
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2714
|
-
// authentication
|
|
3353
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3354
|
+
// authentication BearerAuth required
|
|
3355
|
+
// http bearer authentication required
|
|
2715
3356
|
];
|
|
2716
3357
|
case 1:
|
|
2717
3358
|
// authentication ApiKeyAuth required
|
|
2718
3359
|
_a.sent();
|
|
3360
|
+
// authentication BearerAuth required
|
|
3361
|
+
// http bearer authentication required
|
|
3362
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3363
|
+
// authentication CookieAuth required
|
|
3364
|
+
];
|
|
3365
|
+
case 2:
|
|
3366
|
+
// authentication BearerAuth required
|
|
3367
|
+
// http bearer authentication required
|
|
3368
|
+
_a.sent();
|
|
2719
3369
|
// authentication CookieAuth required
|
|
2720
3370
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2721
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3371
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2722
3372
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2723
3373
|
formHeaders = {};
|
|
2724
3374
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2725
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(template, localVarRequestOptions, configuration);
|
|
3375
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(template, localVarRequestOptions, configuration);
|
|
2726
3376
|
return [2 /*return*/, {
|
|
2727
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3377
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2728
3378
|
options: localVarRequestOptions,
|
|
2729
3379
|
}];
|
|
2730
3380
|
}
|
|
@@ -2733,12 +3383,13 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2733
3383
|
},
|
|
2734
3384
|
};
|
|
2735
3385
|
};
|
|
3386
|
+
exports.TemplatesApiAxiosParamCreator = TemplatesApiAxiosParamCreator;
|
|
2736
3387
|
/**
|
|
2737
3388
|
* TemplatesApi - functional programming interface
|
|
2738
3389
|
* @export
|
|
2739
3390
|
*/
|
|
2740
|
-
|
|
2741
|
-
var localVarAxiosParamCreator = exports.TemplatesApiAxiosParamCreator(configuration);
|
|
3391
|
+
var TemplatesApiFp = function (configuration) {
|
|
3392
|
+
var localVarAxiosParamCreator = (0, exports.TemplatesApiAxiosParamCreator)(configuration);
|
|
2742
3393
|
return {
|
|
2743
3394
|
/**
|
|
2744
3395
|
*
|
|
@@ -2755,7 +3406,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
2755
3406
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createTemplate(template, options)];
|
|
2756
3407
|
case 1:
|
|
2757
3408
|
localVarAxiosArgs = _a.sent();
|
|
2758
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3409
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2759
3410
|
}
|
|
2760
3411
|
});
|
|
2761
3412
|
});
|
|
@@ -2775,7 +3426,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
2775
3426
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteTemplate(id, options)];
|
|
2776
3427
|
case 1:
|
|
2777
3428
|
localVarAxiosArgs = _a.sent();
|
|
2778
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3429
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2779
3430
|
}
|
|
2780
3431
|
});
|
|
2781
3432
|
});
|
|
@@ -2795,7 +3446,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
2795
3446
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.duplicateTemplate(id, options)];
|
|
2796
3447
|
case 1:
|
|
2797
3448
|
localVarAxiosArgs = _a.sent();
|
|
2798
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3449
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2799
3450
|
}
|
|
2800
3451
|
});
|
|
2801
3452
|
});
|
|
@@ -2815,7 +3466,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
2815
3466
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.exportTemplate(id, options)];
|
|
2816
3467
|
case 1:
|
|
2817
3468
|
localVarAxiosArgs = _a.sent();
|
|
2818
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3469
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2819
3470
|
}
|
|
2820
3471
|
});
|
|
2821
3472
|
});
|
|
@@ -2835,7 +3486,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
2835
3486
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTemplate(id, options)];
|
|
2836
3487
|
case 1:
|
|
2837
3488
|
localVarAxiosArgs = _a.sent();
|
|
2838
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3489
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2839
3490
|
}
|
|
2840
3491
|
});
|
|
2841
3492
|
});
|
|
@@ -2855,7 +3506,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
2855
3506
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTemplates(pageNum, options)];
|
|
2856
3507
|
case 1:
|
|
2857
3508
|
localVarAxiosArgs = _a.sent();
|
|
2858
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3509
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2859
3510
|
}
|
|
2860
3511
|
});
|
|
2861
3512
|
});
|
|
@@ -2875,7 +3526,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
2875
3526
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.importTemplate(template, options)];
|
|
2876
3527
|
case 1:
|
|
2877
3528
|
localVarAxiosArgs = _a.sent();
|
|
2878
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3529
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2879
3530
|
}
|
|
2880
3531
|
});
|
|
2881
3532
|
});
|
|
@@ -2896,7 +3547,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
2896
3547
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.renderTemplate(id, format, options)];
|
|
2897
3548
|
case 1:
|
|
2898
3549
|
localVarAxiosArgs = _a.sent();
|
|
2899
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3550
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2900
3551
|
}
|
|
2901
3552
|
});
|
|
2902
3553
|
});
|
|
@@ -2917,19 +3568,20 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
2917
3568
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateTemplate(id, template, options)];
|
|
2918
3569
|
case 1:
|
|
2919
3570
|
localVarAxiosArgs = _a.sent();
|
|
2920
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3571
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2921
3572
|
}
|
|
2922
3573
|
});
|
|
2923
3574
|
});
|
|
2924
3575
|
},
|
|
2925
3576
|
};
|
|
2926
3577
|
};
|
|
3578
|
+
exports.TemplatesApiFp = TemplatesApiFp;
|
|
2927
3579
|
/**
|
|
2928
3580
|
* TemplatesApi - factory interface
|
|
2929
3581
|
* @export
|
|
2930
3582
|
*/
|
|
2931
|
-
|
|
2932
|
-
var localVarFp = exports.TemplatesApiFp(configuration);
|
|
3583
|
+
var TemplatesApiFactory = function (configuration, basePath, axios) {
|
|
3584
|
+
var localVarFp = (0, exports.TemplatesApiFp)(configuration);
|
|
2933
3585
|
return {
|
|
2934
3586
|
/**
|
|
2935
3587
|
*
|
|
@@ -3025,6 +3677,7 @@ exports.TemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
3025
3677
|
},
|
|
3026
3678
|
};
|
|
3027
3679
|
};
|
|
3680
|
+
exports.TemplatesApiFactory = TemplatesApiFactory;
|
|
3028
3681
|
/**
|
|
3029
3682
|
* TemplatesApi - object-oriented interface
|
|
3030
3683
|
* @export
|
|
@@ -3046,7 +3699,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3046
3699
|
*/
|
|
3047
3700
|
TemplatesApi.prototype.createTemplate = function (template, options) {
|
|
3048
3701
|
var _this = this;
|
|
3049
|
-
return exports.TemplatesApiFp(this.configuration).createTemplate(template, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3702
|
+
return (0, exports.TemplatesApiFp)(this.configuration).createTemplate(template, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3050
3703
|
};
|
|
3051
3704
|
/**
|
|
3052
3705
|
* Delete a report template by its ID
|
|
@@ -3058,7 +3711,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3058
3711
|
*/
|
|
3059
3712
|
TemplatesApi.prototype.deleteTemplate = function (id, options) {
|
|
3060
3713
|
var _this = this;
|
|
3061
|
-
return exports.TemplatesApiFp(this.configuration).deleteTemplate(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3714
|
+
return (0, exports.TemplatesApiFp)(this.configuration).deleteTemplate(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3062
3715
|
};
|
|
3063
3716
|
/**
|
|
3064
3717
|
* Duplicate a report template by its ID
|
|
@@ -3070,7 +3723,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3070
3723
|
*/
|
|
3071
3724
|
TemplatesApi.prototype.duplicateTemplate = function (id, options) {
|
|
3072
3725
|
var _this = this;
|
|
3073
|
-
return exports.TemplatesApiFp(this.configuration).duplicateTemplate(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3726
|
+
return (0, exports.TemplatesApiFp)(this.configuration).duplicateTemplate(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3074
3727
|
};
|
|
3075
3728
|
/**
|
|
3076
3729
|
* Export a report template to a .CRPT file
|
|
@@ -3082,7 +3735,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3082
3735
|
*/
|
|
3083
3736
|
TemplatesApi.prototype.exportTemplate = function (id, options) {
|
|
3084
3737
|
var _this = this;
|
|
3085
|
-
return exports.TemplatesApiFp(this.configuration).exportTemplate(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3738
|
+
return (0, exports.TemplatesApiFp)(this.configuration).exportTemplate(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3086
3739
|
};
|
|
3087
3740
|
/**
|
|
3088
3741
|
* Read a report template by its ID
|
|
@@ -3094,7 +3747,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3094
3747
|
*/
|
|
3095
3748
|
TemplatesApi.prototype.getTemplate = function (id, options) {
|
|
3096
3749
|
var _this = this;
|
|
3097
|
-
return exports.TemplatesApiFp(this.configuration).getTemplate(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3750
|
+
return (0, exports.TemplatesApiFp)(this.configuration).getTemplate(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3098
3751
|
};
|
|
3099
3752
|
/**
|
|
3100
3753
|
*
|
|
@@ -3106,7 +3759,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3106
3759
|
*/
|
|
3107
3760
|
TemplatesApi.prototype.getTemplates = function (pageNum, options) {
|
|
3108
3761
|
var _this = this;
|
|
3109
|
-
return exports.TemplatesApiFp(this.configuration).getTemplates(pageNum, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3762
|
+
return (0, exports.TemplatesApiFp)(this.configuration).getTemplates(pageNum, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3110
3763
|
};
|
|
3111
3764
|
/**
|
|
3112
3765
|
* Imports an exported .CRPT file
|
|
@@ -3118,7 +3771,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3118
3771
|
*/
|
|
3119
3772
|
TemplatesApi.prototype.importTemplate = function (template, options) {
|
|
3120
3773
|
var _this = this;
|
|
3121
|
-
return exports.TemplatesApiFp(this.configuration).importTemplate(template, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3774
|
+
return (0, exports.TemplatesApiFp)(this.configuration).importTemplate(template, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3122
3775
|
};
|
|
3123
3776
|
/**
|
|
3124
3777
|
* Render a report template to PDF, PPTX, or XLSX. Responds with a job entity.
|
|
@@ -3131,7 +3784,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3131
3784
|
*/
|
|
3132
3785
|
TemplatesApi.prototype.renderTemplate = function (id, format, options) {
|
|
3133
3786
|
var _this = this;
|
|
3134
|
-
return exports.TemplatesApiFp(this.configuration).renderTemplate(id, format, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3787
|
+
return (0, exports.TemplatesApiFp)(this.configuration).renderTemplate(id, format, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3135
3788
|
};
|
|
3136
3789
|
/**
|
|
3137
3790
|
* Accepts partial updates
|
|
@@ -3144,7 +3797,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3144
3797
|
*/
|
|
3145
3798
|
TemplatesApi.prototype.updateTemplate = function (id, template, options) {
|
|
3146
3799
|
var _this = this;
|
|
3147
|
-
return exports.TemplatesApiFp(this.configuration).updateTemplate(id, template, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3800
|
+
return (0, exports.TemplatesApiFp)(this.configuration).updateTemplate(id, template, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3148
3801
|
};
|
|
3149
3802
|
return TemplatesApi;
|
|
3150
3803
|
}(base_1.BaseAPI));
|
|
@@ -3153,7 +3806,7 @@ exports.TemplatesApi = TemplatesApi;
|
|
|
3153
3806
|
* VisualizationApi - axios parameter creator
|
|
3154
3807
|
* @export
|
|
3155
3808
|
*/
|
|
3156
|
-
|
|
3809
|
+
var VisualizationApiAxiosParamCreator = function (configuration) {
|
|
3157
3810
|
var _this = this;
|
|
3158
3811
|
return {
|
|
3159
3812
|
/**
|
|
@@ -3172,7 +3825,7 @@ exports.VisualizationApiAxiosParamCreator = function (configuration) {
|
|
|
3172
3825
|
switch (_a.label) {
|
|
3173
3826
|
case 0:
|
|
3174
3827
|
// verify required parameter 'visualization' is not null or undefined
|
|
3175
|
-
common_1.assertParamExists('createVisualization', 'visualization', visualization);
|
|
3828
|
+
(0, common_1.assertParamExists)('createVisualization', 'visualization', visualization);
|
|
3176
3829
|
localVarPath = "/visualizations";
|
|
3177
3830
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3178
3831
|
if (configuration) {
|
|
@@ -3182,24 +3835,34 @@ exports.VisualizationApiAxiosParamCreator = function (configuration) {
|
|
|
3182
3835
|
localVarHeaderParameter = {};
|
|
3183
3836
|
localVarQueryParameter = {};
|
|
3184
3837
|
// authentication ApiKeyAuth required
|
|
3185
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3186
|
-
// authentication
|
|
3838
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3839
|
+
// authentication BearerAuth required
|
|
3840
|
+
// http bearer authentication required
|
|
3187
3841
|
];
|
|
3188
3842
|
case 1:
|
|
3189
3843
|
// authentication ApiKeyAuth required
|
|
3190
3844
|
_a.sent();
|
|
3845
|
+
// authentication BearerAuth required
|
|
3846
|
+
// http bearer authentication required
|
|
3847
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3848
|
+
// authentication CookieAuth required
|
|
3849
|
+
];
|
|
3850
|
+
case 2:
|
|
3851
|
+
// authentication BearerAuth required
|
|
3852
|
+
// http bearer authentication required
|
|
3853
|
+
_a.sent();
|
|
3191
3854
|
// authentication CookieAuth required
|
|
3192
3855
|
if (priority !== undefined) {
|
|
3193
3856
|
localVarQueryParameter['priority'] = priority;
|
|
3194
3857
|
}
|
|
3195
3858
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3196
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3859
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3197
3860
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3198
3861
|
formHeaders = {};
|
|
3199
3862
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
3200
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(visualization, localVarRequestOptions, configuration);
|
|
3863
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(visualization, localVarRequestOptions, configuration);
|
|
3201
3864
|
return [2 /*return*/, {
|
|
3202
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3865
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3203
3866
|
options: localVarRequestOptions,
|
|
3204
3867
|
}];
|
|
3205
3868
|
}
|
|
@@ -3208,12 +3871,13 @@ exports.VisualizationApiAxiosParamCreator = function (configuration) {
|
|
|
3208
3871
|
},
|
|
3209
3872
|
};
|
|
3210
3873
|
};
|
|
3874
|
+
exports.VisualizationApiAxiosParamCreator = VisualizationApiAxiosParamCreator;
|
|
3211
3875
|
/**
|
|
3212
3876
|
* VisualizationApi - functional programming interface
|
|
3213
3877
|
* @export
|
|
3214
3878
|
*/
|
|
3215
|
-
|
|
3216
|
-
var localVarAxiosParamCreator = exports.VisualizationApiAxiosParamCreator(configuration);
|
|
3879
|
+
var VisualizationApiFp = function (configuration) {
|
|
3880
|
+
var localVarAxiosParamCreator = (0, exports.VisualizationApiAxiosParamCreator)(configuration);
|
|
3217
3881
|
return {
|
|
3218
3882
|
/**
|
|
3219
3883
|
*
|
|
@@ -3231,19 +3895,20 @@ exports.VisualizationApiFp = function (configuration) {
|
|
|
3231
3895
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createVisualization(visualization, priority, options)];
|
|
3232
3896
|
case 1:
|
|
3233
3897
|
localVarAxiosArgs = _a.sent();
|
|
3234
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3898
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3235
3899
|
}
|
|
3236
3900
|
});
|
|
3237
3901
|
});
|
|
3238
3902
|
},
|
|
3239
3903
|
};
|
|
3240
3904
|
};
|
|
3905
|
+
exports.VisualizationApiFp = VisualizationApiFp;
|
|
3241
3906
|
/**
|
|
3242
3907
|
* VisualizationApi - factory interface
|
|
3243
3908
|
* @export
|
|
3244
3909
|
*/
|
|
3245
|
-
|
|
3246
|
-
var localVarFp = exports.VisualizationApiFp(configuration);
|
|
3910
|
+
var VisualizationApiFactory = function (configuration, basePath, axios) {
|
|
3911
|
+
var localVarFp = (0, exports.VisualizationApiFp)(configuration);
|
|
3247
3912
|
return {
|
|
3248
3913
|
/**
|
|
3249
3914
|
*
|
|
@@ -3258,6 +3923,7 @@ exports.VisualizationApiFactory = function (configuration, basePath, axios) {
|
|
|
3258
3923
|
},
|
|
3259
3924
|
};
|
|
3260
3925
|
};
|
|
3926
|
+
exports.VisualizationApiFactory = VisualizationApiFactory;
|
|
3261
3927
|
/**
|
|
3262
3928
|
* VisualizationApi - object-oriented interface
|
|
3263
3929
|
* @export
|
|
@@ -3280,7 +3946,7 @@ var VisualizationApi = /** @class */ (function (_super) {
|
|
|
3280
3946
|
*/
|
|
3281
3947
|
VisualizationApi.prototype.createVisualization = function (visualization, priority, options) {
|
|
3282
3948
|
var _this = this;
|
|
3283
|
-
return exports.VisualizationApiFp(this.configuration).createVisualization(visualization, priority, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3949
|
+
return (0, exports.VisualizationApiFp)(this.configuration).createVisualization(visualization, priority, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3284
3950
|
};
|
|
3285
3951
|
return VisualizationApi;
|
|
3286
3952
|
}(base_1.BaseAPI));
|