@emilgroup/task-sdk-node 1.0.1-beta.10 → 1.0.1-beta.4
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
|
@@ -251,17 +251,15 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
* Retrieves a list of tasks.
|
|
252
252
|
* @summary List tasks
|
|
253
253
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
|
-
* @param {
|
|
255
|
-
* @param {string} [
|
|
256
|
-
* @param {string} [
|
|
257
|
-
* @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>
|
|
254
|
+
* @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>
|
|
255
|
+
* @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>
|
|
256
|
+
* @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>
|
|
258
257
|
* @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>
|
|
259
|
-
* @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:
|
|
260
|
-
* @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>
|
|
258
|
+
* @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>
|
|
261
259
|
* @param {*} [options] Override http request option.
|
|
262
260
|
* @throws {RequiredError}
|
|
263
261
|
*/
|
|
264
|
-
listTasks: function (authorization,
|
|
262
|
+
listTasks: function (authorization, filter, filters, search, order, expand, options) {
|
|
265
263
|
if (options === void 0) { options = {}; }
|
|
266
264
|
return __awaiter(_this, void 0, void 0, function () {
|
|
267
265
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -284,15 +282,12 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
284
282
|
// authentication bearer required
|
|
285
283
|
// http bearer authentication required
|
|
286
284
|
_a.sent();
|
|
287
|
-
if (pageSize !== undefined) {
|
|
288
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
289
|
-
}
|
|
290
|
-
if (pageToken !== undefined) {
|
|
291
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
292
|
-
}
|
|
293
285
|
if (filter !== undefined) {
|
|
294
286
|
localVarQueryParameter['filter'] = filter;
|
|
295
287
|
}
|
|
288
|
+
if (filters !== undefined) {
|
|
289
|
+
localVarQueryParameter['filters'] = filters;
|
|
290
|
+
}
|
|
296
291
|
if (search !== undefined) {
|
|
297
292
|
localVarQueryParameter['search'] = search;
|
|
298
293
|
}
|
|
@@ -302,9 +297,6 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
302
297
|
if (expand !== undefined) {
|
|
303
298
|
localVarQueryParameter['expand'] = expand;
|
|
304
299
|
}
|
|
305
|
-
if (filters !== undefined) {
|
|
306
|
-
localVarQueryParameter['filters'] = filters;
|
|
307
|
-
}
|
|
308
300
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
309
301
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
310
302
|
}
|
|
@@ -320,15 +312,15 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
320
312
|
});
|
|
321
313
|
},
|
|
322
314
|
/**
|
|
323
|
-
* This will
|
|
315
|
+
* This will update a task by code.
|
|
324
316
|
* @summary Update the task
|
|
325
317
|
* @param {string} code
|
|
326
|
-
* @param {
|
|
318
|
+
* @param {UpdateTaskRequestDto} updateTaskRequestDto
|
|
327
319
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
328
320
|
* @param {*} [options] Override http request option.
|
|
329
321
|
* @throws {RequiredError}
|
|
330
322
|
*/
|
|
331
|
-
|
|
323
|
+
updateTask: function (code, updateTaskRequestDto, authorization, options) {
|
|
332
324
|
if (options === void 0) { options = {}; }
|
|
333
325
|
return __awaiter(_this, void 0, void 0, function () {
|
|
334
326
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -336,9 +328,9 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
336
328
|
switch (_a.label) {
|
|
337
329
|
case 0:
|
|
338
330
|
// verify required parameter 'code' is not null or undefined
|
|
339
|
-
(0, common_1.assertParamExists)('
|
|
340
|
-
// verify required parameter '
|
|
341
|
-
(0, common_1.assertParamExists)('
|
|
331
|
+
(0, common_1.assertParamExists)('updateTask', 'code', code);
|
|
332
|
+
// verify required parameter 'updateTaskRequestDto' is not null or undefined
|
|
333
|
+
(0, common_1.assertParamExists)('updateTask', 'updateTaskRequestDto', updateTaskRequestDto);
|
|
342
334
|
localVarPath = "/taskservice/v1/tasks/{code}"
|
|
343
335
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
344
336
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -346,7 +338,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
346
338
|
baseOptions = configuration.baseOptions;
|
|
347
339
|
baseAccessToken = configuration.accessToken;
|
|
348
340
|
}
|
|
349
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
341
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
350
342
|
localVarHeaderParameter = {};
|
|
351
343
|
localVarQueryParameter = {};
|
|
352
344
|
// authentication bearer required
|
|
@@ -363,7 +355,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
363
355
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
364
356
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
365
357
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
366
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
358
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateTaskRequestDto, localVarRequestOptions, configuration);
|
|
367
359
|
return [2 /*return*/, {
|
|
368
360
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
369
361
|
options: localVarRequestOptions,
|
|
@@ -450,22 +442,20 @@ var TasksApiFp = function (configuration) {
|
|
|
450
442
|
* Retrieves a list of tasks.
|
|
451
443
|
* @summary List tasks
|
|
452
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
453
|
-
* @param {
|
|
454
|
-
* @param {string} [
|
|
455
|
-
* @param {string} [
|
|
456
|
-
* @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>
|
|
445
|
+
* @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>
|
|
446
|
+
* @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>
|
|
447
|
+
* @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>
|
|
457
448
|
* @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>
|
|
458
|
-
* @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:
|
|
459
|
-
* @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>
|
|
449
|
+
* @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>
|
|
460
450
|
* @param {*} [options] Override http request option.
|
|
461
451
|
* @throws {RequiredError}
|
|
462
452
|
*/
|
|
463
|
-
listTasks: function (authorization,
|
|
453
|
+
listTasks: function (authorization, filter, filters, search, order, expand, options) {
|
|
464
454
|
return __awaiter(this, void 0, void 0, function () {
|
|
465
455
|
var localVarAxiosArgs;
|
|
466
456
|
return __generator(this, function (_a) {
|
|
467
457
|
switch (_a.label) {
|
|
468
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(authorization,
|
|
458
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(authorization, filter, filters, search, order, expand, options)];
|
|
469
459
|
case 1:
|
|
470
460
|
localVarAxiosArgs = _a.sent();
|
|
471
461
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -474,20 +464,20 @@ var TasksApiFp = function (configuration) {
|
|
|
474
464
|
});
|
|
475
465
|
},
|
|
476
466
|
/**
|
|
477
|
-
* This will
|
|
467
|
+
* This will update a task by code.
|
|
478
468
|
* @summary Update the task
|
|
479
469
|
* @param {string} code
|
|
480
|
-
* @param {
|
|
470
|
+
* @param {UpdateTaskRequestDto} updateTaskRequestDto
|
|
481
471
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
482
472
|
* @param {*} [options] Override http request option.
|
|
483
473
|
* @throws {RequiredError}
|
|
484
474
|
*/
|
|
485
|
-
|
|
475
|
+
updateTask: function (code, updateTaskRequestDto, authorization, options) {
|
|
486
476
|
return __awaiter(this, void 0, void 0, function () {
|
|
487
477
|
var localVarAxiosArgs;
|
|
488
478
|
return __generator(this, function (_a) {
|
|
489
479
|
switch (_a.label) {
|
|
490
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
480
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateTask(code, updateTaskRequestDto, authorization, options)];
|
|
491
481
|
case 1:
|
|
492
482
|
localVarAxiosArgs = _a.sent();
|
|
493
483
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -543,30 +533,28 @@ var TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
543
533
|
* Retrieves a list of tasks.
|
|
544
534
|
* @summary List tasks
|
|
545
535
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
546
|
-
* @param {
|
|
547
|
-
* @param {string} [
|
|
548
|
-
* @param {string} [
|
|
549
|
-
* @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>
|
|
536
|
+
* @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>
|
|
537
|
+
* @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>
|
|
538
|
+
* @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>
|
|
550
539
|
* @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>
|
|
551
|
-
* @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:
|
|
552
|
-
* @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>
|
|
540
|
+
* @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>
|
|
553
541
|
* @param {*} [options] Override http request option.
|
|
554
542
|
* @throws {RequiredError}
|
|
555
543
|
*/
|
|
556
|
-
listTasks: function (authorization,
|
|
557
|
-
return localVarFp.listTasks(authorization,
|
|
544
|
+
listTasks: function (authorization, filter, filters, search, order, expand, options) {
|
|
545
|
+
return localVarFp.listTasks(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
558
546
|
},
|
|
559
547
|
/**
|
|
560
|
-
* This will
|
|
548
|
+
* This will update a task by code.
|
|
561
549
|
* @summary Update the task
|
|
562
550
|
* @param {string} code
|
|
563
|
-
* @param {
|
|
551
|
+
* @param {UpdateTaskRequestDto} updateTaskRequestDto
|
|
564
552
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
565
553
|
* @param {*} [options] Override http request option.
|
|
566
554
|
* @throws {RequiredError}
|
|
567
555
|
*/
|
|
568
|
-
|
|
569
|
-
return localVarFp.
|
|
556
|
+
updateTask: function (code, updateTaskRequestDto, authorization, options) {
|
|
557
|
+
return localVarFp.updateTask(code, updateTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
570
558
|
},
|
|
571
559
|
};
|
|
572
560
|
};
|
|
@@ -629,19 +617,19 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
629
617
|
TasksApi.prototype.listTasks = function (requestParameters, options) {
|
|
630
618
|
var _this = this;
|
|
631
619
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
632
|
-
return (0, exports.TasksApiFp)(this.configuration).listTasks(requestParameters.authorization, requestParameters.
|
|
620
|
+
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); });
|
|
633
621
|
};
|
|
634
622
|
/**
|
|
635
|
-
* This will
|
|
623
|
+
* This will update a task by code.
|
|
636
624
|
* @summary Update the task
|
|
637
|
-
* @param {
|
|
625
|
+
* @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
|
|
638
626
|
* @param {*} [options] Override http request option.
|
|
639
627
|
* @throws {RequiredError}
|
|
640
628
|
* @memberof TasksApi
|
|
641
629
|
*/
|
|
642
|
-
TasksApi.prototype.
|
|
630
|
+
TasksApi.prototype.updateTask = function (requestParameters, options) {
|
|
643
631
|
var _this = this;
|
|
644
|
-
return (0, exports.TasksApiFp)(this.configuration).
|
|
632
|
+
return (0, exports.TasksApiFp)(this.configuration).updateTask(requestParameters.code, requestParameters.updateTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
645
633
|
};
|
|
646
634
|
return TasksApi;
|
|
647
635
|
}(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
|
}
|