@emilgroup/task-sdk 1.0.1-beta.1 → 1.0.1-beta.3

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 (53) hide show
  1. package/.openapi-generator/FILES +0 -5
  2. package/README.md +2 -2
  3. package/api/categories-api.ts +44 -30
  4. package/api/statuses-api.ts +40 -26
  5. package/api/tasks-api.ts +48 -34
  6. package/api.ts +0 -2
  7. package/dist/api/categories-api.d.ts +36 -27
  8. package/dist/api/categories-api.js +33 -27
  9. package/dist/api/statuses-api.d.ts +32 -23
  10. package/dist/api/statuses-api.js +29 -23
  11. package/dist/api/tasks-api.d.ts +40 -31
  12. package/dist/api/tasks-api.js +36 -30
  13. package/dist/api.d.ts +0 -1
  14. package/dist/api.js +0 -1
  15. package/dist/models/category-class.d.ts +6 -0
  16. package/dist/models/create-category-request-dto.d.ts +7 -1
  17. package/dist/models/create-status-request-dto.d.ts +7 -1
  18. package/dist/models/create-task-request-dto.d.ts +31 -13
  19. package/dist/models/create-task-request-dto.js +6 -0
  20. package/dist/models/index.d.ts +0 -4
  21. package/dist/models/index.js +0 -4
  22. package/dist/models/status-class.d.ts +6 -0
  23. package/dist/models/task-class.d.ts +22 -5
  24. package/dist/models/task-class.js +6 -0
  25. package/dist/models/update-category-request-dto.d.ts +8 -2
  26. package/dist/models/update-status-request-dto.d.ts +8 -2
  27. package/dist/models/update-task-request-dto.d.ts +26 -14
  28. package/models/category-class.ts +6 -0
  29. package/models/create-category-request-dto.ts +7 -1
  30. package/models/create-status-request-dto.ts +7 -1
  31. package/models/create-task-request-dto.ts +34 -13
  32. package/models/index.ts +0 -4
  33. package/models/status-class.ts +6 -0
  34. package/models/task-class.ts +25 -5
  35. package/models/update-category-request-dto.ts +8 -2
  36. package/models/update-status-request-dto.ts +8 -2
  37. package/models/update-task-request-dto.ts +26 -14
  38. package/package.json +1 -1
  39. package/api/priorities-api.ts +0 -284
  40. package/dist/api/priorities-api.d.ts +0 -162
  41. package/dist/api/priorities-api.js +0 -324
  42. package/dist/models/create-priority-request-dto.d.ts +0 -24
  43. package/dist/models/create-priority-request-dto.js +0 -15
  44. package/dist/models/create-priority-response-class.d.ts +0 -25
  45. package/dist/models/create-priority-response-class.js +0 -15
  46. package/dist/models/get-priority-response-class.d.ts +0 -25
  47. package/dist/models/get-priority-response-class.js +0 -15
  48. package/dist/models/priority-class.d.ts +0 -60
  49. package/dist/models/priority-class.js +0 -15
  50. package/models/create-priority-request-dto.ts +0 -30
  51. package/models/create-priority-response-class.ts +0 -31
  52. package/models/get-priority-response-class.ts +0 -31
  53. package/models/priority-class.ts +0 -66
@@ -6,7 +6,6 @@ api.ts
6
6
  api/categories-api.ts
7
7
  api/default-api.ts
8
8
  api/hub-spot-api.ts
9
- api/priorities-api.ts
10
9
  api/statuses-api.ts
11
10
  api/tasks-api.ts
12
11
  base.ts
@@ -19,14 +18,11 @@ models/create-category-request-dto.ts
19
18
  models/create-category-response-class.ts
20
19
  models/create-hub-spot-ticket-request-dto.ts
21
20
  models/create-hub-spot-ticket-response-class.ts
22
- models/create-priority-request-dto.ts
23
- models/create-priority-response-class.ts
24
21
  models/create-status-request-dto.ts
25
22
  models/create-status-response-class.ts
26
23
  models/create-task-request-dto.ts
27
24
  models/create-task-response-class.ts
28
25
  models/get-category-response-class.ts
29
- models/get-priority-response-class.ts
30
26
  models/get-status-response-class.ts
31
27
  models/get-task-response-class.ts
32
28
  models/hub-spot-ticket-class.ts
