@emilgroup/task-sdk-node 1.0.1-beta.4 → 1.0.1-beta.5

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 (35) hide show
  1. package/.openapi-generator/FILES +6 -6
  2. package/README.md +2 -2
  3. package/api/categories-api.ts +30 -30
  4. package/api/statuses-api.ts +30 -30
  5. package/api/tasks-api.ts +30 -30
  6. package/dist/api/categories-api.d.ts +22 -22
  7. package/dist/api/categories-api.js +20 -20
  8. package/dist/api/statuses-api.d.ts +22 -22
  9. package/dist/api/statuses-api.js +20 -20
  10. package/dist/api/tasks-api.d.ts +22 -22
  11. package/dist/api/tasks-api.js +20 -20
  12. package/dist/models/index.d.ts +6 -6
  13. package/dist/models/index.js +6 -6
  14. package/dist/models/{update-category-request-dto.d.ts → patch-category-request-dto.d.ts} +7 -7
  15. package/dist/models/{update-category-response-class.d.ts → patch-category-response-class.d.ts} +3 -3
  16. package/dist/models/{update-status-request-dto.d.ts → patch-status-request-dto.d.ts} +7 -7
  17. package/dist/models/{update-status-response-class.d.ts → patch-status-response-class.d.ts} +3 -3
  18. package/dist/models/patch-task-request-dto.d.ts +108 -0
  19. package/dist/models/{update-task-response-class.d.ts → patch-task-response-class.d.ts} +3 -3
  20. package/models/index.ts +6 -6
  21. package/models/{update-category-request-dto.ts → patch-category-request-dto.ts} +7 -7
  22. package/models/{update-category-response-class.ts → patch-category-response-class.ts} +3 -3
  23. package/models/{update-status-request-dto.ts → patch-status-request-dto.ts} +7 -7
  24. package/models/{update-status-response-class.ts → patch-status-response-class.ts} +3 -3
  25. package/models/patch-task-request-dto.ts +114 -0
  26. package/models/{update-task-response-class.ts → patch-task-response-class.ts} +3 -3
  27. package/package.json +1 -1
  28. package/dist/models/update-task-request-dto.d.ts +0 -72
  29. package/models/update-task-request-dto.ts +0 -78
  30. /package/dist/models/{update-category-request-dto.js → patch-category-request-dto.js} +0 -0
  31. /package/dist/models/{update-category-response-class.js → patch-category-response-class.js} +0 -0
  32. /package/dist/models/{update-status-request-dto.js → patch-status-request-dto.js} +0 -0
  33. /package/dist/models/{update-status-response-class.js → patch-status-response-class.js} +0 -0
  34. /package/dist/models/{update-task-request-dto.js → patch-task-request-dto.js} +0 -0
  35. /package/dist/models/{update-task-response-class.js → patch-task-response-class.js} +0 -0
@@ -312,15 +312,15 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
312
312
  });
313
313
  },
314
314
  /**
315
- * This will update category.
315
+ * This will partially update a category by code with the provided fields.
316
316
  * @summary Update the category
317
317
  * @param {string} code
318
- * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
318
+ * @param {PatchCategoryRequestDto} patchCategoryRequestDto
319
319
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
320
320
  * @param {*} [options] Override http request option.
321
321
  * @throws {RequiredError}
322
322
  */
323
- updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
323
+ patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
324
324
  if (options === void 0) { options = {}; }
