@connectreport/connectreport-js 2.71.4 → 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 +49 -1
- package/base.ts +1 -1
- package/common.ts +2 -4
- package/configuration.ts +3 -3
- package/dist/api.d.ts +82 -34
- package/dist/api.js +338 -309
- 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]) {
|
|
@@ -184,7 +186,7 @@ var ReportTaskResponseEmailEnum;
|
|
|
184
186
|
* BaseTemplatesApi - axios parameter creator
|
|
185
187
|
* @export
|
|
186
188
|
*/
|
|
187
|
-
|
|
189
|
+
var BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
188
190
|
var _this = this;
|
|
189
191
|
return {
|
|
190
192
|
/**
|
|
@@ -202,9 +204,9 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
202
204
|
switch (_a.label) {
|
|
203
205
|
case 0:
|
|
204
206
|
// verify required parameter 'id' is not null or undefined
|
|
205
|
-
common_1.assertParamExists('duplicateBaseTemplate', 'id', id);
|
|
207
|
+
(0, common_1.assertParamExists)('duplicateBaseTemplate', 'id', id);
|
|
206
208
|
localVarPath = "/base-templates/{Id}/duplicate"
|
|
207
|
-
.replace("{"
|
|
209
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
208
210
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
209
211
|
if (configuration) {
|
|
210
212
|
baseOptions = configuration.baseOptions;
|
|
@@ -213,7 +215,7 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
213
215
|
localVarHeaderParameter = {};
|
|
214
216
|
localVarQueryParameter = {};
|
|
215
217
|
// authentication ApiKeyAuth required
|
|
216
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
218
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
217
219
|
// authentication BearerAuth required
|
|
218
220
|
// http bearer authentication required
|
|
219
221
|
];
|
|
@@ -222,7 +224,7 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
222
224
|
_a.sent();
|
|
223
225
|
// authentication BearerAuth required
|
|
224
226
|
// http bearer authentication required
|
|
225
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
227
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
226
228
|
// authentication CookieAuth required
|
|
227
229
|
];
|
|
228
230
|
case 2:
|
|
@@ -230,12 +232,12 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
230
232
|
// http bearer authentication required
|
|
231
233
|
_a.sent();
|
|
232
234
|
// authentication CookieAuth required
|
|
233
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
235
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
234
236
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
237
|
formHeaders = {};
|
|
236
238
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
237
239
|
return [2 /*return*/, {
|
|
238
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
240
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
239
241
|
options: localVarRequestOptions,
|
|
240
242
|
}];
|
|
241
243
|
}
|
|
@@ -266,7 +268,7 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
266
268
|
localVarHeaderParameter = {};
|
|
267
269
|
localVarQueryParameter = {};
|
|
268
270
|
// authentication ApiKeyAuth required
|
|
269
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
271
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
270
272
|
// authentication BearerAuth required
|
|
271
273
|
// http bearer authentication required
|
|
272
274
|
];
|
|
@@ -275,7 +277,7 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
275
277
|
_a.sent();
|
|
276
278
|
// authentication BearerAuth required
|
|
277
279
|
// http bearer authentication required
|
|
278
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
280
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
279
281
|
// authentication CookieAuth required
|
|
280
282
|
];
|
|
281
283
|
case 2:
|
|
@@ -289,12 +291,12 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
289
291
|
if (page !== undefined) {
|
|
290
292
|
localVarQueryParameter['page'] = page;
|
|
291
293
|
}
|
|
292
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
294
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
293
295
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
294
296
|
formHeaders = {};
|
|
295
297
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
296
298
|
return [2 /*return*/, {
|
|
297
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
299
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
298
300
|
options: localVarRequestOptions,
|
|
299
301
|
}];
|
|
300
302
|
}
|
|
@@ -303,12 +305,13 @@ exports.BaseTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
303
305
|
},
|
|
304
306
|
};
|
|
305
307
|
};
|
|
308
|
+
exports.BaseTemplatesApiAxiosParamCreator = BaseTemplatesApiAxiosParamCreator;
|
|
306
309
|
/**
|
|
307
310
|
* BaseTemplatesApi - functional programming interface
|
|
308
311
|
* @export
|
|
309
312
|
*/
|
|
310
|
-
|
|
311
|
-
var localVarAxiosParamCreator = exports.BaseTemplatesApiAxiosParamCreator(configuration);
|
|
313
|
+
var BaseTemplatesApiFp = function (configuration) {
|
|
314
|
+
var localVarAxiosParamCreator = (0, exports.BaseTemplatesApiAxiosParamCreator)(configuration);
|
|
312
315
|
return {
|
|
313
316
|
/**
|
|
314
317
|
* Duplicate a base template by its ID
|
|
@@ -325,7 +328,7 @@ exports.BaseTemplatesApiFp = function (configuration) {
|
|
|
325
328
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.duplicateBaseTemplate(id, options)];
|
|
326
329
|
case 1:
|
|
327
330
|
localVarAxiosArgs = _a.sent();
|
|
328
|
-
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)];
|
|
329
332
|
}
|
|
330
333
|
});
|
|
331
334
|
});
|
|
@@ -346,19 +349,20 @@ exports.BaseTemplatesApiFp = function (configuration) {
|
|
|
346
349
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBaseTemplates(pageNum, page, options)];
|
|
347
350
|
case 1:
|
|
348
351
|
localVarAxiosArgs = _a.sent();
|
|
349
|
-
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)];
|
|
350
353
|
}
|
|
351
354
|
});
|
|
352
355
|
});
|
|
353
356
|
},
|
|
354
357
|
};
|
|
355
358
|
};
|
|
359
|
+
exports.BaseTemplatesApiFp = BaseTemplatesApiFp;
|
|
356
360
|
/**
|
|
357
361
|
* BaseTemplatesApi - factory interface
|
|
358
362
|
* @export
|
|
359
363
|
*/
|
|
360
|
-
|
|
361
|
-
var localVarFp = exports.BaseTemplatesApiFp(configuration);
|
|
364
|
+
var BaseTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
365
|
+
var localVarFp = (0, exports.BaseTemplatesApiFp)(configuration);
|
|
362
366
|
return {
|
|
363
367
|
/**
|
|
364
368
|
* Duplicate a base template by its ID
|
|
@@ -383,6 +387,7 @@ exports.BaseTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
383
387
|
},
|
|
384
388
|
};
|
|
385
389
|
};
|
|
390
|
+
exports.BaseTemplatesApiFactory = BaseTemplatesApiFactory;
|
|
386
391
|
/**
|
|
387
392
|
* BaseTemplatesApi - object-oriented interface
|
|
388
393
|
* @export
|
|
@@ -404,7 +409,7 @@ var BaseTemplatesApi = /** @class */ (function (_super) {
|
|
|
404
409
|
*/
|
|
405
410
|
BaseTemplatesApi.prototype.duplicateBaseTemplate = function (id, options) {
|
|
406
411
|
var _this = this;
|
|
407
|
-
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); });
|
|
408
413
|
};
|
|
409
414
|
/**
|
|
410
415
|
*
|
|
@@ -417,7 +422,7 @@ var BaseTemplatesApi = /** @class */ (function (_super) {
|
|
|
417
422
|
*/
|
|
418
423
|
BaseTemplatesApi.prototype.getBaseTemplates = function (pageNum, page, options) {
|
|
419
424
|
var _this = this;
|
|
420
|
-
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); });
|
|
421
426
|
};
|
|
422
427
|
return BaseTemplatesApi;
|
|
423
428
|
}(base_1.BaseAPI));
|
|
@@ -426,7 +431,7 @@ exports.BaseTemplatesApi = BaseTemplatesApi;
|
|
|
426
431
|
* DocumentsApi - axios parameter creator
|
|
427
432
|
* @export
|
|
428
433
|
*/
|
|
429
|
-
|
|
434
|
+
var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
430
435
|
var _this = this;
|
|
431
436
|
return {
|
|
432
437
|
/**
|
|
@@ -446,12 +451,12 @@ exports.DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
446
451
|
switch (_a.label) {
|
|
447
452
|
case 0:
|
|
448
453
|
// verify required parameter 'fileName' is not null or undefined
|
|
449
|
-
common_1.assertParamExists('getDocument', 'fileName', fileName);
|
|
454
|
+
(0, common_1.assertParamExists)('getDocument', 'fileName', fileName);
|
|
450
455
|
// verify required parameter 'fileType' is not null or undefined
|
|
451
|
-
common_1.assertParamExists('getDocument', 'fileType', fileType);
|
|
456
|
+
(0, common_1.assertParamExists)('getDocument', 'fileType', fileType);
|
|
452
457
|
localVarPath = "/documents/{fileType}/{fileName}"
|
|
453
|
-
.replace("{"
|
|
454
|
-
.replace("{"
|
|
458
|
+
.replace("{".concat("fileName", "}"), encodeURIComponent(String(fileName)))
|
|
459
|
+
.replace("{".concat("fileType", "}"), encodeURIComponent(String(fileType)));
|
|
455
460
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
456
461
|
if (configuration) {
|
|
457
462
|
baseOptions = configuration.baseOptions;
|
|
@@ -460,7 +465,7 @@ exports.DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
460
465
|
localVarHeaderParameter = {};
|
|
461
466
|
localVarQueryParameter = {};
|
|
462
467
|
// authentication ApiKeyAuth required
|
|
463
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
468
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
464
469
|
// authentication BearerAuth required
|
|
465
470
|
// http bearer authentication required
|
|
466
471
|
];
|
|
@@ -469,7 +474,7 @@ exports.DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
469
474
|
_a.sent();
|
|
470
475
|
// authentication BearerAuth required
|
|
471
476
|
// http bearer authentication required
|
|
472
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
477
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
473
478
|
// authentication CookieAuth required
|
|
474
479
|
];
|
|
475
480
|
case 2:
|
|
@@ -480,12 +485,12 @@ exports.DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
480
485
|
if (attachmentName !== undefined) {
|
|
481
486
|
localVarQueryParameter['attachmentName'] = attachmentName;
|
|
482
487
|
}
|
|
483
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
488
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
484
489
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
485
490
|
formHeaders = {};
|
|
486
491
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
487
492
|
return [2 /*return*/, {
|
|
488
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
493
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
489
494
|
options: localVarRequestOptions,
|
|
490
495
|
}];
|
|
491
496
|
}
|
|
@@ -494,12 +499,13 @@ exports.DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
494
499
|
},
|
|
495
500
|
};
|
|
496
501
|
};
|
|
502
|
+
exports.DocumentsApiAxiosParamCreator = DocumentsApiAxiosParamCreator;
|
|
497
503
|
/**
|
|
498
504
|
* DocumentsApi - functional programming interface
|
|
499
505
|
* @export
|
|
500
506
|
*/
|
|
501
|
-
|
|
502
|
-
var localVarAxiosParamCreator = exports.DocumentsApiAxiosParamCreator(configuration);
|
|
507
|
+
var DocumentsApiFp = function (configuration) {
|
|
508
|
+
var localVarAxiosParamCreator = (0, exports.DocumentsApiAxiosParamCreator)(configuration);
|
|
503
509
|
return {
|
|
504
510
|
/**
|
|
505
511
|
*
|
|
@@ -518,19 +524,20 @@ exports.DocumentsApiFp = function (configuration) {
|
|
|
518
524
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDocument(fileName, fileType, attachmentName, options)];
|
|
519
525
|
case 1:
|
|
520
526
|
localVarAxiosArgs = _a.sent();
|
|
521
|
-
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)];
|
|
522
528
|
}
|
|
523
529
|
});
|
|
524
530
|
});
|
|
525
531
|
},
|
|
526
532
|
};
|
|
527
533
|
};
|
|
534
|
+
exports.DocumentsApiFp = DocumentsApiFp;
|
|
528
535
|
/**
|
|
529
536
|
* DocumentsApi - factory interface
|
|
530
537
|
* @export
|
|
531
538
|
*/
|
|
532
|
-
|
|
533
|
-
var localVarFp = exports.DocumentsApiFp(configuration);
|
|
539
|
+
var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
540
|
+
var localVarFp = (0, exports.DocumentsApiFp)(configuration);
|
|
534
541
|
return {
|
|
535
542
|
/**
|
|
536
543
|
*
|
|
@@ -546,6 +553,7 @@ exports.DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
546
553
|
},
|
|
547
554
|
};
|
|
548
555
|
};
|
|
556
|
+
exports.DocumentsApiFactory = DocumentsApiFactory;
|
|
549
557
|
/**
|
|
550
558
|
* DocumentsApi - object-oriented interface
|
|
551
559
|
* @export
|
|
@@ -569,7 +577,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
569
577
|
*/
|
|
570
578
|
DocumentsApi.prototype.getDocument = function (fileName, fileType, attachmentName, options) {
|
|
571
579
|
var _this = this;
|
|
572
|
-
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); });
|
|
573
581
|
};
|
|
574
582
|
return DocumentsApi;
|
|
575
583
|
}(base_1.BaseAPI));
|
|
@@ -578,7 +586,7 @@ exports.DocumentsApi = DocumentsApi;
|
|
|
578
586
|
* FilterCyclesApi - axios parameter creator
|
|
579
587
|
* @export
|
|
580
588
|
*/
|
|
581
|
-
|
|
589
|
+
var FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
582
590
|
var _this = this;
|
|
583
591
|
return {
|
|
584
592
|
/**
|
|
@@ -596,7 +604,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
596
604
|
switch (_a.label) {
|
|
597
605
|
case 0:
|
|
598
606
|
// verify required parameter 'filterCycle' is not null or undefined
|
|
599
|
-
common_1.assertParamExists('createFilterCycle', 'filterCycle', filterCycle);
|
|
607
|
+
(0, common_1.assertParamExists)('createFilterCycle', 'filterCycle', filterCycle);
|
|
600
608
|
localVarPath = "/filter-cycles";
|
|
601
609
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
602
610
|
if (configuration) {
|
|
@@ -606,7 +614,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
606
614
|
localVarHeaderParameter = {};
|
|
607
615
|
localVarQueryParameter = {};
|
|
608
616
|
// authentication ApiKeyAuth required
|
|
609
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
617
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
610
618
|
// authentication BearerAuth required
|
|
611
619
|
// http bearer authentication required
|
|
612
620
|
];
|
|
@@ -615,7 +623,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
615
623
|
_a.sent();
|
|
616
624
|
// authentication BearerAuth required
|
|
617
625
|
// http bearer authentication required
|
|
618
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
626
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
619
627
|
// authentication CookieAuth required
|
|
620
628
|
];
|
|
621
629
|
case 2:
|
|
@@ -624,13 +632,13 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
624
632
|
_a.sent();
|
|
625
633
|
// authentication CookieAuth required
|
|
626
634
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
627
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
635
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
628
636
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
629
637
|
formHeaders = {};
|
|
630
638
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
631
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(filterCycle, localVarRequestOptions, configuration);
|
|
639
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(filterCycle, localVarRequestOptions, configuration);
|
|
632
640
|
return [2 /*return*/, {
|
|
633
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
641
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
634
642
|
options: localVarRequestOptions,
|
|
635
643
|
}];
|
|
636
644
|
}
|
|
@@ -652,9 +660,9 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
652
660
|
switch (_a.label) {
|
|
653
661
|
case 0:
|
|
654
662
|
// verify required parameter 'id' is not null or undefined
|
|
655
|
-
common_1.assertParamExists('deleteFilterCycle', 'id', id);
|
|
663
|
+
(0, common_1.assertParamExists)('deleteFilterCycle', 'id', id);
|
|
656
664
|
localVarPath = "/filter-cycles/{Id}"
|
|
657
|
-
.replace("{"
|
|
665
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
658
666
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
659
667
|
if (configuration) {
|
|
660
668
|
baseOptions = configuration.baseOptions;
|
|
@@ -663,7 +671,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
663
671
|
localVarHeaderParameter = {};
|
|
664
672
|
localVarQueryParameter = {};
|
|
665
673
|
// authentication ApiKeyAuth required
|
|
666
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
674
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
667
675
|
// authentication BearerAuth required
|
|
668
676
|
// http bearer authentication required
|
|
669
677
|
];
|
|
@@ -672,7 +680,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
672
680
|
_a.sent();
|
|
673
681
|
// authentication BearerAuth required
|
|
674
682
|
// http bearer authentication required
|
|
675
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
683
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
676
684
|
// authentication CookieAuth required
|
|
677
685
|
];
|
|
678
686
|
case 2:
|
|
@@ -680,12 +688,12 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
680
688
|
// http bearer authentication required
|
|
681
689
|
_a.sent();
|
|
682
690
|
// authentication CookieAuth required
|
|
683
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
691
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
684
692
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
685
693
|
formHeaders = {};
|
|
686
694
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
687
695
|
return [2 /*return*/, {
|
|
688
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
696
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
689
697
|
options: localVarRequestOptions,
|
|
690
698
|
}];
|
|
691
699
|
}
|
|
@@ -707,9 +715,9 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
707
715
|
switch (_a.label) {
|
|
708
716
|
case 0:
|
|
709
717
|
// verify required parameter 'id' is not null or undefined
|
|
710
|
-
common_1.assertParamExists('disableAllInCycle', 'id', id);
|
|
718
|
+
(0, common_1.assertParamExists)('disableAllInCycle', 'id', id);
|
|
711
719
|
localVarPath = "/filter-cycles/{Id}/disable"
|
|
712
|
-
.replace("{"
|
|
720
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
713
721
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
714
722
|
if (configuration) {
|
|
715
723
|
baseOptions = configuration.baseOptions;
|
|
@@ -718,7 +726,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
718
726
|
localVarHeaderParameter = {};
|
|
719
727
|
localVarQueryParameter = {};
|
|
720
728
|
// authentication ApiKeyAuth required
|
|
721
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
729
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
722
730
|
// authentication BearerAuth required
|
|
723
731
|
// http bearer authentication required
|
|
724
732
|
];
|
|
@@ -727,7 +735,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
727
735
|
_a.sent();
|
|
728
736
|
// authentication BearerAuth required
|
|
729
737
|
// http bearer authentication required
|
|
730
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
738
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
731
739
|
// authentication CookieAuth required
|
|
732
740
|
];
|
|
733
741
|
case 2:
|
|
@@ -735,12 +743,12 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
735
743
|
// http bearer authentication required
|
|
736
744
|
_a.sent();
|
|
737
745
|
// authentication CookieAuth required
|
|
738
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
746
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
739
747
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
740
748
|
formHeaders = {};
|
|
741
749
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
742
750
|
return [2 /*return*/, {
|
|
743
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
751
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
744
752
|
options: localVarRequestOptions,
|
|
745
753
|
}];
|
|
746
754
|
}
|
|
@@ -762,9 +770,9 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
762
770
|
switch (_a.label) {
|
|
763
771
|
case 0:
|
|
764
772
|
// verify required parameter 'id' is not null or undefined
|
|
765
|
-
common_1.assertParamExists('enableAllInCycle', 'id', id);
|
|
773
|
+
(0, common_1.assertParamExists)('enableAllInCycle', 'id', id);
|
|
766
774
|
localVarPath = "/filter-cycles/{Id}/enable"
|
|
767
|
-
.replace("{"
|
|
775
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
768
776
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
769
777
|
if (configuration) {
|
|
770
778
|
baseOptions = configuration.baseOptions;
|
|
@@ -773,7 +781,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
773
781
|
localVarHeaderParameter = {};
|
|
774
782
|
localVarQueryParameter = {};
|
|
775
783
|
// authentication ApiKeyAuth required
|
|
776
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
784
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
777
785
|
// authentication BearerAuth required
|
|
778
786
|
// http bearer authentication required
|
|
779
787
|
];
|
|
@@ -782,7 +790,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
782
790
|
_a.sent();
|
|
783
791
|
// authentication BearerAuth required
|
|
784
792
|
// http bearer authentication required
|
|
785
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
793
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
786
794
|
// authentication CookieAuth required
|
|
787
795
|
];
|
|
788
796
|
case 2:
|
|
@@ -790,12 +798,12 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
790
798
|
// http bearer authentication required
|
|
791
799
|
_a.sent();
|
|
792
800
|
// authentication CookieAuth required
|
|
793
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
801
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
794
802
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
795
803
|
formHeaders = {};
|
|
796
804
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
797
805
|
return [2 /*return*/, {
|
|
798
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
806
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
799
807
|
options: localVarRequestOptions,
|
|
800
808
|
}];
|
|
801
809
|
}
|
|
@@ -817,9 +825,9 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
817
825
|
switch (_a.label) {
|
|
818
826
|
case 0:
|
|
819
827
|
// verify required parameter 'id' is not null or undefined
|
|
820
|
-
common_1.assertParamExists('getFilterCycle', 'id', id);
|
|
828
|
+
(0, common_1.assertParamExists)('getFilterCycle', 'id', id);
|
|
821
829
|
localVarPath = "/filter-cycles/{Id}"
|
|
822
|
-
.replace("{"
|
|
830
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
823
831
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
824
832
|
if (configuration) {
|
|
825
833
|
baseOptions = configuration.baseOptions;
|
|
@@ -828,7 +836,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
828
836
|
localVarHeaderParameter = {};
|
|
829
837
|
localVarQueryParameter = {};
|
|
830
838
|
// authentication ApiKeyAuth required
|
|
831
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
839
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
832
840
|
// authentication BearerAuth required
|
|
833
841
|
// http bearer authentication required
|
|
834
842
|
];
|
|
@@ -837,7 +845,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
837
845
|
_a.sent();
|
|
838
846
|
// authentication BearerAuth required
|
|
839
847
|
// http bearer authentication required
|
|
840
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
848
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
841
849
|
// authentication CookieAuth required
|
|
842
850
|
];
|
|
843
851
|
case 2:
|
|
@@ -845,12 +853,12 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
845
853
|
// http bearer authentication required
|
|
846
854
|
_a.sent();
|
|
847
855
|
// authentication CookieAuth required
|
|
848
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
856
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
849
857
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
850
858
|
formHeaders = {};
|
|
851
859
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
852
860
|
return [2 /*return*/, {
|
|
853
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
861
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
854
862
|
options: localVarRequestOptions,
|
|
855
863
|
}];
|
|
856
864
|
}
|
|
@@ -872,7 +880,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
872
880
|
switch (_a.label) {
|
|
873
881
|
case 0:
|
|
874
882
|
// verify required parameter 'templateId' is not null or undefined
|
|
875
|
-
common_1.assertParamExists('getFilterCycles', 'templateId', templateId);
|
|
883
|
+
(0, common_1.assertParamExists)('getFilterCycles', 'templateId', templateId);
|
|
876
884
|
localVarPath = "/filter-cycles";
|
|
877
885
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
878
886
|
if (configuration) {
|
|
@@ -882,7 +890,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
882
890
|
localVarHeaderParameter = {};
|
|
883
891
|
localVarQueryParameter = {};
|
|
884
892
|
// authentication ApiKeyAuth required
|
|
885
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
893
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
886
894
|
// authentication BearerAuth required
|
|
887
895
|
// http bearer authentication required
|
|
888
896
|
];
|
|
@@ -891,7 +899,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
891
899
|
_a.sent();
|
|
892
900
|
// authentication BearerAuth required
|
|
893
901
|
// http bearer authentication required
|
|
894
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
902
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
895
903
|
// authentication CookieAuth required
|
|
896
904
|
];
|
|
897
905
|
case 2:
|
|
@@ -902,12 +910,12 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
902
910
|
if (templateId !== undefined) {
|
|
903
911
|
localVarQueryParameter['templateId'] = templateId;
|
|
904
912
|
}
|
|
905
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
913
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
906
914
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
907
915
|
formHeaders = {};
|
|
908
916
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
909
917
|
return [2 /*return*/, {
|
|
910
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
918
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
911
919
|
options: localVarRequestOptions,
|
|
912
920
|
}];
|
|
913
921
|
}
|
|
@@ -930,11 +938,11 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
930
938
|
switch (_a.label) {
|
|
931
939
|
case 0:
|
|
932
940
|
// verify required parameter 'id' is not null or undefined
|
|
933
|
-
common_1.assertParamExists('updateFilterCycle', 'id', id);
|
|
941
|
+
(0, common_1.assertParamExists)('updateFilterCycle', 'id', id);
|
|
934
942
|
// verify required parameter 'filterCycle' is not null or undefined
|
|
935
|
-
common_1.assertParamExists('updateFilterCycle', 'filterCycle', filterCycle);
|
|
943
|
+
(0, common_1.assertParamExists)('updateFilterCycle', 'filterCycle', filterCycle);
|
|
936
944
|
localVarPath = "/filter-cycles/{Id}"
|
|
937
|
-
.replace("{"
|
|
945
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
938
946
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
939
947
|
if (configuration) {
|
|
940
948
|
baseOptions = configuration.baseOptions;
|
|
@@ -943,7 +951,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
943
951
|
localVarHeaderParameter = {};
|
|
944
952
|
localVarQueryParameter = {};
|
|
945
953
|
// authentication ApiKeyAuth required
|
|
946
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
954
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
947
955
|
// authentication BearerAuth required
|
|
948
956
|
// http bearer authentication required
|
|
949
957
|
];
|
|
@@ -952,7 +960,7 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
952
960
|
_a.sent();
|
|
953
961
|
// authentication BearerAuth required
|
|
954
962
|
// http bearer authentication required
|
|
955
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
963
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
956
964
|
// authentication CookieAuth required
|
|
957
965
|
];
|
|
958
966
|
case 2:
|
|
@@ -961,13 +969,13 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
961
969
|
_a.sent();
|
|
962
970
|
// authentication CookieAuth required
|
|
963
971
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
964
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
972
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
965
973
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
966
974
|
formHeaders = {};
|
|
967
975
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
968
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(filterCycle, localVarRequestOptions, configuration);
|
|
976
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(filterCycle, localVarRequestOptions, configuration);
|
|
969
977
|
return [2 /*return*/, {
|
|
970
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
978
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
971
979
|
options: localVarRequestOptions,
|
|
972
980
|
}];
|
|
973
981
|
}
|
|
@@ -976,12 +984,13 @@ exports.FilterCyclesApiAxiosParamCreator = function (configuration) {
|
|
|
976
984
|
},
|
|
977
985
|
};
|
|
978
986
|
};
|
|
987
|
+
exports.FilterCyclesApiAxiosParamCreator = FilterCyclesApiAxiosParamCreator;
|
|
979
988
|
/**
|
|
980
989
|
* FilterCyclesApi - functional programming interface
|
|
981
990
|
* @export
|
|
982
991
|
*/
|
|
983
|
-
|
|
984
|
-
var localVarAxiosParamCreator = exports.FilterCyclesApiAxiosParamCreator(configuration);
|
|
992
|
+
var FilterCyclesApiFp = function (configuration) {
|
|
993
|
+
var localVarAxiosParamCreator = (0, exports.FilterCyclesApiAxiosParamCreator)(configuration);
|
|
985
994
|
return {
|
|
986
995
|
/**
|
|
987
996
|
*
|
|
@@ -998,7 +1007,7 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
998
1007
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createFilterCycle(filterCycle, options)];
|
|
999
1008
|
case 1:
|
|
1000
1009
|
localVarAxiosArgs = _a.sent();
|
|
1001
|
-
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)];
|
|
1002
1011
|
}
|
|
1003
1012
|
});
|
|
1004
1013
|
});
|
|
@@ -1018,7 +1027,7 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
1018
1027
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteFilterCycle(id, options)];
|
|
1019
1028
|
case 1:
|
|
1020
1029
|
localVarAxiosArgs = _a.sent();
|
|
1021
|
-
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)];
|
|
1022
1031
|
}
|
|
1023
1032
|
});
|
|
1024
1033
|
});
|
|
@@ -1038,7 +1047,7 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
1038
1047
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.disableAllInCycle(id, options)];
|
|
1039
1048
|
case 1:
|
|
1040
1049
|
localVarAxiosArgs = _a.sent();
|
|
1041
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1050
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1042
1051
|
}
|
|
1043
1052
|
});
|
|
1044
1053
|
});
|
|
@@ -1058,7 +1067,7 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
1058
1067
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.enableAllInCycle(id, options)];
|
|
1059
1068
|
case 1:
|
|
1060
1069
|
localVarAxiosArgs = _a.sent();
|
|
1061
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1070
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1062
1071
|
}
|
|
1063
1072
|
});
|
|
1064
1073
|
});
|
|
@@ -1078,7 +1087,7 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
1078
1087
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFilterCycle(id, options)];
|
|
1079
1088
|
case 1:
|
|
1080
1089
|
localVarAxiosArgs = _a.sent();
|
|
1081
|
-
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)];
|
|
1082
1091
|
}
|
|
1083
1092
|
});
|
|
1084
1093
|
});
|
|
@@ -1098,7 +1107,7 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
1098
1107
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFilterCycles(templateId, options)];
|
|
1099
1108
|
case 1:
|
|
1100
1109
|
localVarAxiosArgs = _a.sent();
|
|
1101
|
-
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)];
|
|
1102
1111
|
}
|
|
1103
1112
|
});
|
|
1104
1113
|
});
|
|
@@ -1119,19 +1128,20 @@ exports.FilterCyclesApiFp = function (configuration) {
|
|
|
1119
1128
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateFilterCycle(id, filterCycle, options)];
|
|
1120
1129
|
case 1:
|
|
1121
1130
|
localVarAxiosArgs = _a.sent();
|
|
1122
|
-
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)];
|
|
1123
1132
|
}
|
|
1124
1133
|
});
|
|
1125
1134
|
});
|
|
1126
1135
|
},
|
|
1127
1136
|
};
|
|
1128
1137
|
};
|
|
1138
|
+
exports.FilterCyclesApiFp = FilterCyclesApiFp;
|
|
1129
1139
|
/**
|
|
1130
1140
|
* FilterCyclesApi - factory interface
|
|
1131
1141
|
* @export
|
|
1132
1142
|
*/
|
|
1133
|
-
|
|
1134
|
-
var localVarFp = exports.FilterCyclesApiFp(configuration);
|
|
1143
|
+
var FilterCyclesApiFactory = function (configuration, basePath, axios) {
|
|
1144
|
+
var localVarFp = (0, exports.FilterCyclesApiFp)(configuration);
|
|
1135
1145
|
return {
|
|
1136
1146
|
/**
|
|
1137
1147
|
*
|
|
@@ -1206,6 +1216,7 @@ exports.FilterCyclesApiFactory = function (configuration, basePath, axios) {
|
|
|
1206
1216
|
},
|
|
1207
1217
|
};
|
|
1208
1218
|
};
|
|
1219
|
+
exports.FilterCyclesApiFactory = FilterCyclesApiFactory;
|
|
1209
1220
|
/**
|
|
1210
1221
|
* FilterCyclesApi - object-oriented interface
|
|
1211
1222
|
* @export
|
|
@@ -1227,7 +1238,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
1227
1238
|
*/
|
|
1228
1239
|
FilterCyclesApi.prototype.createFilterCycle = function (filterCycle, options) {
|
|
1229
1240
|
var _this = this;
|
|
1230
|
-
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); });
|
|
1231
1242
|
};
|
|
1232
1243
|
/**
|
|
1233
1244
|
*
|
|
@@ -1239,7 +1250,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
1239
1250
|
*/
|
|
1240
1251
|
FilterCyclesApi.prototype.deleteFilterCycle = function (id, options) {
|
|
1241
1252
|
var _this = this;
|
|
1242
|
-
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); });
|
|
1243
1254
|
};
|
|
1244
1255
|
/**
|
|
1245
1256
|
*
|
|
@@ -1251,7 +1262,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
1251
1262
|
*/
|
|
1252
1263
|
FilterCyclesApi.prototype.disableAllInCycle = function (id, options) {
|
|
1253
1264
|
var _this = this;
|
|
1254
|
-
return exports.FilterCyclesApiFp(this.configuration).disableAllInCycle(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1265
|
+
return (0, exports.FilterCyclesApiFp)(this.configuration).disableAllInCycle(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1255
1266
|
};
|
|
1256
1267
|
/**
|
|
1257
1268
|
*
|
|
@@ -1263,7 +1274,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
1263
1274
|
*/
|
|
1264
1275
|
FilterCyclesApi.prototype.enableAllInCycle = function (id, options) {
|
|
1265
1276
|
var _this = this;
|
|
1266
|
-
return exports.FilterCyclesApiFp(this.configuration).enableAllInCycle(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1277
|
+
return (0, exports.FilterCyclesApiFp)(this.configuration).enableAllInCycle(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1267
1278
|
};
|
|
1268
1279
|
/**
|
|
1269
1280
|
*
|
|
@@ -1275,7 +1286,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
1275
1286
|
*/
|
|
1276
1287
|
FilterCyclesApi.prototype.getFilterCycle = function (id, options) {
|
|
1277
1288
|
var _this = this;
|
|
1278
|
-
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); });
|
|
1279
1290
|
};
|
|
1280
1291
|
/**
|
|
1281
1292
|
*
|
|
@@ -1287,7 +1298,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
1287
1298
|
*/
|
|
1288
1299
|
FilterCyclesApi.prototype.getFilterCycles = function (templateId, options) {
|
|
1289
1300
|
var _this = this;
|
|
1290
|
-
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); });
|
|
1291
1302
|
};
|
|
1292
1303
|
/**
|
|
1293
1304
|
*
|
|
@@ -1300,7 +1311,7 @@ var FilterCyclesApi = /** @class */ (function (_super) {
|
|
|
1300
1311
|
*/
|
|
1301
1312
|
FilterCyclesApi.prototype.updateFilterCycle = function (id, filterCycle, options) {
|
|
1302
1313
|
var _this = this;
|
|
1303
|
-
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); });
|
|
1304
1315
|
};
|
|
1305
1316
|
return FilterCyclesApi;
|
|
1306
1317
|
}(base_1.BaseAPI));
|
|
@@ -1309,7 +1320,7 @@ exports.FilterCyclesApi = FilterCyclesApi;
|
|
|
1309
1320
|
* ImagesApi - axios parameter creator
|
|
1310
1321
|
* @export
|
|
1311
1322
|
*/
|
|
1312
|
-
|
|
1323
|
+
var ImagesApiAxiosParamCreator = function (configuration) {
|
|
1313
1324
|
var _this = this;
|
|
1314
1325
|
return {
|
|
1315
1326
|
/**
|
|
@@ -1327,9 +1338,9 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1327
1338
|
switch (_a.label) {
|
|
1328
1339
|
case 0:
|
|
1329
1340
|
// verify required parameter 'title' is not null or undefined
|
|
1330
|
-
common_1.assertParamExists('getImage', 'title', title);
|
|
1341
|
+
(0, common_1.assertParamExists)('getImage', 'title', title);
|
|
1331
1342
|
localVarPath = "/images/{title}"
|
|
1332
|
-
.replace("{"
|
|
1343
|
+
.replace("{".concat("title", "}"), encodeURIComponent(String(title)));
|
|
1333
1344
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1334
1345
|
if (configuration) {
|
|
1335
1346
|
baseOptions = configuration.baseOptions;
|
|
@@ -1338,7 +1349,7 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1338
1349
|
localVarHeaderParameter = {};
|
|
1339
1350
|
localVarQueryParameter = {};
|
|
1340
1351
|
// authentication ApiKeyAuth required
|
|
1341
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1352
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1342
1353
|
// authentication BearerAuth required
|
|
1343
1354
|
// http bearer authentication required
|
|
1344
1355
|
];
|
|
@@ -1347,7 +1358,7 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1347
1358
|
_a.sent();
|
|
1348
1359
|
// authentication BearerAuth required
|
|
1349
1360
|
// http bearer authentication required
|
|
1350
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1361
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1351
1362
|
// authentication CookieAuth required
|
|
1352
1363
|
];
|
|
1353
1364
|
case 2:
|
|
@@ -1355,12 +1366,12 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1355
1366
|
// http bearer authentication required
|
|
1356
1367
|
_a.sent();
|
|
1357
1368
|
// authentication CookieAuth required
|
|
1358
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1369
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1359
1370
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1360
1371
|
formHeaders = {};
|
|
1361
1372
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1362
1373
|
return [2 /*return*/, {
|
|
1363
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1374
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1364
1375
|
options: localVarRequestOptions,
|
|
1365
1376
|
}];
|
|
1366
1377
|
}
|
|
@@ -1391,7 +1402,7 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1391
1402
|
localVarQueryParameter = {};
|
|
1392
1403
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
1393
1404
|
// authentication ApiKeyAuth required
|
|
1394
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1405
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1395
1406
|
// authentication BearerAuth required
|
|
1396
1407
|
// http bearer authentication required
|
|
1397
1408
|
];
|
|
@@ -1400,7 +1411,7 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1400
1411
|
_a.sent();
|
|
1401
1412
|
// authentication BearerAuth required
|
|
1402
1413
|
// http bearer authentication required
|
|
1403
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1414
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1404
1415
|
// authentication CookieAuth required
|
|
1405
1416
|
];
|
|
1406
1417
|
case 2:
|
|
@@ -1412,7 +1423,7 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1412
1423
|
localVarFormParams.append('image', image);
|
|
1413
1424
|
}
|
|
1414
1425
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1415
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1426
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1416
1427
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1417
1428
|
formHeaders = {};
|
|
1418
1429
|
if (configuration && configuration.formDataCtor && localVarFormParams && localVarFormParams.getHeaders) {
|
|
@@ -1421,7 +1432,7 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1421
1432
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1422
1433
|
localVarRequestOptions.data = localVarFormParams;
|
|
1423
1434
|
return [2 /*return*/, {
|
|
1424
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1435
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1425
1436
|
options: localVarRequestOptions,
|
|
1426
1437
|
}];
|
|
1427
1438
|
}
|
|
@@ -1430,12 +1441,13 @@ exports.ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
1430
1441
|
},
|
|
1431
1442
|
};
|
|
1432
1443
|
};
|
|
1444
|
+
exports.ImagesApiAxiosParamCreator = ImagesApiAxiosParamCreator;
|
|
1433
1445
|
/**
|
|
1434
1446
|
* ImagesApi - functional programming interface
|
|
1435
1447
|
* @export
|
|
1436
1448
|
*/
|
|
1437
|
-
|
|
1438
|
-
var localVarAxiosParamCreator = exports.ImagesApiAxiosParamCreator(configuration);
|
|
1449
|
+
var ImagesApiFp = function (configuration) {
|
|
1450
|
+
var localVarAxiosParamCreator = (0, exports.ImagesApiAxiosParamCreator)(configuration);
|
|
1439
1451
|
return {
|
|
1440
1452
|
/**
|
|
1441
1453
|
*
|
|
@@ -1452,7 +1464,7 @@ exports.ImagesApiFp = function (configuration) {
|
|
|
1452
1464
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getImage(title, options)];
|
|
1453
1465
|
case 1:
|
|
1454
1466
|
localVarAxiosArgs = _a.sent();
|
|
1455
|
-
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)];
|
|
1456
1468
|
}
|
|
1457
1469
|
});
|
|
1458
1470
|
});
|
|
@@ -1472,19 +1484,20 @@ exports.ImagesApiFp = function (configuration) {
|
|
|
1472
1484
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.uploadImage(image, options)];
|
|
1473
1485
|
case 1:
|
|
1474
1486
|
localVarAxiosArgs = _a.sent();
|
|
1475
|
-
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)];
|
|
1476
1488
|
}
|
|
1477
1489
|
});
|
|
1478
1490
|
});
|
|
1479
1491
|
},
|
|
1480
1492
|
};
|
|
1481
1493
|
};
|
|
1494
|
+
exports.ImagesApiFp = ImagesApiFp;
|
|
1482
1495
|
/**
|
|
1483
1496
|
* ImagesApi - factory interface
|
|
1484
1497
|
* @export
|
|
1485
1498
|
*/
|
|
1486
|
-
|
|
1487
|
-
var localVarFp = exports.ImagesApiFp(configuration);
|
|
1499
|
+
var ImagesApiFactory = function (configuration, basePath, axios) {
|
|
1500
|
+
var localVarFp = (0, exports.ImagesApiFp)(configuration);
|
|
1488
1501
|
return {
|
|
1489
1502
|
/**
|
|
1490
1503
|
*
|
|
@@ -1508,6 +1521,7 @@ exports.ImagesApiFactory = function (configuration, basePath, axios) {
|
|
|
1508
1521
|
},
|
|
1509
1522
|
};
|
|
1510
1523
|
};
|
|
1524
|
+
exports.ImagesApiFactory = ImagesApiFactory;
|
|
1511
1525
|
/**
|
|
1512
1526
|
* ImagesApi - object-oriented interface
|
|
1513
1527
|
* @export
|
|
@@ -1529,7 +1543,7 @@ var ImagesApi = /** @class */ (function (_super) {
|
|
|
1529
1543
|
*/
|
|
1530
1544
|
ImagesApi.prototype.getImage = function (title, options) {
|
|
1531
1545
|
var _this = this;
|
|
1532
|
-
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); });
|
|
1533
1547
|
};
|
|
1534
1548
|
/**
|
|
1535
1549
|
* Uploads an image to the server for use in templates
|
|
@@ -1541,7 +1555,7 @@ var ImagesApi = /** @class */ (function (_super) {
|
|
|
1541
1555
|
*/
|
|
1542
1556
|
ImagesApi.prototype.uploadImage = function (image, options) {
|
|
1543
1557
|
var _this = this;
|
|
1544
|
-
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); });
|
|
1545
1559
|
};
|
|
1546
1560
|
return ImagesApi;
|
|
1547
1561
|
}(base_1.BaseAPI));
|
|
@@ -1550,7 +1564,7 @@ exports.ImagesApi = ImagesApi;
|
|
|
1550
1564
|
* JobsApi - axios parameter creator
|
|
1551
1565
|
* @export
|
|
1552
1566
|
*/
|
|
1553
|
-
|
|
1567
|
+
var JobsApiAxiosParamCreator = function (configuration) {
|
|
1554
1568
|
var _this = this;
|
|
1555
1569
|
return {
|
|
1556
1570
|
/**
|
|
@@ -1568,9 +1582,9 @@ exports.JobsApiAxiosParamCreator = function (configuration) {
|
|
|
1568
1582
|
switch (_a.label) {
|
|
1569
1583
|
case 0:
|
|
1570
1584
|
// verify required parameter 'id' is not null or undefined
|
|
1571
|
-
common_1.assertParamExists('getJob', 'id', id);
|
|
1585
|
+
(0, common_1.assertParamExists)('getJob', 'id', id);
|
|
1572
1586
|
localVarPath = "/jobs/{Id}"
|
|
1573
|
-
.replace("{"
|
|
1587
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1574
1588
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1575
1589
|
if (configuration) {
|
|
1576
1590
|
baseOptions = configuration.baseOptions;
|
|
@@ -1579,7 +1593,7 @@ exports.JobsApiAxiosParamCreator = function (configuration) {
|
|
|
1579
1593
|
localVarHeaderParameter = {};
|
|
1580
1594
|
localVarQueryParameter = {};
|
|
1581
1595
|
// authentication ApiKeyAuth required
|
|
1582
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1596
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1583
1597
|
// authentication BearerAuth required
|
|
1584
1598
|
// http bearer authentication required
|
|
1585
1599
|
];
|
|
@@ -1588,7 +1602,7 @@ exports.JobsApiAxiosParamCreator = function (configuration) {
|
|
|
1588
1602
|
_a.sent();
|
|
1589
1603
|
// authentication BearerAuth required
|
|
1590
1604
|
// http bearer authentication required
|
|
1591
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1605
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1592
1606
|
// authentication CookieAuth required
|
|
1593
1607
|
];
|
|
1594
1608
|
case 2:
|
|
@@ -1596,12 +1610,12 @@ exports.JobsApiAxiosParamCreator = function (configuration) {
|
|
|
1596
1610
|
// http bearer authentication required
|
|
1597
1611
|
_a.sent();
|
|
1598
1612
|
// authentication CookieAuth required
|
|
1599
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1613
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1600
1614
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1601
1615
|
formHeaders = {};
|
|
1602
1616
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1603
1617
|
return [2 /*return*/, {
|
|
1604
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1618
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1605
1619
|
options: localVarRequestOptions,
|
|
1606
1620
|
}];
|
|
1607
1621
|
}
|
|
@@ -1610,12 +1624,13 @@ exports.JobsApiAxiosParamCreator = function (configuration) {
|
|
|
1610
1624
|
},
|
|
1611
1625
|
};
|
|
1612
1626
|
};
|
|
1627
|
+
exports.JobsApiAxiosParamCreator = JobsApiAxiosParamCreator;
|
|
1613
1628
|
/**
|
|
1614
1629
|
* JobsApi - functional programming interface
|
|
1615
1630
|
* @export
|
|
1616
1631
|
*/
|
|
1617
|
-
|
|
1618
|
-
var localVarAxiosParamCreator = exports.JobsApiAxiosParamCreator(configuration);
|
|
1632
|
+
var JobsApiFp = function (configuration) {
|
|
1633
|
+
var localVarAxiosParamCreator = (0, exports.JobsApiAxiosParamCreator)(configuration);
|
|
1619
1634
|
return {
|
|
1620
1635
|
/**
|
|
1621
1636
|
* Get the status of a queued job, including its status and result if available.
|
|
@@ -1632,19 +1647,20 @@ exports.JobsApiFp = function (configuration) {
|
|
|
1632
1647
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getJob(id, options)];
|
|
1633
1648
|
case 1:
|
|
1634
1649
|
localVarAxiosArgs = _a.sent();
|
|
1635
|
-
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)];
|
|
1636
1651
|
}
|
|
1637
1652
|
});
|
|
1638
1653
|
});
|
|
1639
1654
|
},
|
|
1640
1655
|
};
|
|
1641
1656
|
};
|
|
1657
|
+
exports.JobsApiFp = JobsApiFp;
|
|
1642
1658
|
/**
|
|
1643
1659
|
* JobsApi - factory interface
|
|
1644
1660
|
* @export
|
|
1645
1661
|
*/
|
|
1646
|
-
|
|
1647
|
-
var localVarFp = exports.JobsApiFp(configuration);
|
|
1662
|
+
var JobsApiFactory = function (configuration, basePath, axios) {
|
|
1663
|
+
var localVarFp = (0, exports.JobsApiFp)(configuration);
|
|
1648
1664
|
return {
|
|
1649
1665
|
/**
|
|
1650
1666
|
* Get the status of a queued job, including its status and result if available.
|
|
@@ -1658,6 +1674,7 @@ exports.JobsApiFactory = function (configuration, basePath, axios) {
|
|
|
1658
1674
|
},
|
|
1659
1675
|
};
|
|
1660
1676
|
};
|
|
1677
|
+
exports.JobsApiFactory = JobsApiFactory;
|
|
1661
1678
|
/**
|
|
1662
1679
|
* JobsApi - object-oriented interface
|
|
1663
1680
|
* @export
|
|
@@ -1679,7 +1696,7 @@ var JobsApi = /** @class */ (function (_super) {
|
|
|
1679
1696
|
*/
|
|
1680
1697
|
JobsApi.prototype.getJob = function (id, options) {
|
|
1681
1698
|
var _this = this;
|
|
1682
|
-
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); });
|
|
1683
1700
|
};
|
|
1684
1701
|
return JobsApi;
|
|
1685
1702
|
}(base_1.BaseAPI));
|
|
@@ -1688,7 +1705,7 @@ exports.JobsApi = JobsApi;
|
|
|
1688
1705
|
* ReportTasksApi - axios parameter creator
|
|
1689
1706
|
* @export
|
|
1690
1707
|
*/
|
|
1691
|
-
|
|
1708
|
+
var ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
1692
1709
|
var _this = this;
|
|
1693
1710
|
return {
|
|
1694
1711
|
/**
|
|
@@ -1706,7 +1723,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1706
1723
|
switch (_a.label) {
|
|
1707
1724
|
case 0:
|
|
1708
1725
|
// verify required parameter 'reportTaskRequest' is not null or undefined
|
|
1709
|
-
common_1.assertParamExists('createReportTask', 'reportTaskRequest', reportTaskRequest);
|
|
1726
|
+
(0, common_1.assertParamExists)('createReportTask', 'reportTaskRequest', reportTaskRequest);
|
|
1710
1727
|
localVarPath = "/report-tasks";
|
|
1711
1728
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1712
1729
|
if (configuration) {
|
|
@@ -1716,7 +1733,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1716
1733
|
localVarHeaderParameter = {};
|
|
1717
1734
|
localVarQueryParameter = {};
|
|
1718
1735
|
// authentication ApiKeyAuth required
|
|
1719
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1736
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1720
1737
|
// authentication BearerAuth required
|
|
1721
1738
|
// http bearer authentication required
|
|
1722
1739
|
];
|
|
@@ -1725,7 +1742,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1725
1742
|
_a.sent();
|
|
1726
1743
|
// authentication BearerAuth required
|
|
1727
1744
|
// http bearer authentication required
|
|
1728
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1745
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1729
1746
|
// authentication CookieAuth required
|
|
1730
1747
|
];
|
|
1731
1748
|
case 2:
|
|
@@ -1734,13 +1751,13 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1734
1751
|
_a.sent();
|
|
1735
1752
|
// authentication CookieAuth required
|
|
1736
1753
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1737
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1754
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1738
1755
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1739
1756
|
formHeaders = {};
|
|
1740
1757
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1741
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(reportTaskRequest, localVarRequestOptions, configuration);
|
|
1758
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reportTaskRequest, localVarRequestOptions, configuration);
|
|
1742
1759
|
return [2 /*return*/, {
|
|
1743
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1760
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1744
1761
|
options: localVarRequestOptions,
|
|
1745
1762
|
}];
|
|
1746
1763
|
}
|
|
@@ -1763,9 +1780,9 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1763
1780
|
switch (_a.label) {
|
|
1764
1781
|
case 0:
|
|
1765
1782
|
// verify required parameter 'id' is not null or undefined
|
|
1766
|
-
common_1.assertParamExists('deleteReportTask', 'id', id);
|
|
1783
|
+
(0, common_1.assertParamExists)('deleteReportTask', 'id', id);
|
|
1767
1784
|
localVarPath = "/report-tasks/{Id}"
|
|
1768
|
-
.replace("{"
|
|
1785
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1769
1786
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1770
1787
|
if (configuration) {
|
|
1771
1788
|
baseOptions = configuration.baseOptions;
|
|
@@ -1774,7 +1791,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1774
1791
|
localVarHeaderParameter = {};
|
|
1775
1792
|
localVarQueryParameter = {};
|
|
1776
1793
|
// authentication ApiKeyAuth required
|
|
1777
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1794
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1778
1795
|
// authentication BearerAuth required
|
|
1779
1796
|
// http bearer authentication required
|
|
1780
1797
|
];
|
|
@@ -1783,7 +1800,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1783
1800
|
_a.sent();
|
|
1784
1801
|
// authentication BearerAuth required
|
|
1785
1802
|
// http bearer authentication required
|
|
1786
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1803
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1787
1804
|
// authentication CookieAuth required
|
|
1788
1805
|
];
|
|
1789
1806
|
case 2:
|
|
@@ -1794,12 +1811,12 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1794
1811
|
if (deleteAssociatedReports !== undefined) {
|
|
1795
1812
|
localVarQueryParameter['deleteAssociatedReports'] = deleteAssociatedReports;
|
|
1796
1813
|
}
|
|
1797
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1814
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1798
1815
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1799
1816
|
formHeaders = {};
|
|
1800
1817
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1801
1818
|
return [2 /*return*/, {
|
|
1802
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1819
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1803
1820
|
options: localVarRequestOptions,
|
|
1804
1821
|
}];
|
|
1805
1822
|
}
|
|
@@ -1821,9 +1838,9 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1821
1838
|
switch (_a.label) {
|
|
1822
1839
|
case 0:
|
|
1823
1840
|
// verify required parameter 'id' is not null or undefined
|
|
1824
|
-
common_1.assertParamExists('getReportTask', 'id', id);
|
|
1841
|
+
(0, common_1.assertParamExists)('getReportTask', 'id', id);
|
|
1825
1842
|
localVarPath = "/report-tasks/{Id}"
|
|
1826
|
-
.replace("{"
|
|
1843
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1827
1844
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1828
1845
|
if (configuration) {
|
|
1829
1846
|
baseOptions = configuration.baseOptions;
|
|
@@ -1832,7 +1849,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1832
1849
|
localVarHeaderParameter = {};
|
|
1833
1850
|
localVarQueryParameter = {};
|
|
1834
1851
|
// authentication ApiKeyAuth required
|
|
1835
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1852
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1836
1853
|
// authentication BearerAuth required
|
|
1837
1854
|
// http bearer authentication required
|
|
1838
1855
|
];
|
|
@@ -1841,7 +1858,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1841
1858
|
_a.sent();
|
|
1842
1859
|
// authentication BearerAuth required
|
|
1843
1860
|
// http bearer authentication required
|
|
1844
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1861
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1845
1862
|
// authentication CookieAuth required
|
|
1846
1863
|
];
|
|
1847
1864
|
case 2:
|
|
@@ -1849,12 +1866,12 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1849
1866
|
// http bearer authentication required
|
|
1850
1867
|
_a.sent();
|
|
1851
1868
|
// authentication CookieAuth required
|
|
1852
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1869
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1853
1870
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1854
1871
|
formHeaders = {};
|
|
1855
1872
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1856
1873
|
return [2 /*return*/, {
|
|
1857
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1874
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1858
1875
|
options: localVarRequestOptions,
|
|
1859
1876
|
}];
|
|
1860
1877
|
}
|
|
@@ -1890,7 +1907,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1890
1907
|
localVarHeaderParameter = {};
|
|
1891
1908
|
localVarQueryParameter = {};
|
|
1892
1909
|
// authentication ApiKeyAuth required
|
|
1893
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1910
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1894
1911
|
// authentication BearerAuth required
|
|
1895
1912
|
// http bearer authentication required
|
|
1896
1913
|
];
|
|
@@ -1899,7 +1916,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1899
1916
|
_a.sent();
|
|
1900
1917
|
// authentication BearerAuth required
|
|
1901
1918
|
// http bearer authentication required
|
|
1902
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1919
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1903
1920
|
// authentication CookieAuth required
|
|
1904
1921
|
];
|
|
1905
1922
|
case 2:
|
|
@@ -1928,12 +1945,12 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1928
1945
|
if (filter !== undefined) {
|
|
1929
1946
|
localVarQueryParameter['filter'] = filter;
|
|
1930
1947
|
}
|
|
1931
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1948
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1932
1949
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1933
1950
|
formHeaders = {};
|
|
1934
1951
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1935
1952
|
return [2 /*return*/, {
|
|
1936
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
1953
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1937
1954
|
options: localVarRequestOptions,
|
|
1938
1955
|
}];
|
|
1939
1956
|
}
|
|
@@ -1955,9 +1972,9 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1955
1972
|
switch (_a.label) {
|
|
1956
1973
|
case 0:
|
|
1957
1974
|
// verify required parameter 'id' is not null or undefined
|
|
1958
|
-
common_1.assertParamExists('runReportTaskNow', 'id', id);
|
|
1975
|
+
(0, common_1.assertParamExists)('runReportTaskNow', 'id', id);
|
|
1959
1976
|
localVarPath = "/report-tasks/run-now/{Id}"
|
|
1960
|
-
.replace("{"
|
|
1977
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
1961
1978
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1962
1979
|
if (configuration) {
|
|
1963
1980
|
baseOptions = configuration.baseOptions;
|
|
@@ -1966,7 +1983,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1966
1983
|
localVarHeaderParameter = {};
|
|
1967
1984
|
localVarQueryParameter = {};
|
|
1968
1985
|
// authentication ApiKeyAuth required
|
|
1969
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1986
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
1970
1987
|
// authentication BearerAuth required
|
|
1971
1988
|
// http bearer authentication required
|
|
1972
1989
|
];
|
|
@@ -1975,7 +1992,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1975
1992
|
_a.sent();
|
|
1976
1993
|
// authentication BearerAuth required
|
|
1977
1994
|
// http bearer authentication required
|
|
1978
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1995
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1979
1996
|
// authentication CookieAuth required
|
|
1980
1997
|
];
|
|
1981
1998
|
case 2:
|
|
@@ -1983,12 +2000,12 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
1983
2000
|
// http bearer authentication required
|
|
1984
2001
|
_a.sent();
|
|
1985
2002
|
// authentication CookieAuth required
|
|
1986
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2003
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1987
2004
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1988
2005
|
formHeaders = {};
|
|
1989
2006
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
1990
2007
|
return [2 /*return*/, {
|
|
1991
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2008
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1992
2009
|
options: localVarRequestOptions,
|
|
1993
2010
|
}];
|
|
1994
2011
|
}
|
|
@@ -2011,11 +2028,11 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
2011
2028
|
switch (_a.label) {
|
|
2012
2029
|
case 0:
|
|
2013
2030
|
// verify required parameter 'id' is not null or undefined
|
|
2014
|
-
common_1.assertParamExists('updateReportTask', 'id', id);
|
|
2031
|
+
(0, common_1.assertParamExists)('updateReportTask', 'id', id);
|
|
2015
2032
|
// verify required parameter 'reportTaskRequest' is not null or undefined
|
|
2016
|
-
common_1.assertParamExists('updateReportTask', 'reportTaskRequest', reportTaskRequest);
|
|
2033
|
+
(0, common_1.assertParamExists)('updateReportTask', 'reportTaskRequest', reportTaskRequest);
|
|
2017
2034
|
localVarPath = "/report-tasks/{Id}"
|
|
2018
|
-
.replace("{"
|
|
2035
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2019
2036
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2020
2037
|
if (configuration) {
|
|
2021
2038
|
baseOptions = configuration.baseOptions;
|
|
@@ -2024,7 +2041,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
2024
2041
|
localVarHeaderParameter = {};
|
|
2025
2042
|
localVarQueryParameter = {};
|
|
2026
2043
|
// authentication ApiKeyAuth required
|
|
2027
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2044
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2028
2045
|
// authentication BearerAuth required
|
|
2029
2046
|
// http bearer authentication required
|
|
2030
2047
|
];
|
|
@@ -2033,7 +2050,7 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
2033
2050
|
_a.sent();
|
|
2034
2051
|
// authentication BearerAuth required
|
|
2035
2052
|
// http bearer authentication required
|
|
2036
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2053
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2037
2054
|
// authentication CookieAuth required
|
|
2038
2055
|
];
|
|
2039
2056
|
case 2:
|
|
@@ -2042,13 +2059,13 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
2042
2059
|
_a.sent();
|
|
2043
2060
|
// authentication CookieAuth required
|
|
2044
2061
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2045
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2062
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2046
2063
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2047
2064
|
formHeaders = {};
|
|
2048
2065
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2049
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(reportTaskRequest, localVarRequestOptions, configuration);
|
|
2066
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reportTaskRequest, localVarRequestOptions, configuration);
|
|
2050
2067
|
return [2 /*return*/, {
|
|
2051
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2068
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2052
2069
|
options: localVarRequestOptions,
|
|
2053
2070
|
}];
|
|
2054
2071
|
}
|
|
@@ -2057,12 +2074,13 @@ exports.ReportTasksApiAxiosParamCreator = function (configuration) {
|
|
|
2057
2074
|
},
|
|
2058
2075
|
};
|
|
2059
2076
|
};
|
|
2077
|
+
exports.ReportTasksApiAxiosParamCreator = ReportTasksApiAxiosParamCreator;
|
|
2060
2078
|
/**
|
|
2061
2079
|
* ReportTasksApi - functional programming interface
|
|
2062
2080
|
* @export
|
|
2063
2081
|
*/
|
|
2064
|
-
|
|
2065
|
-
var localVarAxiosParamCreator = exports.ReportTasksApiAxiosParamCreator(configuration);
|
|
2082
|
+
var ReportTasksApiFp = function (configuration) {
|
|
2083
|
+
var localVarAxiosParamCreator = (0, exports.ReportTasksApiAxiosParamCreator)(configuration);
|
|
2066
2084
|
return {
|
|
2067
2085
|
/**
|
|
2068
2086
|
*
|
|
@@ -2079,7 +2097,7 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
2079
2097
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createReportTask(reportTaskRequest, options)];
|
|
2080
2098
|
case 1:
|
|
2081
2099
|
localVarAxiosArgs = _a.sent();
|
|
2082
|
-
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)];
|
|
2083
2101
|
}
|
|
2084
2102
|
});
|
|
2085
2103
|
});
|
|
@@ -2100,7 +2118,7 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
2100
2118
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteReportTask(id, deleteAssociatedReports, options)];
|
|
2101
2119
|
case 1:
|
|
2102
2120
|
localVarAxiosArgs = _a.sent();
|
|
2103
|
-
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)];
|
|
2104
2122
|
}
|
|
2105
2123
|
});
|
|
2106
2124
|
});
|
|
@@ -2120,7 +2138,7 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
2120
2138
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReportTask(id, options)];
|
|
2121
2139
|
case 1:
|
|
2122
2140
|
localVarAxiosArgs = _a.sent();
|
|
2123
|
-
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)];
|
|
2124
2142
|
}
|
|
2125
2143
|
});
|
|
2126
2144
|
});
|
|
@@ -2146,7 +2164,7 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
2146
2164
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, options)];
|
|
2147
2165
|
case 1:
|
|
2148
2166
|
localVarAxiosArgs = _a.sent();
|
|
2149
|
-
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)];
|
|
2150
2168
|
}
|
|
2151
2169
|
});
|
|
2152
2170
|
});
|
|
@@ -2166,7 +2184,7 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
2166
2184
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.runReportTaskNow(id, options)];
|
|
2167
2185
|
case 1:
|
|
2168
2186
|
localVarAxiosArgs = _a.sent();
|
|
2169
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2187
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2170
2188
|
}
|
|
2171
2189
|
});
|
|
2172
2190
|
});
|
|
@@ -2187,19 +2205,20 @@ exports.ReportTasksApiFp = function (configuration) {
|
|
|
2187
2205
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateReportTask(id, reportTaskRequest, options)];
|
|
2188
2206
|
case 1:
|
|
2189
2207
|
localVarAxiosArgs = _a.sent();
|
|
2190
|
-
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)];
|
|
2191
2209
|
}
|
|
2192
2210
|
});
|
|
2193
2211
|
});
|
|
2194
2212
|
},
|
|
2195
2213
|
};
|
|
2196
2214
|
};
|
|
2215
|
+
exports.ReportTasksApiFp = ReportTasksApiFp;
|
|
2197
2216
|
/**
|
|
2198
2217
|
* ReportTasksApi - factory interface
|
|
2199
2218
|
* @export
|
|
2200
2219
|
*/
|
|
2201
|
-
|
|
2202
|
-
var localVarFp = exports.ReportTasksApiFp(configuration);
|
|
2220
|
+
var ReportTasksApiFactory = function (configuration, basePath, axios) {
|
|
2221
|
+
var localVarFp = (0, exports.ReportTasksApiFp)(configuration);
|
|
2203
2222
|
return {
|
|
2204
2223
|
/**
|
|
2205
2224
|
*
|
|
@@ -2271,6 +2290,7 @@ exports.ReportTasksApiFactory = function (configuration, basePath, axios) {
|
|
|
2271
2290
|
},
|
|
2272
2291
|
};
|
|
2273
2292
|
};
|
|
2293
|
+
exports.ReportTasksApiFactory = ReportTasksApiFactory;
|
|
2274
2294
|
/**
|
|
2275
2295
|
* ReportTasksApi - object-oriented interface
|
|
2276
2296
|
* @export
|
|
@@ -2292,7 +2312,7 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
2292
2312
|
*/
|
|
2293
2313
|
ReportTasksApi.prototype.createReportTask = function (reportTaskRequest, options) {
|
|
2294
2314
|
var _this = this;
|
|
2295
|
-
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); });
|
|
2296
2316
|
};
|
|
2297
2317
|
/**
|
|
2298
2318
|
* Delete a report task by its ID
|
|
@@ -2305,7 +2325,7 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
2305
2325
|
*/
|
|
2306
2326
|
ReportTasksApi.prototype.deleteReportTask = function (id, deleteAssociatedReports, options) {
|
|
2307
2327
|
var _this = this;
|
|
2308
|
-
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); });
|
|
2309
2329
|
};
|
|
2310
2330
|
/**
|
|
2311
2331
|
* Read a report task by its ID
|
|
@@ -2317,7 +2337,7 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
2317
2337
|
*/
|
|
2318
2338
|
ReportTasksApi.prototype.getReportTask = function (id, options) {
|
|
2319
2339
|
var _this = this;
|
|
2320
|
-
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); });
|
|
2321
2341
|
};
|
|
2322
2342
|
/**
|
|
2323
2343
|
*
|
|
@@ -2335,7 +2355,7 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
2335
2355
|
*/
|
|
2336
2356
|
ReportTasksApi.prototype.getReportTasks = function (pageNum, meta, templateId, perPage, orderBy, order, filter, options) {
|
|
2337
2357
|
var _this = this;
|
|
2338
|
-
return exports.ReportTasksApiFp(this.configuration).getReportTasks(pageNum, meta, templateId, perPage, orderBy, order, filter, 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); });
|
|
2339
2359
|
};
|
|
2340
2360
|
/**
|
|
2341
2361
|
* Duplicates the task and runs it as \"Once - Now\"
|
|
@@ -2347,7 +2367,7 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
2347
2367
|
*/
|
|
2348
2368
|
ReportTasksApi.prototype.runReportTaskNow = function (id, options) {
|
|
2349
2369
|
var _this = this;
|
|
2350
|
-
return exports.ReportTasksApiFp(this.configuration).runReportTaskNow(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2370
|
+
return (0, exports.ReportTasksApiFp)(this.configuration).runReportTaskNow(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2351
2371
|
};
|
|
2352
2372
|
/**
|
|
2353
2373
|
* Accepts partial updates
|
|
@@ -2360,7 +2380,7 @@ var ReportTasksApi = /** @class */ (function (_super) {
|
|
|
2360
2380
|
*/
|
|
2361
2381
|
ReportTasksApi.prototype.updateReportTask = function (id, reportTaskRequest, options) {
|
|
2362
2382
|
var _this = this;
|
|
2363
|
-
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); });
|
|
2364
2384
|
};
|
|
2365
2385
|
return ReportTasksApi;
|
|
2366
2386
|
}(base_1.BaseAPI));
|
|
@@ -2369,7 +2389,7 @@ exports.ReportTasksApi = ReportTasksApi;
|
|
|
2369
2389
|
* ReportsApi - axios parameter creator
|
|
2370
2390
|
* @export
|
|
2371
2391
|
*/
|
|
2372
|
-
|
|
2392
|
+
var ReportsApiAxiosParamCreator = function (configuration) {
|
|
2373
2393
|
var _this = this;
|
|
2374
2394
|
return {
|
|
2375
2395
|
/**
|
|
@@ -2387,9 +2407,9 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2387
2407
|
switch (_a.label) {
|
|
2388
2408
|
case 0:
|
|
2389
2409
|
// verify required parameter 'id' is not null or undefined
|
|
2390
|
-
common_1.assertParamExists('deleteReport', 'id', id);
|
|
2410
|
+
(0, common_1.assertParamExists)('deleteReport', 'id', id);
|
|
2391
2411
|
localVarPath = "/reports/{Id}"
|
|
2392
|
-
.replace("{"
|
|
2412
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2393
2413
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2394
2414
|
if (configuration) {
|
|
2395
2415
|
baseOptions = configuration.baseOptions;
|
|
@@ -2398,7 +2418,7 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2398
2418
|
localVarHeaderParameter = {};
|
|
2399
2419
|
localVarQueryParameter = {};
|
|
2400
2420
|
// authentication ApiKeyAuth required
|
|
2401
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2421
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2402
2422
|
// authentication BearerAuth required
|
|
2403
2423
|
// http bearer authentication required
|
|
2404
2424
|
];
|
|
@@ -2407,7 +2427,7 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2407
2427
|
_a.sent();
|
|
2408
2428
|
// authentication BearerAuth required
|
|
2409
2429
|
// http bearer authentication required
|
|
2410
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2430
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2411
2431
|
// authentication CookieAuth required
|
|
2412
2432
|
];
|
|
2413
2433
|
case 2:
|
|
@@ -2415,12 +2435,12 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2415
2435
|
// http bearer authentication required
|
|
2416
2436
|
_a.sent();
|
|
2417
2437
|
// authentication CookieAuth required
|
|
2418
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2438
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2419
2439
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2420
2440
|
formHeaders = {};
|
|
2421
2441
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2422
2442
|
return [2 /*return*/, {
|
|
2423
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2443
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2424
2444
|
options: localVarRequestOptions,
|
|
2425
2445
|
}];
|
|
2426
2446
|
}
|
|
@@ -2442,9 +2462,9 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2442
2462
|
switch (_a.label) {
|
|
2443
2463
|
case 0:
|
|
2444
2464
|
// verify required parameter 'id' is not null or undefined
|
|
2445
|
-
common_1.assertParamExists('getReport', 'id', id);
|
|
2465
|
+
(0, common_1.assertParamExists)('getReport', 'id', id);
|
|
2446
2466
|
localVarPath = "/reports/{Id}"
|
|
2447
|
-
.replace("{"
|
|
2467
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2448
2468
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2449
2469
|
if (configuration) {
|
|
2450
2470
|
baseOptions = configuration.baseOptions;
|
|
@@ -2453,7 +2473,7 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2453
2473
|
localVarHeaderParameter = {};
|
|
2454
2474
|
localVarQueryParameter = {};
|
|
2455
2475
|
// authentication ApiKeyAuth required
|
|
2456
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2476
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2457
2477
|
// authentication BearerAuth required
|
|
2458
2478
|
// http bearer authentication required
|
|
2459
2479
|
];
|
|
@@ -2462,7 +2482,7 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2462
2482
|
_a.sent();
|
|
2463
2483
|
// authentication BearerAuth required
|
|
2464
2484
|
// http bearer authentication required
|
|
2465
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2485
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2466
2486
|
// authentication CookieAuth required
|
|
2467
2487
|
];
|
|
2468
2488
|
case 2:
|
|
@@ -2470,12 +2490,12 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2470
2490
|
// http bearer authentication required
|
|
2471
2491
|
_a.sent();
|
|
2472
2492
|
// authentication CookieAuth required
|
|
2473
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2493
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2474
2494
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2475
2495
|
formHeaders = {};
|
|
2476
2496
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2477
2497
|
return [2 /*return*/, {
|
|
2478
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2498
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2479
2499
|
options: localVarRequestOptions,
|
|
2480
2500
|
}];
|
|
2481
2501
|
}
|
|
@@ -2510,7 +2530,7 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2510
2530
|
localVarHeaderParameter = {};
|
|
2511
2531
|
localVarQueryParameter = {};
|
|
2512
2532
|
// authentication ApiKeyAuth required
|
|
2513
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2533
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2514
2534
|
// authentication BearerAuth required
|
|
2515
2535
|
// http bearer authentication required
|
|
2516
2536
|
];
|
|
@@ -2519,7 +2539,7 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2519
2539
|
_a.sent();
|
|
2520
2540
|
// authentication BearerAuth required
|
|
2521
2541
|
// http bearer authentication required
|
|
2522
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2542
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2523
2543
|
// authentication CookieAuth required
|
|
2524
2544
|
];
|
|
2525
2545
|
case 2:
|
|
@@ -2545,12 +2565,12 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2545
2565
|
if (reportTaskId !== undefined) {
|
|
2546
2566
|
localVarQueryParameter['reportTaskId'] = reportTaskId;
|
|
2547
2567
|
}
|
|
2548
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2568
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2549
2569
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2550
2570
|
formHeaders = {};
|
|
2551
2571
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2552
2572
|
return [2 /*return*/, {
|
|
2553
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2573
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2554
2574
|
options: localVarRequestOptions,
|
|
2555
2575
|
}];
|
|
2556
2576
|
}
|
|
@@ -2573,11 +2593,11 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2573
2593
|
switch (_a.label) {
|
|
2574
2594
|
case 0:
|
|
2575
2595
|
// verify required parameter 'id' is not null or undefined
|
|
2576
|
-
common_1.assertParamExists('renderReport', 'id', id);
|
|
2596
|
+
(0, common_1.assertParamExists)('renderReport', 'id', id);
|
|
2577
2597
|
// verify required parameter 'format' is not null or undefined
|
|
2578
|
-
common_1.assertParamExists('renderReport', 'format', format);
|
|
2598
|
+
(0, common_1.assertParamExists)('renderReport', 'format', format);
|
|
2579
2599
|
localVarPath = "/reports/{Id}/render"
|
|
2580
|
-
.replace("{"
|
|
2600
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2581
2601
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2582
2602
|
if (configuration) {
|
|
2583
2603
|
baseOptions = configuration.baseOptions;
|
|
@@ -2586,7 +2606,7 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2586
2606
|
localVarHeaderParameter = {};
|
|
2587
2607
|
localVarQueryParameter = {};
|
|
2588
2608
|
// authentication ApiKeyAuth required
|
|
2589
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2609
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2590
2610
|
// authentication BearerAuth required
|
|
2591
2611
|
// http bearer authentication required
|
|
2592
2612
|
];
|
|
@@ -2595,7 +2615,7 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2595
2615
|
_a.sent();
|
|
2596
2616
|
// authentication BearerAuth required
|
|
2597
2617
|
// http bearer authentication required
|
|
2598
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2618
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2599
2619
|
// authentication CookieAuth required
|
|
2600
2620
|
];
|
|
2601
2621
|
case 2:
|
|
@@ -2606,12 +2626,12 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2606
2626
|
if (format !== undefined) {
|
|
2607
2627
|
localVarQueryParameter['format'] = format;
|
|
2608
2628
|
}
|
|
2609
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2629
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2610
2630
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2611
2631
|
formHeaders = {};
|
|
2612
2632
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2613
2633
|
return [2 /*return*/, {
|
|
2614
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2634
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2615
2635
|
options: localVarRequestOptions,
|
|
2616
2636
|
}];
|
|
2617
2637
|
}
|
|
@@ -2620,12 +2640,13 @@ exports.ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2620
2640
|
},
|
|
2621
2641
|
};
|
|
2622
2642
|
};
|
|
2643
|
+
exports.ReportsApiAxiosParamCreator = ReportsApiAxiosParamCreator;
|
|
2623
2644
|
/**
|
|
2624
2645
|
* ReportsApi - functional programming interface
|
|
2625
2646
|
* @export
|
|
2626
2647
|
*/
|
|
2627
|
-
|
|
2628
|
-
var localVarAxiosParamCreator = exports.ReportsApiAxiosParamCreator(configuration);
|
|
2648
|
+
var ReportsApiFp = function (configuration) {
|
|
2649
|
+
var localVarAxiosParamCreator = (0, exports.ReportsApiAxiosParamCreator)(configuration);
|
|
2629
2650
|
return {
|
|
2630
2651
|
/**
|
|
2631
2652
|
*
|
|
@@ -2642,7 +2663,7 @@ exports.ReportsApiFp = function (configuration) {
|
|
|
2642
2663
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteReport(id, options)];
|
|
2643
2664
|
case 1:
|
|
2644
2665
|
localVarAxiosArgs = _a.sent();
|
|
2645
|
-
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)];
|
|
2646
2667
|
}
|
|
2647
2668
|
});
|
|
2648
2669
|
});
|
|
@@ -2662,7 +2683,7 @@ exports.ReportsApiFp = function (configuration) {
|
|
|
2662
2683
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReport(id, options)];
|
|
2663
2684
|
case 1:
|
|
2664
2685
|
localVarAxiosArgs = _a.sent();
|
|
2665
|
-
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)];
|
|
2666
2687
|
}
|
|
2667
2688
|
});
|
|
2668
2689
|
});
|
|
@@ -2687,7 +2708,7 @@ exports.ReportsApiFp = function (configuration) {
|
|
|
2687
2708
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReports(pageNum, perPage, orderBy, order, tagId, reportTaskId, options)];
|
|
2688
2709
|
case 1:
|
|
2689
2710
|
localVarAxiosArgs = _a.sent();
|
|
2690
|
-
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)];
|
|
2691
2712
|
}
|
|
2692
2713
|
});
|
|
2693
2714
|
});
|
|
@@ -2708,19 +2729,20 @@ exports.ReportsApiFp = function (configuration) {
|
|
|
2708
2729
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.renderReport(id, format, options)];
|
|
2709
2730
|
case 1:
|
|
2710
2731
|
localVarAxiosArgs = _a.sent();
|
|
2711
|
-
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)];
|
|
2712
2733
|
}
|
|
2713
2734
|
});
|
|
2714
2735
|
});
|
|
2715
2736
|
},
|
|
2716
2737
|
};
|
|
2717
2738
|
};
|
|
2739
|
+
exports.ReportsApiFp = ReportsApiFp;
|
|
2718
2740
|
/**
|
|
2719
2741
|
* ReportsApi - factory interface
|
|
2720
2742
|
* @export
|
|
2721
2743
|
*/
|
|
2722
|
-
|
|
2723
|
-
var localVarFp = exports.ReportsApiFp(configuration);
|
|
2744
|
+
var ReportsApiFactory = function (configuration, basePath, axios) {
|
|
2745
|
+
var localVarFp = (0, exports.ReportsApiFp)(configuration);
|
|
2724
2746
|
return {
|
|
2725
2747
|
/**
|
|
2726
2748
|
*
|
|
@@ -2770,6 +2792,7 @@ exports.ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
2770
2792
|
},
|
|
2771
2793
|
};
|
|
2772
2794
|
};
|
|
2795
|
+
exports.ReportsApiFactory = ReportsApiFactory;
|
|
2773
2796
|
/**
|
|
2774
2797
|
* ReportsApi - object-oriented interface
|
|
2775
2798
|
* @export
|
|
@@ -2791,7 +2814,7 @@ var ReportsApi = /** @class */ (function (_super) {
|
|
|
2791
2814
|
*/
|
|
2792
2815
|
ReportsApi.prototype.deleteReport = function (id, options) {
|
|
2793
2816
|
var _this = this;
|
|
2794
|
-
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); });
|
|
2795
2818
|
};
|
|
2796
2819
|
/**
|
|
2797
2820
|
*
|
|
@@ -2803,7 +2826,7 @@ var ReportsApi = /** @class */ (function (_super) {
|
|
|
2803
2826
|
*/
|
|
2804
2827
|
ReportsApi.prototype.getReport = function (id, options) {
|
|
2805
2828
|
var _this = this;
|
|
2806
|
-
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); });
|
|
2807
2830
|
};
|
|
2808
2831
|
/**
|
|
2809
2832
|
*
|
|
@@ -2820,7 +2843,7 @@ var ReportsApi = /** @class */ (function (_super) {
|
|
|
2820
2843
|
*/
|
|
2821
2844
|
ReportsApi.prototype.getReports = function (pageNum, perPage, orderBy, order, tagId, reportTaskId, options) {
|
|
2822
2845
|
var _this = this;
|
|
2823
|
-
return exports.ReportsApiFp(this.configuration).getReports(pageNum, perPage, orderBy, order, 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); });
|
|
2824
2847
|
};
|
|
2825
2848
|
/**
|
|
2826
2849
|
*
|
|
@@ -2833,7 +2856,7 @@ var ReportsApi = /** @class */ (function (_super) {
|
|
|
2833
2856
|
*/
|
|
2834
2857
|
ReportsApi.prototype.renderReport = function (id, format, options) {
|
|
2835
2858
|
var _this = this;
|
|
2836
|
-
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); });
|
|
2837
2860
|
};
|
|
2838
2861
|
return ReportsApi;
|
|
2839
2862
|
}(base_1.BaseAPI));
|
|
@@ -2842,7 +2865,7 @@ exports.ReportsApi = ReportsApi;
|
|
|
2842
2865
|
* TemplatesApi - axios parameter creator
|
|
2843
2866
|
* @export
|
|
2844
2867
|
*/
|
|
2845
|
-
|
|
2868
|
+
var TemplatesApiAxiosParamCreator = function (configuration) {
|
|
2846
2869
|
var _this = this;
|
|
2847
2870
|
return {
|
|
2848
2871
|
/**
|
|
@@ -2860,7 +2883,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2860
2883
|
switch (_a.label) {
|
|
2861
2884
|
case 0:
|
|
2862
2885
|
// verify required parameter 'template' is not null or undefined
|
|
2863
|
-
common_1.assertParamExists('createTemplate', 'template', template);
|
|
2886
|
+
(0, common_1.assertParamExists)('createTemplate', 'template', template);
|
|
2864
2887
|
localVarPath = "/templates";
|
|
2865
2888
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2866
2889
|
if (configuration) {
|
|
@@ -2870,7 +2893,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2870
2893
|
localVarHeaderParameter = {};
|
|
2871
2894
|
localVarQueryParameter = {};
|
|
2872
2895
|
// authentication ApiKeyAuth required
|
|
2873
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2896
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2874
2897
|
// authentication BearerAuth required
|
|
2875
2898
|
// http bearer authentication required
|
|
2876
2899
|
];
|
|
@@ -2879,7 +2902,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2879
2902
|
_a.sent();
|
|
2880
2903
|
// authentication BearerAuth required
|
|
2881
2904
|
// http bearer authentication required
|
|
2882
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2905
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2883
2906
|
// authentication CookieAuth required
|
|
2884
2907
|
];
|
|
2885
2908
|
case 2:
|
|
@@ -2888,13 +2911,13 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2888
2911
|
_a.sent();
|
|
2889
2912
|
// authentication CookieAuth required
|
|
2890
2913
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2891
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2914
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2892
2915
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2893
2916
|
formHeaders = {};
|
|
2894
2917
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2895
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(template, localVarRequestOptions, configuration);
|
|
2918
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(template, localVarRequestOptions, configuration);
|
|
2896
2919
|
return [2 /*return*/, {
|
|
2897
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2920
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2898
2921
|
options: localVarRequestOptions,
|
|
2899
2922
|
}];
|
|
2900
2923
|
}
|
|
@@ -2916,9 +2939,9 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2916
2939
|
switch (_a.label) {
|
|
2917
2940
|
case 0:
|
|
2918
2941
|
// verify required parameter 'id' is not null or undefined
|
|
2919
|
-
common_1.assertParamExists('deleteTemplate', 'id', id);
|
|
2942
|
+
(0, common_1.assertParamExists)('deleteTemplate', 'id', id);
|
|
2920
2943
|
localVarPath = "/templates/{Id}"
|
|
2921
|
-
.replace("{"
|
|
2944
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2922
2945
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2923
2946
|
if (configuration) {
|
|
2924
2947
|
baseOptions = configuration.baseOptions;
|
|
@@ -2927,7 +2950,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2927
2950
|
localVarHeaderParameter = {};
|
|
2928
2951
|
localVarQueryParameter = {};
|
|
2929
2952
|
// authentication ApiKeyAuth required
|
|
2930
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2953
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2931
2954
|
// authentication BearerAuth required
|
|
2932
2955
|
// http bearer authentication required
|
|
2933
2956
|
];
|
|
@@ -2936,7 +2959,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2936
2959
|
_a.sent();
|
|
2937
2960
|
// authentication BearerAuth required
|
|
2938
2961
|
// http bearer authentication required
|
|
2939
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2962
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2940
2963
|
// authentication CookieAuth required
|
|
2941
2964
|
];
|
|
2942
2965
|
case 2:
|
|
@@ -2944,12 +2967,12 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2944
2967
|
// http bearer authentication required
|
|
2945
2968
|
_a.sent();
|
|
2946
2969
|
// authentication CookieAuth required
|
|
2947
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2970
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2948
2971
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2949
2972
|
formHeaders = {};
|
|
2950
2973
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
2951
2974
|
return [2 /*return*/, {
|
|
2952
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2975
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2953
2976
|
options: localVarRequestOptions,
|
|
2954
2977
|
}];
|
|
2955
2978
|
}
|
|
@@ -2971,9 +2994,9 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2971
2994
|
switch (_a.label) {
|
|
2972
2995
|
case 0:
|
|
2973
2996
|
// verify required parameter 'id' is not null or undefined
|
|
2974
|
-
common_1.assertParamExists('duplicateTemplate', 'id', id);
|
|
2997
|
+
(0, common_1.assertParamExists)('duplicateTemplate', 'id', id);
|
|
2975
2998
|
localVarPath = "/templates/{Id}/duplicate"
|
|
2976
|
-
.replace("{"
|
|
2999
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
2977
3000
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2978
3001
|
if (configuration) {
|
|
2979
3002
|
baseOptions = configuration.baseOptions;
|
|
@@ -2982,7 +3005,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2982
3005
|
localVarHeaderParameter = {};
|
|
2983
3006
|
localVarQueryParameter = {};
|
|
2984
3007
|
// authentication ApiKeyAuth required
|
|
2985
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3008
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
2986
3009
|
// authentication BearerAuth required
|
|
2987
3010
|
// http bearer authentication required
|
|
2988
3011
|
];
|
|
@@ -2991,7 +3014,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2991
3014
|
_a.sent();
|
|
2992
3015
|
// authentication BearerAuth required
|
|
2993
3016
|
// http bearer authentication required
|
|
2994
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3017
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
2995
3018
|
// authentication CookieAuth required
|
|
2996
3019
|
];
|
|
2997
3020
|
case 2:
|
|
@@ -2999,12 +3022,12 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
2999
3022
|
// http bearer authentication required
|
|
3000
3023
|
_a.sent();
|
|
3001
3024
|
// authentication CookieAuth required
|
|
3002
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3025
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3003
3026
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3004
3027
|
formHeaders = {};
|
|
3005
3028
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
3006
3029
|
return [2 /*return*/, {
|
|
3007
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3030
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3008
3031
|
options: localVarRequestOptions,
|
|
3009
3032
|
}];
|
|
3010
3033
|
}
|
|
@@ -3026,9 +3049,9 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3026
3049
|
switch (_a.label) {
|
|
3027
3050
|
case 0:
|
|
3028
3051
|
// verify required parameter 'id' is not null or undefined
|
|
3029
|
-
common_1.assertParamExists('exportTemplate', 'id', id);
|
|
3052
|
+
(0, common_1.assertParamExists)('exportTemplate', 'id', id);
|
|
3030
3053
|
localVarPath = "/templates/{Id}/export"
|
|
3031
|
-
.replace("{"
|
|
3054
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
3032
3055
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3033
3056
|
if (configuration) {
|
|
3034
3057
|
baseOptions = configuration.baseOptions;
|
|
@@ -3037,7 +3060,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3037
3060
|
localVarHeaderParameter = {};
|
|
3038
3061
|
localVarQueryParameter = {};
|
|
3039
3062
|
// authentication ApiKeyAuth required
|
|
3040
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3063
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3041
3064
|
// authentication BearerAuth required
|
|
3042
3065
|
// http bearer authentication required
|
|
3043
3066
|
];
|
|
@@ -3046,7 +3069,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3046
3069
|
_a.sent();
|
|
3047
3070
|
// authentication BearerAuth required
|
|
3048
3071
|
// http bearer authentication required
|
|
3049
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3072
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3050
3073
|
// authentication CookieAuth required
|
|
3051
3074
|
];
|
|
3052
3075
|
case 2:
|
|
@@ -3054,12 +3077,12 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3054
3077
|
// http bearer authentication required
|
|
3055
3078
|
_a.sent();
|
|
3056
3079
|
// authentication CookieAuth required
|
|
3057
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3080
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3058
3081
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3059
3082
|
formHeaders = {};
|
|
3060
3083
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
3061
3084
|
return [2 /*return*/, {
|
|
3062
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3085
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3063
3086
|
options: localVarRequestOptions,
|
|
3064
3087
|
}];
|
|
3065
3088
|
}
|
|
@@ -3081,9 +3104,9 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3081
3104
|
switch (_a.label) {
|
|
3082
3105
|
case 0:
|
|
3083
3106
|
// verify required parameter 'id' is not null or undefined
|
|
3084
|
-
common_1.assertParamExists('getTemplate', 'id', id);
|
|
3107
|
+
(0, common_1.assertParamExists)('getTemplate', 'id', id);
|
|
3085
3108
|
localVarPath = "/templates/{Id}"
|
|
3086
|
-
.replace("{"
|
|
3109
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
3087
3110
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3088
3111
|
if (configuration) {
|
|
3089
3112
|
baseOptions = configuration.baseOptions;
|
|
@@ -3092,7 +3115,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3092
3115
|
localVarHeaderParameter = {};
|
|
3093
3116
|
localVarQueryParameter = {};
|
|
3094
3117
|
// authentication ApiKeyAuth required
|
|
3095
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3118
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3096
3119
|
// authentication BearerAuth required
|
|
3097
3120
|
// http bearer authentication required
|
|
3098
3121
|
];
|
|
@@ -3101,7 +3124,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3101
3124
|
_a.sent();
|
|
3102
3125
|
// authentication BearerAuth required
|
|
3103
3126
|
// http bearer authentication required
|
|
3104
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3105
3128
|
// authentication CookieAuth required
|
|
3106
3129
|
];
|
|
3107
3130
|
case 2:
|
|
@@ -3109,12 +3132,12 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3109
3132
|
// http bearer authentication required
|
|
3110
3133
|
_a.sent();
|
|
3111
3134
|
// authentication CookieAuth required
|
|
3112
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3135
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3113
3136
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3114
3137
|
formHeaders = {};
|
|
3115
3138
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
3116
3139
|
return [2 /*return*/, {
|
|
3117
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3140
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3118
3141
|
options: localVarRequestOptions,
|
|
3119
3142
|
}];
|
|
3120
3143
|
}
|
|
@@ -3144,7 +3167,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3144
3167
|
localVarHeaderParameter = {};
|
|
3145
3168
|
localVarQueryParameter = {};
|
|
3146
3169
|
// authentication ApiKeyAuth required
|
|
3147
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3170
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3148
3171
|
// authentication BearerAuth required
|
|
3149
3172
|
// http bearer authentication required
|
|
3150
3173
|
];
|
|
@@ -3153,7 +3176,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3153
3176
|
_a.sent();
|
|
3154
3177
|
// authentication BearerAuth required
|
|
3155
3178
|
// http bearer authentication required
|
|
3156
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3179
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3157
3180
|
// authentication CookieAuth required
|
|
3158
3181
|
];
|
|
3159
3182
|
case 2:
|
|
@@ -3164,12 +3187,12 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3164
3187
|
if (pageNum !== undefined) {
|
|
3165
3188
|
localVarQueryParameter['pageNum'] = pageNum;
|
|
3166
3189
|
}
|
|
3167
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3190
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3168
3191
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3169
3192
|
formHeaders = {};
|
|
3170
3193
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
3171
3194
|
return [2 /*return*/, {
|
|
3172
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3195
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3173
3196
|
options: localVarRequestOptions,
|
|
3174
3197
|
}];
|
|
3175
3198
|
}
|
|
@@ -3200,7 +3223,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3200
3223
|
localVarQueryParameter = {};
|
|
3201
3224
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
3202
3225
|
// authentication ApiKeyAuth required
|
|
3203
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3226
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3204
3227
|
// authentication BearerAuth required
|
|
3205
3228
|
// http bearer authentication required
|
|
3206
3229
|
];
|
|
@@ -3209,7 +3232,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3209
3232
|
_a.sent();
|
|
3210
3233
|
// authentication BearerAuth required
|
|
3211
3234
|
// http bearer authentication required
|
|
3212
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3235
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3213
3236
|
// authentication CookieAuth required
|
|
3214
3237
|
];
|
|
3215
3238
|
case 2:
|
|
@@ -3221,7 +3244,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3221
3244
|
localVarFormParams.append('template', template);
|
|
3222
3245
|
}
|
|
3223
3246
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
3224
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3247
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3225
3248
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3226
3249
|
formHeaders = {};
|
|
3227
3250
|
if (configuration && configuration.formDataCtor && localVarFormParams && localVarFormParams.getHeaders) {
|
|
@@ -3230,7 +3253,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3230
3253
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
3231
3254
|
localVarRequestOptions.data = localVarFormParams;
|
|
3232
3255
|
return [2 /*return*/, {
|
|
3233
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3256
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3234
3257
|
options: localVarRequestOptions,
|
|
3235
3258
|
}];
|
|
3236
3259
|
}
|
|
@@ -3253,11 +3276,11 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3253
3276
|
switch (_a.label) {
|
|
3254
3277
|
case 0:
|
|
3255
3278
|
// verify required parameter 'id' is not null or undefined
|
|
3256
|
-
common_1.assertParamExists('renderTemplate', 'id', id);
|
|
3279
|
+
(0, common_1.assertParamExists)('renderTemplate', 'id', id);
|
|
3257
3280
|
// verify required parameter 'format' is not null or undefined
|
|
3258
|
-
common_1.assertParamExists('renderTemplate', 'format', format);
|
|
3281
|
+
(0, common_1.assertParamExists)('renderTemplate', 'format', format);
|
|
3259
3282
|
localVarPath = "/templates/{Id}/render"
|
|
3260
|
-
.replace("{"
|
|
3283
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
3261
3284
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3262
3285
|
if (configuration) {
|
|
3263
3286
|
baseOptions = configuration.baseOptions;
|
|
@@ -3266,7 +3289,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3266
3289
|
localVarHeaderParameter = {};
|
|
3267
3290
|
localVarQueryParameter = {};
|
|
3268
3291
|
// authentication ApiKeyAuth required
|
|
3269
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3292
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3270
3293
|
// authentication BearerAuth required
|
|
3271
3294
|
// http bearer authentication required
|
|
3272
3295
|
];
|
|
@@ -3275,7 +3298,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3275
3298
|
_a.sent();
|
|
3276
3299
|
// authentication BearerAuth required
|
|
3277
3300
|
// http bearer authentication required
|
|
3278
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3301
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3279
3302
|
// authentication CookieAuth required
|
|
3280
3303
|
];
|
|
3281
3304
|
case 2:
|
|
@@ -3286,12 +3309,12 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3286
3309
|
if (format !== undefined) {
|
|
3287
3310
|
localVarQueryParameter['format'] = format;
|
|
3288
3311
|
}
|
|
3289
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3312
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3290
3313
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3291
3314
|
formHeaders = {};
|
|
3292
3315
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
3293
3316
|
return [2 /*return*/, {
|
|
3294
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3317
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3295
3318
|
options: localVarRequestOptions,
|
|
3296
3319
|
}];
|
|
3297
3320
|
}
|
|
@@ -3314,11 +3337,11 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3314
3337
|
switch (_a.label) {
|
|
3315
3338
|
case 0:
|
|
3316
3339
|
// verify required parameter 'id' is not null or undefined
|
|
3317
|
-
common_1.assertParamExists('updateTemplate', 'id', id);
|
|
3340
|
+
(0, common_1.assertParamExists)('updateTemplate', 'id', id);
|
|
3318
3341
|
// verify required parameter 'template' is not null or undefined
|
|
3319
|
-
common_1.assertParamExists('updateTemplate', 'template', template);
|
|
3342
|
+
(0, common_1.assertParamExists)('updateTemplate', 'template', template);
|
|
3320
3343
|
localVarPath = "/templates/{Id}"
|
|
3321
|
-
.replace("{"
|
|
3344
|
+
.replace("{".concat("Id", "}"), encodeURIComponent(String(id)));
|
|
3322
3345
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3323
3346
|
if (configuration) {
|
|
3324
3347
|
baseOptions = configuration.baseOptions;
|
|
@@ -3327,7 +3350,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3327
3350
|
localVarHeaderParameter = {};
|
|
3328
3351
|
localVarQueryParameter = {};
|
|
3329
3352
|
// authentication ApiKeyAuth required
|
|
3330
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3353
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3331
3354
|
// authentication BearerAuth required
|
|
3332
3355
|
// http bearer authentication required
|
|
3333
3356
|
];
|
|
@@ -3336,7 +3359,7 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3336
3359
|
_a.sent();
|
|
3337
3360
|
// authentication BearerAuth required
|
|
3338
3361
|
// http bearer authentication required
|
|
3339
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3362
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3340
3363
|
// authentication CookieAuth required
|
|
3341
3364
|
];
|
|
3342
3365
|
case 2:
|
|
@@ -3345,13 +3368,13 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3345
3368
|
_a.sent();
|
|
3346
3369
|
// authentication CookieAuth required
|
|
3347
3370
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3348
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3371
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3349
3372
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3350
3373
|
formHeaders = {};
|
|
3351
3374
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
3352
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(template, localVarRequestOptions, configuration);
|
|
3375
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(template, localVarRequestOptions, configuration);
|
|
3353
3376
|
return [2 /*return*/, {
|
|
3354
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3377
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3355
3378
|
options: localVarRequestOptions,
|
|
3356
3379
|
}];
|
|
3357
3380
|
}
|
|
@@ -3360,12 +3383,13 @@ exports.TemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
3360
3383
|
},
|
|
3361
3384
|
};
|
|
3362
3385
|
};
|
|
3386
|
+
exports.TemplatesApiAxiosParamCreator = TemplatesApiAxiosParamCreator;
|
|
3363
3387
|
/**
|
|
3364
3388
|
* TemplatesApi - functional programming interface
|
|
3365
3389
|
* @export
|
|
3366
3390
|
*/
|
|
3367
|
-
|
|
3368
|
-
var localVarAxiosParamCreator = exports.TemplatesApiAxiosParamCreator(configuration);
|
|
3391
|
+
var TemplatesApiFp = function (configuration) {
|
|
3392
|
+
var localVarAxiosParamCreator = (0, exports.TemplatesApiAxiosParamCreator)(configuration);
|
|
3369
3393
|
return {
|
|
3370
3394
|
/**
|
|
3371
3395
|
*
|
|
@@ -3382,7 +3406,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
3382
3406
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createTemplate(template, options)];
|
|
3383
3407
|
case 1:
|
|
3384
3408
|
localVarAxiosArgs = _a.sent();
|
|
3385
|
-
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)];
|
|
3386
3410
|
}
|
|
3387
3411
|
});
|
|
3388
3412
|
});
|
|
@@ -3402,7 +3426,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
3402
3426
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteTemplate(id, options)];
|
|
3403
3427
|
case 1:
|
|
3404
3428
|
localVarAxiosArgs = _a.sent();
|
|
3405
|
-
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)];
|
|
3406
3430
|
}
|
|
3407
3431
|
});
|
|
3408
3432
|
});
|
|
@@ -3422,7 +3446,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
3422
3446
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.duplicateTemplate(id, options)];
|
|
3423
3447
|
case 1:
|
|
3424
3448
|
localVarAxiosArgs = _a.sent();
|
|
3425
|
-
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)];
|
|
3426
3450
|
}
|
|
3427
3451
|
});
|
|
3428
3452
|
});
|
|
@@ -3442,7 +3466,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
3442
3466
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.exportTemplate(id, options)];
|
|
3443
3467
|
case 1:
|
|
3444
3468
|
localVarAxiosArgs = _a.sent();
|
|
3445
|
-
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)];
|
|
3446
3470
|
}
|
|
3447
3471
|
});
|
|
3448
3472
|
});
|
|
@@ -3462,7 +3486,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
3462
3486
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTemplate(id, options)];
|
|
3463
3487
|
case 1:
|
|
3464
3488
|
localVarAxiosArgs = _a.sent();
|
|
3465
|
-
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)];
|
|
3466
3490
|
}
|
|
3467
3491
|
});
|
|
3468
3492
|
});
|
|
@@ -3482,7 +3506,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
3482
3506
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTemplates(pageNum, options)];
|
|
3483
3507
|
case 1:
|
|
3484
3508
|
localVarAxiosArgs = _a.sent();
|
|
3485
|
-
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)];
|
|
3486
3510
|
}
|
|
3487
3511
|
});
|
|
3488
3512
|
});
|
|
@@ -3502,7 +3526,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
3502
3526
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.importTemplate(template, options)];
|
|
3503
3527
|
case 1:
|
|
3504
3528
|
localVarAxiosArgs = _a.sent();
|
|
3505
|
-
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)];
|
|
3506
3530
|
}
|
|
3507
3531
|
});
|
|
3508
3532
|
});
|
|
@@ -3523,7 +3547,7 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
3523
3547
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.renderTemplate(id, format, options)];
|
|
3524
3548
|
case 1:
|
|
3525
3549
|
localVarAxiosArgs = _a.sent();
|
|
3526
|
-
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)];
|
|
3527
3551
|
}
|
|
3528
3552
|
});
|
|
3529
3553
|
});
|
|
@@ -3544,19 +3568,20 @@ exports.TemplatesApiFp = function (configuration) {
|
|
|
3544
3568
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateTemplate(id, template, options)];
|
|
3545
3569
|
case 1:
|
|
3546
3570
|
localVarAxiosArgs = _a.sent();
|
|
3547
|
-
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)];
|
|
3548
3572
|
}
|
|
3549
3573
|
});
|
|
3550
3574
|
});
|
|
3551
3575
|
},
|
|
3552
3576
|
};
|
|
3553
3577
|
};
|
|
3578
|
+
exports.TemplatesApiFp = TemplatesApiFp;
|
|
3554
3579
|
/**
|
|
3555
3580
|
* TemplatesApi - factory interface
|
|
3556
3581
|
* @export
|
|
3557
3582
|
*/
|
|
3558
|
-
|
|
3559
|
-
var localVarFp = exports.TemplatesApiFp(configuration);
|
|
3583
|
+
var TemplatesApiFactory = function (configuration, basePath, axios) {
|
|
3584
|
+
var localVarFp = (0, exports.TemplatesApiFp)(configuration);
|
|
3560
3585
|
return {
|
|
3561
3586
|
/**
|
|
3562
3587
|
*
|
|
@@ -3652,6 +3677,7 @@ exports.TemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
3652
3677
|
},
|
|
3653
3678
|
};
|
|
3654
3679
|
};
|
|
3680
|
+
exports.TemplatesApiFactory = TemplatesApiFactory;
|
|
3655
3681
|
/**
|
|
3656
3682
|
* TemplatesApi - object-oriented interface
|
|
3657
3683
|
* @export
|
|
@@ -3673,7 +3699,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3673
3699
|
*/
|
|
3674
3700
|
TemplatesApi.prototype.createTemplate = function (template, options) {
|
|
3675
3701
|
var _this = this;
|
|
3676
|
-
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); });
|
|
3677
3703
|
};
|
|
3678
3704
|
/**
|
|
3679
3705
|
* Delete a report template by its ID
|
|
@@ -3685,7 +3711,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3685
3711
|
*/
|
|
3686
3712
|
TemplatesApi.prototype.deleteTemplate = function (id, options) {
|
|
3687
3713
|
var _this = this;
|
|
3688
|
-
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); });
|
|
3689
3715
|
};
|
|
3690
3716
|
/**
|
|
3691
3717
|
* Duplicate a report template by its ID
|
|
@@ -3697,7 +3723,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3697
3723
|
*/
|
|
3698
3724
|
TemplatesApi.prototype.duplicateTemplate = function (id, options) {
|
|
3699
3725
|
var _this = this;
|
|
3700
|
-
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); });
|
|
3701
3727
|
};
|
|
3702
3728
|
/**
|
|
3703
3729
|
* Export a report template to a .CRPT file
|
|
@@ -3709,7 +3735,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3709
3735
|
*/
|
|
3710
3736
|
TemplatesApi.prototype.exportTemplate = function (id, options) {
|
|
3711
3737
|
var _this = this;
|
|
3712
|
-
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); });
|
|
3713
3739
|
};
|
|
3714
3740
|
/**
|
|
3715
3741
|
* Read a report template by its ID
|
|
@@ -3721,7 +3747,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3721
3747
|
*/
|
|
3722
3748
|
TemplatesApi.prototype.getTemplate = function (id, options) {
|
|
3723
3749
|
var _this = this;
|
|
3724
|
-
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); });
|
|
3725
3751
|
};
|
|
3726
3752
|
/**
|
|
3727
3753
|
*
|
|
@@ -3733,7 +3759,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3733
3759
|
*/
|
|
3734
3760
|
TemplatesApi.prototype.getTemplates = function (pageNum, options) {
|
|
3735
3761
|
var _this = this;
|
|
3736
|
-
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); });
|
|
3737
3763
|
};
|
|
3738
3764
|
/**
|
|
3739
3765
|
* Imports an exported .CRPT file
|
|
@@ -3745,7 +3771,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3745
3771
|
*/
|
|
3746
3772
|
TemplatesApi.prototype.importTemplate = function (template, options) {
|
|
3747
3773
|
var _this = this;
|
|
3748
|
-
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); });
|
|
3749
3775
|
};
|
|
3750
3776
|
/**
|
|
3751
3777
|
* Render a report template to PDF, PPTX, or XLSX. Responds with a job entity.
|
|
@@ -3758,7 +3784,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3758
3784
|
*/
|
|
3759
3785
|
TemplatesApi.prototype.renderTemplate = function (id, format, options) {
|
|
3760
3786
|
var _this = this;
|
|
3761
|
-
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); });
|
|
3762
3788
|
};
|
|
3763
3789
|
/**
|
|
3764
3790
|
* Accepts partial updates
|
|
@@ -3771,7 +3797,7 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
3771
3797
|
*/
|
|
3772
3798
|
TemplatesApi.prototype.updateTemplate = function (id, template, options) {
|
|
3773
3799
|
var _this = this;
|
|
3774
|
-
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); });
|
|
3775
3801
|
};
|
|
3776
3802
|
return TemplatesApi;
|
|
3777
3803
|
}(base_1.BaseAPI));
|
|
@@ -3780,7 +3806,7 @@ exports.TemplatesApi = TemplatesApi;
|
|
|
3780
3806
|
* VisualizationApi - axios parameter creator
|
|
3781
3807
|
* @export
|
|
3782
3808
|
*/
|
|
3783
|
-
|
|
3809
|
+
var VisualizationApiAxiosParamCreator = function (configuration) {
|
|
3784
3810
|
var _this = this;
|
|
3785
3811
|
return {
|
|
3786
3812
|
/**
|
|
@@ -3799,7 +3825,7 @@ exports.VisualizationApiAxiosParamCreator = function (configuration) {
|
|
|
3799
3825
|
switch (_a.label) {
|
|
3800
3826
|
case 0:
|
|
3801
3827
|
// verify required parameter 'visualization' is not null or undefined
|
|
3802
|
-
common_1.assertParamExists('createVisualization', 'visualization', visualization);
|
|
3828
|
+
(0, common_1.assertParamExists)('createVisualization', 'visualization', visualization);
|
|
3803
3829
|
localVarPath = "/visualizations";
|
|
3804
3830
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3805
3831
|
if (configuration) {
|
|
@@ -3809,7 +3835,7 @@ exports.VisualizationApiAxiosParamCreator = function (configuration) {
|
|
|
3809
3835
|
localVarHeaderParameter = {};
|
|
3810
3836
|
localVarQueryParameter = {};
|
|
3811
3837
|
// authentication ApiKeyAuth required
|
|
3812
|
-
return [4 /*yield*/, common_1.setApiKeyToObject(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3838
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-KEY", configuration)
|
|
3813
3839
|
// authentication BearerAuth required
|
|
3814
3840
|
// http bearer authentication required
|
|
3815
3841
|
];
|
|
@@ -3818,7 +3844,7 @@ exports.VisualizationApiAxiosParamCreator = function (configuration) {
|
|
|
3818
3844
|
_a.sent();
|
|
3819
3845
|
// authentication BearerAuth required
|
|
3820
3846
|
// http bearer authentication required
|
|
3821
|
-
return [4 /*yield*/, common_1.setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3847
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
3822
3848
|
// authentication CookieAuth required
|
|
3823
3849
|
];
|
|
3824
3850
|
case 2:
|
|
@@ -3830,13 +3856,13 @@ exports.VisualizationApiAxiosParamCreator = function (configuration) {
|
|
|
3830
3856
|
localVarQueryParameter['priority'] = priority;
|
|
3831
3857
|
}
|
|
3832
3858
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3833
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3859
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3834
3860
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3835
3861
|
formHeaders = {};
|
|
3836
3862
|
localVarRequestOptions.headers = __assign(__assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), formHeaders), options.headers);
|
|
3837
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(visualization, localVarRequestOptions, configuration);
|
|
3863
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(visualization, localVarRequestOptions, configuration);
|
|
3838
3864
|
return [2 /*return*/, {
|
|
3839
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
3865
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3840
3866
|
options: localVarRequestOptions,
|
|
3841
3867
|
}];
|
|
3842
3868
|
}
|
|
@@ -3845,12 +3871,13 @@ exports.VisualizationApiAxiosParamCreator = function (configuration) {
|
|
|
3845
3871
|
},
|
|
3846
3872
|
};
|
|
3847
3873
|
};
|
|
3874
|
+
exports.VisualizationApiAxiosParamCreator = VisualizationApiAxiosParamCreator;
|
|
3848
3875
|
/**
|
|
3849
3876
|
* VisualizationApi - functional programming interface
|
|
3850
3877
|
* @export
|
|
3851
3878
|
*/
|
|
3852
|
-
|
|
3853
|
-
var localVarAxiosParamCreator = exports.VisualizationApiAxiosParamCreator(configuration);
|
|
3879
|
+
var VisualizationApiFp = function (configuration) {
|
|
3880
|
+
var localVarAxiosParamCreator = (0, exports.VisualizationApiAxiosParamCreator)(configuration);
|
|
3854
3881
|
return {
|
|
3855
3882
|
/**
|
|
3856
3883
|
*
|
|
@@ -3868,19 +3895,20 @@ exports.VisualizationApiFp = function (configuration) {
|
|
|
3868
3895
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createVisualization(visualization, priority, options)];
|
|
3869
3896
|
case 1:
|
|
3870
3897
|
localVarAxiosArgs = _a.sent();
|
|
3871
|
-
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)];
|
|
3872
3899
|
}
|
|
3873
3900
|
});
|
|
3874
3901
|
});
|
|
3875
3902
|
},
|
|
3876
3903
|
};
|
|
3877
3904
|
};
|
|
3905
|
+
exports.VisualizationApiFp = VisualizationApiFp;
|
|
3878
3906
|
/**
|
|
3879
3907
|
* VisualizationApi - factory interface
|
|
3880
3908
|
* @export
|
|
3881
3909
|
*/
|
|
3882
|
-
|
|
3883
|
-
var localVarFp = exports.VisualizationApiFp(configuration);
|
|
3910
|
+
var VisualizationApiFactory = function (configuration, basePath, axios) {
|
|
3911
|
+
var localVarFp = (0, exports.VisualizationApiFp)(configuration);
|
|
3884
3912
|
return {
|
|
3885
3913
|
/**
|
|
3886
3914
|
*
|
|
@@ -3895,6 +3923,7 @@ exports.VisualizationApiFactory = function (configuration, basePath, axios) {
|
|
|
3895
3923
|
},
|
|
3896
3924
|
};
|
|
3897
3925
|
};
|
|
3926
|
+
exports.VisualizationApiFactory = VisualizationApiFactory;
|
|
3898
3927
|
/**
|
|
3899
3928
|
* VisualizationApi - object-oriented interface
|
|
3900
3929
|
* @export
|
|
@@ -3917,7 +3946,7 @@ var VisualizationApi = /** @class */ (function (_super) {
|
|
|
3917
3946
|
*/
|
|
3918
3947
|
VisualizationApi.prototype.createVisualization = function (visualization, priority, options) {
|
|
3919
3948
|
var _this = this;
|
|
3920
|
-
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); });
|
|
3921
3950
|
};
|
|
3922
3951
|
return VisualizationApi;
|
|
3923
3952
|
}(base_1.BaseAPI));
|