@emilgroup/task-sdk 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
  /**
36
36
  * TasksApi - axios parameter creator
37
37
  * @export
@@ -186,17 +186,15 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
186
186
  * Retrieves a list of tasks.
187
187
  * @summary List tasks
188
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
190
- * @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.
191
- * @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>
192
- * @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>
189
+ * @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>
190
+ * @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>
191
+ * @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>
193
192
  * @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>
194
- * @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>
195
- * @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>
193
+ * @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>
196
194
  * @param {*} [options] Override http request option.
197
195
  * @throws {RequiredError}
198
196
  */
199
- listTasks: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
+ listTasks: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
200
198
  const localVarPath = `/taskservice/v1/tasks`;
201
199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
202
200
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -215,18 +213,14 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
215
213
  // http bearer authentication required
216
214
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
217
215
 
218
- if (pageSize !== undefined) {
219
- localVarQueryParameter['pageSize'] = pageSize;
220
- }
221
-
222
- if (pageToken !== undefined) {
223
- localVarQueryParameter['pageToken'] = pageToken;
224
- }
225
-
226
216
  if (filter !== undefined) {
227
217
  localVarQueryParameter['filter'] = filter;
228
218
  }
229
219
 
220
+ if (filters !== undefined) {
221
+ localVarQueryParameter['filters'] = filters;
222
+ }
223
+
230
224
  if (search !== undefined) {
231
225
  localVarQueryParameter['search'] = search;
232
226
  }
@@ -239,10 +233,6 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
239
233
  localVarQueryParameter['expand'] = expand;
240
234
  }
241
235
 
242
- if (filters !== undefined) {
243
- localVarQueryParameter['filters'] = filters;
244
- }
245
-
246
236
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
247
237
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
248
238
  }
@@ -259,19 +249,19 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
259
249
  };
260
250
  },
261
251
  /**
262
- * This will partially update a task by code with the provided fields.
252
+ * This will update a task by code.
263
253
  * @summary Update the task
264
254
  * @param {string} code
265
- * @param {PatchTaskRequestDto} patchTaskRequestDto
255
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
266
256
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
267
257
  * @param {*} [options] Override http request option.
268
258
  * @throws {RequiredError}
269
259
  */