325
325
  return __awaiter(_this, void 0, void 0, function () {
326
326
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -328,9 +328,9 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
328
328
  switch (_a.label) {
329
329
  case 0:
330
330
  // verify required parameter 'code' is not null or undefined
331
- (0, common_1.assertParamExists)('updateCategory', 'code', code);
332
- // verify required parameter 'updateCategoryRequestDto' is not null or undefined
333
- (0, common_1.assertParamExists)('updateCategory', 'updateCategoryRequestDto', updateCategoryRequestDto);
331
+ (0, common_1.assertParamExists)('patchCategory', 'code', code);
332
+ // verify required parameter 'patchCategoryRequestDto' is not null or undefined
333
+ (0, common_1.assertParamExists)('patchCategory', 'patchCategoryRequestDto', patchCategoryRequestDto);
334
334
  localVarPath = "/taskservice/v1/categories/{code}"
335
335
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
336
336
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -338,7 +338,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
338
338
  baseOptions = configuration.baseOptions;
339
339
  baseAccessToken = configuration.accessToken;
340
340
  }
341
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
341
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
342
342
  localVarHeaderParameter = {};
343
343
  localVarQueryParameter = {};
344
344
  // authentication bearer required
@@ -355,7 +355,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
355
355
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
356
356
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
357
357
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
358
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCategoryRequestDto, localVarRequestOptions, configuration);
358
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchCategoryRequestDto, localVarRequestOptions, configuration);
359
359
  return [2 /*return*/, {
360
360
  url: (0, common_1.toPathString)(localVarUrlObj),
361
361
  options: localVarRequestOptions,
@@ -464,20 +464,20 @@ var CategoriesApiFp = function (configuration) {
464
464
  });
465
465
  },
466
466
  /**
467
- * This will update category.
467
+ * This will partially update a category by code with the provided fields.
468
468
  * @summary Update the category
469
469
  * @param {string} code
470
- * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
470
+ * @param {PatchCategoryRequestDto} patchCategoryRequestDto
471
471
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
472
472
  * @param {*} [options] Override http request option.
473
473
  * @throws {RequiredError}
474
474
  */
