@emilgroup/task-sdk 1.0.1-beta.1 → 1.0.1-beta.11

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.
Files changed (73) hide show
  1. package/.openapi-generator/FILES +9 -11
  2. package/README.md +2 -2
  3. package/api/assignees-api.ts +162 -0
  4. package/api/categories-api.ts +74 -60
  5. package/api/statuses-api.ts +70 -56
  6. package/api/tasks-api.ts +105 -63
  7. package/api.ts +2 -2
  8. package/dist/api/assignees-api.d.ts +96 -0
  9. package/dist/api/assignees-api.js +224 -0
  10. package/dist/api/categories-api.d.ts +58 -49
  11. package/dist/api/categories-api.js +53 -47
  12. package/dist/api/statuses-api.d.ts +54 -45
  13. package/dist/api/statuses-api.js +49 -43
  14. package/dist/api/tasks-api.d.ts +77 -50
  15. package/dist/api/tasks-api.js +66 -48
  16. package/dist/api.d.ts +1 -1
  17. package/dist/api.js +1 -1
  18. package/dist/models/{create-priority-request-dto.d.ts → assignee-class.d.ts} +5 -5
  19. package/dist/models/category-class.d.ts +6 -0
  20. package/dist/models/create-category-request-dto.d.ts +7 -1
  21. package/dist/models/create-status-request-dto.d.ts +7 -1
  22. package/dist/models/create-task-request-dto.d.ts +31 -13
  23. package/dist/models/create-task-request-dto.js +6 -0
  24. package/dist/models/index.d.ts +8 -10
  25. package/dist/models/index.js +8 -10
  26. package/dist/models/list-assignees-response-class.d.ts +43 -0
  27. package/dist/models/patch-category-request-dto.d.ts +36 -0
  28. package/dist/models/{update-category-response-class.d.ts → patch-category-response-class.d.ts} +3 -3
  29. package/dist/models/{update-status-request-dto.d.ts → patch-status-request-dto.d.ts} +13 -7
  30. package/dist/models/{update-status-response-class.d.ts → patch-status-response-class.d.ts} +3 -3
  31. package/dist/models/patch-task-request-dto.d.ts +108 -0
  32. package/dist/models/{update-task-response-class.d.ts → patch-task-response-class.d.ts} +3 -3
  33. package/dist/models/status-class.d.ts +6 -0
  34. package/dist/models/task-class.d.ts +25 -8
  35. package/dist/models/task-class.js +6 -0
  36. package/models/{create-priority-request-dto.ts → assignee-class.ts} +5 -5
  37. package/models/category-class.ts +6 -0
  38. package/models/create-category-request-dto.ts +7 -1
  39. package/models/create-status-request-dto.ts +7 -1
  40. package/models/create-task-request-dto.ts +34 -13
  41. package/models/index.ts +8 -10
  42. package/models/list-assignees-response-class.ts +49 -0
  43. package/models/{update-category-request-dto.ts → patch-category-request-dto.ts} +13 -7
  44. package/models/{update-category-response-class.ts → patch-category-response-class.ts} +3 -3
  45. package/models/{update-status-request-dto.ts → patch-status-request-dto.ts} +13 -7
  46. package/models/{update-status-response-class.ts → patch-status-response-class.ts} +3 -3
  47. package/models/patch-task-request-dto.ts +114 -0
  48. package/models/{update-task-response-class.ts → patch-task-response-class.ts} +3 -3
  49. package/models/status-class.ts +6 -0
  50. package/models/task-class.ts +28 -8
  51. package/package.json +1 -1
  52. package/api/priorities-api.ts +0 -284
  53. package/dist/api/priorities-api.d.ts +0 -162
  54. package/dist/api/priorities-api.js +0 -324
  55. package/dist/models/create-priority-response-class.d.ts +0 -25
  56. package/dist/models/get-priority-response-class.d.ts +0 -25
  57. package/dist/models/priority-class.d.ts +0 -60
  58. package/dist/models/update-category-request-dto.d.ts +0 -30
  59. package/dist/models/update-task-request-dto.d.ts +0 -60
  60. package/dist/models/update-task-request-dto.js +0 -15
  61. package/dist/models/update-task-response-class.js +0 -15
  62. package/models/create-priority-response-class.ts +0 -31
  63. package/models/get-priority-response-class.ts +0 -31
  64. package/models/priority-class.ts +0 -66
  65. package/models/update-task-request-dto.ts +0 -66
  66. /package/dist/models/{create-priority-request-dto.js → assignee-class.js} +0 -0
  67. /package/dist/models/{create-priority-response-class.js → list-assignees-response-class.js} +0 -0
  68. /package/dist/models/{get-priority-response-class.js → patch-category-request-dto.js} +0 -0
  69. /package/dist/models/{priority-class.js → patch-category-response-class.js} +0 -0
  70. /package/dist/models/{update-category-request-dto.js → patch-status-request-dto.js} +0 -0
  71. /package/dist/models/{update-category-response-class.js → patch-status-response-class.js} +0 -0
  72. /package/dist/models/{update-status-request-dto.js → patch-task-request-dto.js} +0 -0
  73. /package/dist/models/{update-status-response-class.js → patch-task-response-class.js} +0 -0
