@emilgroup/task-sdk 1.0.1-beta.10 → 1.0.1-beta.3
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/.openapi-generator/FILES +6 -6
- package/README.md +2 -2
- package/api/categories-api.ts +30 -30
- package/api/statuses-api.ts +30 -30
- package/api/tasks-api.ts +58 -86
- package/dist/api/categories-api.d.ts +22 -22
- package/dist/api/categories-api.js +20 -20
- package/dist/api/statuses-api.d.ts +22 -22
- package/dist/api/statuses-api.js +20 -20
- package/dist/api/tasks-api.d.ts +43 -61
- package/dist/api/tasks-api.js +41 -53
- package/dist/models/create-task-request-dto.d.ts +3 -3
- package/dist/models/index.d.ts +6 -6
- package/dist/models/index.js +6 -6
- package/dist/models/task-class.d.ts +3 -3
- package/dist/models/{patch-category-request-dto.d.ts → update-category-request-dto.d.ts} +7 -7
- package/dist/models/{patch-category-response-class.d.ts → update-category-response-class.d.ts} +3 -3
- package/dist/models/{patch-status-request-dto.d.ts → update-status-request-dto.d.ts} +7 -7
- package/dist/models/{patch-status-response-class.d.ts → update-status-response-class.d.ts} +3 -3
- package/dist/models/update-task-request-dto.d.ts +72 -0
- package/dist/models/{patch-task-response-class.d.ts → update-task-response-class.d.ts} +3 -3
- package/models/create-task-request-dto.ts +3 -3
- package/models/index.ts +6 -6
- package/models/task-class.ts +3 -3
- package/models/{patch-category-request-dto.ts → update-category-request-dto.ts} +7 -7
- package/models/{patch-category-response-class.ts → update-category-response-class.ts} +3 -3
- package/models/{patch-status-request-dto.ts → update-status-request-dto.ts} +7 -7
- package/models/{patch-status-response-class.ts → update-status-response-class.ts} +3 -3
- package/models/update-task-request-dto.ts +78 -0
- package/models/{patch-task-response-class.ts → update-task-response-class.ts} +3 -3
- package/package.json +1 -1
- package/dist/models/patch-task-request-dto.d.ts +0 -108
- package/models/patch-task-request-dto.ts +0 -114
- /package/dist/models/{patch-category-request-dto.js → update-category-request-dto.js} +0 -0
- /package/dist/models/{patch-category-response-class.js → update-category-response-class.js} +0 -0
- /package/dist/models/{patch-status-request-dto.js → update-status-request-dto.js} +0 -0
- /package/dist/models/{patch-status-response-class.js → update-status-response-class.js} +0 -0
- /package/dist/models/{patch-task-request-dto.js → update-task-request-dto.js} +0 -0
- /package/dist/models/{patch-task-response-class.js → update-task-response-class.js} +0 -0
package/dist/api/tasks-api.js
CHANGED
|
@@ -247,17 +247,15 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
247
247
|
* Retrieves a list of tasks.
|
|
248
248
|
* @summary List tasks
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
|
-
* @param {
|
|
251
|
-
* @param {string} [
|
|
252
|
-
* @param {string} [
|
|
253
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
|
|
250
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i>
|
|
251
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i>
|
|
252
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i>
|
|
254
253
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i>
|
|
255
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
256
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
254
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: category, status<i>
|
|
257
255
|
* @param {*} [options] Override http request option.
|
|
258
256
|
* @throws {RequiredError}
|
|
259
257
|
*/
|
|
260
|
-
listTasks: function (authorization,
|
|
258
|
+
listTasks: function (authorization, filter, filters, search, order, expand, options) {
|
|
261
259
|
if (options === void 0) { options = {}; }
|
|
262
260
|
return __awaiter(_this, void 0, void 0, function () {
|
|
263
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -280,15 +278,12 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
280
278
|
// authentication bearer required
|
|
281
279
|
// http bearer authentication required
|
|
282
280
|
_a.sent();
|
|
283
|
-
if (pageSize !== undefined) {
|
|
284
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
285
|
-
}
|
|
286
|
-
if (pageToken !== undefined) {
|
|
287
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
288
|
-
}
|
|
289
281
|
if (filter !== undefined) {
|
|
290
282
|
localVarQueryParameter['filter'] = filter;
|
|
291
283
|
}
|
|
284
|
+
if (filters !== undefined) {
|
|
285
|
+
localVarQueryParameter['filters'] = filters;
|
|
286
|
+
}
|
|
292
287
|
if (search !== undefined) {
|
|
293
288
|
localVarQueryParameter['search'] = search;
|
|
294
289
|
}
|
|
@@ -298,9 +293,6 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
298
293
|
if (expand !== undefined) {
|
|
299
294
|
localVarQueryParameter['expand'] = expand;
|
|
300
295
|
}
|
|
301
|
-
if (filters !== undefined) {
|
|
302
|
-
localVarQueryParameter['filters'] = filters;
|
|
303
|
-
}
|
|
304
296
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
305
297
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
306
298
|
}
|
|
@@ -316,15 +308,15 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
316
308
|
});
|
|
317
309
|
},
|
|
318
310
|
/**
|
|
319
|
-
* This will
|
|
311
|
+
* This will update a task by code.
|
|
320
312
|
* @summary Update the task
|
|
321
313
|
* @param {string} code
|
|
322
|
-
* @param {
|
|
314
|
+
* @param {UpdateTaskRequestDto} updateTaskRequestDto
|
|
323
315
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
324
316
|
* @param {*} [options] Override http request option.
|
|
325
317
|
* @throws {RequiredError}
|
|
326
318
|
*/
|
|
327
|
-
|
|
319
|
+
updateTask: function (code, updateTaskRequestDto, authorization, options) {
|
|
328
320
|
if (options === void 0) { options = {}; }
|
|
329
321
|
return __awaiter(_this, void 0, void 0, function () {
|
|
330
322
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -332,9 +324,9 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
332
324
|
switch (_a.label) {
|
|
333
325
|
case 0:
|
|
334
326
|
// verify required parameter 'code' is not null or undefined
|
|
335
|
-
(0, common_1.assertParamExists)('
|
|
336
|
-
// verify required parameter '
|
|
337
|
-
(0, common_1.assertParamExists)('
|
|
327
|
+
(0, common_1.assertParamExists)('updateTask', 'code', code);
|
|
328
|
+
// verify required parameter 'updateTaskRequestDto' is not null or undefined
|
|
329
|
+
(0, common_1.assertParamExists)('updateTask', 'updateTaskRequestDto', updateTaskRequestDto);
|
|
338
330
|
localVarPath = "/taskservice/v1/tasks/{code}"
|
|
339
331
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
340
332
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -342,7 +334,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
342
334
|
baseOptions = configuration.baseOptions;
|
|
343
335
|
baseAccessToken = configuration.accessToken;
|
|
344
336
|
}
|
|
345
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
337
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
346
338
|
localVarHeaderParameter = {};
|
|
347
339
|
localVarQueryParameter = {};
|
|
348
340
|
// authentication bearer required
|
|
@@ -359,7 +351,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
359
351
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
360
352
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
361
353
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
362
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
354
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateTaskRequestDto, localVarRequestOptions, configuration);
|
|
363
355
|
return [2 /*return*/, {
|
|
364
356
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
365
357
|
options: localVarRequestOptions,
|
|
@@ -446,22 +438,20 @@ var TasksApiFp = function (configuration) {
|
|
|
446
438
|
* Retrieves a list of tasks.
|
|
447
439
|
* @summary List tasks
|
|
448
440
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
449
|
-
* @param {
|
|
450
|
-
* @param {string} [
|
|
451
|
-
* @param {string} [
|
|
452
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
|
|
441
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i>
|
|
442
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i>
|
|
443
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i>
|
|
453
444
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i>
|
|
454
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
455
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
445
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: category, status<i>
|
|
456
446
|
* @param {*} [options] Override http request option.
|
|
457
447
|
* @throws {RequiredError}
|
|
458
448
|
*/
|
|
459
|
-
listTasks: function (authorization,
|
|
449
|
+
listTasks: function (authorization, filter, filters, search, order, expand, options) {
|
|
460
450
|
return __awaiter(this, void 0, void 0, function () {
|
|
461
451
|
var localVarAxiosArgs;
|
|
462
452
|
return __generator(this, function (_a) {
|
|
463
453
|
switch (_a.label) {
|
|
464
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(authorization,
|
|
454
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(authorization, filter, filters, search, order, expand, options)];
|
|
465
455
|
case 1:
|
|
466
456
|
localVarAxiosArgs = _a.sent();
|
|
467
457
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -470,20 +460,20 @@ var TasksApiFp = function (configuration) {
|
|
|
470
460
|
});
|
|
471
461
|
},
|
|
472
462
|
/**
|
|
473
|
-
* This will
|
|
463
|
+
* This will update a task by code.
|
|
474
464
|
* @summary Update the task
|
|
475
465
|
* @param {string} code
|
|
476
|
-
* @param {
|
|
466
|
+
* @param {UpdateTaskRequestDto} updateTaskRequestDto
|
|
477
467
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
478
468
|
* @param {*} [options] Override http request option.
|
|
479
469
|
* @throws {RequiredError}
|
|
480
470
|
*/
|
|
481
|
-
|
|
471
|
+
updateTask: function (code, updateTaskRequestDto, authorization, options) {
|
|
482
472
|
return __awaiter(this, void 0, void 0, function () {
|
|
483
473
|
var localVarAxiosArgs;
|
|
484
474
|
return __generator(this, function (_a) {
|
|
485
475
|
switch (_a.label) {
|
|
486
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
476
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateTask(code, updateTaskRequestDto, authorization, options)];
|
|
487
477
|
case 1:
|
|
488
478
|
localVarAxiosArgs = _a.sent();
|
|
489
479
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -539,30 +529,28 @@ var TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
539
529
|
* Retrieves a list of tasks.
|
|
540
530
|
* @summary List tasks
|
|
541
531
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
542
|
-
* @param {
|
|
543
|
-
* @param {string} [
|
|
544
|
-
* @param {string} [
|
|
545
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
|
|
532
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i>
|
|
533
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i>
|
|
534
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i>
|
|
546
535
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i>
|
|
547
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
548
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
536
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: category, status<i>
|
|
549
537
|
* @param {*} [options] Override http request option.
|
|
550
538
|
* @throws {RequiredError}
|
|
551
539
|
*/
|
|
552
|
-
listTasks: function (authorization,
|
|
553
|
-
return localVarFp.listTasks(authorization,
|
|
540
|
+
listTasks: function (authorization, filter, filters, search, order, expand, options) {
|
|
541
|
+
return localVarFp.listTasks(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
554
542
|
},
|
|
555
543
|
/**
|
|
556
|
-
* This will
|
|
544
|
+
* This will update a task by code.
|
|
557
545
|
* @summary Update the task
|
|
558
546
|
* @param {string} code
|
|
559
|
-
* @param {
|
|
547
|
+
* @param {UpdateTaskRequestDto} updateTaskRequestDto
|
|
560
548
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
561
549
|
* @param {*} [options] Override http request option.
|
|
562
550
|
* @throws {RequiredError}
|
|
563
551
|
*/
|
|
564
|
-
|
|
565
|
-
return localVarFp.
|
|
552
|
+
updateTask: function (code, updateTaskRequestDto, authorization, options) {
|
|
553
|
+
return localVarFp.updateTask(code, updateTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
566
554
|
},
|
|
567
555
|
};
|
|
568
556
|
};
|
|
@@ -625,19 +613,19 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
625
613
|
TasksApi.prototype.listTasks = function (requestParameters, options) {
|
|
626
614
|
var _this = this;
|
|
627
615
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
628
|
-
return (0, exports.TasksApiFp)(this.configuration).listTasks(requestParameters.authorization, requestParameters.
|
|
616
|
+
return (0, exports.TasksApiFp)(this.configuration).listTasks(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
629
617
|
};
|
|
630
618
|
/**
|
|
631
|
-
* This will
|
|
619
|
+
* This will update a task by code.
|
|
632
620
|
* @summary Update the task
|
|
633
|
-
* @param {
|
|
621
|
+
* @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
|
|
634
622
|
* @param {*} [options] Override http request option.
|
|
635
623
|
* @throws {RequiredError}
|
|
636
624
|
* @memberof TasksApi
|
|
637
625
|
*/
|
|
638
|
-
TasksApi.prototype.
|
|
626
|
+
TasksApi.prototype.updateTask = function (requestParameters, options) {
|
|
639
627
|
var _this = this;
|
|
640
|
-
return (0, exports.TasksApiFp)(this.configuration).
|
|
628
|
+
return (0, exports.TasksApiFp)(this.configuration).updateTask(requestParameters.code, requestParameters.updateTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
641
629
|
};
|
|
642
630
|
return TasksApi;
|
|
643
631
|
}(base_1.BaseAPI));
|
|
@@ -34,11 +34,11 @@ export interface CreateTaskRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'assignee'?: string;
|
|
36
36
|
/**
|
|
37
|
-
* Task category
|
|
38
|
-
* @type {
|
|
37
|
+
* Task category slug
|
|
38
|
+
* @type {string}
|
|
39
39
|
* @memberof CreateTaskRequestDto
|
|
40
40
|
*/
|
|
41
|
-
'
|
|
41
|
+
'categorySlug'?: string;
|
|
42
42
|
/**
|
|
43
43
|
* Task status slug
|
|
44
44
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -18,11 +18,11 @@ export * from './inline-response503';
|
|
|
18
18
|
export * from './list-categories-response-class';
|
|
19
19
|
export * from './list-statuses-response-class';
|
|
20
20
|
export * from './list-tasks-response-class';
|
|
21
|
-
export * from './patch-category-request-dto';
|
|
22
|
-
export * from './patch-category-response-class';
|
|
23
|
-
export * from './patch-status-request-dto';
|
|
24
|
-
export * from './patch-status-response-class';
|
|
25
|
-
export * from './patch-task-request-dto';
|
|
26
|
-
export * from './patch-task-response-class';
|
|
27
21
|
export * from './status-class';
|
|
28
22
|
export * from './task-class';
|
|
23
|
+
export * from './update-category-request-dto';
|
|
24
|
+
export * from './update-category-response-class';
|
|
25
|
+
export * from './update-status-request-dto';
|
|
26
|
+
export * from './update-status-response-class';
|
|
27
|
+
export * from './update-task-request-dto';
|
|
28
|
+
export * from './update-task-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -34,11 +34,11 @@ __exportStar(require("./inline-response503"), exports);
|
|
|
34
34
|
__exportStar(require("./list-categories-response-class"), exports);
|
|
35
35
|
__exportStar(require("./list-statuses-response-class"), exports);
|
|
36
36
|
__exportStar(require("./list-tasks-response-class"), exports);
|
|
37
|
-
__exportStar(require("./patch-category-request-dto"), exports);
|
|
38
|
-
__exportStar(require("./patch-category-response-class"), exports);
|
|
39
|
-
__exportStar(require("./patch-status-request-dto"), exports);
|
|
40
|
-
__exportStar(require("./patch-status-response-class"), exports);
|
|
41
|
-
__exportStar(require("./patch-task-request-dto"), exports);
|
|
42
|
-
__exportStar(require("./patch-task-response-class"), exports);
|
|
43
37
|
__exportStar(require("./status-class"), exports);
|
|
44
38
|
__exportStar(require("./task-class"), exports);
|
|
39
|
+
__exportStar(require("./update-category-request-dto"), exports);
|
|
40
|
+
__exportStar(require("./update-category-response-class"), exports);
|
|
41
|
+
__exportStar(require("./update-status-request-dto"), exports);
|
|
42
|
+
__exportStar(require("./update-status-response-class"), exports);
|
|
43
|
+
__exportStar(require("./update-task-request-dto"), exports);
|
|
44
|
+
__exportStar(require("./update-task-response-class"), exports);
|
|
@@ -48,11 +48,11 @@ export interface TaskClass {
|
|
|
48
48
|
*/
|
|
49
49
|
'assignee'?: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {
|
|
51
|
+
* category
|
|
52
|
+
* @type {CategoryClass}
|
|
53
53
|
* @memberof TaskClass
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'category'?: CategoryClass;
|
|
56
56
|
/**
|
|
57
57
|
* status
|
|
58
58
|
* @type {StatusClass}
|
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface UpdateCategoryRequestDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface UpdateCategoryRequestDto {
|
|
18
18
|
/**
|
|
19
19
|
* Category code: unique identifier of the category
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof UpdateCategoryRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'code': string;
|
|
24
24
|
/**
|
|
25
25
|
* Category name: display name of the category
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof UpdateCategoryRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'name'
|
|
29
|
+
'name': string;
|
|
30
30
|
/**
|
|
31
31
|
* Category slug: URL-friendly identifier
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof UpdateCategoryRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'slug'
|
|
35
|
+
'slug': string;
|
|
36
36
|
}
|
package/dist/models/{patch-category-response-class.d.ts → update-category-response-class.d.ts}
RENAMED
|
@@ -13,13 +13,13 @@ import { CategoryClass } from './category-class';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface UpdateCategoryResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface UpdateCategoryResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* category
|
|
21
21
|
* @type {CategoryClass}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof UpdateCategoryResponseClass
|
|
23
23
|
*/
|
|
24
24
|
'category'?: CategoryClass;
|
|
25
25
|
}
|
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface UpdateStatusRequestDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface UpdateStatusRequestDto {
|
|
18
18
|
/**
|
|
19
19
|
* Status code: unique identifier of the status
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof UpdateStatusRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'code': string;
|
|
24
24
|
/**
|
|
25
25
|
* Status name: display name of the status
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof UpdateStatusRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'name'
|
|
29
|
+
'name': string;
|
|
30
30
|
/**
|
|
31
31
|
* Status slug: URL-friendly identifier
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof UpdateStatusRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'slug'
|
|
35
|
+
'slug': string;
|
|
36
36
|
}
|
|
@@ -13,13 +13,13 @@ import { StatusClass } from './status-class';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface UpdateStatusResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface UpdateStatusResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* status
|
|
21
21
|
* @type {StatusClass}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof UpdateStatusResponseClass
|
|
23
23
|
*/
|
|
24
24
|
'status'?: StatusClass;
|
|
25
25
|
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL TaskService
|
|
3
|
+
* The EMIL Task API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateTaskRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateTaskRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Task code: unique identifier of the task
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateTaskRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Task subject: title of the task
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateTaskRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'subject': string;
|
|
30
|
+
/**
|
|
31
|
+
* Task description: detailed description of the task
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateTaskRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'description': string;
|
|
36
|
+
/**
|
|
37
|
+
* Task assignee: person assigned to the task
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateTaskRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'assignee': string;
|
|
42
|
+
/**
|
|
43
|
+
* Task category slug
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateTaskRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'categorySlug'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Task status slug
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateTaskRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'statusSlug'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Task priority
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UpdateTaskRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'priority'?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Task reporter: person who reported the task
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UpdateTaskRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'reporter'?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Task due date
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof UpdateTaskRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'dueDate'?: string | null;
|
|
72
|
+
}
|
|
@@ -13,13 +13,13 @@ import { TaskClass } from './task-class';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface UpdateTaskResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface UpdateTaskResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* task
|
|
21
21
|
* @type {TaskClass}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof UpdateTaskResponseClass
|
|
23
23
|
*/
|
|
24
24
|
'task'?: TaskClass;
|
|
25
25
|
}
|
|
@@ -39,11 +39,11 @@ export interface CreateTaskRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'assignee'?: string;
|
|
41
41
|
/**
|
|
42
|
-
* Task category
|
|
43
|
-
* @type {
|
|
42
|
+
* Task category slug
|
|
43
|
+
* @type {string}
|
|
44
44
|
* @memberof CreateTaskRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'categorySlug'?: string;
|
|
47
47
|
/**
|
|
48
48
|
* Task status slug
|
|
49
49
|
* @type {string}
|
package/models/index.ts
CHANGED
|
@@ -18,11 +18,11 @@ export * from './inline-response503';
|
|
|
18
18
|
export * from './list-categories-response-class';
|
|
19
19
|
export * from './list-statuses-response-class';
|
|
20
20
|
export * from './list-tasks-response-class';
|
|
21
|
-
export * from './patch-category-request-dto';
|
|
22
|
-
export * from './patch-category-response-class';
|
|
23
|
-
export * from './patch-status-request-dto';
|
|
24
|
-
export * from './patch-status-response-class';
|
|
25
|
-
export * from './patch-task-request-dto';
|
|
26
|
-
export * from './patch-task-response-class';
|
|
27
21
|
export * from './status-class';
|
|
28
22
|
export * from './task-class';
|
|
23
|
+
export * from './update-category-request-dto';
|
|
24
|
+
export * from './update-category-response-class';
|
|
25
|
+
export * from './update-status-request-dto';
|
|
26
|
+
export * from './update-status-response-class';
|
|
27
|
+
export * from './update-task-request-dto';
|
|
28
|
+
export * from './update-task-response-class';
|
package/models/task-class.ts
CHANGED
|
@@ -53,11 +53,11 @@ export interface TaskClass {
|
|
|
53
53
|
*/
|
|
54
54
|
'assignee'?: string;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {
|
|
56
|
+
* category
|
|
57
|
+
* @type {CategoryClass}
|
|
58
58
|
* @memberof TaskClass
|
|
59
59
|
*/
|
|
60
|
-
'
|
|
60
|
+
'category'?: CategoryClass;
|
|
61
61
|
/**
|
|
62
62
|
* status
|
|
63
63
|
* @type {StatusClass}
|
|
@@ -17,26 +17,26 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface UpdateCategoryRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface UpdateCategoryRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
* Category code: unique identifier of the category
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof UpdateCategoryRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'code': string;
|
|
29
29
|
/**
|
|
30
30
|
* Category name: display name of the category
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof UpdateCategoryRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'name'
|
|
34
|
+
'name': string;
|
|
35
35
|
/**
|
|
36
36
|
* Category slug: URL-friendly identifier
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof UpdateCategoryRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'slug'
|
|
40
|
+
'slug': string;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -18,13 +18,13 @@ import { CategoryClass } from './category-class';
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface UpdateCategoryResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface UpdateCategoryResponseClass {
|
|
24
24
|
/**
|
|
25
25
|
* category
|
|
26
26
|
* @type {CategoryClass}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof UpdateCategoryResponseClass
|
|
28
28
|
*/
|
|
29
29
|
'category'?: CategoryClass;
|
|
30
30
|
}
|