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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) 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 +58 -86
  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 +43 -61
  11. package/dist/api/tasks-api.js +41 -53
  12. package/dist/models/create-task-request-dto.d.ts +3 -3
  13. package/dist/models/index.d.ts +6 -6
  14. package/dist/models/index.js +6 -6
  15. package/dist/models/task-class.d.ts +3 -3
  16. package/dist/models/{patch-category-request-dto.d.ts → update-category-request-dto.d.ts} +7 -7
  17. package/dist/models/{patch-category-response-class.d.ts → update-category-response-class.d.ts} +3 -3
  18. package/dist/models/{patch-status-request-dto.d.ts → update-status-request-dto.d.ts} +7 -7
  19. package/dist/models/{patch-status-response-class.d.ts → update-status-response-class.d.ts} +3 -3
  20. package/dist/models/update-task-request-dto.d.ts +72 -0
  21. package/dist/models/{patch-task-response-class.d.ts → update-task-response-class.d.ts} +3 -3
  22. package/models/create-task-request-dto.ts +3 -3
  23. package/models/index.ts +6 -6
  24. package/models/task-class.ts +3 -3
  25. package/models/{patch-category-request-dto.ts → update-category-request-dto.ts} +7 -7
  26. package/models/{patch-category-response-class.ts → update-category-response-class.ts} +3 -3
  27. package/models/{patch-status-request-dto.ts → update-status-request-dto.ts} +7 -7
  28. package/models/{patch-status-response-class.ts → update-status-response-class.ts} +3 -3
  29. package/models/update-task-request-dto.ts +78 -0
  30. package/models/{patch-task-response-class.ts → update-task-response-class.ts} +3 -3
  31. package/package.json +1 -1
  32. package/dist/models/patch-task-request-dto.d.ts +0 -108
  33. package/models/patch-task-request-dto.ts +0 -114
  34. /package/dist/models/{patch-category-request-dto.js → update-category-request-dto.js} +0 -0
  35. /package/dist/models/{patch-category-response-class.js → update-category-response-class.js} +0 -0
  36. /package/dist/models/{patch-status-request-dto.js → update-status-request-dto.js} +0 -0
  37. /package/dist/models/{patch-status-response-class.js → update-status-response-class.js} +0 -0
  38. /package/dist/models/{patch-task-request-dto.js → update-task-request-dto.js} +0 -0
  39. /package/dist/models/{patch-task-response-class.js → update-task-response-class.js} +0 -0
@@ -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 { PatchStatusRequestDto } from '../models';
20
- import { PatchStatusResponseClass } from '../models';
19
+ import { UpdateStatusRequestDto } from '../models';
20
+ import { UpdateStatusResponseClass } 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 partially update a status by code with the provided fields.
68
+ * This will update status.
69
69
  * @summary Update the status
70
70
  * @param {string} code
