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

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 +36 -50
  4. package/api/statuses-api.ts +36 -50
  5. package/api/tasks-api.ts +79 -51
  6. package/dist/api/categories-api.d.ts +25 -34
  7. package/dist/api/categories-api.js +26 -32
  8. package/dist/api/statuses-api.d.ts +25 -34
  9. package/dist/api/statuses-api.js +26 -32
  10. package/dist/api/tasks-api.d.ts +54 -36
  11. package/dist/api/tasks-api.js +47 -35
  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
@@ -253,13 +253,12 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
254
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i>
255
255
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i>
256
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i>
257
256
  * @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>
258
257
  * @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/>
259
258
  * @param {*} [options] Override http request option.
260
259
  * @throws {RequiredError}
261
260
  */
262
- listCategories: function (authorization, filter, filters, search, order, expand, options) {
261
+ listCategories: function (authorization, filter, filters, order, expand, options) {
263
262
  if (options === void 0) { options = {}; }
264
263
  return __awaiter(_this, void 0, void 0, function () {
265
264
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -288,9 +287,6 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
288
287
  if (filters !== undefined) {
289
288
  localVarQueryParameter['filters'] = filters;
290
289
  }
291
- if (search !== undefined) {
292
- localVarQueryParameter['search'] = search;
293
- }
294
290
  if (order !== undefined) {
295
291
  localVarQueryParameter['order'] = order;
296
292
  }
@@ -312,15 +308,15 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
312
308
  });
313
309
  },
314
310
  /**
315
- * This will update category.
311
+ * This will partially update a category by code with the provided fields.
316
312
  * @summary Update the category
317
313
  * @param {string} code
318
- * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
314
+ * @param {PatchCategoryRequestDto} patchCategoryRequestDto
319
315
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
320
316
  * @param {*} [options] Override http request option.
321
317
  * @throws {RequiredError}
322
318
  */
323
- updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
319
+ patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
324
320
  if (options === void 0) { options = {}; }
325
321
  return __awaiter(_this, void 0, void 0, function () {
326
322
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -328,9 +324,9 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
328
324
  switch (_a.label) {
329
325
  case 0:
330
326
  // 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);
327
+ (0, common_1.assertParamExists)('patchCategory', 'code', code);
328
+ // verify required parameter 'patchCategoryRequestDto' is not null or undefined
329
+ (0, common_1.assertParamExists)('patchCategory', 'patchCategoryRequestDto', patchCategoryRequestDto);
334
330
  localVarPath = "/taskservice/v1/categories/{code}"
335
331
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
336
332
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -338,7 +334,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
338
334
  baseOptions = configuration.baseOptions;
339
335
  baseAccessToken = configuration.accessToken;
340
336
  }
341
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
337
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
342
338
  localVarHeaderParameter = {};
343
339
  localVarQueryParameter = {};
344
340
  // authentication bearer required
@@ -355,7 +351,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
355
351
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
356
352
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
357
353
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
358
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCategoryRequestDto, localVarRequestOptions, configuration);
354
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchCategoryRequestDto, localVarRequestOptions, configuration);
359
355
  return [2 /*return*/, {
360
356
  url: (0, common_1.toPathString)(localVarUrlObj),
361
357
  options: localVarRequestOptions,
@@ -444,18 +440,17 @@ var CategoriesApiFp = function (configuration) {
444
440
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
445
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>
446
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>
447
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i>
448
443
  * @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>
449
444
  * @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/>
450
445
  * @param {*} [options] Override http request option.
451
446
  * @throws {RequiredError}
452
447
  */
453
- listCategories: function (authorization, filter, filters, search, order, expand, options) {
448
+ listCategories: function (authorization, filter, filters, order, expand, options) {
454
449
  return __awaiter(this, void 0, void 0, function () {
455
450
  var localVarAxiosArgs;
456
451
  return __generator(this, function (_a) {
457
452
  switch (_a.label) {
458
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCategories(authorization, filter, filters, search, order, expand, options)];
453
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCategories(authorization, filter, filters, order, expand, options)];
459
454
  case 1:
460
455
  localVarAxiosArgs = _a.sent();
461
456
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -464,20 +459,20 @@ var CategoriesApiFp = function (configuration) {
464
459
  });
465
460
  },
466
461
  /**
467
- * This will update category.
462
+ * This will partially update a category by code with the provided fields.
468
463
  * @summary Update the category
469
464
  * @param {string} code
470
- * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
465
+ * @param {PatchCategoryRequestDto} patchCategoryRequestDto
471
466
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
472
467
  * @param {*} [options] Override http request option.
473
468
  * @throws {RequiredError}
474
469
  */
475
- updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
470
+ patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
476
471
  return __awaiter(this, void 0, void 0, function () {
477
472
  var localVarAxiosArgs;
478
473
  return __generator(this, function (_a) {
479
474
  switch (_a.label) {
480
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateCategory(code, updateCategoryRequestDto, authorization, options)];
475
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCategory(code, patchCategoryRequestDto, authorization, options)];
481
476
  case 1:
482
477
  localVarAxiosArgs = _a.sent();
483
478
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -535,26 +530,25 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
535
530
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
536
531
  * @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>
537
532
  * @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>
538
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i>
539
533
  * @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>
540
534
  * @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/>
541
535
  * @param {*} [options] Override http request option.
542
536
  * @throws {RequiredError}
543
537
  */
544
- listCategories: function (authorization, filter, filters, search, order, expand, options) {
545
- return localVarFp.listCategories(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
538
+ listCategories: function (authorization, filter, filters, order, expand, options) {
539
+ return localVarFp.listCategories(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
546
540
  },
547
541
  /**
548
- * This will update category.
542
+ * This will partially update a category by code with the provided fields.
549
543
  * @summary Update the category
550
544
  * @param {string} code
551
- * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
545
+ * @param {PatchCategoryRequestDto} patchCategoryRequestDto
552
546
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
553
547
  * @param {*} [options] Override http request option.
554
548
  * @throws {RequiredError}
555
549
  */
556
- updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
557
- return localVarFp.updateCategory(code, updateCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
550
+ patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
551
+ return localVarFp.patchCategory(code, patchCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
558
552
  },
559
553
  };
560
554
  };
@@ -617,19 +611,19 @@ var CategoriesApi = /** @class */ (function (_super) {
617
611
  CategoriesApi.prototype.listCategories = function (requestParameters, options) {
618
612
  var _this = this;
619
613
  if (requestParameters === void 0) { requestParameters = {}; }
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); });
614
+ return (0, exports.CategoriesApiFp)(this.configuration).listCategories(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
621
615
  };
622
616
  /**
623
- * This will update category.
617
+ * This will partially update a category by code with the provided fields.
624
618
  * @summary Update the category
625
- * @param {CategoriesApiUpdateCategoryRequest} requestParameters Request parameters.
619
+ * @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
626
620
  * @param {*} [options] Override http request option.
627
621
  * @throws {RequiredError}
628
622
  * @memberof CategoriesApi
629
623
  */
630
- CategoriesApi.prototype.updateCategory = function (requestParameters, options) {
624
+ CategoriesApi.prototype.patchCategory = function (requestParameters, options) {
631
625
  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); });
626
+ return (0, exports.CategoriesApiFp)(this.configuration).patchCategory(requestParameters.code, requestParameters.patchCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
633
627
  };
634
628
  return CategoriesApi;
635
629
  }(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
@@ -57,23 +57,22 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
58
  * @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>
59
59
  * @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>
60
- * @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>
61
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i>
62
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.<br/> <br/>
63
62
  * @param {*} [options] Override http request option.
64
63
  * @throws {RequiredError}
65
64
  */
66
- listStatuses: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ listStatuses: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
66
  /**
68
- * This will update status.
67
+ * This will partially update a status by code with the provided fields.
69
68
  * @summary Update the status
70
69
  * @param {string} code
71
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
70
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
72
71
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
73
72
  * @param {*} [options] Override http request option.
74
73
  * @throws {RequiredError}
75
74
  */
76
- updateStatus: (code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
+ patchStatus: (code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
76
  };
78
77
  /**
79
78
  * StatusesApi - functional programming interface
@@ -114,23 +113,22 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
114
113
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
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, slug, name, createdAt, updatedAt&lt;/i&gt;
116
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, slug, name, createdAt, updatedAt&lt;/i&gt;
117
- * @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: id, code, name, slug&lt;/i&gt;
118
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, updatedAt, name, slug&lt;/i&gt;
119
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;
120
118
  * @param {*} [options] Override http request option.
121
119
  * @throws {RequiredError}
122
120
  */
123
- listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>>;
121
+ listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>>;
124
122
  /**
125
- * This will update status.
123
+ * This will partially update a status by code with the provided fields.
126
124
  * @summary Update the status
127
125
  * @param {string} code
128
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
126
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
129
127
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
130
128
  * @param {*} [options] Override http request option.
131
129
  * @throws {RequiredError}
132
130
  */
133
- updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateStatusResponseClass>>;
131
+ patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchStatusResponseClass>>;
134
132
  };
135
133
  /**
136
134
  * StatusesApi - factory interface
@@ -171,23 +169,22 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
171
169
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
172
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, slug, name, createdAt, updatedAt&lt;/i&gt;
173
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, slug, name, createdAt, updatedAt&lt;/i&gt;
174
- * @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: id, code, name, slug&lt;/i&gt;
175
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, updatedAt, name, slug&lt;/i&gt;
176
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;
177
174
  * @param {*} [options] Override http request option.
178
175
  * @throws {RequiredError}
179
176
  */
180
- listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass>;
177
+ listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass>;
181
178
  /**
182
- * This will update status.
179
+ * This will partially update a status by code with the provided fields.
183
180
  * @summary Update the status
184
181
  * @param {string} code
185
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
182
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
186
183
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
187
184
  * @param {*} [options] Override http request option.
188
185
  * @throws {RequiredError}
189
186
  */
190
- updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateStatusResponseClass>;
187
+ patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchStatusResponseClass>;
191
188
  };
192
189
  /**
193
190
  * Request parameters for createStatus operation in StatusesApi.
@@ -276,12 +273,6 @@ export interface StatusesApiListStatusesRequest {
276
273
  * @memberof StatusesApiListStatuses
277
274
  */
278
275
  readonly filters?: string;
279
- /**
280
- * 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: id, code, name, slug&lt;/i&gt;
281
- * @type {string}
282
- * @memberof StatusesApiListStatuses
283
- */
284
- readonly search?: string;
285
276
  /**
286
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, updatedAt, name, slug&lt;/i&gt;
287
278
  * @type {string}
@@ -296,27 +287,27 @@ export interface StatusesApiListStatusesRequest {
296
287
  readonly expand?: string;
297
288
  }
298
289
  /**
299
- * Request parameters for updateStatus operation in StatusesApi.
290
+ * Request parameters for patchStatus operation in StatusesApi.
300
291
  * @export
301
- * @interface StatusesApiUpdateStatusRequest
292
+ * @interface StatusesApiPatchStatusRequest
302
293
  */
303
- export interface StatusesApiUpdateStatusRequest {
294
+ export interface StatusesApiPatchStatusRequest {
304
295
  /**
305
296
  *
306
297
  * @type {string}
307
- * @memberof StatusesApiUpdateStatus
298
+ * @memberof StatusesApiPatchStatus
308
299
  */
309
300
  readonly code: string;
310
301
  /**
311
302
  *
312
- * @type {UpdateStatusRequestDto}
313
- * @memberof StatusesApiUpdateStatus
303
+ * @type {PatchStatusRequestDto}
304
+ * @memberof StatusesApiPatchStatus
314
305
  */
315
- readonly updateStatusRequestDto: UpdateStatusRequestDto;
306
+ readonly patchStatusRequestDto: PatchStatusRequestDto;
316
307
  /**
317
308
  * Bearer Token: provided by the login endpoint under the name accessToken.
318
309
  * @type {string}
319
- * @memberof StatusesApiUpdateStatus
310
+ * @memberof StatusesApiPatchStatus
320
311
  */
321
312
  readonly authorization?: string;
322
313
  }
@@ -364,12 +355,12 @@ export declare class StatusesApi extends BaseAPI {
364
355
  */
365
356
  listStatuses(requestParameters?: StatusesApiListStatusesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListStatusesResponseClass, any, {}>>;
366
357
  /**
367
- * This will update status.
358
+ * This will partially update a status by code with the provided fields.
368
359
  * @summary Update the status
369
- * @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
360
+ * @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
370
361
  * @param {*} [options] Override http request option.
371
362
  * @throws {RequiredError}
372
363
  * @memberof StatusesApi
373
364
  */
374
- updateStatus(requestParameters: StatusesApiUpdateStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateStatusResponseClass, any, {}>>;
365
+ patchStatus(requestParameters: StatusesApiPatchStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchStatusResponseClass, any, {}>>;
375
366
  }
@@ -253,13 +253,12 @@ var StatusesApiAxiosParamCreator = function (configuration) {
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
254
  * @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, slug, name, createdAt, updatedAt&lt;/i&gt;
255
255
  * @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, slug, name, createdAt, updatedAt&lt;/i&gt;
256
- * @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: id, code, name, slug&lt;/i&gt;
257
256
  * @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, name, slug&lt;/i&gt;
258
257
  * @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;
259
258
  * @param {*} [options] Override http request option.
260
259
  * @throws {RequiredError}
261
260
  */
262
- listStatuses: function (authorization, filter, filters, search, order, expand, options) {
261
+ listStatuses: function (authorization, filter, filters, order, expand, options) {
263
262
  if (options === void 0) { options = {}; }
264
263
  return __awaiter(_this, void 0, void 0, function () {
265
264
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -288,9 +287,6 @@ var StatusesApiAxiosParamCreator = function (configuration) {
288
287
  if (filters !== undefined) {
289
288
  localVarQueryParameter['filters'] = filters;
290
289
  }
291
- if (search !== undefined) {
292
- localVarQueryParameter['search'] = search;
293
- }
294
290
  if (order !== undefined) {
295
291
  localVarQueryParameter['order'] = order;
296
292
  }
@@ -312,15 +308,15 @@ var StatusesApiAxiosParamCreator = function (configuration) {
312
308
  });
313
309
  },
314
310
  /**
315
- * This will update status.
311
+ * This will partially update a status by code with the provided fields.
316
312
  * @summary Update the status
317
313
  * @param {string} code
318
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
314
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
319
315
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
320
316
  * @param {*} [options] Override http request option.
321
317
  * @throws {RequiredError}
322
318
  */
323
- updateStatus: function (code, updateStatusRequestDto, authorization, options) {
319
+ patchStatus: function (code, patchStatusRequestDto, authorization, options) {
324
320
  if (options === void 0) { options = {}; }
325
321
  return __awaiter(_this, void 0, void 0, function () {
326
322
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -328,9 +324,9 @@ var StatusesApiAxiosParamCreator = function (configuration) {
328
324
  switch (_a.label) {
329
325
  case 0:
330
326
  // 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);
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);
334
330
  localVarPath = "/taskservice/v1/statuses/{code}"
335
331
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
336
332
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -338,7 +334,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
338
334
  baseOptions = configuration.baseOptions;
339
335
  baseAccessToken = configuration.accessToken;
340
336
  }
341
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
337
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
342
338
  localVarHeaderParameter = {};
343
339
  localVarQueryParameter = {};
344
340
  // authentication bearer required
@@ -355,7 +351,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
355
351
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
356
352
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
357
353
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
358
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateStatusRequestDto, localVarRequestOptions, configuration);
354
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchStatusRequestDto, localVarRequestOptions, configuration);
359
355
  return [2 /*return*/, {
360
356
  url: (0, common_1.toPathString)(localVarUrlObj),
361
357
  options: localVarRequestOptions,
@@ -444,18 +440,17 @@ var StatusesApiFp = function (configuration) {
444
440
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
445
441
  * @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, slug, name, createdAt, updatedAt&lt;/i&gt;
446
442
  * @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, slug, name, createdAt, updatedAt&lt;/i&gt;
447
- * @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: id, code, name, slug&lt;/i&gt;
448
443
  * @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, name, slug&lt;/i&gt;
449
444
  * @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;
450
445
  * @param {*} [options] Override http request option.
451
446
  * @throws {RequiredError}
452
447
  */
453
- listStatuses: function (authorization, filter, filters, search, order, expand, options) {
448
+ listStatuses: function (authorization, filter, filters, order, expand, options) {
454
449
  return __awaiter(this, void 0, void 0, function () {
455
450
  var localVarAxiosArgs;
456
451
  return __generator(this, function (_a) {
457
452
  switch (_a.label) {
458
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listStatuses(authorization, filter, filters, search, order, expand, options)];
453
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listStatuses(authorization, filter, filters, order, expand, options)];
459
454
  case 1:
460
455
  localVarAxiosArgs = _a.sent();
461
456
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -464,20 +459,20 @@ var StatusesApiFp = function (configuration) {
464
459
  });
465
460
  },
466
461
  /**
467
- * This will update status.
462
+ * This will partially update a status by code with the provided fields.
468
463
  * @summary Update the status
469
464
  * @param {string} code
470
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
465
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
471
466
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
472
467
  * @param {*} [options] Override http request option.
473
468
  * @throws {RequiredError}
474
469
  */
475
- updateStatus: function (code, updateStatusRequestDto, authorization, options) {
470
+ patchStatus: function (code, patchStatusRequestDto, authorization, options) {
476
471
  return __awaiter(this, void 0, void 0, function () {
477
472
  var localVarAxiosArgs;
478
473
  return __generator(this, function (_a) {
479
474
  switch (_a.label) {
480
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateStatus(code, updateStatusRequestDto, authorization, options)];
475
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchStatus(code, patchStatusRequestDto, authorization, options)];
481
476
  case 1:
482
477
  localVarAxiosArgs = _a.sent();
483
478
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -535,26 +530,25 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
535
530
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
536
531
  * @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, slug, name, createdAt, updatedAt&lt;/i&gt;
537
532
  * @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, slug, name, createdAt, updatedAt&lt;/i&gt;
538
- * @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: id, code, name, slug&lt;/i&gt;
539
533
  * @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, name, slug&lt;/i&gt;
540
534
  * @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;
541
535
  * @param {*} [options] Override http request option.
542
536
  * @throws {RequiredError}
543
537
  */
544
- listStatuses: function (authorization, filter, filters, search, order, expand, options) {
545
- return localVarFp.listStatuses(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
538
+ listStatuses: function (authorization, filter, filters, order, expand, options) {
539
+ return localVarFp.listStatuses(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
546
540
  },
547
541
  /**
548
- * This will update status.
542
+ * This will partially update a status by code with the provided fields.
549
543
  * @summary Update the status
550
544
  * @param {string} code
551
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
545
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
552
546
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
553
547
  * @param {*} [options] Override http request option.
554
548
  * @throws {RequiredError}
555
549
  */
556
- updateStatus: function (code, updateStatusRequestDto, authorization, options) {
557
- return localVarFp.updateStatus(code, updateStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
550
+ patchStatus: function (code, patchStatusRequestDto, authorization, options) {
551
+ return localVarFp.patchStatus(code, patchStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
558
552
  },
559
553
  };
560
554
  };
@@ -617,19 +611,19 @@ var StatusesApi = /** @class */ (function (_super) {
617
611
  StatusesApi.prototype.listStatuses = function (requestParameters, options) {
618
612
  var _this = this;
619
613
  if (requestParameters === void 0) { requestParameters = {}; }
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); });
614
+ 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); });
621
615
  };
622
616
  /**
623
- * This will update status.
617
+ * This will partially update a status by code with the provided fields.
624
618
  * @summary Update the status
625
- * @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
619
+ * @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
626
620
  * @param {*} [options] Override http request option.
627
621
  * @throws {RequiredError}
628
622
  * @memberof StatusesApi
629
623
  */
630
- StatusesApi.prototype.updateStatus = function (requestParameters, options) {
624
+ StatusesApi.prototype.patchStatus = function (requestParameters, options) {
631
625
  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); });
626
+ return (0, exports.StatusesApiFp)(this.configuration).patchStatus(requestParameters.code, requestParameters.patchStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
633
627
  };
634
628
  return StatusesApi;
635
629
  }(base_1.BaseAPI));