@@ -93,7 +93,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create status.
96
+ * This will create a status.
97
97
  * @summary Create the status
98
98
  * @param {CreateStatusRequestDto} createStatusRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -190,7 +190,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * This will get status.
193
+ * Get status by code.
194
194
  * @summary Retrieve the status
195
195
  * @param {string} code
196
196
  * @param {string} expand
@@ -247,14 +247,15 @@ var StatusesApiAxiosParamCreator = function (configuration) {
247
247
  * Retrieves a list of statuses.
248
248
  * @summary List statuses
249
249
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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, createdAt</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, createdAt</i>
252
- * @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: createdAt</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, slug, name, createdAt, updatedAt</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, slug, name, createdAt, updatedAt</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, name, slug</i>
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, name, slug</i>
253
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/>
254
255
  * @param {*} [options] Override http request option.
255
256
  * @throws {RequiredError}
256
257
  */
257
- listStatuses: function (authorization, filter, filters, order, expand, options) {
258
+ listStatuses: function (authorization, filter, filters, search, order, expand, options) {
258
259
  if (options === void 0) { options = {}; }
259
260
  return __awaiter(_this, void 0, void 0, function () {
260
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -283,6 +284,9 @@ var StatusesApiAxiosParamCreator = function (configuration) {
283
284
  if (filters !== undefined) {
284
285
  localVarQueryParameter['filters'] = filters;
285
286
  }
287
+ if (search !== undefined) {
288
+ localVarQueryParameter['search'] = search;
289
+ }
286
290
  if (order !== undefined) {
287
291
  localVarQueryParameter['order'] = order;
288
292
  }
@@ -304,15 +308,15 @@ var StatusesApiAxiosParamCreator = function (configuration) {
304
308
  });
305
309
  },
306
310
  /**
307
- * This will update status.
311
+ * This will partially update a status by code with the provided fields.
308
312
  * @summary Update the status
309
313
  * @param {string} code
310
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
314
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
311
315
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
312
316
  * @param {*} [options] Override http request option.
313
317
  * @throws {RequiredError}
314
318
  */
315
- updateStatus: function (code, updateStatusRequestDto, authorization, options) {
319
+ patchStatus: function (code, patchStatusRequestDto, authorization, options) {
316
320
  if (options === void 0) { options = {}; }
317
321
  return __awaiter(_this, void 0, void 0, function () {
318
322
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -320,9 +324,9 @@ var StatusesApiAxiosParamCreator = function (configuration) {
320
324
  switch (_a.label) {
321
325
  case 0:
322
326
  // verify required parameter 'code' is not null or undefined
323
- (0, common_1.assertParamExists)('updateStatus', 'code', code);
324
- // verify required parameter 'updateStatusRequestDto' is not null or undefined
325
- (0, common_1.assertParamExists)('updateStatus', 'updateStatusRequestDto', updateStatusRequestDto);
327
+ (0, common_1.assertParamExists)('patchStatus', 'code', code);
328
+ // verify required parameter 'patchStatusRequestDto' is not null or undefined
329
+ (0, common_1.assertParamExists)('patchStatus', 'patchStatusRequestDto', patchStatusRequestDto);
326
330
  localVarPath = "/taskservice/v1/statuses/{code}"
327
331
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
328
332
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -330,7 +334,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
330
334
  baseOptions = configuration.baseOptions;
331
335
  baseAccessToken = configuration.accessToken;
332
336
  }
333
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
337
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
334
338
  localVarHeaderParameter = {};
335
339
  localVarQueryParameter = {};
336
340
  // authentication bearer required
@@ -347,7 +351,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
347
351
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
348
352
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
349
353
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
350
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateStatusRequestDto, localVarRequestOptions, configuration);
354
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchStatusRequestDto, localVarRequestOptions, configuration);
351
355
  return [2 /*return*/, {
352
356
  url: (0, common_1.toPathString)(localVarUrlObj),
353
357
  options: localVarRequestOptions,
@@ -367,7 +371,7 @@ var StatusesApiFp = function (configuration) {
367
371
  var localVarAxiosParamCreator = (0, exports.StatusesApiAxiosParamCreator)(configuration);
368
372
  return {
369
373
  /**
370
- * This will create status.
374
+ * This will create a status.
371
375
  * @summary Create the status
372
376
  * @param {CreateStatusRequestDto} createStatusRequestDto
373
377
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -409,7 +413,7 @@ var StatusesApiFp = function (configuration) {
409
413
  });
410
414
  },
411
415
  /**
412
- * This will get status.
416
+ * Get status by code.
413
417
  * @summary Retrieve the status
414
418
  * @param {string} code
415
419
  * @param {string} expand
@@ -434,19 +438,20 @@ var StatusesApiFp = function (configuration) {
434
438
  * Retrieves a list of statuses.
435
439
  * @summary List statuses
436
440
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
437
- * @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, createdAt</i>
438
- * @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, createdAt</i>
439
- * @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: createdAt</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, slug, name, createdAt, updatedAt</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, slug, name, createdAt, updatedAt</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, name, slug</i>
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, name, slug</i>
440
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/>
441
446
  * @param {*} [options] Override http request option.
442
447
  * @throws {RequiredError}
443
448
  */
444
- listStatuses: function (authorization, filter, filters, order, expand, options) {
449
+ listStatuses: function (authorization, filter, filters, search, order, expand, options) {
445
450
  return __awaiter(this, void 0, void 0, function () {
446
451
  var localVarAxiosArgs;
447
452
  return __generator(this, function (_a) {
448
453
  switch (_a.label) {
449
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listStatuses(authorization, filter, filters, order, expand, options)];
454
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listStatuses(authorization, filter, filters, search, order, expand, options)];
450
455
  case 1:
451
456
  localVarAxiosArgs = _a.sent();
452
457
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -455,20 +460,20 @@ var StatusesApiFp = function (configuration) {
455
460
  });
456
461
  },
457
462
  /**
458
- * This will update status.
463
+ * This will partially update a status by code with the provided fields.
459
464
  * @summary Update the status
460
465
  * @param {string} code
461
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
466
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
462
467
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
463
468
  * @param {*} [options] Override http request option.
464
469
  * @throws {RequiredError}
465
470
  */
466
- updateStatus: function (code, updateStatusRequestDto, authorization, options) {
471
+ patchStatus: function (code, patchStatusRequestDto, authorization, options) {
467
472
  return __awaiter(this, void 0, void 0, function () {
468
473
  var localVarAxiosArgs;
469
474
  return __generator(this, function (_a) {
470
475
  switch (_a.label) {
471
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateStatus(code, updateStatusRequestDto, authorization, options)];
476
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchStatus(code, patchStatusRequestDto, authorization, options)];
472
477
  case 1:
473
478
  localVarAxiosArgs = _a.sent();
474
479
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -487,7 +492,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
487
492
  var localVarFp = (0, exports.StatusesApiFp)(configuration);
488
493
  return {
489
494
  /**
490
- * This will create status.
495
+ * This will create a status.
491
496
  * @summary Create the status
492
497
  * @param {CreateStatusRequestDto} createStatusRequestDto
493
498
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -509,7 +514,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
509
514
  return localVarFp.deleteStatus(code, authorization, options).then(function (request) { return request(axios, basePath); });
510
515
  },
511
516
  /**
512
- * This will get status.
517
+ * Get status by code.
513
518
  * @summary Retrieve the status
514
519
  * @param {string} code
515
520
  * @param {string} expand
@@ -524,27 +529,28 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
524
529
  * Retrieves a list of statuses.
525
530
  * @summary List statuses
526
531
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
527
- * @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, createdAt</i>
528
- * @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, createdAt</i>
529
- * @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: createdAt</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, slug, name, createdAt, updatedAt</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, slug, name, createdAt, updatedAt</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, name, slug</i>
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, name, slug</i>
530
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/>
531
537
  * @param {*} [options] Override http request option.
532
538
  * @throws {RequiredError}
533
539
  */
534
- listStatuses: function (authorization, filter, filters, order, expand, options) {
535
- return localVarFp.listStatuses(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
540
+ listStatuses: function (authorization, filter, filters, search, order, expand, options) {
541
+ return localVarFp.listStatuses(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
536
542
  },
537
543
  /**
538
- * This will update status.
544
+ * This will partially update a status by code with the provided fields.
539
545
  * @summary Update the status
540
546
  * @param {string} code
541
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
547
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
542
548
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
543
549
  * @param {*} [options] Override http request option.
544
550
  * @throws {RequiredError}
545
551
  */
546
- updateStatus: function (code, updateStatusRequestDto, authorization, options) {
547
- return localVarFp.updateStatus(code, updateStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
552
+ patchStatus: function (code, patchStatusRequestDto, authorization, options) {
553
+ return localVarFp.patchStatus(code, patchStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
548
554
  },
549
555
  };
550
556
  };
@@ -561,7 +567,7 @@ var StatusesApi = /** @class */ (function (_super) {
561
567
  return _super !== null && _super.apply(this, arguments) || this;
562
568
  }
563
569
  /**
564
- * This will create status.
570
+ * This will create a status.
565
571
  * @summary Create the status
566
572
  * @param {StatusesApiCreateStatusRequest} requestParameters Request parameters.
567
573
  * @param {*} [options] Override http request option.
@@ -585,7 +591,7 @@ var StatusesApi = /** @class */ (function (_super) {
585
591
  return (0, exports.StatusesApiFp)(this.configuration).deleteStatus(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
586
592
  };
587
593
  /**
588
- * This will get status.
594
+ * Get status by code.
589
595
  * @summary Retrieve the status
590
596
  * @param {StatusesApiGetStatusRequest} requestParameters Request parameters.
591
597
  * @param {*} [options] Override http request option.
@@ -607,19 +613,19 @@ var StatusesApi = /** @class */ (function (_super) {
607
613
  StatusesApi.prototype.listStatuses = function (requestParameters, options) {
608
614
  var _this = this;
609
615
  if (requestParameters === void 0) { requestParameters = {}; }
610
- return (0, exports.StatusesApiFp)(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
616
+ return (0, exports.StatusesApiFp)(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
611
617
  };
612
618
  /**
613
- * This will update status.
619
+ * This will partially update a status by code with the provided fields.
614
620
  * @summary Update the status
615
- * @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
621
+ * @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
616
622
  * @param {*} [options] Override http request option.
617
623
  * @throws {RequiredError}
618
624
  * @memberof StatusesApi
619
625
  */
620
- StatusesApi.prototype.updateStatus = function (requestParameters, options) {
626
+ StatusesApi.prototype.patchStatus = function (requestParameters, options) {
621
627
  var _this = this;
622
- return (0, exports.StatusesApiFp)(this.configuration).updateStatus(requestParameters.code, requestParameters.updateStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
628
+ return (0, exports.StatusesApiFp)(this.configuration).patchStatus(requestParameters.code, requestParameters.patchStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
623
629
  };
624
630
  return StatusesApi;
625
631
  }(base_1.BaseAPI));
@@ -16,8 +16,8 @@ import { CreateTaskRequestDto } from '../models';
16
16
  import { CreateTaskResponseClass } from '../models';
17
17
  import { GetTaskResponseClass } from '../models';
18
18
  import { ListTasksResponseClass } from '../models';
19
- import { UpdateTaskRequestDto } from '../models';
20
- import { UpdateTaskResponseClass } from '../models';
19
+ import { PatchTaskRequestDto } from '../models';
20
+ import { PatchTaskResponseClass } from '../models';
21
21
  /**
22
22
  * TasksApi - axios parameter creator
23
23
  * @export
@@ -33,7 +33,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
33
33
  */
34
34
  createTask: (createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * This will delete task.
36
+ * This will delete a task by code.
37
37
  * @summary Delete the task
38
38
  * @param {string} code Unique identifier for the object.
39
39
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -42,7 +42,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
42
42
  */
43
43
  deleteTask: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * This will get task.
45
+ * This will get a task by code.
46
46
  * @summary Retrieve the task
47
47
  * @param {string} code
48
48
  * @param {string} expand
@@ -55,24 +55,27 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
55
55
  * Retrieves a list of tasks.
56
56
  * @summary List tasks
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
59
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
60
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
61
- * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&lt;i&gt;
58
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
60
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
61
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: subject, description&lt;/i&gt;
62
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate&lt;/i&gt;
63
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: categories, status&lt;i&gt;
64
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
62
65
  * @param {*} [options] Override http request option.
63
66
  * @throws {RequiredError}
64
67
  */
65
- listTasks: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ listTasks: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
69
  /**
67
- * This will update task.
70
+ * This will partially update a task by code with the provided fields.
68
71
  * @summary Update the task
69
72
  * @param {string} code
70
- * @param {UpdateTaskRequestDto} updateTaskRequestDto
73
+ * @param {PatchTaskRequestDto} patchTaskRequestDto
71
74
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
72
75
  * @param {*} [options] Override http request option.
73
76
  * @throws {RequiredError}
74
77
  */
75
- updateTask: (code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
+ patchTask: (code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
79
  };
77
80
  /**
78
81
  * TasksApi - functional programming interface
@@ -89,7 +92,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
89
92
  */
90
93
  createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTaskResponseClass>>;
91
94
  /**
92
- * This will delete task.
95
+ * This will delete a task by code.
93
96
  * @summary Delete the task
94
97
  * @param {string} code Unique identifier for the object.
95
98
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -98,7 +101,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
98
101
  */
99
102
  deleteTask(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
103
  /**
101
- * This will get task.
104
+ * This will get a task by code.
102
105
  * @summary Retrieve the task
103
106
  * @param {string} code
104
107
  * @param {string} expand
@@ -111,24 +114,27 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
111
114
  * Retrieves a list of tasks.
112
115
  * @summary List tasks
113
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
114
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
115
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
116
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
117
- * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&lt;i&gt;
117
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
120
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: subject, description&lt;/i&gt;
121
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate&lt;/i&gt;
122
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: categories, status&lt;i&gt;
123
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
118
124
  * @param {*} [options] Override http request option.
119
125
  * @throws {RequiredError}
120
126
  */
121
- listTasks(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>;
127
+ listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>;
122
128
  /**
123
- * This will update task.
129
+ * This will partially update a task by code with the provided fields.
124
130
  * @summary Update the task
125
131
  * @param {string} code
126
- * @param {UpdateTaskRequestDto} updateTaskRequestDto
132
+ * @param {PatchTaskRequestDto} patchTaskRequestDto
127
133
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
128
134
  * @param {*} [options] Override http request option.
129
135
  * @throws {RequiredError}
130
136
  */
131
- updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTaskResponseClass>>;
137
+ patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchTaskResponseClass>>;
132
138
  };
133
139
  /**
134
140
  * TasksApi - factory interface
@@ -145,7 +151,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
145
151
  */
146
152
  createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTaskResponseClass>;
147
153
  /**
148
- * This will delete task.
154
+ * This will delete a task by code.
149
155
  * @summary Delete the task
150
156
  * @param {string} code Unique identifier for the object.
151
157
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -154,7 +160,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
154
160
  */
155
161
  deleteTask(code: string, authorization?: string, options?: any): AxiosPromise<void>;
156
162
  /**
157
- * This will get task.
163
+ * This will get a task by code.
158
164
  * @summary Retrieve the task
159
165
  * @param {string} code
160
166
  * @param {string} expand
@@ -167,24 +173,27 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
167
173
  * Retrieves a list of tasks.
168
174
  * @summary List tasks
169
175
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
170
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
171
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
172
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
173
- * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&lt;i&gt;
176
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
178
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
179
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: subject, description&lt;/i&gt;
180
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate&lt;/i&gt;
181
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: categories, status&lt;i&gt;
182
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
174
183
  * @param {*} [options] Override http request option.
175
184
  * @throws {RequiredError}
176
185
  */
177
- listTasks(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
186
+ listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
178
187
  /**
179
- * This will update task.
188
+ * This will partially update a task by code with the provided fields.
180
189
  * @summary Update the task
181
190
  * @param {string} code
182
- * @param {UpdateTaskRequestDto} updateTaskRequestDto
191
+ * @param {PatchTaskRequestDto} patchTaskRequestDto
183
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
184
193
  * @param {*} [options] Override http request option.
185
194
  * @throws {RequiredError}
186
195
  */
187
- updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateTaskResponseClass>;
196
+ patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: any): AxiosPromise<PatchTaskResponseClass>;
188
197
  };
189
198
  /**
190
199
  * Request parameters for createTask operation in TasksApi.
@@ -262,52 +271,70 @@ export interface TasksApiListTasksRequest {
262
271
  */
263
272
  readonly authorization?: string;
264
273
  /**
265
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
274
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
275
+ * @type {number}
276
+ * @memberof TasksApiListTasks
277
+ */
278
+ readonly pageSize?: number;
279
+ /**
280
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
281
+ * @type {string}
282
+ * @memberof TasksApiListTasks
283
+ */
284
+ readonly pageToken?: string;
285
+ /**
286
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
266
287
  * @type {string}
267
288
  * @memberof TasksApiListTasks
268
289
  */
269
290
  readonly filter?: string;
270
291
  /**
271
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
292
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: subject, description&lt;/i&gt;
272
293
  * @type {string}
273
294
  * @memberof TasksApiListTasks
274
295
  */
275
- readonly filters?: string;
296
+ readonly search?: string;
276
297
  /**
277
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
298
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate&lt;/i&gt;
278
299
  * @type {string}
279
300
  * @memberof TasksApiListTasks
280
301
  */
281
302
  readonly order?: string;
282
303
  /**
283
- * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&lt;i&gt;
304
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: categories, status&lt;i&gt;
284
305
  * @type {string}
285
306
  * @memberof TasksApiListTasks
286
307
  */
287
308
  readonly expand?: string;
309
+ /**
310
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
311
+ * @type {string}
312
+ * @memberof TasksApiListTasks
313
+ */
314
+ readonly filters?: string;
288
315
  }
289
316
  /**
290
- * Request parameters for updateTask operation in TasksApi.
317
+ * Request parameters for patchTask operation in TasksApi.
291
318
  * @export
292
- * @interface TasksApiUpdateTaskRequest
319
+ * @interface TasksApiPatchTaskRequest
293
320
  */
294
- export interface TasksApiUpdateTaskRequest {
321
+ export interface TasksApiPatchTaskRequest {
295
322
  /**
296
323
  *
297
324
  * @type {string}
298
- * @memberof TasksApiUpdateTask
325
+ * @memberof TasksApiPatchTask
299
326
  */
300
327
  readonly code: string;
301
328
  /**
302
329
  *
303
- * @type {UpdateTaskRequestDto}
304
- * @memberof TasksApiUpdateTask
330
+ * @type {PatchTaskRequestDto}
331
+ * @memberof TasksApiPatchTask
305
332
  */
306
- readonly updateTaskRequestDto: UpdateTaskRequestDto;
333
+ readonly patchTaskRequestDto: PatchTaskRequestDto;
307
334
  /**
308
335
  * Bearer Token: provided by the login endpoint under the name accessToken.
309
336
  * @type {string}
310
- * @memberof TasksApiUpdateTask
337
+ * @memberof TasksApiPatchTask
311
338
  */
312
339
  readonly authorization?: string;
313
340
  }
@@ -328,7 +355,7 @@ export declare class TasksApi extends BaseAPI {
328
355
  */
329
356
  createTask(requestParameters: TasksApiCreateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTaskResponseClass, any, {}>>;
330
357
  /**
331
- * This will delete task.
358
+ * This will delete a task by code.
332
359
  * @summary Delete the task
333
360
  * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
334
361
  * @param {*} [options] Override http request option.
@@ -337,7 +364,7 @@ export declare class TasksApi extends BaseAPI {
337
364
  */
338
365
  deleteTask(requestParameters: TasksApiDeleteTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
339
366
  /**
340
- * This will get task.
367
+ * This will get a task by code.
341
368
  * @summary Retrieve the task
342
369
  * @param {TasksApiGetTaskRequest} requestParameters Request parameters.
343
370
  * @param {*} [options] Override http request option.
@@ -355,12 +382,12 @@ export declare class TasksApi extends BaseAPI {
355
382
  */
356
383
  listTasks(requestParameters?: TasksApiListTasksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponseClass, any, {}>>;
357
384
  /**
358
- * This will update task.
385
+ * This will partially update a task by code with the provided fields.
359
386
  * @summary Update the task
360
- * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
387
+ * @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
361
388
  * @param {*} [options] Override http request option.
362
389
  * @throws {RequiredError}
363
390
  * @memberof TasksApi
364
391
  */
365
- updateTask(requestParameters: TasksApiUpdateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTaskResponseClass, any, {}>>;
392
+ patchTask(requestParameters: TasksApiPatchTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchTaskResponseClass, any, {}>>;
366
393
  }