270
- patchTask: async (code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
260
+ updateTask: async (code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
271
261
  // verify required parameter 'code' is not null or undefined
272
- assertParamExists('patchTask', 'code', code)
273
- // verify required parameter 'patchTaskRequestDto' is not null or undefined
274
- assertParamExists('patchTask', 'patchTaskRequestDto', patchTaskRequestDto)
262
+ assertParamExists('updateTask', 'code', code)
263
+ // verify required parameter 'updateTaskRequestDto' is not null or undefined
264
+ assertParamExists('updateTask', 'updateTaskRequestDto', updateTaskRequestDto)
275
265
  const localVarPath = `/taskservice/v1/tasks/{code}`
276
266
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
277
267
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -283,7 +273,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
283
273
  baseAccessToken = configuration.accessToken;
284
274
  }
285
275
 
286
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
276
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
287
277
  const localVarHeaderParameter = {} as any;
288
278
  const localVarQueryParameter = {} as any;
289
279
 
@@ -302,7 +292,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
302
292
  setSearchParams(localVarUrlObj, localVarQueryParameter);
303
293
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
304
294
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
305
- localVarRequestOptions.data = serializeDataIfNeeded(patchTaskRequestDto, localVarRequestOptions, configuration)
295
+ localVarRequestOptions.data = serializeDataIfNeeded(updateTaskRequestDto, localVarRequestOptions, configuration)
306
296
 
307
297
  return {
308
298
  url: toPathString(localVarUrlObj),
@@ -360,31 +350,29 @@ export const TasksApiFp = function(configuration?: Configuration) {
360
350
  * Retrieves a list of tasks.
361
351
  * @summary List tasks
362
352
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
363
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
364
- * @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.
365
- * @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;
366
- * @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;
353
+ * @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;
354
+ * @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;
355
+ * @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;
367
356
  * @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;
368
- * @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;
369
- * @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;
357
+ * @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;
370
358
  * @param {*} [options] Override http request option.
371
359
  * @throws {RequiredError}
372
360
  */
373
- 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>> {
374
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
361
+ async listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>> {
362
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(authorization, filter, filters, search, order, expand, options);
375
363
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
376
364
  },
377
365
  /**
378
- * This will partially update a task by code with the provided fields.
366
+ * This will update a task by code.
379
367
  * @summary Update the task
380
368
  * @param {string} code
381
- * @param {PatchTaskRequestDto} patchTaskRequestDto
369
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
382
370
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
383
371
  * @param {*} [options] Override http request option.
384
372
  * @throws {RequiredError}
385
373
  */
386
- async patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchTaskResponseClass>> {
387
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchTask(code, patchTaskRequestDto, authorization, options);
374
+ async updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTaskResponseClass>> {
375
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateTask(code, updateTaskRequestDto, authorization, options);
388
376
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
389
377
  },
390
378
  }
@@ -435,30 +423,28 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
435
423
  * Retrieves a list of tasks.
436
424
  * @summary List tasks
437
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
438
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
439
- * @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.
440
- * @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;
441
- * @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;
426
+ * @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;
427
+ * @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;
428
+ * @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;
442
429
  * @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;
443
- * @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;
444
- * @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;
430
+ * @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;
445
431
  * @param {*} [options] Override http request option.
446
432
  * @throws {RequiredError}
447
433
  */
448
- listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTasksResponseClass> {
449
- return localVarFp.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
434
+ listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass> {
435
+ return localVarFp.listTasks(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
450
436
  },
451
437
  /**
452
- * This will partially update a task by code with the provided fields.
438
+ * This will update a task by code.
453
439
  * @summary Update the task
454
440
  * @param {string} code
455
- * @param {PatchTaskRequestDto} patchTaskRequestDto
441
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
456
442
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
457
443
  * @param {*} [options] Override http request option.
458
444
  * @throws {RequiredError}
459
445
  */
460
- patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: any): AxiosPromise<PatchTaskResponseClass> {
461
- return localVarFp.patchTask(code, patchTaskRequestDto, authorization, options).then((request) => request(axios, basePath));
446
+ updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateTaskResponseClass> {
447
+ return localVarFp.updateTask(code, updateTaskRequestDto, authorization, options).then((request) => request(axios, basePath));
462
448
  },
463
449
  };
464
450
  };
@@ -547,28 +533,21 @@ export interface TasksApiListTasksRequest {
547
533
  readonly authorization?: string
548
534
 
549
535
  /**
550
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
551
- * @type {number}
552
- * @memberof TasksApiListTasks
553
- */
554
- readonly pageSize?: number
555
-
556
- /**
557
- * 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.
536
+ * 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;
558
537
  * @type {string}
559
538
  * @memberof TasksApiListTasks
560
539
  */
561
- readonly pageToken?: string
540
+ readonly filter?: string
562
541
 
563
542
  /**
564
- * 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;
543
+ * 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;
565
544
  * @type {string}
566
545
  * @memberof TasksApiListTasks
567
546
  */
568
- readonly filter?: string
547
+ readonly filters?: string
569
548
 
570
549
  /**
571
- * 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;
550
+ * 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;
572
551
  * @type {string}
573
552
  * @memberof TasksApiListTasks
574
553
  */
@@ -582,44 +561,37 @@ export interface TasksApiListTasksRequest {
582
561
  readonly order?: string
583
562
 
584
563
  /**
585
- * 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;
564
+ * 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;
586
565
  * @type {string}
587
566
  * @memberof TasksApiListTasks
588
567
  */
589
568
  readonly expand?: string
590
-
591
- /**
592
- * 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;
593
- * @type {string}
594
- * @memberof TasksApiListTasks
595
- */
596
- readonly filters?: string
597
569
  }
598
570
 
599
571
  /**
600
- * Request parameters for patchTask operation in TasksApi.
572
+ * Request parameters for updateTask operation in TasksApi.
601
573
  * @export
602
- * @interface TasksApiPatchTaskRequest
574
+ * @interface TasksApiUpdateTaskRequest
603
575
  */
604
- export interface TasksApiPatchTaskRequest {
576
+ export interface TasksApiUpdateTaskRequest {
605
577
  /**
606
578
  *
607
579
  * @type {string}
608
- * @memberof TasksApiPatchTask
580
+ * @memberof TasksApiUpdateTask
609
581
  */
610
582
  readonly code: string
611
583
 
612
584
  /**
613
585
  *
614
- * @type {PatchTaskRequestDto}
615
- * @memberof TasksApiPatchTask
586
+ * @type {UpdateTaskRequestDto}
587
+ * @memberof TasksApiUpdateTask
616
588
  */
617
- readonly patchTaskRequestDto: PatchTaskRequestDto
589
+ readonly updateTaskRequestDto: UpdateTaskRequestDto
618
590
 
619
591
  /**
620
592
  * Bearer Token: provided by the login endpoint under the name accessToken.
621
593
  * @type {string}
622
- * @memberof TasksApiPatchTask
594
+ * @memberof TasksApiUpdateTask
623
595
  */
624
596
  readonly authorization?: string
625
597
  }
@@ -676,18 +648,18 @@ export class TasksApi extends BaseAPI {
676
648
  * @memberof TasksApi
677
649
  */
678
650
  public listTasks(requestParameters: TasksApiListTasksRequest = {}, options?: AxiosRequestConfig) {
679
- 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));
651
+ 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));
680
652
  }
681
653
 
682
654
  /**
683
- * This will partially update a task by code with the provided fields.
655
+ * This will update a task by code.
684
656
  * @summary Update the task
685
- * @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
657
+ * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
686
658
  * @param {*} [options] Override http request option.
687
659
  * @throws {RequiredError}
688
660
  * @memberof TasksApi
689
661
  */
690
- public patchTask(requestParameters: TasksApiPatchTaskRequest, options?: AxiosRequestConfig) {
691
- return TasksApiFp(this.configuration).patchTask(requestParameters.code, requestParameters.patchTaskRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
662
+ public updateTask(requestParameters: TasksApiUpdateTaskRequest, options?: AxiosRequestConfig) {
663
+ return TasksApiFp(this.configuration).updateTask(requestParameters.code, requestParameters.updateTaskRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
692
664
  }
693
665
  }
@@ -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
  }
@@ -308,15 +308,15 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
308
308
  });
309
309
  },
310
310
  /**
311
- * This will partially update a category by code with the provided fields.
311
+ * This will update category.
312
312
  * @summary Update the category
313
313
  * @param {string} code
314
- * @param {PatchCategoryRequestDto} patchCategoryRequestDto
314
+ * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
315
315
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
316
316
  * @param {*} [options] Override http request option.
317
317
  * @throws {RequiredError}
318
318
  */
319
- patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
319
+ updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
320
320
  if (options === void 0) { options = {}; }
321
321
  return __awaiter(_this, void 0, void 0, function () {
322
322
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -324,9 +324,9 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
324
324
  switch (_a.label) {
325
325
  case 0:
326
326
  // verify required parameter 'code' is not null or undefined
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);
327
+ (0, common_1.assertParamExists)('updateCategory', 'code', code);
328
+ // verify required parameter 'updateCategoryRequestDto' is not null or undefined
329
+ (0, common_1.assertParamExists)('updateCategory', 'updateCategoryRequestDto', updateCategoryRequestDto);
330
330
  localVarPath = "/taskservice/v1/categories/{code}"
331
331
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
332
332
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -334,7 +334,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
334
334
  baseOptions = configuration.baseOptions;
335
335
  baseAccessToken = configuration.accessToken;
336
336
  }
337
- localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
337
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
338
338
  localVarHeaderParameter = {};
339
339
  localVarQueryParameter = {};
340
340
  // authentication bearer required
@@ -351,7 +351,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
351
351
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
352
352
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
353
353
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
354
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchCategoryRequestDto, localVarRequestOptions, configuration);
354
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCategoryRequestDto, localVarRequestOptions, configuration);
355
355
  return [2 /*return*/, {
356
356
  url: (0, common_1.toPathString)(localVarUrlObj),
357
357
  options: localVarRequestOptions,
@@ -460,20 +460,20 @@ var CategoriesApiFp = function (configuration) {
460
460
  });
461
461
  },