@@ -38,7 +34,6 @@ models/inline-response503.ts
38
34
  models/list-categories-response-class.ts
39
35
  models/list-statuses-response-class.ts
40
36
  models/list-tasks-response-class.ts
41
- models/priority-class.ts
42
37
  models/status-class.ts
43
38
  models/task-class.ts
44
39
  models/update-category-request-dto.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/task-sdk@1.0.1-beta.1 --save
20
+ npm install @emilgroup/task-sdk@1.0.1-beta.3 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/task-sdk@1.0.1-beta.1
24
+ yarn add @emilgroup/task-sdk@1.0.1-beta.3
25
25
  ```
26
26
 
27
27
  And then you can import `TasksApi`.
@@ -39,7 +39,7 @@ import { UpdateCategoryResponseClass } from '../models';
39
39
  export const CategoriesApiAxiosParamCreator = function (configuration?: Configuration) {
40
40
  return {
41
41
  /**
42
- * This will create category.
42
+ * This will create a category.
43
43
  * @summary Create the category
44
44
  * @param {CreateCategoryRequestDto} createCategoryRequestDto
45
45
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -86,7 +86,7 @@ export const CategoriesApiAxiosParamCreator = function (configuration?: Configur
86
86
  };
87
87
  },
88
88
  /**
89
- * This will delete category.
89
+ * This will delete a task category by code.
90
90
  * @summary Delete the category
91
91
  * @param {string} code Unique identifier for the object.
92
92
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -131,7 +131,7 @@ export const CategoriesApiAxiosParamCreator = function (configuration?: Configur
131
131
  };
132
132
  },
133
133
  /**
134
- * This will get category.
134
+ * Get category by code.
135
135
  * @summary Retrieve the category
136
136
  * @param {string} code
137
137
  * @param {string} expand
@@ -186,14 +186,15 @@ export const CategoriesApiAxiosParamCreator = function (configuration?: Configur
186
186
  * Retrieves a list of categories.
187
187
  * @summary List categories
188
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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, createdAt</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, createdAt</i>
191
- * @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</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, slug, name, createdAt, updatedAt</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, slug, name, createdAt, updatedAt</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, name, slug</i>
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, name, slug</i>
192
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/>
193
194
  * @param {*} [options] Override http request option.
194
195
  * @throws {RequiredError}
195
196
  */
196
- listCategories: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
+ listCategories: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
198
  const localVarPath = `/taskservice/v1/categories`;
198
199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
199
200
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -220,6 +221,10 @@ export const CategoriesApiAxiosParamCreator = function (configuration?: Configur
220
221
  localVarQueryParameter['filters'] = filters;
221
222
  }
222
223
 
224
+ if (search !== undefined) {
225
+ localVarQueryParameter['search'] = search;
226
+ }
227
+
223
228
  if (order !== undefined) {
224
229
  localVarQueryParameter['order'] = order;
225
230
  }
@@ -305,7 +310,7 @@ export const CategoriesApiFp = function(configuration?: Configuration) {
305
310
  const localVarAxiosParamCreator = CategoriesApiAxiosParamCreator(configuration)
306
311
  return {
307
312
  /**
308
- * This will create category.
313
+ * This will create a category.
309
314
  * @summary Create the category
310
315
  * @param {CreateCategoryRequestDto} createCategoryRequestDto
311
316
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -317,7 +322,7 @@ export const CategoriesApiFp = function(configuration?: Configuration) {
317
322
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
318
323
  },
319
324
  /**
320
- * This will delete category.
325
+ * This will delete a task category by code.
321
326
  * @summary Delete the category
322
327
  * @param {string} code Unique identifier for the object.
323
328
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -329,7 +334,7 @@ export const CategoriesApiFp = function(configuration?: Configuration) {
329
334
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
330
335
  },
331
336
  /**
332
- * This will get category.
337
+ * Get category by code.
333
338
  * @summary Retrieve the category
334
339
  * @param {string} code
335
340
  * @param {string} expand
@@ -345,15 +350,16 @@ export const CategoriesApiFp = function(configuration?: Configuration) {
345
350
  * Retrieves a list of categories.
346
351
  * @summary List categories
347
352
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
348
- * @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, createdAt&lt;/i&gt;
349
- * @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, createdAt&lt;/i&gt;
350
- * @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&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, slug, name, createdAt, updatedAt&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, slug, name, createdAt, updatedAt&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, name, slug&lt;/i&gt;
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, name, slug&lt;/i&gt;
351
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;
352
358
  * @param {*} [options] Override http request option.
353
359
  * @throws {RequiredError}
354
360
  */
355
- async listCategories(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>> {
356
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCategories(authorization, filter, filters, order, expand, options);
361
+ async listCategories(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>> {
362
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCategories(authorization, filter, filters, search, order, expand, options);
357
363
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
358
364
  },
359
365
  /**
@@ -380,7 +386,7 @@ export const CategoriesApiFactory = function (configuration?: Configuration, bas
380
386
  const localVarFp = CategoriesApiFp(configuration)
381
387
  return {
382
388
  /**
383
- * This will create category.
389
+ * This will create a category.
384
390
  * @summary Create the category
385
391
  * @param {CreateCategoryRequestDto} createCategoryRequestDto
386
392
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -391,7 +397,7 @@ export const CategoriesApiFactory = function (configuration?: Configuration, bas
391
397
  return localVarFp.createCategory(createCategoryRequestDto, authorization, options).then((request) => request(axios, basePath));
392
398
  },
393
399
  /**
394
- * This will delete category.
400
+ * This will delete a task category by code.
395
401
  * @summary Delete the category
396
402
  * @param {string} code Unique identifier for the object.
397
403
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -402,7 +408,7 @@ export const CategoriesApiFactory = function (configuration?: Configuration, bas
402
408
  return localVarFp.deleteCategory(code, authorization, options).then((request) => request(axios, basePath));
403
409
  },
404
410
  /**
405
- * This will get category.
411
+ * Get category by code.
406
412
  * @summary Retrieve the category
407
413
  * @param {string} code
408
414
  * @param {string} expand
@@ -417,15 +423,16 @@ export const CategoriesApiFactory = function (configuration?: Configuration, bas
417
423
  * Retrieves a list of categories.
418
424
  * @summary List categories
419
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
420
- * @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, createdAt&lt;/i&gt;
421
- * @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, createdAt&lt;/i&gt;
422
- * @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&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, slug, name, createdAt, updatedAt&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, slug, name, createdAt, updatedAt&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, name, slug&lt;/i&gt;
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, name, slug&lt;/i&gt;
423
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;
424
431
  * @param {*} [options] Override http request option.
425
432
  * @throws {RequiredError}
426
433
  */
427
- listCategories(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCategoriesResponseClass> {
428
- return localVarFp.listCategories(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
434
+ listCategories(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCategoriesResponseClass> {
435
+ return localVarFp.listCategories(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
429
436
  },
430
437
  /**
431
438
  * This will update category.
@@ -526,21 +533,28 @@ export interface CategoriesApiListCategoriesRequest {
526
533
  readonly authorization?: string
527
534
 
528
535
  /**
529
- * 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, createdAt&lt;/i&gt;
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, slug, name, createdAt, updatedAt&lt;/i&gt;
530
537
  * @type {string}
531
538
  * @memberof CategoriesApiListCategories
532
539
  */
533
540
  readonly filter?: string
534
541
 
535
542
  /**
536
- * 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, createdAt&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, slug, name, createdAt, updatedAt&lt;/i&gt;
537
544
  * @type {string}
538
545
  * @memberof CategoriesApiListCategories
539
546
  */
540
547
  readonly filters?: string
541
548
 
542
549
  /**
543
- * 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&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, name, slug&lt;/i&gt;
551
+ * @type {string}
552
+ * @memberof CategoriesApiListCategories
553
+ */
554
+ readonly search?: string
555
+
556
+ /**
557
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, name, slug&lt;/i&gt;
544
558
  * @type {string}
545
559
  * @memberof CategoriesApiListCategories
546
560
  */
@@ -590,7 +604,7 @@ export interface CategoriesApiUpdateCategoryRequest {
590
604
  */
591
605
  export class CategoriesApi extends BaseAPI {
592
606
  /**
593
- * This will create category.
607
+ * This will create a category.
594
608
  * @summary Create the category
595
609
  * @param {CategoriesApiCreateCategoryRequest} requestParameters Request parameters.
596
610
  * @param {*} [options] Override http request option.
@@ -602,7 +616,7 @@ export class CategoriesApi extends BaseAPI {
602
616
  }
603
617
 
604
618
  /**
605
- * This will delete category.
619
+ * This will delete a task category by code.
606
620
  * @summary Delete the category
607
621
  * @param {CategoriesApiDeleteCategoryRequest} requestParameters Request parameters.
608
622
  * @param {*} [options] Override http request option.
@@ -614,7 +628,7 @@ export class CategoriesApi extends BaseAPI {
614
628
  }
615
629
 
616
630
  /**
617
- * This will get category.
631
+ * Get category by code.
618
632
  * @summary Retrieve the category
619
633
  * @param {CategoriesApiGetCategoryRequest} requestParameters Request parameters.
620
634
  * @param {*} [options] Override http request option.
@@ -634,7 +648,7 @@ export class CategoriesApi extends BaseAPI {
634
648
  * @memberof CategoriesApi
635
649
  */
636
650
  public listCategories(requestParameters: CategoriesApiListCategoriesRequest = {}, options?: AxiosRequestConfig) {
637
- return CategoriesApiFp(this.configuration).listCategories(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
651
+ return CategoriesApiFp(this.configuration).listCategories(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
638
652
  }
639
653
 
640
654
  /**
@@ -39,7 +39,7 @@ import { UpdateStatusResponseClass } from '../models';
39
39
  export const StatusesApiAxiosParamCreator = function (configuration?: Configuration) {
40
40
  return {
41
41
  /**
42
- * This will create status.
42
+ * This will create a status.
43
43
  * @summary Create the status
44
44
  * @param {CreateStatusRequestDto} createStatusRequestDto
45
45
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -131,7 +131,7 @@ export const StatusesApiAxiosParamCreator = function (configuration?: Configurat
131
131
  };
132
132
  },
133
133
  /**
134
- * This will get status.
134
+ * Get status by code.
135
135
  * @summary Retrieve the status
136
136
  * @param {string} code
137
137
  * @param {string} expand
@@ -186,14 +186,15 @@ export const StatusesApiAxiosParamCreator = function (configuration?: Configurat
186
186
  * Retrieves a list of statuses.
187
187
  * @summary List statuses
188
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
- * @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, createdAt&lt;/i&gt;
190
- * @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, createdAt&lt;/i&gt;
191
- * @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: createdAt&lt;/i&gt;
189
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
190
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
191
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, code, name, slug&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, name, slug&lt;/i&gt;
192
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.&lt;br/&gt; &lt;br/&gt;
193
194
  * @param {*} [options] Override http request option.
194
195
  * @throws {RequiredError}
195
196
  */
196
- listStatuses: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
+ listStatuses: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
198
  const localVarPath = `/taskservice/v1/statuses`;
198
199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
199
200
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -220,6 +221,10 @@ export const StatusesApiAxiosParamCreator = function (configuration?: Configurat
220
221
  localVarQueryParameter['filters'] = filters;
221
222
  }
222
223
 
224
+ if (search !== undefined) {
225
+ localVarQueryParameter['search'] = search;
226
+ }
227
+
223
228
  if (order !== undefined) {
224
229
  localVarQueryParameter['order'] = order;
225
230
  }
@@ -305,7 +310,7 @@ export const StatusesApiFp = function(configuration?: Configuration) {
305
310
  const localVarAxiosParamCreator = StatusesApiAxiosParamCreator(configuration)
306
311
  return {
307
312
  /**
308
- * This will create status.
313
+ * This will create a status.
309
314
  * @summary Create the status
310
315
  * @param {CreateStatusRequestDto} createStatusRequestDto
311
316
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -329,7 +334,7 @@ export const StatusesApiFp = function(configuration?: Configuration) {
329
334
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
330
335
  },
331
336
  /**
332
- * This will get status.
337
+ * Get status by code.
333
338
  * @summary Retrieve the status
334
339
  * @param {string} code
335
340
  * @param {string} expand
@@ -345,15 +350,16 @@ export const StatusesApiFp = function(configuration?: Configuration) {
345
350
  * Retrieves a list of statuses.
346
351
  * @summary List statuses
347
352
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
348
- * @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, createdAt&lt;/i&gt;
349
- * @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, createdAt&lt;/i&gt;
350
- * @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: createdAt&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, slug, name, createdAt, updatedAt&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, slug, name, createdAt, updatedAt&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, name, slug&lt;/i&gt;
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, name, slug&lt;/i&gt;
351
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;
352
358
  * @param {*} [options] Override http request option.
353
359
  * @throws {RequiredError}
354
360
  */
355
- async listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>> {
356
- const localVarAxiosArgs = await localVarAxiosParamCreator.listStatuses(authorization, filter, filters, order, expand, options);
361
+ async listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>> {
362
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listStatuses(authorization, filter, filters, search, order, expand, options);
357
363
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
358
364
  },
359
365
  /**
@@ -380,7 +386,7 @@ export const StatusesApiFactory = function (configuration?: Configuration, baseP
380
386
  const localVarFp = StatusesApiFp(configuration)
381
387
  return {
382
388
  /**
383
- * This will create status.
389
+ * This will create a status.
384
390
  * @summary Create the status
385
391
  * @param {CreateStatusRequestDto} createStatusRequestDto
386
392
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -402,7 +408,7 @@ export const StatusesApiFactory = function (configuration?: Configuration, baseP
402
408
  return localVarFp.deleteStatus(code, authorization, options).then((request) => request(axios, basePath));
403
409
  },
404
410
  /**
405
- * This will get status.
411
+ * Get status by code.
406
412
  * @summary Retrieve the status
407
413
  * @param {string} code
408
414
  * @param {string} expand
@@ -417,15 +423,16 @@ export const StatusesApiFactory = function (configuration?: Configuration, baseP
417
423
  * Retrieves a list of statuses.
418
424
  * @summary List statuses
419
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
420
- * @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, createdAt&lt;/i&gt;
421
- * @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, createdAt&lt;/i&gt;
422
- * @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: createdAt&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, slug, name, createdAt, updatedAt&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, slug, name, createdAt, updatedAt&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, name, slug&lt;/i&gt;
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, name, slug&lt;/i&gt;
423
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;
424
431
  * @param {*} [options] Override http request option.
425
432
  * @throws {RequiredError}
426
433
  */
427
- listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass> {
428
- return localVarFp.listStatuses(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
434
+ listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass> {
435
+ return localVarFp.listStatuses(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
429
436
  },
430
437
  /**
431
438
  * This will update status.
@@ -526,21 +533,28 @@ export interface StatusesApiListStatusesRequest {
526
533
  readonly authorization?: string
527
534
 
528
535
  /**
529
- * 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, createdAt&lt;/i&gt;
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, slug, name, createdAt, updatedAt&lt;/i&gt;
530
537
  * @type {string}
531
538
  * @memberof StatusesApiListStatuses
532
539
  */
533
540
  readonly filter?: string
534
541
 
535
542
  /**
536
- * 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, createdAt&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, slug, name, createdAt, updatedAt&lt;/i&gt;
537
544
  * @type {string}
538
545
  * @memberof StatusesApiListStatuses
539
546
  */
540
547
  readonly filters?: string
541
548
 
542
549
  /**
543
- * 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: createdAt&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, name, slug&lt;/i&gt;
551
+ * @type {string}
552
+ * @memberof StatusesApiListStatuses
553
+ */
554
+ readonly search?: string
555
+
556
+ /**
557
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, name, slug&lt;/i&gt;
544
558
  * @type {string}
545
559
  * @memberof StatusesApiListStatuses
546
560
  */
@@ -590,7 +604,7 @@ export interface StatusesApiUpdateStatusRequest {
590
604
  */
591
605
  export class StatusesApi extends BaseAPI {
592
606
  /**
593
- * This will create status.
607
+ * This will create a status.
594
608
  * @summary Create the status
595
609
  * @param {StatusesApiCreateStatusRequest} requestParameters Request parameters.
596
610
  * @param {*} [options] Override http request option.
@@ -614,7 +628,7 @@ export class StatusesApi extends BaseAPI {
614
628
  }
615
629
 
616
630
  /**
617
- * This will get status.
631
+ * Get status by code.
618
632
  * @summary Retrieve the status
619
633
  * @param {StatusesApiGetStatusRequest} requestParameters Request parameters.
620
634
  * @param {*} [options] Override http request option.
@@ -634,7 +648,7 @@ export class StatusesApi extends BaseAPI {
634
648
  * @memberof StatusesApi
635
649
  */
636
650
  public listStatuses(requestParameters: StatusesApiListStatusesRequest = {}, options?: AxiosRequestConfig) {
637
- return StatusesApiFp(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
651
+ return StatusesApiFp(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
638
652
  }
639
653
 
640
654
  /**