@nauti/dash-client 1.0.2-beta.405.1 → 1.0.2-beta.406.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.d.ts +73 -259
- package/dist/api.js +127 -193
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -90,25 +90,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
90
90
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
91
91
|
};
|
|
92
92
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.
|
|
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.TaskVOTierEnum = exports.TaskVOTargetVersionEnum = exports.TaskVOTargetPlatformEnum = exports.TaskStatusVOStatusEnum = exports.CreateTaskRequestVOTierEnum = exports.CreateTaskRequestVOTargetVersionEnum = exports.CreateTaskRequestVOTargetPlatformEnum = void 0;
|
|
94
94
|
var axios_1 = __importDefault(require("axios"));
|
|
95
95
|
var common_1 = require("./common");
|
|
96
96
|
var base_1 = require("./base");
|
|
97
|
-
exports.CreateSource200ResponseSucceededEnum = {
|
|
98
|
-
False: 'false',
|
|
99
|
-
};
|
|
100
|
-
exports.CreateSource200ResponseAnyOfSucceededEnum = {
|
|
101
|
-
True: 'true',
|
|
102
|
-
};
|
|
103
|
-
exports.CreateTask200ResponseSucceededEnum = {
|
|
104
|
-
False: 'false',
|
|
105
|
-
};
|
|
106
|
-
exports.CreateTask200ResponseAnyOfSucceededEnum = {
|
|
107
|
-
True: 'true',
|
|
108
|
-
};
|
|
109
|
-
exports.CreateTask200ResponseAnyOf1SucceededEnum = {
|
|
110
|
-
False: 'false',
|
|
111
|
-
};
|
|
112
97
|
exports.CreateTaskRequestVOTargetPlatformEnum = {
|
|
113
98
|
AlpineArm64: 'alpine-arm64',
|
|
114
99
|
AlpineX64: 'alpine-x64',
|
|
@@ -126,45 +111,6 @@ exports.CreateTaskRequestVOTierEnum = {
|
|
|
126
111
|
Starter: 'STARTER',
|
|
127
112
|
Premium: 'PREMIUM',
|
|
128
113
|
};
|
|
129
|
-
exports.GenerateUploadTokenForSource200ResponseSucceededEnum = {
|
|
130
|
-
False: 'false',
|
|
131
|
-
};
|
|
132
|
-
exports.GenerateUploadTokenForSource200ResponseAnyOfSucceededEnum = {
|
|
133
|
-
True: 'true',
|
|
134
|
-
};
|
|
135
|
-
exports.GetSourceDetail200ResponseSucceededEnum = {
|
|
136
|
-
False: 'false',
|
|
137
|
-
};
|
|
138
|
-
exports.GetSourceDetail200ResponseAnyOfSucceededEnum = {
|
|
139
|
-
True: 'true',
|
|
140
|
-
};
|
|
141
|
-
exports.GetTaskDetail200ResponseSucceededEnum = {
|
|
142
|
-
False: 'false',
|
|
143
|
-
};
|
|
144
|
-
exports.GetTaskDetail200ResponseAnyOfSucceededEnum = {
|
|
145
|
-
True: 'true',
|
|
146
|
-
};
|
|
147
|
-
exports.ListSources200ResponseSucceededEnum = {
|
|
148
|
-
False: 'false',
|
|
149
|
-
};
|
|
150
|
-
exports.ListSources200ResponseAnyOfSucceededEnum = {
|
|
151
|
-
True: 'true',
|
|
152
|
-
};
|
|
153
|
-
exports.ListTasks200ResponseSucceededEnum = {
|
|
154
|
-
False: 'false',
|
|
155
|
-
};
|
|
156
|
-
exports.ListTasks200ResponseAnyOfSucceededEnum = {
|
|
157
|
-
True: 'true',
|
|
158
|
-
};
|
|
159
|
-
exports.ListTasks200ResponseAnyOf1SucceededEnum = {
|
|
160
|
-
False: 'false',
|
|
161
|
-
};
|
|
162
|
-
exports.ReadDynamicConfig200ResponseSucceededEnum = {
|
|
163
|
-
False: 'false',
|
|
164
|
-
};
|
|
165
|
-
exports.ReadDynamicConfig200ResponseAnyOfSucceededEnum = {
|
|
166
|
-
True: 'true',
|
|
167
|
-
};
|
|
168
114
|
exports.TaskStatusVOStatusEnum = {
|
|
169
115
|
Picked: 'PICKED',
|
|
170
116
|
Succeeded: 'SUCCEEDED',
|
|
@@ -187,22 +133,10 @@ exports.TaskVOTierEnum = {
|
|
|
187
133
|
Starter: 'STARTER',
|
|
188
134
|
Premium: 'PREMIUM',
|
|
189
135
|
};
|
|
190
|
-
exports.UpdateSource200ResponseSucceededEnum = {
|
|
191
|
-
False: 'false',
|
|
192
|
-
};
|
|
193
|
-
exports.UpdateSource200ResponseAnyOfSucceededEnum = {
|
|
194
|
-
True: 'true',
|
|
195
|
-
};
|
|
196
|
-
exports.UpdateSourceUploadStatus200ResponseSucceededEnum = {
|
|
197
|
-
False: 'false',
|
|
198
|
-
};
|
|
199
|
-
exports.UpdateSourceUploadStatus200ResponseAnyOfSucceededEnum = {
|
|
200
|
-
True: 'true',
|
|
201
|
-
};
|
|
202
136
|
var DynamicConfigControllerApiAxiosParamCreator = function (configuration) {
|
|
203
137
|
var _this = this;
|
|
204
138
|
return {
|
|
205
|
-
|
|
139
|
+
read: function (configPath_1, objectPath_1) {
|
|
206
140
|
var args_1 = [];
|
|
207
141
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
208
142
|
args_1[_i - 2] = arguments[_i];
|
|
@@ -211,8 +145,8 @@ var DynamicConfigControllerApiAxiosParamCreator = function (configuration) {
|
|
|
211
145
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
212
146
|
if (options === void 0) { options = {}; }
|
|
213
147
|
return __generator(this, function (_a) {
|
|
214
|
-
(0, common_1.assertParamExists)('
|
|
215
|
-
(0, common_1.assertParamExists)('
|
|
148
|
+
(0, common_1.assertParamExists)('read', 'configPath', configPath);
|
|
149
|
+
(0, common_1.assertParamExists)('read', 'objectPath', objectPath);
|
|
216
150
|
localVarPath = "/api/dynamicConfig/{configPath}/{objectPath}"
|
|
217
151
|
.replace('{configPath}', encodeURIComponent(String(configPath)))
|
|
218
152
|
.replace('{objectPath}', encodeURIComponent(String(objectPath)));
|
|
@@ -234,7 +168,7 @@ var DynamicConfigControllerApiAxiosParamCreator = function (configuration) {
|
|
|
234
168
|
});
|
|
235
169
|
});
|
|
236
170
|
},
|
|
237
|
-
|
|
171
|
+
update1: function () {
|
|
238
172
|
var args_1 = [];
|
|
239
173
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
240
174
|
args_1[_i] = arguments[_i];
|
|
@@ -267,33 +201,33 @@ exports.DynamicConfigControllerApiAxiosParamCreator = DynamicConfigControllerApi
|
|
|
267
201
|
var DynamicConfigControllerApiFp = function (configuration) {
|
|
268
202
|
var localVarAxiosParamCreator = (0, exports.DynamicConfigControllerApiAxiosParamCreator)(configuration);
|
|
269
203
|
return {
|
|
270
|
-
|
|
204
|
+
read: function (configPath, objectPath, options) {
|
|
271
205
|
return __awaiter(this, void 0, void 0, function () {
|
|
272
206
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
273
207
|
var _a, _b, _c;
|
|
274
208
|
return __generator(this, function (_d) {
|
|
275
209
|
switch (_d.label) {
|
|
276
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
210
|
+
case 0: return [4, localVarAxiosParamCreator.read(configPath, objectPath, options)];
|
|
277
211
|
case 1:
|
|
278
212
|
localVarAxiosArgs = _d.sent();
|
|
279
213
|
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.
|
|
214
|
+
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
215
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
282
216
|
}
|
|
283
217
|
});
|
|
284
218
|
});
|
|
285
219
|
},
|
|
286
|
-
|
|
220
|
+
update1: function (options) {
|
|
287
221
|
return __awaiter(this, void 0, void 0, function () {
|
|
288
222
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
289
223
|
var _a, _b, _c;
|
|
290
224
|
return __generator(this, function (_d) {
|
|
291
225
|
switch (_d.label) {
|
|
292
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
226
|
+
case 0: return [4, localVarAxiosParamCreator.update1(options)];
|
|
293
227
|
case 1:
|
|
294
228
|
localVarAxiosArgs = _d.sent();
|
|
295
229
|
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.
|
|
230
|
+
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
231
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
298
232
|
}
|
|
299
233
|
});
|
|
@@ -305,11 +239,11 @@ exports.DynamicConfigControllerApiFp = DynamicConfigControllerApiFp;
|
|
|
305
239
|
var DynamicConfigControllerApiFactory = function (configuration, basePath, axios) {
|
|
306
240
|
var localVarFp = (0, exports.DynamicConfigControllerApiFp)(configuration);
|
|
307
241
|
return {
|
|
308
|
-
|
|
309
|
-
return localVarFp.
|
|
242
|
+
read: function (configPath, objectPath, options) {
|
|
243
|
+
return localVarFp.read(configPath, objectPath, options).then(function (request) { return request(axios, basePath); });
|
|
310
244
|
},
|
|
311
|
-
|
|
312
|
-
return localVarFp.
|
|
245
|
+
update1: function (options) {
|
|
246
|
+
return localVarFp.update1(options).then(function (request) { return request(axios, basePath); });
|
|
313
247
|
},
|
|
314
248
|
};
|
|
315
249
|
};
|
|
@@ -319,13 +253,13 @@ var DynamicConfigControllerApi = (function (_super) {
|
|
|
319
253
|
function DynamicConfigControllerApi() {
|
|
320
254
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
321
255
|
}
|
|
322
|
-
DynamicConfigControllerApi.prototype.
|
|
256
|
+
DynamicConfigControllerApi.prototype.read = function (configPath, objectPath, options) {
|
|
323
257
|
var _this = this;
|
|
324
|
-
return (0, exports.DynamicConfigControllerApiFp)(this.configuration).
|
|
258
|
+
return (0, exports.DynamicConfigControllerApiFp)(this.configuration).read(configPath, objectPath, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
325
259
|
};
|
|
326
|
-
DynamicConfigControllerApi.prototype.
|
|
260
|
+
DynamicConfigControllerApi.prototype.update1 = function (options) {
|
|
327
261
|
var _this = this;
|
|
328
|
-
return (0, exports.DynamicConfigControllerApiFp)(this.configuration).
|
|
262
|
+
return (0, exports.DynamicConfigControllerApiFp)(this.configuration).update1(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
329
263
|
};
|
|
330
264
|
return DynamicConfigControllerApi;
|
|
331
265
|
}(base_1.BaseAPI));
|
|
@@ -333,7 +267,7 @@ exports.DynamicConfigControllerApi = DynamicConfigControllerApi;
|
|
|
333
267
|
var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
334
268
|
var _this = this;
|
|
335
269
|
return {
|
|
336
|
-
|
|
270
|
+
create1: function (createSourceRequestVO_1) {
|
|
337
271
|
var args_1 = [];
|
|
338
272
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
339
273
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -342,7 +276,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
342
276
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
343
277
|
if (options === void 0) { options = {}; }
|
|
344
278
|
return __generator(this, function (_a) {
|
|
345
|
-
(0, common_1.assertParamExists)('
|
|
279
|
+
(0, common_1.assertParamExists)('create1', 'createSourceRequestVO', createSourceRequestVO);
|
|
346
280
|
localVarPath = "/api/sources";
|
|
347
281
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
348
282
|
if (configuration) {
|
|
@@ -364,7 +298,38 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
364
298
|
});
|
|
365
299
|
});
|
|
366
300
|
},
|
|
367
|
-
|
|
301
|
+
flushUploadStatus: function (setSourceToUploadedRequestVO_1) {
|
|
302
|
+
var args_1 = [];
|
|
303
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
304
|
+
args_1[_i - 1] = arguments[_i];
|
|
305
|
+
}
|
|
306
|
+
return __awaiter(_this, __spreadArray([setSourceToUploadedRequestVO_1], __read(args_1), false), void 0, function (setSourceToUploadedRequestVO, options) {
|
|
307
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
308
|
+
if (options === void 0) { options = {}; }
|
|
309
|
+
return __generator(this, function (_a) {
|
|
310
|
+
(0, common_1.assertParamExists)('flushUploadStatus', 'setSourceToUploadedRequestVO', setSourceToUploadedRequestVO);
|
|
311
|
+
localVarPath = "/api/sources/uploaded";
|
|
312
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
313
|
+
if (configuration) {
|
|
314
|
+
baseOptions = configuration.baseOptions;
|
|
315
|
+
}
|
|
316
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
317
|
+
localVarHeaderParameter = {};
|
|
318
|
+
localVarQueryParameter = {};
|
|
319
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
320
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
321
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
322
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
323
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
324
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setSourceToUploadedRequestVO, localVarRequestOptions, configuration);
|
|
325
|
+
return [2, {
|
|
326
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
327
|
+
options: localVarRequestOptions,
|
|
328
|
+
}];
|
|
329
|
+
});
|
|
330
|
+
});
|
|
331
|
+
},
|
|
332
|
+
generateUploadToken: function (id_1) {
|
|
368
333
|
var args_1 = [];
|
|
369
334
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
370
335
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -373,7 +338,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
373
338
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
374
339
|
if (options === void 0) { options = {}; }
|
|
375
340
|
return __generator(this, function (_a) {
|
|
376
|
-
(0, common_1.assertParamExists)('
|
|
341
|
+
(0, common_1.assertParamExists)('generateUploadToken', 'id', id);
|
|
377
342
|
localVarPath = "/api/sources/{id}/uploadToken"
|
|
378
343
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
379
344
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -394,7 +359,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
394
359
|
});
|
|
395
360
|
});
|
|
396
361
|
},
|
|
397
|
-
|
|
362
|
+
getDetail1: function (id_1) {
|
|
398
363
|
var args_1 = [];
|
|
399
364
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
400
365
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -403,7 +368,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
403
368
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
404
369
|
if (options === void 0) { options = {}; }
|
|
405
370
|
return __generator(this, function (_a) {
|
|
406
|
-
(0, common_1.assertParamExists)('
|
|
371
|
+
(0, common_1.assertParamExists)('getDetail1', 'id', id);
|
|
407
372
|
localVarPath = "/api/sources/{id}"
|
|
408
373
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
409
374
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -424,7 +389,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
424
389
|
});
|
|
425
390
|
});
|
|
426
391
|
},
|
|
427
|
-
|
|
392
|
+
list1: function (creatorId_1, title_1, pageSize_1, cursor_1) {
|
|
428
393
|
var args_1 = [];
|
|
429
394
|
for (var _i = 4; _i < arguments.length; _i++) {
|
|
430
395
|
args_1[_i - 4] = arguments[_i];
|
|
@@ -464,7 +429,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
464
429
|
});
|
|
465
430
|
});
|
|
466
431
|
},
|
|
467
|
-
|
|
432
|
+
update: function (updateSourceRequestVO_1) {
|
|
468
433
|
var args_1 = [];
|
|
469
434
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
470
435
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -473,7 +438,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
473
438
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
474
439
|
if (options === void 0) { options = {}; }
|
|
475
440
|
return __generator(this, function (_a) {
|
|
476
|
-
(0, common_1.assertParamExists)('
|
|
441
|
+
(0, common_1.assertParamExists)('update', 'updateSourceRequestVO', updateSourceRequestVO);
|
|
477
442
|
localVarPath = "/api/sources";
|
|
478
443
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
479
444
|
if (configuration) {
|
|
@@ -495,134 +460,103 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
495
460
|
});
|
|
496
461
|
});
|
|
497
462
|
},
|
|
498
|
-
updateSourceUploadStatus: function (setSourceToUploadedRequestVO_1) {
|
|
499
|
-
var args_1 = [];
|
|
500
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
501
|
-
args_1[_i - 1] = arguments[_i];
|
|
502
|
-
}
|
|
503
|
-
return __awaiter(_this, __spreadArray([setSourceToUploadedRequestVO_1], __read(args_1), false), void 0, function (setSourceToUploadedRequestVO, options) {
|
|
504
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
505
|
-
if (options === void 0) { options = {}; }
|
|
506
|
-
return __generator(this, function (_a) {
|
|
507
|
-
(0, common_1.assertParamExists)('updateSourceUploadStatus', 'setSourceToUploadedRequestVO', setSourceToUploadedRequestVO);
|
|
508
|
-
localVarPath = "/api/sources/uploaded";
|
|
509
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
510
|
-
if (configuration) {
|
|
511
|
-
baseOptions = configuration.baseOptions;
|
|
512
|
-
}
|
|
513
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
514
|
-
localVarHeaderParameter = {};
|
|
515
|
-
localVarQueryParameter = {};
|
|
516
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
517
|
-
localVarHeaderParameter['Accept'] = '*/*';
|
|
518
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
519
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
520
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
521
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setSourceToUploadedRequestVO, localVarRequestOptions, configuration);
|
|
522
|
-
return [2, {
|
|
523
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
524
|
-
options: localVarRequestOptions,
|
|
525
|
-
}];
|
|
526
|
-
});
|
|
527
|
-
});
|
|
528
|
-
},
|
|
529
463
|
};
|
|
530
464
|
};
|
|
531
465
|
exports.SourceControllerApiAxiosParamCreator = SourceControllerApiAxiosParamCreator;
|
|
532
466
|
var SourceControllerApiFp = function (configuration) {
|
|
533
467
|
var localVarAxiosParamCreator = (0, exports.SourceControllerApiAxiosParamCreator)(configuration);
|
|
534
468
|
return {
|
|
535
|
-
|
|
469
|
+
create1: function (createSourceRequestVO, options) {
|
|
536
470
|
return __awaiter(this, void 0, void 0, function () {
|
|
537
471
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
538
472
|
var _a, _b, _c;
|
|
539
473
|
return __generator(this, function (_d) {
|
|
540
474
|
switch (_d.label) {
|
|
541
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
475
|
+
case 0: return [4, localVarAxiosParamCreator.create1(createSourceRequestVO, options)];
|
|
542
476
|
case 1:
|
|
543
477
|
localVarAxiosArgs = _d.sent();
|
|
544
478
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
545
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.
|
|
479
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.create1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
546
480
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
547
481
|
}
|
|
548
482
|
});
|
|
549
483
|
});
|
|
550
484
|
},
|
|
551
|
-
|
|
485
|
+
flushUploadStatus: function (setSourceToUploadedRequestVO, options) {
|
|
552
486
|
return __awaiter(this, void 0, void 0, function () {
|
|
553
487
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
554
488
|
var _a, _b, _c;
|
|
555
489
|
return __generator(this, function (_d) {
|
|
556
490
|
switch (_d.label) {
|
|
557
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
491
|
+
case 0: return [4, localVarAxiosParamCreator.flushUploadStatus(setSourceToUploadedRequestVO, options)];
|
|
558
492
|
case 1:
|
|
559
493
|
localVarAxiosArgs = _d.sent();
|
|
560
494
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
561
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.
|
|
495
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.flushUploadStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
562
496
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
563
497
|
}
|
|
564
498
|
});
|
|
565
499
|
});
|
|
566
500
|
},
|
|
567
|
-
|
|
501
|
+
generateUploadToken: function (id, options) {
|
|
568
502
|
return __awaiter(this, void 0, void 0, function () {
|
|
569
503
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
570
504
|
var _a, _b, _c;
|
|
571
505
|
return __generator(this, function (_d) {
|
|
572
506
|
switch (_d.label) {
|
|
573
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
507
|
+
case 0: return [4, localVarAxiosParamCreator.generateUploadToken(id, options)];
|
|
574
508
|
case 1:
|
|
575
509
|
localVarAxiosArgs = _d.sent();
|
|
576
510
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
577
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.
|
|
511
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.generateUploadToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
578
512
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
579
513
|
}
|
|
580
514
|
});
|
|
581
515
|
});
|
|
582
516
|
},
|
|
583
|
-
|
|
517
|
+
getDetail1: function (id, options) {
|
|
584
518
|
return __awaiter(this, void 0, void 0, function () {
|
|
585
519
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
586
520
|
var _a, _b, _c;
|
|
587
521
|
return __generator(this, function (_d) {
|
|
588
522
|
switch (_d.label) {
|
|
589
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
523
|
+
case 0: return [4, localVarAxiosParamCreator.getDetail1(id, options)];
|
|
590
524
|
case 1:
|
|
591
525
|
localVarAxiosArgs = _d.sent();
|
|
592
526
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
593
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.
|
|
527
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.getDetail1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
594
528
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
595
529
|
}
|
|
596
530
|
});
|
|
597
531
|
});
|
|
598
532
|
},
|
|
599
|
-
|
|
533
|
+
list1: function (creatorId, title, pageSize, cursor, options) {
|
|
600
534
|
return __awaiter(this, void 0, void 0, function () {
|
|
601
535
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
602
536
|
var _a, _b, _c;
|
|
603
537
|
return __generator(this, function (_d) {
|
|
604
538
|
switch (_d.label) {
|
|
605
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
539
|
+
case 0: return [4, localVarAxiosParamCreator.list1(creatorId, title, pageSize, cursor, options)];
|
|
606
540
|
case 1:
|
|
607
541
|
localVarAxiosArgs = _d.sent();
|
|
608
542
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
609
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.
|
|
543
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.list1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
610
544
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
611
545
|
}
|
|
612
546
|
});
|
|
613
547
|
});
|
|
614
548
|
},
|
|
615
|
-
|
|
549
|
+
update: function (updateSourceRequestVO, options) {
|
|
616
550
|
return __awaiter(this, void 0, void 0, function () {
|
|
617
551
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
618
552
|
var _a, _b, _c;
|
|
619
553
|
return __generator(this, function (_d) {
|
|
620
554
|
switch (_d.label) {
|
|
621
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
555
|
+
case 0: return [4, localVarAxiosParamCreator.update(updateSourceRequestVO, options)];
|
|
622
556
|
case 1:
|
|
623
557
|
localVarAxiosArgs = _d.sent();
|
|
624
558
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
625
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.
|
|
559
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.update']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
626
560
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
627
561
|
}
|
|
628
562
|
});
|
|
@@ -634,23 +568,23 @@ exports.SourceControllerApiFp = SourceControllerApiFp;
|
|
|
634
568
|
var SourceControllerApiFactory = function (configuration, basePath, axios) {
|
|
635
569
|
var localVarFp = (0, exports.SourceControllerApiFp)(configuration);
|
|
636
570
|
return {
|
|
637
|
-
|
|
638
|
-
return localVarFp.
|
|
571
|
+
create1: function (createSourceRequestVO, options) {
|
|
572
|
+
return localVarFp.create1(createSourceRequestVO, options).then(function (request) { return request(axios, basePath); });
|
|
639
573
|
},
|
|
640
|
-
|
|
641
|
-
return localVarFp.
|
|
574
|
+
flushUploadStatus: function (setSourceToUploadedRequestVO, options) {
|
|
575
|
+
return localVarFp.flushUploadStatus(setSourceToUploadedRequestVO, options).then(function (request) { return request(axios, basePath); });
|
|
642
576
|
},
|
|
643
|
-
|
|
644
|
-
return localVarFp.
|
|
577
|
+
generateUploadToken: function (id, options) {
|
|
578
|
+
return localVarFp.generateUploadToken(id, options).then(function (request) { return request(axios, basePath); });
|
|
645
579
|
},
|
|
646
|
-
|
|
647
|
-
return localVarFp.
|
|
580
|
+
getDetail1: function (id, options) {
|
|
581
|
+
return localVarFp.getDetail1(id, options).then(function (request) { return request(axios, basePath); });
|
|
648
582
|
},
|
|
649
|
-
|
|
650
|
-
return localVarFp.
|
|
583
|
+
list1: function (creatorId, title, pageSize, cursor, options) {
|
|
584
|
+
return localVarFp.list1(creatorId, title, pageSize, cursor, options).then(function (request) { return request(axios, basePath); });
|
|
651
585
|
},
|
|
652
|
-
|
|
653
|
-
return localVarFp.
|
|
586
|
+
update: function (updateSourceRequestVO, options) {
|
|
587
|
+
return localVarFp.update(updateSourceRequestVO, options).then(function (request) { return request(axios, basePath); });
|
|
654
588
|
},
|
|
655
589
|
};
|
|
656
590
|
};
|
|
@@ -660,29 +594,29 @@ var SourceControllerApi = (function (_super) {
|
|
|
660
594
|
function SourceControllerApi() {
|
|
661
595
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
662
596
|
}
|
|
663
|
-
SourceControllerApi.prototype.
|
|
597
|
+
SourceControllerApi.prototype.create1 = function (createSourceRequestVO, options) {
|
|
664
598
|
var _this = this;
|
|
665
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
599
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).create1(createSourceRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
666
600
|
};
|
|
667
|
-
SourceControllerApi.prototype.
|
|
601
|
+
SourceControllerApi.prototype.flushUploadStatus = function (setSourceToUploadedRequestVO, options) {
|
|
668
602
|
var _this = this;
|
|
669
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
603
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).flushUploadStatus(setSourceToUploadedRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
670
604
|
};
|
|
671
|
-
SourceControllerApi.prototype.
|
|
605
|
+
SourceControllerApi.prototype.generateUploadToken = function (id, options) {
|
|
672
606
|
var _this = this;
|
|
673
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
607
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).generateUploadToken(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
674
608
|
};
|
|
675
|
-
SourceControllerApi.prototype.
|
|
609
|
+
SourceControllerApi.prototype.getDetail1 = function (id, options) {
|
|
676
610
|
var _this = this;
|
|
677
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
611
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).getDetail1(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
678
612
|
};
|
|
679
|
-
SourceControllerApi.prototype.
|
|
613
|
+
SourceControllerApi.prototype.list1 = function (creatorId, title, pageSize, cursor, options) {
|
|
680
614
|
var _this = this;
|
|
681
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
615
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).list1(creatorId, title, pageSize, cursor, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
682
616
|
};
|
|
683
|
-
SourceControllerApi.prototype.
|
|
617
|
+
SourceControllerApi.prototype.update = function (updateSourceRequestVO, options) {
|
|
684
618
|
var _this = this;
|
|
685
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
619
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).update(updateSourceRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
686
620
|
};
|
|
687
621
|
return SourceControllerApi;
|
|
688
622
|
}(base_1.BaseAPI));
|
|
@@ -690,7 +624,7 @@ exports.SourceControllerApi = SourceControllerApi;
|
|
|
690
624
|
var TaskControllerApiAxiosParamCreator = function (configuration) {
|
|
691
625
|
var _this = this;
|
|
692
626
|
return {
|
|
693
|
-
|
|
627
|
+
create: function (createTaskRequestVO_1) {
|
|
694
628
|
var args_1 = [];
|
|
695
629
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
696
630
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -699,7 +633,7 @@ var TaskControllerApiAxiosParamCreator = function (configuration) {
|
|
|
699
633
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
700
634
|
if (options === void 0) { options = {}; }
|
|
701
635
|
return __generator(this, function (_a) {
|
|
702
|
-
(0, common_1.assertParamExists)('
|
|
636
|
+
(0, common_1.assertParamExists)('create', 'createTaskRequestVO', createTaskRequestVO);
|
|
703
637
|
localVarPath = "/api/tasks";
|
|
704
638
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
705
639
|
if (configuration) {
|
|
@@ -721,7 +655,7 @@ var TaskControllerApiAxiosParamCreator = function (configuration) {
|
|
|
721
655
|
});
|
|
722
656
|
});
|
|
723
657
|
},
|
|
724
|
-
|
|
658
|
+
getDetail: function (id_1) {
|
|
725
659
|
var args_1 = [];
|
|
726
660
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
727
661
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -730,7 +664,7 @@ var TaskControllerApiAxiosParamCreator = function (configuration) {
|
|
|
730
664
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
731
665
|
if (options === void 0) { options = {}; }
|
|
732
666
|
return __generator(this, function (_a) {
|
|
733
|
-
(0, common_1.assertParamExists)('
|
|
667
|
+
(0, common_1.assertParamExists)('getDetail', 'id', id);
|
|
734
668
|
localVarPath = "/api/tasks/{id}"
|
|
735
669
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
736
670
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -751,7 +685,7 @@ var TaskControllerApiAxiosParamCreator = function (configuration) {
|
|
|
751
685
|
});
|
|
752
686
|
});
|
|
753
687
|
},
|
|
754
|
-
|
|
688
|
+
list: function (creatorId_1, pageSize_1, cursor_1) {
|
|
755
689
|
var args_1 = [];
|
|
756
690
|
for (var _i = 3; _i < arguments.length; _i++) {
|
|
757
691
|
args_1[_i - 3] = arguments[_i];
|
|
@@ -794,49 +728,49 @@ exports.TaskControllerApiAxiosParamCreator = TaskControllerApiAxiosParamCreator;
|
|
|
794
728
|
var TaskControllerApiFp = function (configuration) {
|
|
795
729
|
var localVarAxiosParamCreator = (0, exports.TaskControllerApiAxiosParamCreator)(configuration);
|
|
796
730
|
return {
|
|
797
|
-
|
|
731
|
+
create: function (createTaskRequestVO, options) {
|
|
798
732
|
return __awaiter(this, void 0, void 0, function () {
|
|
799
733
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
800
734
|
var _a, _b, _c;
|
|
801
735
|
return __generator(this, function (_d) {
|
|
802
736
|
switch (_d.label) {
|
|
803
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
737
|
+
case 0: return [4, localVarAxiosParamCreator.create(createTaskRequestVO, options)];
|
|
804
738
|
case 1:
|
|
805
739
|
localVarAxiosArgs = _d.sent();
|
|
806
740
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
807
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.
|
|
741
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.create']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
808
742
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
809
743
|
}
|
|
810
744
|
});
|
|
811
745
|
});
|
|
812
746
|
},
|
|
813
|
-
|
|
747
|
+
getDetail: function (id, options) {
|
|
814
748
|
return __awaiter(this, void 0, void 0, function () {
|
|
815
749
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
816
750
|
var _a, _b, _c;
|
|
817
751
|
return __generator(this, function (_d) {
|
|
818
752
|
switch (_d.label) {
|
|
819
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
753
|
+
case 0: return [4, localVarAxiosParamCreator.getDetail(id, options)];
|
|
820
754
|
case 1:
|
|
821
755
|
localVarAxiosArgs = _d.sent();
|
|
822
756
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
823
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.
|
|
757
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.getDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
824
758
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
825
759
|
}
|
|
826
760
|
});
|
|
827
761
|
});
|
|
828
762
|
},
|
|
829
|
-
|
|
763
|
+
list: function (creatorId, pageSize, cursor, options) {
|
|
830
764
|
return __awaiter(this, void 0, void 0, function () {
|
|
831
765
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
832
766
|
var _a, _b, _c;
|
|
833
767
|
return __generator(this, function (_d) {
|
|
834
768
|
switch (_d.label) {
|
|
835
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
769
|
+
case 0: return [4, localVarAxiosParamCreator.list(creatorId, pageSize, cursor, options)];
|
|
836
770
|
case 1:
|
|
837
771
|
localVarAxiosArgs = _d.sent();
|
|
838
772
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
839
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.
|
|
773
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.list']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
840
774
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
841
775
|
}
|
|
842
776
|
});
|
|
@@ -848,14 +782,14 @@ exports.TaskControllerApiFp = TaskControllerApiFp;
|
|
|
848
782
|
var TaskControllerApiFactory = function (configuration, basePath, axios) {
|
|
849
783
|
var localVarFp = (0, exports.TaskControllerApiFp)(configuration);
|
|
850
784
|
return {
|
|
851
|
-
|
|
852
|
-
return localVarFp.
|
|
785
|
+
create: function (createTaskRequestVO, options) {
|
|
786
|
+
return localVarFp.create(createTaskRequestVO, options).then(function (request) { return request(axios, basePath); });
|
|
853
787
|
},
|
|
854
|
-
|
|
855
|
-
return localVarFp.
|
|
788
|
+
getDetail: function (id, options) {
|
|
789
|
+
return localVarFp.getDetail(id, options).then(function (request) { return request(axios, basePath); });
|
|
856
790
|
},
|
|
857
|
-
|
|
858
|
-
return localVarFp.
|
|
791
|
+
list: function (creatorId, pageSize, cursor, options) {
|
|
792
|
+
return localVarFp.list(creatorId, pageSize, cursor, options).then(function (request) { return request(axios, basePath); });
|
|
859
793
|
},
|
|
860
794
|
};
|
|
861
795
|
};
|
|
@@ -865,17 +799,17 @@ var TaskControllerApi = (function (_super) {
|
|
|
865
799
|
function TaskControllerApi() {
|
|
866
800
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
867
801
|
}
|
|
868
|
-
TaskControllerApi.prototype.
|
|
802
|
+
TaskControllerApi.prototype.create = function (createTaskRequestVO, options) {
|
|
869
803
|
var _this = this;
|
|
870
|
-
return (0, exports.TaskControllerApiFp)(this.configuration).
|
|
804
|
+
return (0, exports.TaskControllerApiFp)(this.configuration).create(createTaskRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
871
805
|
};
|
|
872
|
-
TaskControllerApi.prototype.
|
|
806
|
+
TaskControllerApi.prototype.getDetail = function (id, options) {
|
|
873
807
|
var _this = this;
|
|
874
|
-
return (0, exports.TaskControllerApiFp)(this.configuration).
|
|
808
|
+
return (0, exports.TaskControllerApiFp)(this.configuration).getDetail(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
875
809
|
};
|
|
876
|
-
TaskControllerApi.prototype.
|
|
810
|
+
TaskControllerApi.prototype.list = function (creatorId, pageSize, cursor, options) {
|
|
877
811
|
var _this = this;
|
|
878
|
-
return (0, exports.TaskControllerApiFp)(this.configuration).
|
|
812
|
+
return (0, exports.TaskControllerApiFp)(this.configuration).list(creatorId, pageSize, cursor, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
879
813
|
};
|
|
880
814
|
return TaskControllerApi;
|
|
881
815
|
}(base_1.BaseAPI));
|