475
- updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
475
+ patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
476
476
  return __awaiter(this, void 0, void 0, function () {
477
477
  var localVarAxiosArgs;
478
478
  return __generator(this, function (_a) {
479
479
  switch (_a.label) {
480
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateCategory(code, updateCategoryRequestDto, authorization, options)];
480
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCategory(code, patchCategoryRequestDto, authorization, options)];
481
481
  case 1:
482
482
  localVarAxiosArgs = _a.sent();
483
483
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -545,16 +545,16 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
545
545
  return localVarFp.listCategories(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
546
546
  },
547
547
  /**
548
- * This will update category.
548
+ * This will partially update a category by code with the provided fields.
549
549
  * @summary Update the category
550
550
  * @param {string} code
551
- * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
551
+ * @param {PatchCategoryRequestDto} patchCategoryRequestDto
552
552
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
553
553
  * @param {*} [options] Override http request option.
554
554
  * @throws {RequiredError}
555
555
  */
556
- updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
557
- return localVarFp.updateCategory(code, updateCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
556
+ patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
557
+ return localVarFp.patchCategory(code, patchCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
558
558
  },
559
559
  };
560
560
  };
@@ -620,16 +620,16 @@ var CategoriesApi = /** @class */ (function (_super) {
620
620
  return (0, exports.CategoriesApiFp)(this.configuration).listCategories(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
621
621
  };
622
622
  /**
623
- * This will update category.
623
+ * This will partially update a category by code with the provided fields.
624
624
  * @summary Update the category
625
- * @param {CategoriesApiUpdateCategoryRequest} requestParameters Request parameters.
625
+ * @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
626
626
  * @param {*} [options] Override http request option.
627
627
  * @throws {RequiredError}
628
628
  * @memberof CategoriesApi
629
629
  */
630
- CategoriesApi.prototype.updateCategory = function (requestParameters, options) {
630
+ CategoriesApi.prototype.patchCategory = function (requestParameters, options) {
631
631
  var _this = this;
632
- return (0, exports.CategoriesApiFp)(this.configuration).updateCategory(requestParameters.code, requestParameters.updateCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
632
+ return (0, exports.CategoriesApiFp)(this.configuration).patchCategory(requestParameters.code, requestParameters.patchCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
633
633
  };
634
634
  return CategoriesApi;
635
635
  }(base_1.BaseAPI));
@@ -16,8 +16,8 @@ import { CreateStatusRequestDto } from '../models';
16
16
  import { CreateStatusResponseClass } from '../models';
17
17
  import { GetStatusResponseClass } from '../models';
18
18
  import { ListStatusesResponseClass } from '../models';
19
- import { UpdateStatusRequestDto } from '../models';
20
- import { UpdateStatusResponseClass } from '../models';
19
+ import { PatchStatusRequestDto } from '../models';
20
+ import { PatchStatusResponseClass } from '../models';
21
21
  /**
22
22
  * StatusesApi - axios parameter creator
23
23
  * @export
@@ -65,15 +65,15 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
65
65
  */
66
66
  listStatuses: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
67
  /**
68
- * This will update status.
68
+ * This will partially update a status by code with the provided fields.
69
69
  * @summary Update the status
70
70
  * @param {string} code
71
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
71
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
72
72
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
73
73
  * @param {*} [options] Override http request option.
74
74
  * @throws {RequiredError}
75
75
  */
76
- updateStatus: (code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ patchStatus: (code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
77
  };
78
78
  /**
79
79
  * StatusesApi - functional programming interface
@@ -122,15 +122,15 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
122
122
  */
123
123
  listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>>;
124
124
  /**
125
- * This will update status.
125
+ * This will partially update a status by code with the provided fields.
126
126
  * @summary Update the status
127
127
  * @param {string} code
128
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
128
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
129
129
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
130
130
  * @param {*} [options] Override http request option.
131
131
  * @throws {RequiredError}
132
132
  */
133
- updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateStatusResponseClass>>;
133
+ patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchStatusResponseClass>>;
134
134
  };
135
135
  /**
136
136
  * StatusesApi - factory interface
@@ -179,15 +179,15 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
179
179
  */
180
180
  listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass>;
181
181
  /**
182
- * This will update status.
182
+ * This will partially update a status by code with the provided fields.
183
183
  * @summary Update the status
184
184
  * @param {string} code
185
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
185
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
186
186
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
187
187
  * @param {*} [options] Override http request option.
188
188
  * @throws {RequiredError}
189
189
  */
190
- updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateStatusResponseClass>;
190
+ patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchStatusResponseClass>;
191
191
  };
192
192
  /**
193
193
  * Request parameters for createStatus operation in StatusesApi.
@@ -296,27 +296,27 @@ export interface StatusesApiListStatusesRequest {
296
296
  readonly expand?: string;
297
297
  }
298
298
  /**
299
- * Request parameters for updateStatus operation in StatusesApi.
299
+ * Request parameters for patchStatus operation in StatusesApi.
300
300
  * @export
301
- * @interface StatusesApiUpdateStatusRequest
301
+ * @interface StatusesApiPatchStatusRequest
302
302
  */
303
- export interface StatusesApiUpdateStatusRequest {
303
+ export interface StatusesApiPatchStatusRequest {
304
304
  /**
305
305
  *
306
306
  * @type {string}
307
- * @memberof StatusesApiUpdateStatus
307
+ * @memberof StatusesApiPatchStatus
308
308
  */
309
309
  readonly code: string;
310
310
  /**
311
311
  *
312
- * @type {UpdateStatusRequestDto}
313
- * @memberof StatusesApiUpdateStatus
312
+ * @type {PatchStatusRequestDto}
313
+ * @memberof StatusesApiPatchStatus
314
314
  */
315
- readonly updateStatusRequestDto: UpdateStatusRequestDto;
315
+ readonly patchStatusRequestDto: PatchStatusRequestDto;
316
316
  /**
317
317
  * Bearer Token: provided by the login endpoint under the name accessToken.
318
318
  * @type {string}
319
- * @memberof StatusesApiUpdateStatus
319
+ * @memberof StatusesApiPatchStatus
320
320
  */
321
321
  readonly authorization?: string;
322
322
  }
@@ -364,12 +364,12 @@ export declare class StatusesApi extends BaseAPI {
364
364
  */
365
365
  listStatuses(requestParameters?: StatusesApiListStatusesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListStatusesResponseClass, any, {}>>;
366
366
  /**
367
- * This will update status.
367
+ * This will partially update a status by code with the provided fields.
368
368
  * @summary Update the status
369
- * @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
369
+ * @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
370
370
  * @param {*} [options] Override http request option.
371
371
  * @throws {RequiredError}
372
372
  * @memberof StatusesApi
373
373
  */
374
- updateStatus(requestParameters: StatusesApiUpdateStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateStatusResponseClass, any, {}>>;
374
+ patchStatus(requestParameters: StatusesApiPatchStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchStatusResponseClass, any, {}>>;
375
375
  }
@@ -312,15 +312,15 @@ var StatusesApiAxiosParamCreator = function (configuration) {
312
312
  });
313
313
  },
314
314
  /**
315
- * This will update status.
315
+ * This will partially update a status by code with the provided fields.
316
316
  * @summary Update the status
317
317
  * @param {string} code
318
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
318
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
319
319
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
320
320
  * @param {*} [options] Override http request option.
321
321
  * @throws {RequiredError}
322
322
  */
323
- updateStatus: function (code, updateStatusRequestDto, authorization, options) {
323
+ patchStatus: function (code, patchStatusRequestDto, authorization, options) {
324
324
  if (options === void 0) { options = {}; }
325
325
  return __awaiter(_this, void 0, void 0, function () {
326
326
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -328,9 +328,9 @@ var StatusesApiAxiosParamCreator = function (configuration) {
328
328
  switch (_a.label) {
329
329
  case 0:
330
330
  // verify required parameter 'code' is not null or undefined
331
- (0, common_1.assertParamExists)('updateStatus', 'code', code);
332
- // verify required parameter 'updateStatusRequestDto' is not null or undefined
333
- (0, common_1.assertParamExists)('updateStatus', 'updateStatusRequestDto', updateStatusRequestDto);
331
+ (0, common_1.assertParamExists)('patchStatus', 'code', code);
332
+ // verify required parameter 'patchStatusRequestDto' is not null or undefined
333
+ (0, common_1.assertParamExists)('patchStatus', 'patchStatusRequestDto', patchStatusRequestDto);
334
334
  localVarPath = "/taskservice/v1/statuses/{code}"
335
335
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
336
336
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -338,7 +338,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
338
338
  baseOptions = configuration.baseOptions;
339
339
  baseAccessToken = configuration.accessToken;
340
340
  }
341
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
341
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
342
342
  localVarHeaderParameter = {};
343
343
  localVarQueryParameter = {};
344
344
  // authentication bearer required
@@ -355,7 +355,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
355
355
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
356
356
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
357
357
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
358
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateStatusRequestDto, localVarRequestOptions, configuration);
358
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchStatusRequestDto, localVarRequestOptions, configuration);
359
359
  return [2 /*return*/, {
360
360
  url: (0, common_1.toPathString)(localVarUrlObj),
361
361
  options: localVarRequestOptions,
@@ -464,20 +464,20 @@ var StatusesApiFp = function (configuration) {
464
464
  });
465
465
  },
466
466
  /**
467
- * This will update status.
467
+ * This will partially update a status by code with the provided fields.
468
468
  * @summary Update the status
469
469
  * @param {string} code
470
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
470
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
471
471
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
472
472
  * @param {*} [options] Override http request option.
473
473
  * @throws {RequiredError}
474
474
  */
475
- updateStatus: function (code, updateStatusRequestDto, authorization, options) {
475
+ patchStatus: function (code, patchStatusRequestDto, authorization, options) {
476
476
  return __awaiter(this, void 0, void 0, function () {
477
477
  var localVarAxiosArgs;
478
478
  return __generator(this, function (_a) {
479
479
  switch (_a.label) {
480
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateStatus(code, updateStatusRequestDto, authorization, options)];
480
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchStatus(code, patchStatusRequestDto, authorization, options)];
481
481
  case 1:
482
482
  localVarAxiosArgs = _a.sent();
483
483
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -545,16 +545,16 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
545
545
  return localVarFp.listStatuses(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
546
546
  },
547
547
  /**
548
- * This will update status.
548
+ * This will partially update a status by code with the provided fields.
549
549
  * @summary Update the status
550
550
  * @param {string} code
551
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
551
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
552
552
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
553
553
  * @param {*} [options] Override http request option.
554
554
  * @throws {RequiredError}
555
555
  */
556
- updateStatus: function (code, updateStatusRequestDto, authorization, options) {
557
- return localVarFp.updateStatus(code, updateStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
556
+ patchStatus: function (code, patchStatusRequestDto, authorization, options) {
557
+ return localVarFp.patchStatus(code, patchStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
558
558
  },
559
559
  };
560
560
  };
@@ -620,16 +620,16 @@ var StatusesApi = /** @class */ (function (_super) {
620
620
  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); });
621
621
  };
622
622
  /**
623
- * This will update status.
623
+ * This will partially update a status by code with the provided fields.
624
624
  * @summary Update the status
625
- * @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
625
+ * @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
626
626
  * @param {*} [options] Override http request option.
627
627
  * @throws {RequiredError}
628
628
  * @memberof StatusesApi
629
629
  */
630
- StatusesApi.prototype.updateStatus = function (requestParameters, options) {
630
+ StatusesApi.prototype.patchStatus = function (requestParameters, options) {
631
631
  var _this = this;
632
- return (0, exports.StatusesApiFp)(this.configuration).updateStatus(requestParameters.code, requestParameters.updateStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
632
+ return (0, exports.StatusesApiFp)(this.configuration).patchStatus(requestParameters.code, requestParameters.patchStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
633
633
  };
634
634
  return StatusesApi;
635
635
  }(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
@@ -65,15 +65,15 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
65
65
  */
66
66
  listTasks: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
67
  /**
68
- * This will update a task by code.
68
+ * This will partially update a task by code with the provided fields.
69
69
  * @summary Update the task
70
70
  * @param {string} code
71
- * @param {UpdateTaskRequestDto} updateTaskRequestDto
71
+ * @param {PatchTaskRequestDto} patchTaskRequestDto
72
72
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
73
73
  * @param {*} [options] Override http request option.
74
74
  * @throws {RequiredError}
75
75
  */
76
- updateTask: (code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ patchTask: (code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
77
  };
78
78
  /**
79
79
  * TasksApi - functional programming interface
@@ -122,15 +122,15 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
122
122
  */
123
123
  listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>;
124
124
  /**
125
- * This will update a task by code.
125
+ * This will partially update a task by code with the provided fields.
126
126
  * @summary Update the task
127
127
  * @param {string} code
128
- * @param {UpdateTaskRequestDto} updateTaskRequestDto
128
+ * @param {PatchTaskRequestDto} patchTaskRequestDto
129
129
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
130
130
  * @param {*} [options] Override http request option.
131
131
  * @throws {RequiredError}
132
132
  */
133
- updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTaskResponseClass>>;
133
+ patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchTaskResponseClass>>;
134
134
  };
135
135
  /**
136
136
  * TasksApi - factory interface
@@ -179,15 +179,15 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
179
179
  */
180
180
  listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
181
181
  /**
182
- * This will update a task by code.
182
+ * This will partially update a task by code with the provided fields.
183
183
  * @summary Update the task
184
184
  * @param {string} code
185
- * @param {UpdateTaskRequestDto} updateTaskRequestDto
185
+ * @param {PatchTaskRequestDto} patchTaskRequestDto
186
186
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
187
187
  * @param {*} [options] Override http request option.
188
188
  * @throws {RequiredError}
189
189
  */
190
- updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateTaskResponseClass>;
190
+ patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: any): AxiosPromise<PatchTaskResponseClass>;
191
191
  };
192
192
  /**
193
193
  * Request parameters for createTask operation in TasksApi.
@@ -296,27 +296,27 @@ export interface TasksApiListTasksRequest {
296
296
  readonly expand?: string;
297
297
  }
298
298
  /**
299
- * Request parameters for updateTask operation in TasksApi.
299
+ * Request parameters for patchTask operation in TasksApi.
300
300
  * @export
301
- * @interface TasksApiUpdateTaskRequest
301
+ * @interface TasksApiPatchTaskRequest
302
302
  */
303
- export interface TasksApiUpdateTaskRequest {
303
+ export interface TasksApiPatchTaskRequest {
304
304
  /**
305
305
  *
306
306
  * @type {string}
307
- * @memberof TasksApiUpdateTask
307
+ * @memberof TasksApiPatchTask
308
308
  */
309
309
  readonly code: string;
310
310
  /**
311
311
  *
312
- * @type {UpdateTaskRequestDto}
313
- * @memberof TasksApiUpdateTask
312
+ * @type {PatchTaskRequestDto}
313
+ * @memberof TasksApiPatchTask
314
314
  */
315
- readonly updateTaskRequestDto: UpdateTaskRequestDto;
315
+ readonly patchTaskRequestDto: PatchTaskRequestDto;
316
316
  /**
317
317
  * Bearer Token: provided by the login endpoint under the name accessToken.
318
318
  * @type {string}
319
- * @memberof TasksApiUpdateTask
319
+ * @memberof TasksApiPatchTask
320
320
  */
321
321
  readonly authorization?: string;
322
322
  }
@@ -364,12 +364,12 @@ export declare class TasksApi extends BaseAPI {
364
364
  */
365
365
  listTasks(requestParameters?: TasksApiListTasksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponseClass, any, {}>>;
366
366
  /**
367
- * This will update a task by code.
367
+ * This will partially update a task by code with the provided fields.
368
368
  * @summary Update the task
369
- * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
369
+ * @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
370
370
  * @param {*} [options] Override http request option.
371
371
  * @throws {RequiredError}
372
372
  * @memberof TasksApi
373
373
  */
374
- updateTask(requestParameters: TasksApiUpdateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTaskResponseClass, any, {}>>;
374
+ patchTask(requestParameters: TasksApiPatchTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchTaskResponseClass, any, {}>>;
375
375
  }
@@ -312,15 +312,15 @@ var TasksApiAxiosParamCreator = function (configuration) {
312
312
  });
313
313
  },
314
314
  /**
315
- * This will update a task by code.
315
+ * This will partially update a task by code with the provided fields.
316
316
  * @summary Update the task
317
317
  * @param {string} code
318
- * @param {UpdateTaskRequestDto} updateTaskRequestDto
318
+ * @param {PatchTaskRequestDto} patchTaskRequestDto
319
319
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
320
320
  * @param {*} [options] Override http request option.
321
321
  * @throws {RequiredError}
322
322
  */
323
- updateTask: function (code, updateTaskRequestDto, authorization, options) {
323
+ patchTask: function (code, patchTaskRequestDto, authorization, options) {
324
324
  if (options === void 0) { options = {}; }
325
325
  return __awaiter(_this, void 0, void 0, function () {
326
326
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -328,9 +328,9 @@ var TasksApiAxiosParamCreator = function (configuration) {
328
328
  switch (_a.label) {
329
329
  case 0:
330
330
  // verify required parameter 'code' is not null or undefined
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);
331
+ (0, common_1.assertParamExists)('patchTask', 'code', code);
332
+ // verify required parameter 'patchTaskRequestDto' is not null or undefined
333
+ (0, common_1.assertParamExists)('patchTask', 'patchTaskRequestDto', patchTaskRequestDto);
334
334
  localVarPath = "/taskservice/v1/tasks/{code}"
335
335
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
336
336
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -338,7 +338,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
338
338
  baseOptions = configuration.baseOptions;
339
339
  baseAccessToken = configuration.accessToken;
340
340
  }
341
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
341
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
342
342
  localVarHeaderParameter = {};
343
343
  localVarQueryParameter = {};
344
344
  // authentication bearer required
@@ -355,7 +355,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
355
355
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
356
356
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
357
357
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
358
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateTaskRequestDto, localVarRequestOptions, configuration);
358
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchTaskRequestDto, localVarRequestOptions, configuration);
359
359
  return [2 /*return*/, {
360
360
  url: (0, common_1.toPathString)(localVarUrlObj),
361
361
  options: localVarRequestOptions,
@@ -464,20 +464,20 @@ var TasksApiFp = function (configuration) {
464
464
  });
465
465
  },
466
466
  /**
467
- * This will update a task by code.
467
+ * This will partially update a task by code with the provided fields.
468
468
  * @summary Update the task
469
469
  * @param {string} code
470
- * @param {UpdateTaskRequestDto} updateTaskRequestDto
470
+ * @param {PatchTaskRequestDto} patchTaskRequestDto
471
471
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
472
472
  * @param {*} [options] Override http request option.
473
473
  * @throws {RequiredError}
474
474
  */
475
- updateTask: function (code, updateTaskRequestDto, authorization, options) {
475
+ patchTask: function (code, patchTaskRequestDto, authorization, options) {
476
476
  return __awaiter(this, void 0, void 0, function () {
477
477
  var localVarAxiosArgs;
478
478
  return __generator(this, function (_a) {
479
479
  switch (_a.label) {
480
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateTask(code, updateTaskRequestDto, authorization, options)];
480
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchTask(code, patchTaskRequestDto, authorization, options)];
481
481
  case 1:
482
482
  localVarAxiosArgs = _a.sent();
483
483
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -545,16 +545,16 @@ var TasksApiFactory = function (configuration, basePath, axios) {
545
545
  return localVarFp.listTasks(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
546
546
  },
547
547
  /**
548
- * This will update a task by code.
548
+ * This will partially update a task by code with the provided fields.
549
549
  * @summary Update the task
550
550
  * @param {string} code
551
- * @param {UpdateTaskRequestDto} updateTaskRequestDto
551
+ * @param {PatchTaskRequestDto} patchTaskRequestDto
552
552
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
553
553
  * @param {*} [options] Override http request option.
554
554
  * @throws {RequiredError}
555
555
  */
556
- updateTask: function (code, updateTaskRequestDto, authorization, options) {
557
- return localVarFp.updateTask(code, updateTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
556
+ patchTask: function (code, patchTaskRequestDto, authorization, options) {
557
+ return localVarFp.patchTask(code, patchTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
558
558
  },
559
559
  };
560
560
  };
@@ -620,16 +620,16 @@ var TasksApi = /** @class */ (function (_super) {
620
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); });
621
621
  };
622
622
  /**
623
- * This will update a task by code.
623
+ * This will partially update a task by code with the provided fields.
624
624
  * @summary Update the task
625
- * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
625
+ * @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
626
626
  * @param {*} [options] Override http request option.
627
627
  * @throws {RequiredError}
628
628
  * @memberof TasksApi
629
629
  */
630
- TasksApi.prototype.updateTask = function (requestParameters, options) {
630
+ TasksApi.prototype.patchTask = function (requestParameters, options) {
631
631
  var _this = this;
632
- return (0, exports.TasksApiFp)(this.configuration).updateTask(requestParameters.code, requestParameters.updateTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
632
+ return (0, exports.TasksApiFp)(this.configuration).patchTask(requestParameters.code, requestParameters.patchTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
633
633
  };
634
634
  return TasksApi;
635
635
  }(base_1.BaseAPI));
@@ -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';
21
27
  export * from './status-class';
22
28
  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';
@@ -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);
37
43
  __exportStar(require("./status-class"), exports);
38
44
  __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);