@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
package/api/tasks-api.ts CHANGED
@@ -29,9 +29,9 @@ import { GetTaskResponseClass } from '../models';
29
29
  // @ts-ignore
30
30
  import { ListTasksResponseClass } from '../models';
31
31
  // @ts-ignore
32
- import { PatchTaskRequestDto } from '../models';
32
+ import { UpdateTaskRequestDto } from '../models';
33
33
  // @ts-ignore
34
- import { PatchTaskResponseClass } from '../models';
34
+ import { UpdateTaskResponseClass } from '../models';
35
35
  // URLSearchParams not necessarily used
36
36
  // @ts-ignore
37
37
  import { URL, URLSearchParams } from 'url';
@@ -190,17 +190,15 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
190
190
  * Retrieves a list of tasks.
191
191
  * @summary List tasks
192
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
194
- * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
195
- * @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, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
196
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
193
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i>
194
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i>
195
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i>
197
196
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i>
198
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: categories, status<i>
199
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
197
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: category, status<i>
200
198
  * @param {*} [options] Override http request option.
201
199
  * @throws {RequiredError}
202
200
  */
203
- listTasks: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
201
+ listTasks: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
204
202
  const localVarPath = `/taskservice/v1/tasks`;
205
203
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
206
204
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -219,18 +217,14 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
219
217
  // http bearer authentication required
220
218
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
221
219
 
222
- if (pageSize !== undefined) {
223
- localVarQueryParameter['pageSize'] = pageSize;
224
- }
225
-
226
- if (pageToken !== undefined) {
227
- localVarQueryParameter['pageToken'] = pageToken;
228
- }
229
-
230
220
  if (filter !== undefined) {
231
221
  localVarQueryParameter['filter'] = filter;
232
222
  }
233
223
 
224
+ if (filters !== undefined) {
225
+ localVarQueryParameter['filters'] = filters;
226
+ }
227
+
234
228
  if (search !== undefined) {
235
229
  localVarQueryParameter['search'] = search;
236
230
  }
@@ -243,10 +237,6 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
243
237
  localVarQueryParameter['expand'] = expand;
244
238
  }
245
239
 
246
- if (filters !== undefined) {
247
- localVarQueryParameter['filters'] = filters;
248
- }
249
-
250
240
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
251
241
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
252
242
  }
@@ -263,19 +253,19 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
263
253
  };
264
254
  },
265
255
  /**
266
- * This will partially update a task by code with the provided fields.
256
+ * This will update a task by code.
267
257
  * @summary Update the task
268
258
  * @param {string} code
269
- * @param {PatchTaskRequestDto} patchTaskRequestDto
259
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
270
260
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
271
261
  * @param {*} [options] Override http request option.
272
262
  * @throws {RequiredError}
273
263
  */