462
462
  /**
463
- * This will partially update a category by code with the provided fields.
463
+ * This will update category.
464
464
  * @summary Update the category
465
465
  * @param {string} code
466
- * @param {PatchCategoryRequestDto} patchCategoryRequestDto
466
+ * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
467
467
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
468
468
  * @param {*} [options] Override http request option.
469
469
  * @throws {RequiredError}
470
470
  */
471
- patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
471
+ updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
472
472
  return __awaiter(this, void 0, void 0, function () {
473
473
  var localVarAxiosArgs;
474
474
  return __generator(this, function (_a) {
475
475
  switch (_a.label) {
476
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCategory(code, patchCategoryRequestDto, authorization, options)];
476
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateCategory(code, updateCategoryRequestDto, authorization, options)];
477
477
  case 1:
478
478
  localVarAxiosArgs = _a.sent();
479
479
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -541,16 +541,16 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
541
541
  return localVarFp.listCategories(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
542
542
  },
543
543
  /**
544
- * This will partially update a category by code with the provided fields.
544
+ * This will update category.
545
545
  * @summary Update the category
546
546
  * @param {string} code
547
- * @param {PatchCategoryRequestDto} patchCategoryRequestDto
547
+ * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
548
548
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
549
549
  * @param {*} [options] Override http request option.
550
550
  * @throws {RequiredError}
551
551
  */
552
- patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
553
- return localVarFp.patchCategory(code, patchCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
552
+ updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
553
+ return localVarFp.updateCategory(code, updateCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
554
554
  },
555
555
  };
556
556
  };
@@ -616,16 +616,16 @@ var CategoriesApi = /** @class */ (function (_super) {
616
616
  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); });
617
617
  };
618
618
  /**
619
- * This will partially update a category by code with the provided fields.
619
+ * This will update category.
620
620
  * @summary Update the category
621
- * @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
621
+ * @param {CategoriesApiUpdateCategoryRequest} requestParameters Request parameters.
622
622
  * @param {*} [options] Override http request option.
623
623
  * @throws {RequiredError}
624
624
  * @memberof CategoriesApi
625
625
  */
626
- CategoriesApi.prototype.patchCategory = function (requestParameters, options) {
626
+ CategoriesApi.prototype.updateCategory = function (requestParameters, options) {
627
627
  var _this = this;
628
- return (0, exports.CategoriesApiFp)(this.configuration).patchCategory(requestParameters.code, requestParameters.patchCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
628
+ return (0, exports.CategoriesApiFp)(this.configuration).updateCategory(requestParameters.code, requestParameters.updateCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
629
629
  };
630
630
  return CategoriesApi;
631
631
  }(base_1.BaseAPI));