@nauti/dash-client 1.0.2-beta.401.1 → 1.0.2-beta.405.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 +163 -163
- package/dist/api.js +130 -130
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -90,23 +90,23 @@ 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.UpdateSourceUploadStatus200ResponseAnyOfSucceededEnum = exports.UpdateSourceUploadStatus200ResponseSucceededEnum = exports.UpdateSource200ResponseAnyOfSucceededEnum = exports.UpdateSource200ResponseSucceededEnum = exports.TaskVOTierEnum = exports.TaskVOTargetVersionEnum = exports.TaskVOTargetPlatformEnum = exports.TaskStatusVOStatusEnum = exports.ReadDynamicConfig200ResponseAnyOfSucceededEnum = exports.ReadDynamicConfig200ResponseSucceededEnum = exports.ListTasks200ResponseAnyOf1SucceededEnum = exports.ListTasks200ResponseAnyOfSucceededEnum = exports.ListTasks200ResponseSucceededEnum = exports.ListSources200ResponseAnyOfSucceededEnum = exports.ListSources200ResponseSucceededEnum = exports.GetTaskDetail200ResponseAnyOfSucceededEnum = exports.GetTaskDetail200ResponseSucceededEnum = exports.GetSourceDetail200ResponseAnyOfSucceededEnum = exports.GetSourceDetail200ResponseSucceededEnum = exports.GenerateUploadTokenForSource200ResponseAnyOfSucceededEnum = exports.GenerateUploadTokenForSource200ResponseSucceededEnum = exports.CreateTaskRequestVOTierEnum = exports.CreateTaskRequestVOTargetVersionEnum = exports.CreateTaskRequestVOTargetPlatformEnum = exports.CreateTask200ResponseAnyOf1SucceededEnum = exports.CreateTask200ResponseAnyOfSucceededEnum = exports.CreateTask200ResponseSucceededEnum = exports.CreateSource200ResponseAnyOfSucceededEnum = exports.CreateSource200ResponseSucceededEnum = 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.
|
|
97
|
+
exports.CreateSource200ResponseSucceededEnum = {
|
|
98
98
|
False: 'false',
|
|
99
99
|
};
|
|
100
|
-
exports.
|
|
100
|
+
exports.CreateSource200ResponseAnyOfSucceededEnum = {
|
|
101
101
|
True: 'true',
|
|
102
102
|
};
|
|
103
|
-
exports.
|
|
103
|
+
exports.CreateTask200ResponseSucceededEnum = {
|
|
104
104
|
False: 'false',
|
|
105
105
|
};
|
|
106
|
-
exports.
|
|
106
|
+
exports.CreateTask200ResponseAnyOfSucceededEnum = {
|
|
107
107
|
True: 'true',
|
|
108
108
|
};
|
|
109
|
-
exports.
|
|
109
|
+
exports.CreateTask200ResponseAnyOf1SucceededEnum = {
|
|
110
110
|
False: 'false',
|
|
111
111
|
};
|
|
112
112
|
exports.CreateTaskRequestVOTargetPlatformEnum = {
|
|
@@ -126,49 +126,43 @@ exports.CreateTaskRequestVOTierEnum = {
|
|
|
126
126
|
Starter: 'STARTER',
|
|
127
127
|
Premium: 'PREMIUM',
|
|
128
128
|
};
|
|
129
|
-
exports.
|
|
129
|
+
exports.GenerateUploadTokenForSource200ResponseSucceededEnum = {
|
|
130
130
|
False: 'false',
|
|
131
131
|
};
|
|
132
|
-
exports.
|
|
132
|
+
exports.GenerateUploadTokenForSource200ResponseAnyOfSucceededEnum = {
|
|
133
133
|
True: 'true',
|
|
134
134
|
};
|
|
135
|
-
exports.
|
|
135
|
+
exports.GetSourceDetail200ResponseSucceededEnum = {
|
|
136
136
|
False: 'false',
|
|
137
137
|
};
|
|
138
|
-
exports.
|
|
138
|
+
exports.GetSourceDetail200ResponseAnyOfSucceededEnum = {
|
|
139
139
|
True: 'true',
|
|
140
140
|
};
|
|
141
|
-
exports.
|
|
141
|
+
exports.GetTaskDetail200ResponseSucceededEnum = {
|
|
142
142
|
False: 'false',
|
|
143
143
|
};
|
|
144
|
-
exports.
|
|
144
|
+
exports.GetTaskDetail200ResponseAnyOfSucceededEnum = {
|
|
145
145
|
True: 'true',
|
|
146
146
|
};
|
|
147
|
-
exports.
|
|
147
|
+
exports.ListSources200ResponseSucceededEnum = {
|
|
148
148
|
False: 'false',
|
|
149
149
|
};
|
|
150
|
-
exports.
|
|
150
|
+
exports.ListSources200ResponseAnyOfSucceededEnum = {
|
|
151
151
|
True: 'true',
|
|
152
152
|
};
|
|
153
|
-
exports.
|
|
153
|
+
exports.ListTasks200ResponseSucceededEnum = {
|
|
154
154
|
False: 'false',
|
|
155
155
|
};
|
|
156
|
-
exports.
|
|
156
|
+
exports.ListTasks200ResponseAnyOfSucceededEnum = {
|
|
157
157
|
True: 'true',
|
|
158
158
|
};
|
|
159
|
-
exports.
|
|
159
|
+
exports.ListTasks200ResponseAnyOf1SucceededEnum = {
|
|
160
160
|
False: 'false',
|
|
161
161
|
};
|
|
162
|
-
exports.
|
|
162
|
+
exports.ReadDynamicConfig200ResponseSucceededEnum = {
|
|
163
163
|
False: 'false',
|
|
164
164
|
};
|
|
165
|
-
exports.
|
|
166
|
-
True: 'true',
|
|
167
|
-
};
|
|
168
|
-
exports.SetToUploaded200ResponseSucceededEnum = {
|
|
169
|
-
False: 'false',
|
|
170
|
-
};
|
|
171
|
-
exports.SetToUploaded200ResponseAnyOfSucceededEnum = {
|
|
165
|
+
exports.ReadDynamicConfig200ResponseAnyOfSucceededEnum = {
|
|
172
166
|
True: 'true',
|
|
173
167
|
};
|
|
174
168
|
exports.TaskStatusVOStatusEnum = {
|
|
@@ -193,16 +187,22 @@ exports.TaskVOTierEnum = {
|
|
|
193
187
|
Starter: 'STARTER',
|
|
194
188
|
Premium: 'PREMIUM',
|
|
195
189
|
};
|
|
196
|
-
exports.
|
|
190
|
+
exports.UpdateSource200ResponseSucceededEnum = {
|
|
191
|
+
False: 'false',
|
|
192
|
+
};
|
|
193
|
+
exports.UpdateSource200ResponseAnyOfSucceededEnum = {
|
|
194
|
+
True: 'true',
|
|
195
|
+
};
|
|
196
|
+
exports.UpdateSourceUploadStatus200ResponseSucceededEnum = {
|
|
197
197
|
False: 'false',
|
|
198
198
|
};
|
|
199
|
-
exports.
|
|
199
|
+
exports.UpdateSourceUploadStatus200ResponseAnyOfSucceededEnum = {
|
|
200
200
|
True: 'true',
|
|
201
201
|
};
|
|
202
202
|
var DynamicConfigControllerApiAxiosParamCreator = function (configuration) {
|
|
203
203
|
var _this = this;
|
|
204
204
|
return {
|
|
205
|
-
|
|
205
|
+
readDynamicConfig: function (configPath_1, objectPath_1) {
|
|
206
206
|
var args_1 = [];
|
|
207
207
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
208
208
|
args_1[_i - 2] = arguments[_i];
|
|
@@ -211,8 +211,8 @@ var DynamicConfigControllerApiAxiosParamCreator = function (configuration) {
|
|
|
211
211
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
212
212
|
if (options === void 0) { options = {}; }
|
|
213
213
|
return __generator(this, function (_a) {
|
|
214
|
-
(0, common_1.assertParamExists)('
|
|
215
|
-
(0, common_1.assertParamExists)('
|
|
214
|
+
(0, common_1.assertParamExists)('readDynamicConfig', 'configPath', configPath);
|
|
215
|
+
(0, common_1.assertParamExists)('readDynamicConfig', 'objectPath', objectPath);
|
|
216
216
|
localVarPath = "/api/dynamicConfig/{configPath}/{objectPath}"
|
|
217
217
|
.replace('{configPath}', encodeURIComponent(String(configPath)))
|
|
218
218
|
.replace('{objectPath}', encodeURIComponent(String(objectPath)));
|
|
@@ -234,7 +234,7 @@ var DynamicConfigControllerApiAxiosParamCreator = function (configuration) {
|
|
|
234
234
|
});
|
|
235
235
|
});
|
|
236
236
|
},
|
|
237
|
-
|
|
237
|
+
updateDynamicConfig: function () {
|
|
238
238
|
var args_1 = [];
|
|
239
239
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
240
240
|
args_1[_i] = arguments[_i];
|
|
@@ -267,33 +267,33 @@ exports.DynamicConfigControllerApiAxiosParamCreator = DynamicConfigControllerApi
|
|
|
267
267
|
var DynamicConfigControllerApiFp = function (configuration) {
|
|
268
268
|
var localVarAxiosParamCreator = (0, exports.DynamicConfigControllerApiAxiosParamCreator)(configuration);
|
|
269
269
|
return {
|
|
270
|
-
|
|
270
|
+
readDynamicConfig: function (configPath, objectPath, options) {
|
|
271
271
|
return __awaiter(this, void 0, void 0, function () {
|
|
272
272
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
273
273
|
var _a, _b, _c;
|
|
274
274
|
return __generator(this, function (_d) {
|
|
275
275
|
switch (_d.label) {
|
|
276
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
276
|
+
case 0: return [4, localVarAxiosParamCreator.readDynamicConfig(configPath, objectPath, options)];
|
|
277
277
|
case 1:
|
|
278
278
|
localVarAxiosArgs = _d.sent();
|
|
279
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.
|
|
280
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DynamicConfigControllerApi.readDynamicConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
281
281
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
282
282
|
}
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
285
|
},
|
|
286
|
-
|
|
286
|
+
updateDynamicConfig: function (options) {
|
|
287
287
|
return __awaiter(this, void 0, void 0, function () {
|
|
288
288
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
289
289
|
var _a, _b, _c;
|
|
290
290
|
return __generator(this, function (_d) {
|
|
291
291
|
switch (_d.label) {
|
|
292
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
292
|
+
case 0: return [4, localVarAxiosParamCreator.updateDynamicConfig(options)];
|
|
293
293
|
case 1:
|
|
294
294
|
localVarAxiosArgs = _d.sent();
|
|
295
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.
|
|
296
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DynamicConfigControllerApi.updateDynamicConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
297
297
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
298
298
|
}
|
|
299
299
|
});
|
|
@@ -305,11 +305,11 @@ exports.DynamicConfigControllerApiFp = DynamicConfigControllerApiFp;
|
|
|
305
305
|
var DynamicConfigControllerApiFactory = function (configuration, basePath, axios) {
|
|
306
306
|
var localVarFp = (0, exports.DynamicConfigControllerApiFp)(configuration);
|
|
307
307
|
return {
|
|
308
|
-
|
|
309
|
-
return localVarFp.
|
|
308
|
+
readDynamicConfig: function (configPath, objectPath, options) {
|
|
309
|
+
return localVarFp.readDynamicConfig(configPath, objectPath, options).then(function (request) { return request(axios, basePath); });
|
|
310
310
|
},
|
|
311
|
-
|
|
312
|
-
return localVarFp.
|
|
311
|
+
updateDynamicConfig: function (options) {
|
|
312
|
+
return localVarFp.updateDynamicConfig(options).then(function (request) { return request(axios, basePath); });
|
|
313
313
|
},
|
|
314
314
|
};
|
|
315
315
|
};
|
|
@@ -319,13 +319,13 @@ var DynamicConfigControllerApi = (function (_super) {
|
|
|
319
319
|
function DynamicConfigControllerApi() {
|
|
320
320
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
321
321
|
}
|
|
322
|
-
DynamicConfigControllerApi.prototype.
|
|
322
|
+
DynamicConfigControllerApi.prototype.readDynamicConfig = function (configPath, objectPath, options) {
|
|
323
323
|
var _this = this;
|
|
324
|
-
return (0, exports.DynamicConfigControllerApiFp)(this.configuration).
|
|
324
|
+
return (0, exports.DynamicConfigControllerApiFp)(this.configuration).readDynamicConfig(configPath, objectPath, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
325
325
|
};
|
|
326
|
-
DynamicConfigControllerApi.prototype.
|
|
326
|
+
DynamicConfigControllerApi.prototype.updateDynamicConfig = function (options) {
|
|
327
327
|
var _this = this;
|
|
328
|
-
return (0, exports.DynamicConfigControllerApiFp)(this.configuration).
|
|
328
|
+
return (0, exports.DynamicConfigControllerApiFp)(this.configuration).updateDynamicConfig(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
329
329
|
};
|
|
330
330
|
return DynamicConfigControllerApi;
|
|
331
331
|
}(base_1.BaseAPI));
|
|
@@ -333,7 +333,7 @@ exports.DynamicConfigControllerApi = DynamicConfigControllerApi;
|
|
|
333
333
|
var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
334
334
|
var _this = this;
|
|
335
335
|
return {
|
|
336
|
-
|
|
336
|
+
createSource: function (createSourceRequestVO_1) {
|
|
337
337
|
var args_1 = [];
|
|
338
338
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
339
339
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -342,7 +342,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
342
342
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
343
343
|
if (options === void 0) { options = {}; }
|
|
344
344
|
return __generator(this, function (_a) {
|
|
345
|
-
(0, common_1.assertParamExists)('
|
|
345
|
+
(0, common_1.assertParamExists)('createSource', 'createSourceRequestVO', createSourceRequestVO);
|
|
346
346
|
localVarPath = "/api/sources";
|
|
347
347
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
348
348
|
if (configuration) {
|
|
@@ -364,7 +364,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
364
364
|
});
|
|
365
365
|
});
|
|
366
366
|
},
|
|
367
|
-
|
|
367
|
+
generateUploadTokenForSource: function (id_1) {
|
|
368
368
|
var args_1 = [];
|
|
369
369
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
370
370
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -373,7 +373,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
373
373
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
374
374
|
if (options === void 0) { options = {}; }
|
|
375
375
|
return __generator(this, function (_a) {
|
|
376
|
-
(0, common_1.assertParamExists)('
|
|
376
|
+
(0, common_1.assertParamExists)('generateUploadTokenForSource', 'id', id);
|
|
377
377
|
localVarPath = "/api/sources/{id}/uploadToken"
|
|
378
378
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
379
379
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -394,7 +394,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
394
394
|
});
|
|
395
395
|
});
|
|
396
396
|
},
|
|
397
|
-
|
|
397
|
+
getSourceDetail: function (id_1) {
|
|
398
398
|
var args_1 = [];
|
|
399
399
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
400
400
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -403,7 +403,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
403
403
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
404
404
|
if (options === void 0) { options = {}; }
|
|
405
405
|
return __generator(this, function (_a) {
|
|
406
|
-
(0, common_1.assertParamExists)('
|
|
406
|
+
(0, common_1.assertParamExists)('getSourceDetail', 'id', id);
|
|
407
407
|
localVarPath = "/api/sources/{id}"
|
|
408
408
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
409
409
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -424,7 +424,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
424
424
|
});
|
|
425
425
|
});
|
|
426
426
|
},
|
|
427
|
-
|
|
427
|
+
listSources: function (creatorId_1, title_1, pageSize_1, cursor_1) {
|
|
428
428
|
var args_1 = [];
|
|
429
429
|
for (var _i = 4; _i < arguments.length; _i++) {
|
|
430
430
|
args_1[_i - 4] = arguments[_i];
|
|
@@ -464,17 +464,17 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
464
464
|
});
|
|
465
465
|
});
|
|
466
466
|
},
|
|
467
|
-
|
|
467
|
+
updateSource: function (updateSourceRequestVO_1) {
|
|
468
468
|
var args_1 = [];
|
|
469
469
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
470
470
|
args_1[_i - 1] = arguments[_i];
|
|
471
471
|
}
|
|
472
|
-
return __awaiter(_this, __spreadArray([
|
|
472
|
+
return __awaiter(_this, __spreadArray([updateSourceRequestVO_1], __read(args_1), false), void 0, function (updateSourceRequestVO, options) {
|
|
473
473
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
474
474
|
if (options === void 0) { options = {}; }
|
|
475
475
|
return __generator(this, function (_a) {
|
|
476
|
-
(0, common_1.assertParamExists)('
|
|
477
|
-
localVarPath = "/api/sources
|
|
476
|
+
(0, common_1.assertParamExists)('updateSource', 'updateSourceRequestVO', updateSourceRequestVO);
|
|
477
|
+
localVarPath = "/api/sources";
|
|
478
478
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
479
479
|
if (configuration) {
|
|
480
480
|
baseOptions = configuration.baseOptions;
|
|
@@ -487,7 +487,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
487
487
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
488
488
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
489
489
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
490
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
490
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSourceRequestVO, localVarRequestOptions, configuration);
|
|
491
491
|
return [2, {
|
|
492
492
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
493
493
|
options: localVarRequestOptions,
|
|
@@ -495,17 +495,17 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
495
495
|
});
|
|
496
496
|
});
|
|
497
497
|
},
|
|
498
|
-
|
|
498
|
+
updateSourceUploadStatus: function (setSourceToUploadedRequestVO_1) {
|
|
499
499
|
var args_1 = [];
|
|
500
500
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
501
501
|
args_1[_i - 1] = arguments[_i];
|
|
502
502
|
}
|
|
503
|
-
return __awaiter(_this, __spreadArray([
|
|
503
|
+
return __awaiter(_this, __spreadArray([setSourceToUploadedRequestVO_1], __read(args_1), false), void 0, function (setSourceToUploadedRequestVO, options) {
|
|
504
504
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
505
505
|
if (options === void 0) { options = {}; }
|
|
506
506
|
return __generator(this, function (_a) {
|
|
507
|
-
(0, common_1.assertParamExists)('
|
|
508
|
-
localVarPath = "/api/sources";
|
|
507
|
+
(0, common_1.assertParamExists)('updateSourceUploadStatus', 'setSourceToUploadedRequestVO', setSourceToUploadedRequestVO);
|
|
508
|
+
localVarPath = "/api/sources/uploaded";
|
|
509
509
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
510
510
|
if (configuration) {
|
|
511
511
|
baseOptions = configuration.baseOptions;
|
|
@@ -518,7 +518,7 @@ var SourceControllerApiAxiosParamCreator = function (configuration) {
|
|
|
518
518
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
519
519
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
520
520
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
521
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
521
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setSourceToUploadedRequestVO, localVarRequestOptions, configuration);
|
|
522
522
|
return [2, {
|
|
523
523
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
524
524
|
options: localVarRequestOptions,
|
|
@@ -532,97 +532,97 @@ exports.SourceControllerApiAxiosParamCreator = SourceControllerApiAxiosParamCrea
|
|
|
532
532
|
var SourceControllerApiFp = function (configuration) {
|
|
533
533
|
var localVarAxiosParamCreator = (0, exports.SourceControllerApiAxiosParamCreator)(configuration);
|
|
534
534
|
return {
|
|
535
|
-
|
|
535
|
+
createSource: function (createSourceRequestVO, options) {
|
|
536
536
|
return __awaiter(this, void 0, void 0, function () {
|
|
537
537
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
538
538
|
var _a, _b, _c;
|
|
539
539
|
return __generator(this, function (_d) {
|
|
540
540
|
switch (_d.label) {
|
|
541
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
541
|
+
case 0: return [4, localVarAxiosParamCreator.createSource(createSourceRequestVO, options)];
|
|
542
542
|
case 1:
|
|
543
543
|
localVarAxiosArgs = _d.sent();
|
|
544
544
|
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.
|
|
545
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.createSource']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
546
546
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
547
547
|
}
|
|
548
548
|
});
|
|
549
549
|
});
|
|
550
550
|
},
|
|
551
|
-
|
|
551
|
+
generateUploadTokenForSource: function (id, options) {
|
|
552
552
|
return __awaiter(this, void 0, void 0, function () {
|
|
553
553
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
554
554
|
var _a, _b, _c;
|
|
555
555
|
return __generator(this, function (_d) {
|
|
556
556
|
switch (_d.label) {
|
|
557
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
557
|
+
case 0: return [4, localVarAxiosParamCreator.generateUploadTokenForSource(id, options)];
|
|
558
558
|
case 1:
|
|
559
559
|
localVarAxiosArgs = _d.sent();
|
|
560
560
|
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.
|
|
561
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.generateUploadTokenForSource']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
562
562
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
563
563
|
}
|
|
564
564
|
});
|
|
565
565
|
});
|
|
566
566
|
},
|
|
567
|
-
|
|
567
|
+
getSourceDetail: function (id, options) {
|
|
568
568
|
return __awaiter(this, void 0, void 0, function () {
|
|
569
569
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
570
570
|
var _a, _b, _c;
|
|
571
571
|
return __generator(this, function (_d) {
|
|
572
572
|
switch (_d.label) {
|
|
573
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
573
|
+
case 0: return [4, localVarAxiosParamCreator.getSourceDetail(id, options)];
|
|
574
574
|
case 1:
|
|
575
575
|
localVarAxiosArgs = _d.sent();
|
|
576
576
|
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.
|
|
577
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.getSourceDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
578
578
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
});
|
|
582
582
|
},
|
|
583
|
-
|
|
583
|
+
listSources: function (creatorId, title, pageSize, cursor, options) {
|
|
584
584
|
return __awaiter(this, void 0, void 0, function () {
|
|
585
585
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
586
586
|
var _a, _b, _c;
|
|
587
587
|
return __generator(this, function (_d) {
|
|
588
588
|
switch (_d.label) {
|
|
589
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
589
|
+
case 0: return [4, localVarAxiosParamCreator.listSources(creatorId, title, pageSize, cursor, options)];
|
|
590
590
|
case 1:
|
|
591
591
|
localVarAxiosArgs = _d.sent();
|
|
592
592
|
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.
|
|
593
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.listSources']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
594
594
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
595
595
|
}
|
|
596
596
|
});
|
|
597
597
|
});
|
|
598
598
|
},
|
|
599
|
-
|
|
599
|
+
updateSource: function (updateSourceRequestVO, options) {
|
|
600
600
|
return __awaiter(this, void 0, void 0, function () {
|
|
601
601
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
602
602
|
var _a, _b, _c;
|
|
603
603
|
return __generator(this, function (_d) {
|
|
604
604
|
switch (_d.label) {
|
|
605
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
605
|
+
case 0: return [4, localVarAxiosParamCreator.updateSource(updateSourceRequestVO, options)];
|
|
606
606
|
case 1:
|
|
607
607
|
localVarAxiosArgs = _d.sent();
|
|
608
608
|
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.
|
|
609
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.updateSource']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
610
610
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
611
611
|
}
|
|
612
612
|
});
|
|
613
613
|
});
|
|
614
614
|
},
|
|
615
|
-
|
|
615
|
+
updateSourceUploadStatus: function (setSourceToUploadedRequestVO, options) {
|
|
616
616
|
return __awaiter(this, void 0, void 0, function () {
|
|
617
617
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
618
618
|
var _a, _b, _c;
|
|
619
619
|
return __generator(this, function (_d) {
|
|
620
620
|
switch (_d.label) {
|
|
621
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
621
|
+
case 0: return [4, localVarAxiosParamCreator.updateSourceUploadStatus(setSourceToUploadedRequestVO, options)];
|
|
622
622
|
case 1:
|
|
623
623
|
localVarAxiosArgs = _d.sent();
|
|
624
624
|
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.
|
|
625
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.updateSourceUploadStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
626
626
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
627
627
|
}
|
|
628
628
|
});
|
|
@@ -634,23 +634,23 @@ exports.SourceControllerApiFp = SourceControllerApiFp;
|
|
|
634
634
|
var SourceControllerApiFactory = function (configuration, basePath, axios) {
|
|
635
635
|
var localVarFp = (0, exports.SourceControllerApiFp)(configuration);
|
|
636
636
|
return {
|
|
637
|
-
|
|
638
|
-
return localVarFp.
|
|
637
|
+
createSource: function (createSourceRequestVO, options) {
|
|
638
|
+
return localVarFp.createSource(createSourceRequestVO, options).then(function (request) { return request(axios, basePath); });
|
|
639
639
|
},
|
|
640
|
-
|
|
641
|
-
return localVarFp.
|
|
640
|
+
generateUploadTokenForSource: function (id, options) {
|
|
641
|
+
return localVarFp.generateUploadTokenForSource(id, options).then(function (request) { return request(axios, basePath); });
|
|
642
642
|
},
|
|
643
|
-
|
|
644
|
-
return localVarFp.
|
|
643
|
+
getSourceDetail: function (id, options) {
|
|
644
|
+
return localVarFp.getSourceDetail(id, options).then(function (request) { return request(axios, basePath); });
|
|
645
645
|
},
|
|
646
|
-
|
|
647
|
-
return localVarFp.
|
|
646
|
+
listSources: function (creatorId, title, pageSize, cursor, options) {
|
|
647
|
+
return localVarFp.listSources(creatorId, title, pageSize, cursor, options).then(function (request) { return request(axios, basePath); });
|
|
648
648
|
},
|
|
649
|
-
|
|
650
|
-
return localVarFp.
|
|
649
|
+
updateSource: function (updateSourceRequestVO, options) {
|
|
650
|
+
return localVarFp.updateSource(updateSourceRequestVO, options).then(function (request) { return request(axios, basePath); });
|
|
651
651
|
},
|
|
652
|
-
|
|
653
|
-
return localVarFp.
|
|
652
|
+
updateSourceUploadStatus: function (setSourceToUploadedRequestVO, options) {
|
|
653
|
+
return localVarFp.updateSourceUploadStatus(setSourceToUploadedRequestVO, options).then(function (request) { return request(axios, basePath); });
|
|
654
654
|
},
|
|
655
655
|
};
|
|
656
656
|
};
|
|
@@ -660,29 +660,29 @@ var SourceControllerApi = (function (_super) {
|
|
|
660
660
|
function SourceControllerApi() {
|
|
661
661
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
662
662
|
}
|
|
663
|
-
SourceControllerApi.prototype.
|
|
663
|
+
SourceControllerApi.prototype.createSource = function (createSourceRequestVO, options) {
|
|
664
664
|
var _this = this;
|
|
665
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
665
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).createSource(createSourceRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
666
666
|
};
|
|
667
|
-
SourceControllerApi.prototype.
|
|
667
|
+
SourceControllerApi.prototype.generateUploadTokenForSource = function (id, options) {
|
|
668
668
|
var _this = this;
|
|
669
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
669
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).generateUploadTokenForSource(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
670
670
|
};
|
|
671
|
-
SourceControllerApi.prototype.
|
|
671
|
+
SourceControllerApi.prototype.getSourceDetail = function (id, options) {
|
|
672
672
|
var _this = this;
|
|
673
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
673
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).getSourceDetail(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
674
674
|
};
|
|
675
|
-
SourceControllerApi.prototype.
|
|
675
|
+
SourceControllerApi.prototype.listSources = function (creatorId, title, pageSize, cursor, options) {
|
|
676
676
|
var _this = this;
|
|
677
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
677
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).listSources(creatorId, title, pageSize, cursor, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
678
678
|
};
|
|
679
|
-
SourceControllerApi.prototype.
|
|
679
|
+
SourceControllerApi.prototype.updateSource = function (updateSourceRequestVO, options) {
|
|
680
680
|
var _this = this;
|
|
681
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
681
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).updateSource(updateSourceRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
682
682
|
};
|
|
683
|
-
SourceControllerApi.prototype.
|
|
683
|
+
SourceControllerApi.prototype.updateSourceUploadStatus = function (setSourceToUploadedRequestVO, options) {
|
|
684
684
|
var _this = this;
|
|
685
|
-
return (0, exports.SourceControllerApiFp)(this.configuration).
|
|
685
|
+
return (0, exports.SourceControllerApiFp)(this.configuration).updateSourceUploadStatus(setSourceToUploadedRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
686
686
|
};
|
|
687
687
|
return SourceControllerApi;
|
|
688
688
|
}(base_1.BaseAPI));
|
|
@@ -690,7 +690,7 @@ exports.SourceControllerApi = SourceControllerApi;
|
|
|
690
690
|
var TaskControllerApiAxiosParamCreator = function (configuration) {
|
|
691
691
|
var _this = this;
|
|
692
692
|
return {
|
|
693
|
-
|
|
693
|
+
createTask: function (createTaskRequestVO_1) {
|
|
694
694
|
var args_1 = [];
|
|
695
695
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
696
696
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -699,7 +699,7 @@ var TaskControllerApiAxiosParamCreator = function (configuration) {
|
|
|
699
699
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
700
700
|
if (options === void 0) { options = {}; }
|
|
701
701
|
return __generator(this, function (_a) {
|
|
702
|
-
(0, common_1.assertParamExists)('
|
|
702
|
+
(0, common_1.assertParamExists)('createTask', 'createTaskRequestVO', createTaskRequestVO);
|
|
703
703
|
localVarPath = "/api/tasks";
|
|
704
704
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
705
705
|
if (configuration) {
|
|
@@ -721,7 +721,7 @@ var TaskControllerApiAxiosParamCreator = function (configuration) {
|
|
|
721
721
|
});
|
|
722
722
|
});
|
|
723
723
|
},
|
|
724
|
-
|
|
724
|
+
getTaskDetail: function (id_1) {
|
|
725
725
|
var args_1 = [];
|
|
726
726
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
727
727
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -730,7 +730,7 @@ var TaskControllerApiAxiosParamCreator = function (configuration) {
|
|
|
730
730
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
731
731
|
if (options === void 0) { options = {}; }
|
|
732
732
|
return __generator(this, function (_a) {
|
|
733
|
-
(0, common_1.assertParamExists)('
|
|
733
|
+
(0, common_1.assertParamExists)('getTaskDetail', 'id', id);
|
|
734
734
|
localVarPath = "/api/tasks/{id}"
|
|
735
735
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
736
736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -751,7 +751,7 @@ var TaskControllerApiAxiosParamCreator = function (configuration) {
|
|
|
751
751
|
});
|
|
752
752
|
});
|
|
753
753
|
},
|
|
754
|
-
|
|
754
|
+
listTasks: function (creatorId_1, pageSize_1, cursor_1) {
|
|
755
755
|
var args_1 = [];
|
|
756
756
|
for (var _i = 3; _i < arguments.length; _i++) {
|
|
757
757
|
args_1[_i - 3] = arguments[_i];
|
|
@@ -794,49 +794,49 @@ exports.TaskControllerApiAxiosParamCreator = TaskControllerApiAxiosParamCreator;
|
|
|
794
794
|
var TaskControllerApiFp = function (configuration) {
|
|
795
795
|
var localVarAxiosParamCreator = (0, exports.TaskControllerApiAxiosParamCreator)(configuration);
|
|
796
796
|
return {
|
|
797
|
-
|
|
797
|
+
createTask: function (createTaskRequestVO, options) {
|
|
798
798
|
return __awaiter(this, void 0, void 0, function () {
|
|
799
799
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
800
800
|
var _a, _b, _c;
|
|
801
801
|
return __generator(this, function (_d) {
|
|
802
802
|
switch (_d.label) {
|
|
803
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
803
|
+
case 0: return [4, localVarAxiosParamCreator.createTask(createTaskRequestVO, options)];
|
|
804
804
|
case 1:
|
|
805
805
|
localVarAxiosArgs = _d.sent();
|
|
806
806
|
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.
|
|
807
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.createTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
808
808
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
809
809
|
}
|
|
810
810
|
});
|
|
811
811
|
});
|
|
812
812
|
},
|
|
813
|
-
|
|
813
|
+
getTaskDetail: function (id, options) {
|
|
814
814
|
return __awaiter(this, void 0, void 0, function () {
|
|
815
815
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
816
816
|
var _a, _b, _c;
|
|
817
817
|
return __generator(this, function (_d) {
|
|
818
818
|
switch (_d.label) {
|
|
819
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
819
|
+
case 0: return [4, localVarAxiosParamCreator.getTaskDetail(id, options)];
|
|
820
820
|
case 1:
|
|
821
821
|
localVarAxiosArgs = _d.sent();
|
|
822
822
|
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.
|
|
823
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.getTaskDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
824
824
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
825
825
|
}
|
|
826
826
|
});
|
|
827
827
|
});
|
|
828
828
|
},
|
|
829
|
-
|
|
829
|
+
listTasks: function (creatorId, pageSize, cursor, options) {
|
|
830
830
|
return __awaiter(this, void 0, void 0, function () {
|
|
831
831
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
832
832
|
var _a, _b, _c;
|
|
833
833
|
return __generator(this, function (_d) {
|
|
834
834
|
switch (_d.label) {
|
|
835
|
-
case 0: return [4, localVarAxiosParamCreator.
|
|
835
|
+
case 0: return [4, localVarAxiosParamCreator.listTasks(creatorId, pageSize, cursor, options)];
|
|
836
836
|
case 1:
|
|
837
837
|
localVarAxiosArgs = _d.sent();
|
|
838
838
|
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.
|
|
839
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.listTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
840
840
|
return [2, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
841
841
|
}
|
|
842
842
|
});
|
|
@@ -848,14 +848,14 @@ exports.TaskControllerApiFp = TaskControllerApiFp;
|
|
|
848
848
|
var TaskControllerApiFactory = function (configuration, basePath, axios) {
|
|
849
849
|
var localVarFp = (0, exports.TaskControllerApiFp)(configuration);
|
|
850
850
|
return {
|
|
851
|
-
|
|
852
|
-
return localVarFp.
|
|
851
|
+
createTask: function (createTaskRequestVO, options) {
|
|
852
|
+
return localVarFp.createTask(createTaskRequestVO, options).then(function (request) { return request(axios, basePath); });
|
|
853
853
|
},
|
|
854
|
-
|
|
855
|
-
return localVarFp.
|
|
854
|
+
getTaskDetail: function (id, options) {
|
|
855
|
+
return localVarFp.getTaskDetail(id, options).then(function (request) { return request(axios, basePath); });
|
|
856
856
|
},
|
|
857
|
-
|
|
858
|
-
return localVarFp.
|
|
857
|
+
listTasks: function (creatorId, pageSize, cursor, options) {
|
|
858
|
+
return localVarFp.listTasks(creatorId, pageSize, cursor, options).then(function (request) { return request(axios, basePath); });
|
|
859
859
|
},
|
|
860
860
|
};
|
|
861
861
|
};
|
|
@@ -865,17 +865,17 @@ var TaskControllerApi = (function (_super) {
|
|
|
865
865
|
function TaskControllerApi() {
|
|
866
866
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
867
867
|
}
|
|
868
|
-
TaskControllerApi.prototype.
|
|
868
|
+
TaskControllerApi.prototype.createTask = function (createTaskRequestVO, options) {
|
|
869
869
|
var _this = this;
|
|
870
|
-
return (0, exports.TaskControllerApiFp)(this.configuration).
|
|
870
|
+
return (0, exports.TaskControllerApiFp)(this.configuration).createTask(createTaskRequestVO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
871
871
|
};
|
|
872
|
-
TaskControllerApi.prototype.
|
|
872
|
+
TaskControllerApi.prototype.getTaskDetail = function (id, options) {
|
|
873
873
|
var _this = this;
|
|
874
|
-
return (0, exports.TaskControllerApiFp)(this.configuration).
|
|
874
|
+
return (0, exports.TaskControllerApiFp)(this.configuration).getTaskDetail(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
875
875
|
};
|
|
876
|
-
TaskControllerApi.prototype.
|
|
876
|
+
TaskControllerApi.prototype.listTasks = function (creatorId, pageSize, cursor, options) {
|
|
877
877
|
var _this = this;
|
|
878
|
-
return (0, exports.TaskControllerApiFp)(this.configuration).
|
|
878
|
+
return (0, exports.TaskControllerApiFp)(this.configuration).listTasks(creatorId, pageSize, cursor, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
879
879
|
};
|
|
880
880
|
return TaskControllerApi;
|
|
881
881
|
}(base_1.BaseAPI));
|