@nauti/dash-client 1.0.2-beta.379.1 → 1.0.2-beta.398.1

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/dist/api.js CHANGED
@@ -1,9 +1,114 @@
1
1
  "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __assign = (this && this.__assign) || function () {
18
+ __assign = Object.assign || function(t) {
19
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
20
+ s = arguments[i];
21
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
22
+ t[p] = s[p];
23
+ }
24
+ return t;
25
+ };
26
+ return __assign.apply(this, arguments);
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ var __generator = (this && this.__generator) || function (thisArg, body) {
38
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
39
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ function verb(n) { return function (v) { return step([n, v]); }; }
41
+ function step(op) {
42
+ if (f) throw new TypeError("Generator is already executing.");
43
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
44
+ 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;
45
+ if (y = 0, t) op = [op[0] & 2, t.value];
46
+ switch (op[0]) {
47
+ case 0: case 1: t = op; break;
48
+ case 4: _.label++; return { value: op[1], done: false };
49
+ case 5: _.label++; y = op[1]; op = [0]; continue;
50
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
51
+ default:
52
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
53
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
54
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
55
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
56
+ if (t[2]) _.ops.pop();
57
+ _.trys.pop(); continue;
58
+ }
59
+ op = body.call(thisArg, _);
60
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
61
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
62
+ }
63
+ };
64
+ var __read = (this && this.__read) || function (o, n) {
65
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
66
+ if (!m) return o;
67
+ var i = m.call(o), r, ar = [], e;
68
+ try {
69
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
70
+ }
71
+ catch (error) { e = { error: error }; }
72
+ finally {
73
+ try {
74
+ if (r && !r.done && (m = i["return"])) m.call(i);
75
+ }
76
+ finally { if (e) throw e.error; }
77
+ }
78
+ return ar;
79
+ };
80
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
81
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
82
+ if (ar || !(i in from)) {
83
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
84
+ ar[i] = from[i];
85
+ }
86
+ }
87
+ return to.concat(ar || Array.prototype.slice.call(from));
88
+ };
89
+ var __importDefault = (this && this.__importDefault) || function (mod) {
90
+ return (mod && mod.__esModule) ? mod : { "default": mod };
91
+ };
2
92
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TaskControllerApi = exports.TaskControllerApiFactory = exports.TaskControllerApiFp = exports.TaskControllerApiAxiosParamCreator = exports.SourceControllerApi = exports.SourceControllerApiFactory = exports.SourceControllerApiFp = exports.SourceControllerApiAxiosParamCreator = exports.TaskVOTierEnum = exports.TaskVOTargetVersionEnum = exports.TaskVOTargetPlatformEnum = exports.TaskStatusVOStatusEnum = exports.CreateTaskRequestVOTierEnum = exports.CreateTaskRequestVOTargetVersionEnum = exports.CreateTaskRequestVOTargetPlatformEnum = void 0;
4
- const axios_1 = require("axios");
5
- const common_1 = require("./common");
6
- const base_1 = require("./base");
93
+ exports.TaskControllerApi = exports.TaskControllerApiFactory = exports.TaskControllerApiFp = exports.TaskControllerApiAxiosParamCreator = exports.SourceControllerApi = exports.SourceControllerApiFactory = exports.SourceControllerApiFp = exports.SourceControllerApiAxiosParamCreator = exports.DynamicConfigControllerApi = exports.DynamicConfigControllerApiFactory = exports.DynamicConfigControllerApiFp = exports.DynamicConfigControllerApiAxiosParamCreator = exports.Update200ResponseAnyOfSucceededEnum = exports.Update200ResponseSucceededEnum = exports.Test200ResponseAnyOfSucceededEnum = exports.Test200ResponseSucceededEnum = exports.TaskVOTierEnum = exports.TaskVOTargetVersionEnum = exports.TaskVOTargetPlatformEnum = exports.TaskStatusVOStatusEnum = exports.SetToUploaded200ResponseAnyOfSucceededEnum = exports.SetToUploaded200ResponseSucceededEnum = exports.Read200ResponseAnyOfSucceededEnum = exports.Read200ResponseSucceededEnum = exports.List200ResponseAnyOf1SucceededEnum = exports.List200ResponseAnyOfSucceededEnum = exports.List200ResponseSucceededEnum = exports.List1200ResponseAnyOfSucceededEnum = exports.List1200ResponseSucceededEnum = exports.GetDetail200ResponseAnyOfSucceededEnum = exports.GetDetail200ResponseSucceededEnum = exports.GetDetail1200ResponseAnyOfSucceededEnum = exports.GetDetail1200ResponseSucceededEnum = exports.CreateTaskRequestVOTierEnum = exports.CreateTaskRequestVOTargetVersionEnum = exports.CreateTaskRequestVOTargetPlatformEnum = exports.Create200ResponseAnyOf1SucceededEnum = exports.Create200ResponseAnyOfSucceededEnum = exports.Create200ResponseSucceededEnum = exports.Create1200ResponseAnyOfSucceededEnum = exports.Create1200ResponseSucceededEnum = void 0;
94
+ var axios_1 = __importDefault(require("axios"));
95
+ var common_1 = require("./common");
96
+ var base_1 = require("./base");
97
+ exports.Create1200ResponseSucceededEnum = {
98
+ False: 'false',
99
+ };
100
+ exports.Create1200ResponseAnyOfSucceededEnum = {
101
+ True: 'true',
102
+ };
103
+ exports.Create200ResponseSucceededEnum = {
104
+ False: 'false',
105
+ };
106
+ exports.Create200ResponseAnyOfSucceededEnum = {
107
+ True: 'true',
108
+ };
109
+ exports.Create200ResponseAnyOf1SucceededEnum = {
110
+ False: 'false',
111
+ };
7
112
  exports.CreateTaskRequestVOTargetPlatformEnum = {
8
113
  AlpineArm64: 'alpine-arm64',
9
114
  AlpineX64: 'alpine-x64',
@@ -21,6 +126,45 @@ exports.CreateTaskRequestVOTierEnum = {
21
126
  Starter: 'STARTER',
22
127
  Premium: 'PREMIUM',
23
128
  };
129
+ exports.GetDetail1200ResponseSucceededEnum = {
130
+ False: 'false',
131
+ };
132
+ exports.GetDetail1200ResponseAnyOfSucceededEnum = {
133
+ True: 'true',
134
+ };
135
+ exports.GetDetail200ResponseSucceededEnum = {
136
+ False: 'false',
137
+ };
138
+ exports.GetDetail200ResponseAnyOfSucceededEnum = {
139
+ True: 'true',
140
+ };
141
+ exports.List1200ResponseSucceededEnum = {
142
+ False: 'false',
143
+ };
144
+ exports.List1200ResponseAnyOfSucceededEnum = {
145
+ True: 'true',
146
+ };
147
+ exports.List200ResponseSucceededEnum = {
148
+ False: 'false',
149
+ };
150
+ exports.List200ResponseAnyOfSucceededEnum = {
151
+ True: 'true',
152
+ };
153
+ exports.List200ResponseAnyOf1SucceededEnum = {
154
+ False: 'false',
155
+ };
156
+ exports.Read200ResponseSucceededEnum = {
157
+ False: 'false',
158
+ };
159
+ exports.Read200ResponseAnyOfSucceededEnum = {
160
+ True: 'true',
161
+ };
162
+ exports.SetToUploaded200ResponseSucceededEnum = {
163
+ False: 'false',
164
+ };
165
+ exports.SetToUploaded200ResponseAnyOfSucceededEnum = {
166
+ True: 'true',
167
+ };
24
168
  exports.TaskStatusVOStatusEnum = {
25
169
  Picked: 'PICKED',
26
170
  Succeeded: 'SUCCEEDED',
@@ -43,336 +187,694 @@ exports.TaskVOTierEnum = {
43
187
  Starter: 'STARTER',
44
188
  Premium: 'PREMIUM',
45
189
  };
46
- const SourceControllerApiAxiosParamCreator = function (configuration) {
190
+ exports.Test200ResponseSucceededEnum = {
191
+ False: 'false',
192
+ };
193
+ exports.Test200ResponseAnyOfSucceededEnum = {
194
+ True: 'true',
195
+ };
196
+ exports.Update200ResponseSucceededEnum = {
197
+ False: 'false',
198
+ };
199
+ exports.Update200ResponseAnyOfSucceededEnum = {
200
+ True: 'true',
201
+ };
202
+ var DynamicConfigControllerApiAxiosParamCreator = function (configuration) {
203
+ var _this = this;
47
204
  return {
48
- create1: async (createSourceRequestVO, options = {}) => {
49
- (0, common_1.assertParamExists)('create1', 'createSourceRequestVO', createSourceRequestVO);
50
- const localVarPath = `/api/sources`;
51
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
52
- let baseOptions;
53
- if (configuration) {
54
- baseOptions = configuration.baseOptions;
205
+ read: function (configPath_1, objectPath_1) {
206
+ var args_1 = [];
207
+ for (var _i = 2; _i < arguments.length; _i++) {
208
+ args_1[_i - 2] = arguments[_i];
55
209
  }
56
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
57
- const localVarHeaderParameter = {};
58
- const localVarQueryParameter = {};
59
- localVarHeaderParameter['Content-Type'] = 'application/json';
60
- localVarHeaderParameter['Accept'] = '*/*';
61
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
62
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
64
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSourceRequestVO, localVarRequestOptions, configuration);
65
- return {
66
- url: (0, common_1.toPathString)(localVarUrlObj),
67
- options: localVarRequestOptions,
68
- };
69
- },
70
- getDetail1: async (id, options = {}) => {
71
- (0, common_1.assertParamExists)('getDetail1', 'id', id);
72
- const localVarPath = `/api/sources/{id}`
73
- .replace('{id}', encodeURIComponent(String(id)));
74
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
75
- let baseOptions;
76
- if (configuration) {
77
- baseOptions = configuration.baseOptions;
78
- }
79
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
80
- const localVarHeaderParameter = {};
81
- const localVarQueryParameter = {};
82
- localVarHeaderParameter['Accept'] = '*/*';
83
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
84
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
86
- return {
87
- url: (0, common_1.toPathString)(localVarUrlObj),
88
- options: localVarRequestOptions,
89
- };
90
- },
91
- list1: async (creatorId, title, pageSize, cursor, options = {}) => {
92
- const localVarPath = `/api/sources`;
93
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
94
- let baseOptions;
95
- if (configuration) {
96
- baseOptions = configuration.baseOptions;
210
+ return __awaiter(_this, __spreadArray([configPath_1, objectPath_1], __read(args_1), false), void 0, function (configPath, objectPath, options) {
211
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
212
+ if (options === void 0) { options = {}; }
213
+ return __generator(this, function (_a) {
214
+ (0, common_1.assertParamExists)('read', 'configPath', configPath);
215
+ (0, common_1.assertParamExists)('read', 'objectPath', objectPath);
216
+ localVarPath = "/api/dynamicConfig/{configPath}/{objectPath}"
217
+ .replace('{configPath}', encodeURIComponent(String(configPath)))
218
+ .replace('{objectPath}', encodeURIComponent(String(objectPath)));
219
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
220
+ if (configuration) {
221
+ baseOptions = configuration.baseOptions;
222
+ }
223
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
224
+ localVarHeaderParameter = {};
225
+ localVarQueryParameter = {};
226
+ localVarHeaderParameter['Accept'] = '*/*';
227
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
228
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
229
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
230
+ return [2, {
231
+ url: (0, common_1.toPathString)(localVarUrlObj),
232
+ options: localVarRequestOptions,
233
+ }];
234
+ });
235
+ });
236
+ },
237
+ update1: function () {
238
+ var args_1 = [];
239
+ for (var _i = 0; _i < arguments.length; _i++) {
240
+ args_1[_i] = arguments[_i];
97
241
  }
98
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
99
- const localVarHeaderParameter = {};
100
- const localVarQueryParameter = {};
101
- if (creatorId !== undefined) {
102
- localVarQueryParameter['creatorId'] = creatorId;
242
+ return __awaiter(_this, __spreadArray([], __read(args_1), false), void 0, function (options) {
243
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
244
+ if (options === void 0) { options = {}; }
245
+ return __generator(this, function (_a) {
246
+ localVarPath = "/api/dynamicConfig";
247
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
248
+ if (configuration) {
249
+ baseOptions = configuration.baseOptions;
250
+ }
251
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
252
+ localVarHeaderParameter = {};
253
+ localVarQueryParameter = {};
254
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
255
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
256
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
257
+ return [2, {
258
+ url: (0, common_1.toPathString)(localVarUrlObj),
259
+ options: localVarRequestOptions,
260
+ }];
261
+ });
262
+ });
263
+ },
264
+ };
265
+ };
266
+ exports.DynamicConfigControllerApiAxiosParamCreator = DynamicConfigControllerApiAxiosParamCreator;
267
+ var DynamicConfigControllerApiFp = function (configuration) {
268
+ var localVarAxiosParamCreator = (0, exports.DynamicConfigControllerApiAxiosParamCreator)(configuration);
269
+ return {
270
+ read: function (configPath, objectPath, options) {
271
+ return __awaiter(this, void 0, void 0, function () {
272
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
273
+ var _a, _b, _c;
274
+ return __generator(this, function (_d) {
275
+ switch (_d.label) {
276
+ case 0: return [4, localVarAxiosParamCreator.read(configPath, objectPath, options)];
277
+ case 1:
278
+ localVarAxiosArgs = _d.sent();
279
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
280
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DynamicConfigControllerApi.read']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
281
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
282
+ }
283
+ });
284
+ });
285
+ },
286
+ update1: function (options) {
287
+ return __awaiter(this, void 0, void 0, function () {
288
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
289
+ var _a, _b, _c;
290
+ return __generator(this, function (_d) {
291
+ switch (_d.label) {
292
+ case 0: return [4, localVarAxiosParamCreator.update1(options)];
293
+ case 1:
294
+ localVarAxiosArgs = _d.sent();
295
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
296
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DynamicConfigControllerApi.update1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
297
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
298
+ }
299
+ });
300
+ });
301
+ },
302
+ };
303
+ };
304
+ exports.DynamicConfigControllerApiFp = DynamicConfigControllerApiFp;
305
+ var DynamicConfigControllerApiFactory = function (configuration, basePath, axios) {
306
+ var localVarFp = (0, exports.DynamicConfigControllerApiFp)(configuration);
307
+ return {
308
+ read: function (configPath, objectPath, options) {
309
+ return localVarFp.read(configPath, objectPath, options).then(function (request) { return request(axios, basePath); });
310
+ },
311
+ update1: function (options) {
312
+ return localVarFp.update1(options).then(function (request) { return request(axios, basePath); });
313
+ },
314
+ };
315
+ };
316
+ exports.DynamicConfigControllerApiFactory = DynamicConfigControllerApiFactory;
317
+ var DynamicConfigControllerApi = (function (_super) {
318
+ __extends(DynamicConfigControllerApi, _super);
319
+ function DynamicConfigControllerApi() {
320
+ return _super !== null && _super.apply(this, arguments) || this;
321
+ }
322
+ DynamicConfigControllerApi.prototype.read = function (configPath, objectPath, options) {
323
+ var _this = this;
324
+ return (0, exports.DynamicConfigControllerApiFp)(this.configuration).read(configPath, objectPath, options).then(function (request) { return request(_this.axios, _this.basePath); });
325
+ };
326
+ DynamicConfigControllerApi.prototype.update1 = function (options) {
327
+ var _this = this;
328
+ return (0, exports.DynamicConfigControllerApiFp)(this.configuration).update1(options).then(function (request) { return request(_this.axios, _this.basePath); });
329
+ };
330
+ return DynamicConfigControllerApi;
331
+ }(base_1.BaseAPI));
332
+ exports.DynamicConfigControllerApi = DynamicConfigControllerApi;
333
+ var SourceControllerApiAxiosParamCreator = function (configuration) {
334
+ var _this = this;
335
+ return {
336
+ create1: function (createSourceRequestVO_1) {
337
+ var args_1 = [];
338
+ for (var _i = 1; _i < arguments.length; _i++) {
339
+ args_1[_i - 1] = arguments[_i];
103
340
  }
104
- if (title !== undefined) {
105
- localVarQueryParameter['title'] = title;
341
+ return __awaiter(_this, __spreadArray([createSourceRequestVO_1], __read(args_1), false), void 0, function (createSourceRequestVO, options) {
342
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
343
+ if (options === void 0) { options = {}; }
344
+ return __generator(this, function (_a) {
345
+ (0, common_1.assertParamExists)('create1', 'createSourceRequestVO', createSourceRequestVO);
346
+ localVarPath = "/api/sources";
347
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
348
+ if (configuration) {
349
+ baseOptions = configuration.baseOptions;
350
+ }
351
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
352
+ localVarHeaderParameter = {};
353
+ localVarQueryParameter = {};
354
+ localVarHeaderParameter['Content-Type'] = 'application/json';
355
+ localVarHeaderParameter['Accept'] = '*/*';
356
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
357
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
358
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
359
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSourceRequestVO, localVarRequestOptions, configuration);
360
+ return [2, {
361
+ url: (0, common_1.toPathString)(localVarUrlObj),
362
+ options: localVarRequestOptions,
363
+ }];
364
+ });
365
+ });
366
+ },
367
+ getDetail1: function (id_1) {
368
+ var args_1 = [];
369
+ for (var _i = 1; _i < arguments.length; _i++) {
370
+ args_1[_i - 1] = arguments[_i];
106
371
  }
107
- if (pageSize !== undefined) {
108
- localVarQueryParameter['pageSize'] = pageSize;
372
+ return __awaiter(_this, __spreadArray([id_1], __read(args_1), false), void 0, function (id, options) {
373
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
374
+ if (options === void 0) { options = {}; }
375
+ return __generator(this, function (_a) {
376
+ (0, common_1.assertParamExists)('getDetail1', 'id', id);
377
+ localVarPath = "/api/sources/{id}"
378
+ .replace('{id}', encodeURIComponent(String(id)));
379
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
380
+ if (configuration) {
381
+ baseOptions = configuration.baseOptions;
382
+ }
383
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
384
+ localVarHeaderParameter = {};
385
+ localVarQueryParameter = {};
386
+ localVarHeaderParameter['Accept'] = '*/*';
387
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
388
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
389
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
390
+ return [2, {
391
+ url: (0, common_1.toPathString)(localVarUrlObj),
392
+ options: localVarRequestOptions,
393
+ }];
394
+ });
395
+ });
396
+ },
397
+ list1: function (creatorId_1, title_1, pageSize_1, cursor_1) {
398
+ var args_1 = [];
399
+ for (var _i = 4; _i < arguments.length; _i++) {
400
+ args_1[_i - 4] = arguments[_i];
109
401
  }
110
- if (cursor !== undefined) {
111
- localVarQueryParameter['cursor'] = cursor;
402
+ return __awaiter(_this, __spreadArray([creatorId_1, title_1, pageSize_1, cursor_1], __read(args_1), false), void 0, function (creatorId, title, pageSize, cursor, options) {
403
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
404
+ if (options === void 0) { options = {}; }
405
+ return __generator(this, function (_a) {
406
+ localVarPath = "/api/sources";
407
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
408
+ if (configuration) {
409
+ baseOptions = configuration.baseOptions;
410
+ }
411
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
412
+ localVarHeaderParameter = {};
413
+ localVarQueryParameter = {};
414
+ if (creatorId !== undefined) {
415
+ localVarQueryParameter['creatorId'] = creatorId;
416
+ }
417
+ if (title !== undefined) {
418
+ localVarQueryParameter['title'] = title;
419
+ }
420
+ if (pageSize !== undefined) {
421
+ localVarQueryParameter['pageSize'] = pageSize;
422
+ }
423
+ if (cursor !== undefined) {
424
+ localVarQueryParameter['cursor'] = cursor;
425
+ }
426
+ localVarHeaderParameter['Accept'] = '*/*';
427
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
428
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
429
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
430
+ return [2, {
431
+ url: (0, common_1.toPathString)(localVarUrlObj),
432
+ options: localVarRequestOptions,
433
+ }];
434
+ });
435
+ });
436
+ },
437
+ setToUploaded: function (setSourceToUploadedRequestVO_1) {
438
+ var args_1 = [];
439
+ for (var _i = 1; _i < arguments.length; _i++) {
440
+ args_1[_i - 1] = arguments[_i];
112
441
  }
113
- localVarHeaderParameter['Accept'] = '*/*';
114
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
115
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
116
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
117
- return {
118
- url: (0, common_1.toPathString)(localVarUrlObj),
119
- options: localVarRequestOptions,
120
- };
121
- },
122
- setToUploaded: async (setSourceToUploadedRequestVO, options = {}) => {
123
- (0, common_1.assertParamExists)('setToUploaded', 'setSourceToUploadedRequestVO', setSourceToUploadedRequestVO);
124
- const localVarPath = `/api/sources/uploaded`;
125
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
126
- let baseOptions;
127
- if (configuration) {
128
- baseOptions = configuration.baseOptions;
442
+ return __awaiter(_this, __spreadArray([setSourceToUploadedRequestVO_1], __read(args_1), false), void 0, function (setSourceToUploadedRequestVO, options) {
443
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
444
+ if (options === void 0) { options = {}; }
445
+ return __generator(this, function (_a) {
446
+ (0, common_1.assertParamExists)('setToUploaded', 'setSourceToUploadedRequestVO', setSourceToUploadedRequestVO);
447
+ localVarPath = "/api/sources/uploaded";
448
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
449
+ if (configuration) {
450
+ baseOptions = configuration.baseOptions;
451
+ }
452
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
453
+ localVarHeaderParameter = {};
454
+ localVarQueryParameter = {};
455
+ localVarHeaderParameter['Content-Type'] = 'application/json';
456
+ localVarHeaderParameter['Accept'] = '*/*';
457
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
458
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
459
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
460
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setSourceToUploadedRequestVO, localVarRequestOptions, configuration);
461
+ return [2, {
462
+ url: (0, common_1.toPathString)(localVarUrlObj),
463
+ options: localVarRequestOptions,
464
+ }];
465
+ });
466
+ });
467
+ },
468
+ test: function () {
469
+ var args_1 = [];
470
+ for (var _i = 0; _i < arguments.length; _i++) {
471
+ args_1[_i] = arguments[_i];
129
472
  }
130
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
131
- const localVarHeaderParameter = {};
132
- const localVarQueryParameter = {};
133
- localVarHeaderParameter['Content-Type'] = 'application/json';
134
- localVarHeaderParameter['Accept'] = '*/*';
135
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
136
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
137
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
138
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setSourceToUploadedRequestVO, localVarRequestOptions, configuration);
139
- return {
140
- url: (0, common_1.toPathString)(localVarUrlObj),
141
- options: localVarRequestOptions,
142
- };
143
- },
144
- update: async (updateSourceRequestVO, options = {}) => {
145
- (0, common_1.assertParamExists)('update', 'updateSourceRequestVO', updateSourceRequestVO);
146
- const localVarPath = `/api/sources`;
147
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
148
- let baseOptions;
149
- if (configuration) {
150
- baseOptions = configuration.baseOptions;
473
+ return __awaiter(_this, __spreadArray([], __read(args_1), false), void 0, function (options) {
474
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
475
+ if (options === void 0) { options = {}; }
476
+ return __generator(this, function (_a) {
477
+ localVarPath = "/api/sources/test";
478
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
479
+ if (configuration) {
480
+ baseOptions = configuration.baseOptions;
481
+ }
482
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
483
+ localVarHeaderParameter = {};
484
+ localVarQueryParameter = {};
485
+ localVarHeaderParameter['Accept'] = '*/*';
486
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
487
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
488
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
489
+ return [2, {
490
+ url: (0, common_1.toPathString)(localVarUrlObj),
491
+ options: localVarRequestOptions,
492
+ }];
493
+ });
494
+ });
495
+ },
496
+ update: function (updateSourceRequestVO_1) {
497
+ var args_1 = [];
498
+ for (var _i = 1; _i < arguments.length; _i++) {
499
+ args_1[_i - 1] = arguments[_i];
151
500
  }
152
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
153
- const localVarHeaderParameter = {};
154
- const localVarQueryParameter = {};
155
- localVarHeaderParameter['Content-Type'] = 'application/json';
156
- localVarHeaderParameter['Accept'] = '*/*';
157
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
158
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
159
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
160
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSourceRequestVO, localVarRequestOptions, configuration);
161
- return {
162
- url: (0, common_1.toPathString)(localVarUrlObj),
163
- options: localVarRequestOptions,
164
- };
501
+ return __awaiter(_this, __spreadArray([updateSourceRequestVO_1], __read(args_1), false), void 0, function (updateSourceRequestVO, options) {
502
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
503
+ if (options === void 0) { options = {}; }
504
+ return __generator(this, function (_a) {
505
+ (0, common_1.assertParamExists)('update', 'updateSourceRequestVO', updateSourceRequestVO);
506
+ localVarPath = "/api/sources";
507
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
508
+ if (configuration) {
509
+ baseOptions = configuration.baseOptions;
510
+ }
511
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
512
+ localVarHeaderParameter = {};
513
+ localVarQueryParameter = {};
514
+ localVarHeaderParameter['Content-Type'] = 'application/json';
515
+ localVarHeaderParameter['Accept'] = '*/*';
516
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
517
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
518
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
519
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSourceRequestVO, localVarRequestOptions, configuration);
520
+ return [2, {
521
+ url: (0, common_1.toPathString)(localVarUrlObj),
522
+ options: localVarRequestOptions,
523
+ }];
524
+ });
525
+ });
165
526
  },
166
527
  };
167
528
  };
168
529
  exports.SourceControllerApiAxiosParamCreator = SourceControllerApiAxiosParamCreator;
169
- const SourceControllerApiFp = function (configuration) {
170
- const localVarAxiosParamCreator = (0, exports.SourceControllerApiAxiosParamCreator)(configuration);
530
+ var SourceControllerApiFp = function (configuration) {
531
+ var localVarAxiosParamCreator = (0, exports.SourceControllerApiAxiosParamCreator)(configuration);
171
532
  return {
172
- async create1(createSourceRequestVO, options) {
173
- var _a, _b, _c;
174
- const localVarAxiosArgs = await localVarAxiosParamCreator.create1(createSourceRequestVO, options);
175
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
176
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.create1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
177
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
178
- },
179
- async getDetail1(id, options) {
180
- var _a, _b, _c;
181
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDetail1(id, options);
182
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
183
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.getDetail1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
184
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
185
- },
186
- async list1(creatorId, title, pageSize, cursor, options) {
187
- var _a, _b, _c;
188
- const localVarAxiosArgs = await localVarAxiosParamCreator.list1(creatorId, title, pageSize, cursor, options);
189
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
190
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.list1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
191
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
192
- },
193
- async setToUploaded(setSourceToUploadedRequestVO, options) {
194
- var _a, _b, _c;
195
- const localVarAxiosArgs = await localVarAxiosParamCreator.setToUploaded(setSourceToUploadedRequestVO, options);
196
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
197
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.setToUploaded']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
198
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
199
- },
200
- async update(updateSourceRequestVO, options) {
201
- var _a, _b, _c;
202
- const localVarAxiosArgs = await localVarAxiosParamCreator.update(updateSourceRequestVO, options);
203
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
204
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.update']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
205
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
533
+ create1: function (createSourceRequestVO, options) {
534
+ return __awaiter(this, void 0, void 0, function () {
535
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
536
+ var _a, _b, _c;
537
+ return __generator(this, function (_d) {
538
+ switch (_d.label) {
539
+ case 0: return [4, localVarAxiosParamCreator.create1(createSourceRequestVO, options)];
540
+ case 1:
541
+ localVarAxiosArgs = _d.sent();
542
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
543
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.create1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
544
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
545
+ }
546
+ });
547
+ });
548
+ },
549
+ getDetail1: function (id, options) {
550
+ return __awaiter(this, void 0, void 0, function () {
551
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
552
+ var _a, _b, _c;
553
+ return __generator(this, function (_d) {
554
+ switch (_d.label) {
555
+ case 0: return [4, localVarAxiosParamCreator.getDetail1(id, options)];
556
+ case 1:
557
+ localVarAxiosArgs = _d.sent();
558
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
559
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.getDetail1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
560
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
561
+ }
562
+ });
563
+ });
564
+ },
565
+ list1: function (creatorId, title, pageSize, cursor, options) {
566
+ return __awaiter(this, void 0, void 0, function () {
567
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
568
+ var _a, _b, _c;
569
+ return __generator(this, function (_d) {
570
+ switch (_d.label) {
571
+ case 0: return [4, localVarAxiosParamCreator.list1(creatorId, title, pageSize, cursor, options)];
572
+ case 1:
573
+ localVarAxiosArgs = _d.sent();
574
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
575
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.list1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
576
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
577
+ }
578
+ });
579
+ });
580
+ },
581
+ setToUploaded: function (setSourceToUploadedRequestVO, options) {
582
+ return __awaiter(this, void 0, void 0, function () {
583
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
584
+ var _a, _b, _c;
585
+ return __generator(this, function (_d) {
586
+ switch (_d.label) {
587
+ case 0: return [4, localVarAxiosParamCreator.setToUploaded(setSourceToUploadedRequestVO, options)];
588
+ case 1:
589
+ localVarAxiosArgs = _d.sent();
590
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
591
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.setToUploaded']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
592
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
593
+ }
594
+ });
595
+ });
596
+ },
597
+ test: function (options) {
598
+ return __awaiter(this, void 0, void 0, function () {
599
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
600
+ var _a, _b, _c;
601
+ return __generator(this, function (_d) {
602
+ switch (_d.label) {
603
+ case 0: return [4, localVarAxiosParamCreator.test(options)];
604
+ case 1:
605
+ localVarAxiosArgs = _d.sent();
606
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
607
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.test']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
608
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
609
+ }
610
+ });
611
+ });
612
+ },
613
+ update: function (updateSourceRequestVO, options) {
614
+ return __awaiter(this, void 0, void 0, function () {
615
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
616
+ var _a, _b, _c;
617
+ return __generator(this, function (_d) {
618
+ switch (_d.label) {
619
+ case 0: return [4, localVarAxiosParamCreator.update(updateSourceRequestVO, options)];
620
+ case 1:
621
+ localVarAxiosArgs = _d.sent();
622
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
623
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.update']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
624
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
625
+ }
626
+ });
627
+ });
206
628
  },
207
629
  };
208
630
  };
209
631
  exports.SourceControllerApiFp = SourceControllerApiFp;
210
- const SourceControllerApiFactory = function (configuration, basePath, axios) {
211
- const localVarFp = (0, exports.SourceControllerApiFp)(configuration);
632
+ var SourceControllerApiFactory = function (configuration, basePath, axios) {
633
+ var localVarFp = (0, exports.SourceControllerApiFp)(configuration);
212
634
  return {
213
- create1(createSourceRequestVO, options) {
214
- return localVarFp.create1(createSourceRequestVO, options).then((request) => request(axios, basePath));
635
+ create1: function (createSourceRequestVO, options) {
636
+ return localVarFp.create1(createSourceRequestVO, options).then(function (request) { return request(axios, basePath); });
637
+ },
638
+ getDetail1: function (id, options) {
639
+ return localVarFp.getDetail1(id, options).then(function (request) { return request(axios, basePath); });
215
640
  },
216
- getDetail1(id, options) {
217
- return localVarFp.getDetail1(id, options).then((request) => request(axios, basePath));
641
+ list1: function (creatorId, title, pageSize, cursor, options) {
642
+ return localVarFp.list1(creatorId, title, pageSize, cursor, options).then(function (request) { return request(axios, basePath); });
218
643
  },
219
- list1(creatorId, title, pageSize, cursor, options) {
220
- return localVarFp.list1(creatorId, title, pageSize, cursor, options).then((request) => request(axios, basePath));
644
+ setToUploaded: function (setSourceToUploadedRequestVO, options) {
645
+ return localVarFp.setToUploaded(setSourceToUploadedRequestVO, options).then(function (request) { return request(axios, basePath); });
221
646
  },
222
- setToUploaded(setSourceToUploadedRequestVO, options) {
223
- return localVarFp.setToUploaded(setSourceToUploadedRequestVO, options).then((request) => request(axios, basePath));
647
+ test: function (options) {
648
+ return localVarFp.test(options).then(function (request) { return request(axios, basePath); });
224
649
  },
225
- update(updateSourceRequestVO, options) {
226
- return localVarFp.update(updateSourceRequestVO, options).then((request) => request(axios, basePath));
650
+ update: function (updateSourceRequestVO, options) {
651
+ return localVarFp.update(updateSourceRequestVO, options).then(function (request) { return request(axios, basePath); });
227
652
  },
228
653
  };
229
654
  };
230
655
  exports.SourceControllerApiFactory = SourceControllerApiFactory;
231
- class SourceControllerApi extends base_1.BaseAPI {
232
- create1(createSourceRequestVO, options) {
233
- return (0, exports.SourceControllerApiFp)(this.configuration).create1(createSourceRequestVO, options).then((request) => request(this.axios, this.basePath));
656
+ var SourceControllerApi = (function (_super) {
657
+ __extends(SourceControllerApi, _super);
658
+ function SourceControllerApi() {
659
+ return _super !== null && _super.apply(this, arguments) || this;
234
660
  }
235
- getDetail1(id, options) {
236
- return (0, exports.SourceControllerApiFp)(this.configuration).getDetail1(id, options).then((request) => request(this.axios, this.basePath));
237
- }
238
- list1(creatorId, title, pageSize, cursor, options) {
239
- return (0, exports.SourceControllerApiFp)(this.configuration).list1(creatorId, title, pageSize, cursor, options).then((request) => request(this.axios, this.basePath));
240
- }
241
- setToUploaded(setSourceToUploadedRequestVO, options) {
242
- return (0, exports.SourceControllerApiFp)(this.configuration).setToUploaded(setSourceToUploadedRequestVO, options).then((request) => request(this.axios, this.basePath));
243
- }
244
- update(updateSourceRequestVO, options) {
245
- return (0, exports.SourceControllerApiFp)(this.configuration).update(updateSourceRequestVO, options).then((request) => request(this.axios, this.basePath));
246
- }
247
- }
661
+ SourceControllerApi.prototype.create1 = function (createSourceRequestVO, options) {
662
+ var _this = this;
663
+ return (0, exports.SourceControllerApiFp)(this.configuration).create1(createSourceRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
664
+ };
665
+ SourceControllerApi.prototype.getDetail1 = function (id, options) {
666
+ var _this = this;
667
+ return (0, exports.SourceControllerApiFp)(this.configuration).getDetail1(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
668
+ };
669
+ SourceControllerApi.prototype.list1 = function (creatorId, title, pageSize, cursor, options) {
670
+ var _this = this;
671
+ return (0, exports.SourceControllerApiFp)(this.configuration).list1(creatorId, title, pageSize, cursor, options).then(function (request) { return request(_this.axios, _this.basePath); });
672
+ };
673
+ SourceControllerApi.prototype.setToUploaded = function (setSourceToUploadedRequestVO, options) {
674
+ var _this = this;
675
+ return (0, exports.SourceControllerApiFp)(this.configuration).setToUploaded(setSourceToUploadedRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
676
+ };
677
+ SourceControllerApi.prototype.test = function (options) {
678
+ var _this = this;
679
+ return (0, exports.SourceControllerApiFp)(this.configuration).test(options).then(function (request) { return request(_this.axios, _this.basePath); });
680
+ };
681
+ SourceControllerApi.prototype.update = function (updateSourceRequestVO, options) {
682
+ var _this = this;
683
+ return (0, exports.SourceControllerApiFp)(this.configuration).update(updateSourceRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
684
+ };
685
+ return SourceControllerApi;
686
+ }(base_1.BaseAPI));
248
687
  exports.SourceControllerApi = SourceControllerApi;
249
- const TaskControllerApiAxiosParamCreator = function (configuration) {
688
+ var TaskControllerApiAxiosParamCreator = function (configuration) {
689
+ var _this = this;
250
690
  return {
251
- create: async (createTaskRequestVO, options = {}) => {
252
- (0, common_1.assertParamExists)('create', 'createTaskRequestVO', createTaskRequestVO);
253
- const localVarPath = `/api/tasks`;
254
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
255
- let baseOptions;
256
- if (configuration) {
257
- baseOptions = configuration.baseOptions;
258
- }
259
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
260
- const localVarHeaderParameter = {};
261
- const localVarQueryParameter = {};
262
- localVarHeaderParameter['Content-Type'] = 'application/json';
263
- localVarHeaderParameter['Accept'] = '*/*';
264
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
265
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
266
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
267
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createTaskRequestVO, localVarRequestOptions, configuration);
268
- return {
269
- url: (0, common_1.toPathString)(localVarUrlObj),
270
- options: localVarRequestOptions,
271
- };
272
- },
273
- getDetail: async (id, options = {}) => {
274
- (0, common_1.assertParamExists)('getDetail', 'id', id);
275
- const localVarPath = `/api/tasks/{id}`
276
- .replace('{id}', encodeURIComponent(String(id)));
277
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
278
- let baseOptions;
279
- if (configuration) {
280
- baseOptions = configuration.baseOptions;
691
+ create: function (createTaskRequestVO_1) {
692
+ var args_1 = [];
693
+ for (var _i = 1; _i < arguments.length; _i++) {
694
+ args_1[_i - 1] = arguments[_i];
281
695
  }
282
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
283
- const localVarHeaderParameter = {};
284
- const localVarQueryParameter = {};
285
- localVarHeaderParameter['Accept'] = '*/*';
286
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
287
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
288
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
289
- return {
290
- url: (0, common_1.toPathString)(localVarUrlObj),
291
- options: localVarRequestOptions,
292
- };
293
- },
294
- list: async (creatorId, pageSize, cursor, options = {}) => {
295
- const localVarPath = `/api/tasks`;
296
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
297
- let baseOptions;
298
- if (configuration) {
299
- baseOptions = configuration.baseOptions;
300
- }
301
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
302
- const localVarHeaderParameter = {};
303
- const localVarQueryParameter = {};
304
- if (creatorId !== undefined) {
305
- localVarQueryParameter['creatorId'] = creatorId;
306
- }
307
- if (pageSize !== undefined) {
308
- localVarQueryParameter['pageSize'] = pageSize;
696
+ return __awaiter(_this, __spreadArray([createTaskRequestVO_1], __read(args_1), false), void 0, function (createTaskRequestVO, options) {
697
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
698
+ if (options === void 0) { options = {}; }
699
+ return __generator(this, function (_a) {
700
+ (0, common_1.assertParamExists)('create', 'createTaskRequestVO', createTaskRequestVO);
701
+ localVarPath = "/api/tasks";
702
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
703
+ if (configuration) {
704
+ baseOptions = configuration.baseOptions;
705
+ }
706
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
707
+ localVarHeaderParameter = {};
708
+ localVarQueryParameter = {};
709
+ localVarHeaderParameter['Content-Type'] = 'application/json';
710
+ localVarHeaderParameter['Accept'] = '*/*';
711
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
712
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
713
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
714
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createTaskRequestVO, localVarRequestOptions, configuration);
715
+ return [2, {
716
+ url: (0, common_1.toPathString)(localVarUrlObj),
717
+ options: localVarRequestOptions,
718
+ }];
719
+ });
720
+ });
721
+ },
722
+ getDetail: function (id_1) {
723
+ var args_1 = [];
724
+ for (var _i = 1; _i < arguments.length; _i++) {
725
+ args_1[_i - 1] = arguments[_i];
309
726
  }
310
- if (cursor !== undefined) {
311
- localVarQueryParameter['cursor'] = cursor;
727
+ return __awaiter(_this, __spreadArray([id_1], __read(args_1), false), void 0, function (id, options) {
728
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
729
+ if (options === void 0) { options = {}; }
730
+ return __generator(this, function (_a) {
731
+ (0, common_1.assertParamExists)('getDetail', 'id', id);
732
+ localVarPath = "/api/tasks/{id}"
733
+ .replace('{id}', encodeURIComponent(String(id)));
734
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
735
+ if (configuration) {
736
+ baseOptions = configuration.baseOptions;
737
+ }
738
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
739
+ localVarHeaderParameter = {};
740
+ localVarQueryParameter = {};
741
+ localVarHeaderParameter['Accept'] = '*/*';
742
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
743
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
744
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
745
+ return [2, {
746
+ url: (0, common_1.toPathString)(localVarUrlObj),
747
+ options: localVarRequestOptions,
748
+ }];
749
+ });
750
+ });
751
+ },
752
+ list: function (creatorId_1, pageSize_1, cursor_1) {
753
+ var args_1 = [];
754
+ for (var _i = 3; _i < arguments.length; _i++) {
755
+ args_1[_i - 3] = arguments[_i];
312
756
  }
313
- localVarHeaderParameter['Accept'] = '*/*';
314
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
315
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
316
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
317
- return {
318
- url: (0, common_1.toPathString)(localVarUrlObj),
319
- options: localVarRequestOptions,
320
- };
757
+ return __awaiter(_this, __spreadArray([creatorId_1, pageSize_1, cursor_1], __read(args_1), false), void 0, function (creatorId, pageSize, cursor, options) {
758
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
759
+ if (options === void 0) { options = {}; }
760
+ return __generator(this, function (_a) {
761
+ localVarPath = "/api/tasks";
762
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
763
+ if (configuration) {
764
+ baseOptions = configuration.baseOptions;
765
+ }
766
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
767
+ localVarHeaderParameter = {};
768
+ localVarQueryParameter = {};
769
+ if (creatorId !== undefined) {
770
+ localVarQueryParameter['creatorId'] = creatorId;
771
+ }
772
+ if (pageSize !== undefined) {
773
+ localVarQueryParameter['pageSize'] = pageSize;
774
+ }
775
+ if (cursor !== undefined) {
776
+ localVarQueryParameter['cursor'] = cursor;
777
+ }
778
+ localVarHeaderParameter['Accept'] = '*/*';
779
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
780
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
781
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
782
+ return [2, {
783
+ url: (0, common_1.toPathString)(localVarUrlObj),
784
+ options: localVarRequestOptions,
785
+ }];
786
+ });
787
+ });
321
788
  },
322
789
  };
323
790
  };
324
791
  exports.TaskControllerApiAxiosParamCreator = TaskControllerApiAxiosParamCreator;
325
- const TaskControllerApiFp = function (configuration) {
326
- const localVarAxiosParamCreator = (0, exports.TaskControllerApiAxiosParamCreator)(configuration);
792
+ var TaskControllerApiFp = function (configuration) {
793
+ var localVarAxiosParamCreator = (0, exports.TaskControllerApiAxiosParamCreator)(configuration);
327
794
  return {
328
- async create(createTaskRequestVO, options) {
329
- var _a, _b, _c;
330
- const localVarAxiosArgs = await localVarAxiosParamCreator.create(createTaskRequestVO, options);
331
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
332
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.create']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
333
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
334
- },
335
- async getDetail(id, options) {
336
- var _a, _b, _c;
337
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDetail(id, options);
338
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
339
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.getDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
340
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
341
- },
342
- async list(creatorId, pageSize, cursor, options) {
343
- var _a, _b, _c;
344
- const localVarAxiosArgs = await localVarAxiosParamCreator.list(creatorId, pageSize, cursor, options);
345
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
346
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.list']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
347
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
795
+ create: function (createTaskRequestVO, options) {
796
+ return __awaiter(this, void 0, void 0, function () {
797
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
798
+ var _a, _b, _c;
799
+ return __generator(this, function (_d) {
800
+ switch (_d.label) {
801
+ case 0: return [4, localVarAxiosParamCreator.create(createTaskRequestVO, options)];
802
+ case 1:
803
+ localVarAxiosArgs = _d.sent();
804
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
805
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.create']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
806
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
807
+ }
808
+ });
809
+ });
810
+ },
811
+ getDetail: function (id, options) {
812
+ return __awaiter(this, void 0, void 0, function () {
813
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
814
+ var _a, _b, _c;
815
+ return __generator(this, function (_d) {
816
+ switch (_d.label) {
817
+ case 0: return [4, localVarAxiosParamCreator.getDetail(id, options)];
818
+ case 1:
819
+ localVarAxiosArgs = _d.sent();
820
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
821
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.getDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
822
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
823
+ }
824
+ });
825
+ });
826
+ },
827
+ list: function (creatorId, pageSize, cursor, options) {
828
+ return __awaiter(this, void 0, void 0, function () {
829
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
830
+ var _a, _b, _c;
831
+ return __generator(this, function (_d) {
832
+ switch (_d.label) {
833
+ case 0: return [4, localVarAxiosParamCreator.list(creatorId, pageSize, cursor, options)];
834
+ case 1:
835
+ localVarAxiosArgs = _d.sent();
836
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
837
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.list']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
838
+ return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
839
+ }
840
+ });
841
+ });
348
842
  },
349
843
  };
350
844
  };
351
845
  exports.TaskControllerApiFp = TaskControllerApiFp;
352
- const TaskControllerApiFactory = function (configuration, basePath, axios) {
353
- const localVarFp = (0, exports.TaskControllerApiFp)(configuration);
846
+ var TaskControllerApiFactory = function (configuration, basePath, axios) {
847
+ var localVarFp = (0, exports.TaskControllerApiFp)(configuration);
354
848
  return {
355
- create(createTaskRequestVO, options) {
356
- return localVarFp.create(createTaskRequestVO, options).then((request) => request(axios, basePath));
849
+ create: function (createTaskRequestVO, options) {
850
+ return localVarFp.create(createTaskRequestVO, options).then(function (request) { return request(axios, basePath); });
357
851
  },
358
- getDetail(id, options) {
359
- return localVarFp.getDetail(id, options).then((request) => request(axios, basePath));
852
+ getDetail: function (id, options) {
853
+ return localVarFp.getDetail(id, options).then(function (request) { return request(axios, basePath); });
360
854
  },
361
- list(creatorId, pageSize, cursor, options) {
362
- return localVarFp.list(creatorId, pageSize, cursor, options).then((request) => request(axios, basePath));
855
+ list: function (creatorId, pageSize, cursor, options) {
856
+ return localVarFp.list(creatorId, pageSize, cursor, options).then(function (request) { return request(axios, basePath); });
363
857
  },
364
858
  };
365
859
  };
366
860
  exports.TaskControllerApiFactory = TaskControllerApiFactory;
367
- class TaskControllerApi extends base_1.BaseAPI {
368
- create(createTaskRequestVO, options) {
369
- return (0, exports.TaskControllerApiFp)(this.configuration).create(createTaskRequestVO, options).then((request) => request(this.axios, this.basePath));
861
+ var TaskControllerApi = (function (_super) {
862
+ __extends(TaskControllerApi, _super);
863
+ function TaskControllerApi() {
864
+ return _super !== null && _super.apply(this, arguments) || this;
370
865
  }
371
- getDetail(id, options) {
372
- return (0, exports.TaskControllerApiFp)(this.configuration).getDetail(id, options).then((request) => request(this.axios, this.basePath));
373
- }
374
- list(creatorId, pageSize, cursor, options) {
375
- return (0, exports.TaskControllerApiFp)(this.configuration).list(creatorId, pageSize, cursor, options).then((request) => request(this.axios, this.basePath));
376
- }
377
- }
866
+ TaskControllerApi.prototype.create = function (createTaskRequestVO, options) {
867
+ var _this = this;
868
+ return (0, exports.TaskControllerApiFp)(this.configuration).create(createTaskRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
869
+ };
870
+ TaskControllerApi.prototype.getDetail = function (id, options) {
871
+ var _this = this;
872
+ return (0, exports.TaskControllerApiFp)(this.configuration).getDetail(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
873
+ };
874
+ TaskControllerApi.prototype.list = function (creatorId, pageSize, cursor, options) {
875
+ var _this = this;
876
+ return (0, exports.TaskControllerApiFp)(this.configuration).list(creatorId, pageSize, cursor, options).then(function (request) { return request(_this.axios, _this.basePath); });
877
+ };
878
+ return TaskControllerApi;
879
+ }(base_1.BaseAPI));
378
880
  exports.TaskControllerApi = TaskControllerApi;