71
- * @param {PatchStatusRequestDto} patchStatusRequestDto
71
+ * @param {UpdateStatusRequestDto} updateStatusRequestDto
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
- patchStatus: (code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ updateStatus: (code: string, updateStatusRequestDto: UpdateStatusRequestDto, 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 partially update a status by code with the provided fields.
125
+ * This will update status.
126
126
  * @summary Update the status
127
127
  * @param {string} code
128
- * @param {PatchStatusRequestDto} patchStatusRequestDto
128
+ * @param {UpdateStatusRequestDto} updateStatusRequestDto
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
- patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchStatusResponseClass>>;
133
+ updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateStatusResponseClass>>;
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 partially update a status by code with the provided fields.
182
+ * This will update status.
183
183
  * @summary Update the status
184
184
  * @param {string} code
185
- * @param {PatchStatusRequestDto} patchStatusRequestDto
185
+ * @param {UpdateStatusRequestDto} updateStatusRequestDto
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
- patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchStatusResponseClass>;
190
+ updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateStatusResponseClass>;
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 patchStatus operation in StatusesApi.
299
+ * Request parameters for updateStatus operation in StatusesApi.
300
300
  * @export
301
- * @interface StatusesApiPatchStatusRequest
301
+ * @interface StatusesApiUpdateStatusRequest
302
302
  */
303
- export interface StatusesApiPatchStatusRequest {
303
+ export interface StatusesApiUpdateStatusRequest {
304
304
  /**
305
305
  *
306
306
  * @type {string}
307
- * @memberof StatusesApiPatchStatus
307
+ * @memberof StatusesApiUpdateStatus
308
308
  */
309
309
  readonly code: string;
310
310
  /**
311
311
  *
312
- * @type {PatchStatusRequestDto}
313
- * @memberof StatusesApiPatchStatus
312
+ * @type {UpdateStatusRequestDto}
313
+ * @memberof StatusesApiUpdateStatus
314
314
  */
315
- readonly patchStatusRequestDto: PatchStatusRequestDto;
315
+ readonly updateStatusRequestDto: UpdateStatusRequestDto;
316
316
  /**
317
317
  * Bearer Token: provided by the login endpoint under the name accessToken.
318
318
  * @type {string}
319
- * @memberof StatusesApiPatchStatus
319
+ * @memberof StatusesApiUpdateStatus
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 partially update a status by code with the provided fields.
367
+ * This will update status.
368
368
  * @summary Update the status
369
- * @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
369
+ * @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
370
370
  * @param {*} [options] Override http request option.
371
371
  * @throws {RequiredError}
372
372
  * @memberof StatusesApi
373
373
  */
374
- patchStatus(requestParameters: StatusesApiPatchStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchStatusResponseClass, any, {}>>;
374
+ updateStatus(requestParameters: StatusesApiUpdateStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateStatusResponseClass, any, {}>>;
375
375
  }
@@ -312,15 +312,15 @@ var StatusesApiAxiosParamCreator = function (configuration) {
312
312
  });
313
313
  },
314
314
  /**
315
- * This will partially update a status by code with the provided fields.
315
+ * This will update status.
316
316
  * @summary Update the status
317
317
  * @param {string} code
318
- * @param {PatchStatusRequestDto} patchStatusRequestDto
318
+ * @param {UpdateStatusRequestDto} updateStatusRequestDto
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
- patchStatus: function (code, patchStatusRequestDto, authorization, options) {
323
+ updateStatus: function (code, updateStatusRequestDto, 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)('patchStatus', 'code', code);
332
- // verify required parameter 'patchStatusRequestDto' is not null or undefined
333
- (0, common_1.assertParamExists)('patchStatus', 'patchStatusRequestDto', patchStatusRequestDto);
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);
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: 'PATCH' }, baseOptions), options);
341
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, 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)(patchStatusRequestDto, localVarRequestOptions, configuration);
358
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateStatusRequestDto, 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 partially update a status by code with the provided fields.
467
+ * This will update status.
468
468
  * @summary Update the status
469
469
  * @param {string} code
470
- * @param {PatchStatusRequestDto} patchStatusRequestDto
470
+ * @param {UpdateStatusRequestDto} updateStatusRequestDto
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
- patchStatus: function (code, patchStatusRequestDto, authorization, options) {
475
+ updateStatus: function (code, updateStatusRequestDto, 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.patchStatus(code, patchStatusRequestDto, authorization, options)];
480
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateStatus(code, updateStatusRequestDto, 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 partially update a status by code with the provided fields.
548
+ * This will update status.
549
549
  * @summary Update the status
550
550
  * @param {string} code
551
- * @param {PatchStatusRequestDto} patchStatusRequestDto
551
+ * @param {UpdateStatusRequestDto} updateStatusRequestDto
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
- patchStatus: function (code, patchStatusRequestDto, authorization, options) {
557
- return localVarFp.patchStatus(code, patchStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
556
+ updateStatus: function (code, updateStatusRequestDto, authorization, options) {
557
+ return localVarFp.updateStatus(code, updateStatusRequestDto, 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 partially update a status by code with the provided fields.
623
+ * This will update status.
624
624
  * @summary Update the status
625
- * @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
625
+ * @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
626
626
  * @param {*} [options] Override http request option.
627
627
  * @throws {RequiredError}
628
628
  * @memberof StatusesApi
629
629
  */
630
- StatusesApi.prototype.patchStatus = function (requestParameters, options) {
630
+ StatusesApi.prototype.updateStatus = function (requestParameters, options) {
631
631
  var _this = this;
632
- return (0, exports.StatusesApiFp)(this.configuration).patchStatus(requestParameters.code, requestParameters.patchStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
632
+ return (0, exports.StatusesApiFp)(this.configuration).updateStatus(requestParameters.code, requestParameters.updateStatusRequestDto, 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 { PatchTaskRequestDto } from '../models';
20
- import { PatchTaskResponseClass } from '../models';
19
+ import { UpdateTaskRequestDto } from '../models';
20
+ import { UpdateTaskResponseClass } from '../models';
21
21
  /**
22
22
  * TasksApi - axios parameter creator
23
23
  * @export
@@ -55,27 +55,25 @@ 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 {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;
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, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
60
+ * @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, subject, description, assignee, reporter&lt;/i&gt;
62
61
  * @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
+ * @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&lt;i&gt;
65
63
  * @param {*} [options] Override http request option.
66
64
  * @throws {RequiredError}
67
65
  */
68
- listTasks: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ listTasks: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
67
  /**
70
- * This will partially update a task by code with the provided fields.
68
+ * This will update a task by code.
71
69
  * @summary Update the task
72
70
  * @param {string} code
73
- * @param {PatchTaskRequestDto} patchTaskRequestDto
71
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
74
72
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
75
73
  * @param {*} [options] Override http request option.
76
74
  * @throws {RequiredError}
77
75
  */
78
- patchTask: (code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ updateTask: (code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
77
  };
80
78
  /**
81
79
  * TasksApi - functional programming interface
@@ -114,27 +112,25 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
114
112
  * Retrieves a list of tasks.
115
113
  * @summary List tasks
116
114
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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;
115
+ * @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, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
116
+ * @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, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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, subject, description, assignee, reporter&lt;/i&gt;
121
118
  * @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;
119
+ * @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&lt;i&gt;
124
120
  * @param {*} [options] Override http request option.
125
121
  * @throws {RequiredError}
126
122
  */
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>>;
123
+ listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>;
128
124
  /**
129
- * This will partially update a task by code with the provided fields.
125
+ * This will update a task by code.
130
126
  * @summary Update the task
131
127
  * @param {string} code
132
- * @param {PatchTaskRequestDto} patchTaskRequestDto
128
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
133
129
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
134
130
  * @param {*} [options] Override http request option.
135
131
  * @throws {RequiredError}
136
132
  */
137
- patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchTaskResponseClass>>;
133
+ updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTaskResponseClass>>;
138
134
  };
139
135
  /**
140
136
  * TasksApi - factory interface
@@ -173,27 +169,25 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
173
169
  * Retrieves a list of tasks.
174
170
  * @summary List tasks
175
171
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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;
172
+ * @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, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
173
+ * @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, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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, subject, description, assignee, reporter&lt;/i&gt;
180
175
  * @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;
176
+ * @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&lt;i&gt;
183
177
  * @param {*} [options] Override http request option.
184
178
  * @throws {RequiredError}
185
179
  */
186
- listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
180
+ listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
187
181
  /**
188
- * This will partially update a task by code with the provided fields.
182
+ * This will update a task by code.
189
183
  * @summary Update the task
190
184
  * @param {string} code
191
- * @param {PatchTaskRequestDto} patchTaskRequestDto
185
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
192
186
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
187
  * @param {*} [options] Override http request option.
194
188
  * @throws {RequiredError}
195
189
  */
196
- patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: any): AxiosPromise<PatchTaskResponseClass>;
190
+ updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateTaskResponseClass>;
197
191
  };
198
192
  /**
199
193
  * Request parameters for createTask operation in TasksApi.
@@ -271,25 +265,19 @@ export interface TasksApiListTasksRequest {
271
265
  */
272
266
  readonly authorization?: string;
273
267
  /**
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.
268
+ * 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, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
281
269
  * @type {string}
282
270
  * @memberof TasksApiListTasks
283
271
  */
284
- readonly pageToken?: string;
272
+ readonly filter?: string;
285
273
  /**
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;
274
+ * 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, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
287
275
  * @type {string}
288
276
  * @memberof TasksApiListTasks
289
277
  */
290
- readonly filter?: string;
278
+ readonly filters?: string;
291
279
  /**
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;
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, subject, description, assignee, reporter&lt;/i&gt;
293
281
  * @type {string}
294
282
  * @memberof TasksApiListTasks
295
283
  */
@@ -301,40 +289,34 @@ export interface TasksApiListTasksRequest {
301
289
  */
302
290
  readonly order?: string;
303
291
  /**
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;
292
+ * 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&lt;i&gt;
305
293
  * @type {string}
306
294
  * @memberof TasksApiListTasks
307
295
  */
308
296
  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;
315
297
  }
316
298
  /**
317
- * Request parameters for patchTask operation in TasksApi.
299
+ * Request parameters for updateTask operation in TasksApi.
318
300
  * @export
319
- * @interface TasksApiPatchTaskRequest
301
+ * @interface TasksApiUpdateTaskRequest
320
302
  */
321
- export interface TasksApiPatchTaskRequest {
303
+ export interface TasksApiUpdateTaskRequest {
322
304
  /**
323
305
  *
324
306
  * @type {string}
325
- * @memberof TasksApiPatchTask
307
+ * @memberof TasksApiUpdateTask
326
308
  */
327
309
  readonly code: string;
328
310
  /**
329
311
  *
330
- * @type {PatchTaskRequestDto}
331
- * @memberof TasksApiPatchTask
312
+ * @type {UpdateTaskRequestDto}
313
+ * @memberof TasksApiUpdateTask
332
314
  */
333
- readonly patchTaskRequestDto: PatchTaskRequestDto;
315
+ readonly updateTaskRequestDto: UpdateTaskRequestDto;
334
316
  /**
335
317
  * Bearer Token: provided by the login endpoint under the name accessToken.
336
318
  * @type {string}
337
- * @memberof TasksApiPatchTask
319
+ * @memberof TasksApiUpdateTask
338
320
  */
339
321
  readonly authorization?: string;
340
322
  }
@@ -382,12 +364,12 @@ export declare class TasksApi extends BaseAPI {
382
364
  */
383
365
  listTasks(requestParameters?: TasksApiListTasksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponseClass, any, {}>>;
384
366
  /**
385
- * This will partially update a task by code with the provided fields.
367
+ * This will update a task by code.
386
368
  * @summary Update the task
387
- * @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
369
+ * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
388
370
  * @param {*} [options] Override http request option.
389
371
  * @throws {RequiredError}
390
372
  * @memberof TasksApi
391
373
  */
392
- patchTask(requestParameters: TasksApiPatchTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchTaskResponseClass, any, {}>>;
374
+ updateTask(requestParameters: TasksApiUpdateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTaskResponseClass, any, {}>>;
393
375
  }