274
- patchTask: async (code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
264
+ updateTask: async (code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
275
265
  // verify required parameter 'code' is not null or undefined
276
- assertParamExists('patchTask', 'code', code)
277
- // verify required parameter 'patchTaskRequestDto' is not null or undefined
278
- assertParamExists('patchTask', 'patchTaskRequestDto', patchTaskRequestDto)
266
+ assertParamExists('updateTask', 'code', code)
267
+ // verify required parameter 'updateTaskRequestDto' is not null or undefined
268
+ assertParamExists('updateTask', 'updateTaskRequestDto', updateTaskRequestDto)
279
269
  const localVarPath = `/taskservice/v1/tasks/{code}`
280
270
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
281
271
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -287,7 +277,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
287
277
  baseAccessToken = configuration.accessToken;
288
278
  }
289
279
 
290
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
280
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
291
281
  const localVarHeaderParameter = {} as any;
292
282
  const localVarQueryParameter = {} as any;
293
283
 
@@ -306,7 +296,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
306
296
  setSearchParams(localVarUrlObj, localVarQueryParameter);
307
297
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
308
298
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
309
- localVarRequestOptions.data = serializeDataIfNeeded(patchTaskRequestDto, localVarRequestOptions, configuration)
299
+ localVarRequestOptions.data = serializeDataIfNeeded(updateTaskRequestDto, localVarRequestOptions, configuration)
310
300
 
311
301
  return {
312
302
  url: toPathString(localVarUrlObj),
@@ -364,31 +354,29 @@ export const TasksApiFp = function(configuration?: Configuration) {
364
354
  * Retrieves a list of tasks.
365
355
  * @summary List tasks
366
356
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
367
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
- * @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.
369
- * @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;
370
- * @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;
357
+ * @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;
358
+ * @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;
359
+ * @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;
371
360
  * @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;
372
- * @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;
373
- * @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;
361
+ * @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;
374
362
  * @param {*} [options] Override http request option.
375
363
  * @throws {RequiredError}
376
364
  */
377
- async 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>> {
378
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
365
+ async listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>> {
366
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(authorization, filter, filters, search, order, expand, options);
379
367
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
380
368
  },
381
369
  /**
382
- * This will partially update a task by code with the provided fields.
370
+ * This will update a task by code.
383
371
  * @summary Update the task
384
372
  * @param {string} code
385
- * @param {PatchTaskRequestDto} patchTaskRequestDto
373
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
386
374
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
387
375
  * @param {*} [options] Override http request option.
388
376
  * @throws {RequiredError}
389
377
  */
390
- async patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchTaskResponseClass>> {
391
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchTask(code, patchTaskRequestDto, authorization, options);
378
+ async updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTaskResponseClass>> {
379
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateTask(code, updateTaskRequestDto, authorization, options);
392
380
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
393
381
  },
394
382
  }
@@ -439,30 +427,28 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
439
427
  * Retrieves a list of tasks.
440
428
  * @summary List tasks
441
429
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
442
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
443
- * @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.
444
- * @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;
445
- * @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;
430
+ * @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;
431
+ * @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;
432
+ * @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;
446
433
  * @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;
447
- * @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;
448
- * @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;
434
+ * @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;
449
435
  * @param {*} [options] Override http request option.
450
436
  * @throws {RequiredError}
451
437
  */
452
- listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTasksResponseClass> {
453
- return localVarFp.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
438
+ listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass> {
439
+ return localVarFp.listTasks(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
454
440
  },
455
441
  /**
456
- * This will partially update a task by code with the provided fields.
442
+ * This will update a task by code.
457
443
  * @summary Update the task
458
444
  * @param {string} code
459
- * @param {PatchTaskRequestDto} patchTaskRequestDto
445
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
460
446
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
461
447
  * @param {*} [options] Override http request option.
462
448
  * @throws {RequiredError}
463
449
  */
464
- patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: any): AxiosPromise<PatchTaskResponseClass> {
465
- return localVarFp.patchTask(code, patchTaskRequestDto, authorization, options).then((request) => request(axios, basePath));
450
+ updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateTaskResponseClass> {
451
+ return localVarFp.updateTask(code, updateTaskRequestDto, authorization, options).then((request) => request(axios, basePath));
466
452
  },
467
453
  };
468
454
  };
@@ -551,28 +537,21 @@ export interface TasksApiListTasksRequest {
551
537
  readonly authorization?: string
552
538
 
553
539
  /**
554
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
555
- * @type {number}
556
- * @memberof TasksApiListTasks
557
- */
558
- readonly pageSize?: number
559
-
560
- /**
561
- * 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.
540
+ * 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;
562
541
  * @type {string}
563
542
  * @memberof TasksApiListTasks
564
543
  */
565
- readonly pageToken?: string
544
+ readonly filter?: string
566
545
 
567
546
  /**
568
- * 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;
547
+ * 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;
569
548
  * @type {string}
570
549
  * @memberof TasksApiListTasks
571
550
  */
572
- readonly filter?: string
551
+ readonly filters?: string
573
552
 
574
553
  /**
575
- * 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;
554
+ * 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;
576
555
  * @type {string}
577
556
  * @memberof TasksApiListTasks
578
557
  */
@@ -586,44 +565,37 @@ export interface TasksApiListTasksRequest {
586
565
  readonly order?: string
587
566
 
588
567
  /**
589
- * 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;
568
+ * 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;
590
569
  * @type {string}
591
570
  * @memberof TasksApiListTasks
592
571
  */
593
572
  readonly expand?: string
594
-
595
- /**
596
- * 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;
597
- * @type {string}
598
- * @memberof TasksApiListTasks
599
- */
600
- readonly filters?: string
601
573
  }
602
574
 
603
575
  /**
604
- * Request parameters for patchTask operation in TasksApi.
576
+ * Request parameters for updateTask operation in TasksApi.
605
577
  * @export
606
- * @interface TasksApiPatchTaskRequest
578
+ * @interface TasksApiUpdateTaskRequest
607
579
  */
608
- export interface TasksApiPatchTaskRequest {
580
+ export interface TasksApiUpdateTaskRequest {
609
581
  /**
610
582
  *
611
583
  * @type {string}
612
- * @memberof TasksApiPatchTask
584
+ * @memberof TasksApiUpdateTask
613
585
  */
614
586
  readonly code: string
615
587
 
616
588
  /**
617
589
  *
618
- * @type {PatchTaskRequestDto}
619
- * @memberof TasksApiPatchTask
590
+ * @type {UpdateTaskRequestDto}
591
+ * @memberof TasksApiUpdateTask
620
592
  */
621
- readonly patchTaskRequestDto: PatchTaskRequestDto
593
+ readonly updateTaskRequestDto: UpdateTaskRequestDto
622
594
 
623
595
  /**
624
596
  * Bearer Token: provided by the login endpoint under the name accessToken.
625
597
  * @type {string}
626
- * @memberof TasksApiPatchTask
598
+ * @memberof TasksApiUpdateTask
627
599
  */
628
600
  readonly authorization?: string
629
601
  }
@@ -680,18 +652,18 @@ export class TasksApi extends BaseAPI {
680
652
  * @memberof TasksApi
681
653
  */
682
654
  public listTasks(requestParameters: TasksApiListTasksRequest = {}, options?: AxiosRequestConfig) {
683
- return TasksApiFp(this.configuration).listTasks(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
655
+ return TasksApiFp(this.configuration).listTasks(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
684
656
  }
685
657
 
686
658
  /**
687
- * This will partially update a task by code with the provided fields.
659
+ * This will update a task by code.
688
660
  * @summary Update the task
689
- * @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
661
+ * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
690
662
  * @param {*} [options] Override http request option.
691
663
  * @throws {RequiredError}
692
664
  * @memberof TasksApi
693
665
  */
694
- public patchTask(requestParameters: TasksApiPatchTaskRequest, options?: AxiosRequestConfig) {
695
- return TasksApiFp(this.configuration).patchTask(requestParameters.code, requestParameters.patchTaskRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
666
+ public updateTask(requestParameters: TasksApiUpdateTaskRequest, options?: AxiosRequestConfig) {
667
+ return TasksApiFp(this.configuration).updateTask(requestParameters.code, requestParameters.updateTaskRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
696
668
  }
697
669
  }
@@ -16,8 +16,8 @@ import { CreateCategoryRequestDto } from '../models';
16
16
  import { CreateCategoryResponseClass } from '../models';
17
17
  import { GetCategoryResponseClass } from '../models';
18
18
  import { ListCategoriesResponseClass } from '../models';
19
- import { PatchCategoryRequestDto } from '../models';
20
- import { PatchCategoryResponseClass } from '../models';
19
+ import { UpdateCategoryRequestDto } from '../models';
20
+ import { UpdateCategoryResponseClass } from '../models';
21
21
  /**
22
22
  * CategoriesApi - axios parameter creator
23
23
  * @export
@@ -65,15 +65,15 @@ export declare const CategoriesApiAxiosParamCreator: (configuration?: Configurat
65
65
  */
66
66
  listCategories: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
67
  /**
68
- * This will partially update a category by code with the provided fields.
68
+ * This will update category.
69
69
  * @summary Update the category
70
70
  * @param {string} code
71
- * @param {PatchCategoryRequestDto} patchCategoryRequestDto
71
+ * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
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
- patchCategory: (code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ updateCategory: (code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
77
  };
78
78
  /**
79
79
  * CategoriesApi - functional programming interface
@@ -122,15 +122,15 @@ export declare const CategoriesApiFp: (configuration?: Configuration) => {
122
122
  */
123
123
  listCategories(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>>;
124
124
  /**
125
- * This will partially update a category by code with the provided fields.
125
+ * This will update category.
126
126
  * @summary Update the category
127
127
  * @param {string} code
128
- * @param {PatchCategoryRequestDto} patchCategoryRequestDto
128
+ * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
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
- patchCategory(code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCategoryResponseClass>>;
133
+ updateCategory(code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCategoryResponseClass>>;
134
134
  };
135
135
  /**
136
136
  * CategoriesApi - factory interface
@@ -179,15 +179,15 @@ export declare const CategoriesApiFactory: (configuration?: Configuration, baseP
179
179
  */
180
180
  listCategories(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCategoriesResponseClass>;
181
181
  /**
182
- * This will partially update a category by code with the provided fields.
182
+ * This will update category.
183
183
  * @summary Update the category
184
184
  * @param {string} code
185
- * @param {PatchCategoryRequestDto} patchCategoryRequestDto
185
+ * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
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
- patchCategory(code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCategoryResponseClass>;
190
+ updateCategory(code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCategoryResponseClass>;
191
191
  };
192
192
  /**
193
193
  * Request parameters for createCategory operation in CategoriesApi.
@@ -296,27 +296,27 @@ export interface CategoriesApiListCategoriesRequest {
296
296
  readonly expand?: string;
297
297
  }
298
298
  /**
299
- * Request parameters for patchCategory operation in CategoriesApi.
299
+ * Request parameters for updateCategory operation in CategoriesApi.
300
300
  * @export
301
- * @interface CategoriesApiPatchCategoryRequest
301
+ * @interface CategoriesApiUpdateCategoryRequest
302
302
  */
303
- export interface CategoriesApiPatchCategoryRequest {
303
+ export interface CategoriesApiUpdateCategoryRequest {
304
304
  /**
305
305
  *
306
306
  * @type {string}
307
- * @memberof CategoriesApiPatchCategory
307
+ * @memberof CategoriesApiUpdateCategory
308
308
  */
309
309
  readonly code: string;
310
310
  /**
311
311
  *
312
- * @type {PatchCategoryRequestDto}
313
- * @memberof CategoriesApiPatchCategory
312
+ * @type {UpdateCategoryRequestDto}
313
+ * @memberof CategoriesApiUpdateCategory
314
314
  */
315
- readonly patchCategoryRequestDto: PatchCategoryRequestDto;
315
+ readonly updateCategoryRequestDto: UpdateCategoryRequestDto;
316
316
  /**
317
317
  * Bearer Token: provided by the login endpoint under the name accessToken.
318
318
  * @type {string}
319
- * @memberof CategoriesApiPatchCategory
319
+ * @memberof CategoriesApiUpdateCategory
320
320
  */
321
321
  readonly authorization?: string;
322
322
  }
@@ -364,12 +364,12 @@ export declare class CategoriesApi extends BaseAPI {
364
364
  */
365
365
  listCategories(requestParameters?: CategoriesApiListCategoriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCategoriesResponseClass, any, {}>>;
366
366
  /**
367
- * This will partially update a category by code with the provided fields.
367
+ * This will update category.
368
368
  * @summary Update the category
369
- * @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
369
+ * @param {CategoriesApiUpdateCategoryRequest} requestParameters Request parameters.
370
370
  * @param {*} [options] Override http request option.
371
371
  * @throws {RequiredError}
372
372
  * @memberof CategoriesApi
373
373
  */
374
- patchCategory(requestParameters: CategoriesApiPatchCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchCategoryResponseClass, any, {}>>;
374
+ updateCategory(requestParameters: CategoriesApiUpdateCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCategoryResponseClass, any, {}>>;
375
375
  }
@@ -312,15 +312,15 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
312
312
  });
313
313
  },
314
314
  /**
315
- * This will partially update a category by code with the provided fields.
315
+ * This will update category.
316
316
  * @summary Update the category
317
317
  * @param {string} code
318
- * @param {PatchCategoryRequestDto} patchCategoryRequestDto
318
+ * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
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
- patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
323
+ updateCategory: function (code, updateCategoryRequestDto, 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)('patchCategory', 'code', code);
332
- // verify required parameter 'patchCategoryRequestDto' is not null or undefined
333
- (0, common_1.assertParamExists)('patchCategory', 'patchCategoryRequestDto', patchCategoryRequestDto);
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);
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: '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 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)(patchCategoryRequestDto, localVarRequestOptions, configuration);
358
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCategoryRequestDto, 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 partially update a category by code with the provided fields.
467
+ * This will update category.
468
468
  * @summary Update the category
469
469
  * @param {string} code
470
- * @param {PatchCategoryRequestDto} patchCategoryRequestDto
470
+ * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
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
- patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
475
+ updateCategory: function (code, updateCategoryRequestDto, 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.patchCategory(code, patchCategoryRequestDto, authorization, options)];
480
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateCategory(code, updateCategoryRequestDto, 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 partially update a category by code with the provided fields.
548
+ * This will update category.
549
549
  * @summary Update the category
550
550
  * @param {string} code
551
- * @param {PatchCategoryRequestDto} patchCategoryRequestDto
551
+ * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
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
- patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
557
- return localVarFp.patchCategory(code, patchCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
556
+ updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
557
+ return localVarFp.updateCategory(code, updateCategoryRequestDto, 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 partially update a category by code with the provided fields.
623
+ * This will update category.
624
624
  * @summary Update the category
625
- * @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
625
+ * @param {CategoriesApiUpdateCategoryRequest} requestParameters Request parameters.
626
626
  * @param {*} [options] Override http request option.
627
627
  * @throws {RequiredError}
628
628
  * @memberof CategoriesApi
629
629
  */
630
- CategoriesApi.prototype.patchCategory = function (requestParameters, options) {
630
+ CategoriesApi.prototype.updateCategory = function (requestParameters, options) {
631
631
  var _this = this;
632
- return (0, exports.CategoriesApiFp)(this.configuration).patchCategory(requestParameters.code, requestParameters.patchCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
632
+ return (0, exports.CategoriesApiFp)(this.configuration).updateCategory(requestParameters.code, requestParameters.updateCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
633
633
  };
634
634
  return CategoriesApi;
635
635
  }(base_1.BaseAPI));