@emilgroup/task-sdk-node 1.0.1-beta.3 → 1.0.1-beta.35

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 (61) hide show
  1. package/.openapi-generator/FILES +9 -6
  2. package/README.md +2 -2
  3. package/api/assignees-api.ts +166 -0
  4. package/api/categories-api.ts +111 -85
  5. package/api/default-api.ts +1 -1
  6. package/api/hub-spot-api.ts +4 -4
  7. package/api/statuses-api.ts +71 -73
  8. package/api/tasks-api.ts +119 -93
  9. package/api.ts +2 -0
  10. package/dist/api/assignees-api.d.ts +96 -0
  11. package/dist/api/assignees-api.js +228 -0
  12. package/dist/api/categories-api.d.ts +83 -65
  13. package/dist/api/categories-api.js +75 -65
  14. package/dist/api/default-api.js +1 -1
  15. package/dist/api/hub-spot-api.d.ts +4 -4
  16. package/dist/api/hub-spot-api.js +4 -4
  17. package/dist/api/statuses-api.d.ts +60 -60
  18. package/dist/api/statuses-api.js +54 -56
  19. package/dist/api/tasks-api.d.ts +91 -73
  20. package/dist/api/tasks-api.js +81 -71
  21. package/dist/api.d.ts +1 -0
  22. package/dist/api.js +1 -0
  23. package/dist/models/assignee-class.d.ts +24 -0
  24. package/dist/models/create-status-request-dto.d.ts +6 -0
  25. package/dist/models/create-task-request-dto.d.ts +23 -4
  26. package/dist/models/create-task-request-dto.js +7 -1
  27. package/dist/models/index.d.ts +8 -6
  28. package/dist/models/index.js +8 -6
  29. package/dist/models/list-assignees-response-class.d.ts +43 -0
  30. package/dist/models/{update-category-request-dto.d.ts → patch-category-request-dto.d.ts} +7 -7
  31. package/dist/models/{update-category-response-class.d.ts → patch-category-response-class.d.ts} +3 -3
  32. package/dist/models/{update-status-request-dto.d.ts → patch-status-request-dto.d.ts} +13 -7
  33. package/dist/models/{update-status-response-class.d.ts → patch-status-response-class.d.ts} +3 -3
  34. package/dist/models/patch-task-request-dto.d.ts +139 -0
  35. package/dist/models/patch-task-request-dto.js +22 -0
  36. package/dist/models/{update-task-response-class.d.ts → patch-task-response-class.d.ts} +3 -3
  37. package/dist/models/patch-task-response-class.js +15 -0
  38. package/dist/models/status-class.d.ts +6 -0
  39. package/dist/models/task-class.d.ts +34 -4
  40. package/models/assignee-class.ts +30 -0
  41. package/models/create-status-request-dto.ts +6 -0
  42. package/models/create-task-request-dto.ts +24 -4
  43. package/models/index.ts +8 -6
  44. package/models/list-assignees-response-class.ts +49 -0
  45. package/models/{update-category-request-dto.ts → patch-category-request-dto.ts} +7 -7
  46. package/models/{update-category-response-class.ts → patch-category-response-class.ts} +3 -3
  47. package/models/{update-status-request-dto.ts → patch-status-request-dto.ts} +13 -7
  48. package/models/{update-status-response-class.ts → patch-status-response-class.ts} +3 -3
  49. package/models/patch-task-request-dto.ts +148 -0
  50. package/models/{update-task-response-class.ts → patch-task-response-class.ts} +3 -3
  51. package/models/status-class.ts +6 -0
  52. package/models/task-class.ts +34 -4
  53. package/package.json +2 -2
  54. package/dist/models/update-task-request-dto.d.ts +0 -72
  55. package/models/update-task-request-dto.ts +0 -78
  56. /package/dist/models/{update-category-request-dto.js → assignee-class.js} +0 -0
  57. /package/dist/models/{update-category-response-class.js → list-assignees-response-class.js} +0 -0
  58. /package/dist/models/{update-status-request-dto.js → patch-category-request-dto.js} +0 -0
  59. /package/dist/models/{update-status-response-class.js → patch-category-response-class.js} +0 -0
  60. /package/dist/models/{update-task-request-dto.js → patch-status-request-dto.js} +0 -0
  61. /package/dist/models/{update-task-response-class.js → patch-status-response-class.js} +0 -0
@@ -16,15 +16,15 @@ import { CreateCategoryRequestDto } from '../models';
16
16
  import { CreateCategoryResponseClass } from '../models';
17
17
  import { GetCategoryResponseClass } from '../models';
18
18
  import { ListCategoriesResponseClass } from '../models';
19
- import { UpdateCategoryRequestDto } from '../models';
20
- import { UpdateCategoryResponseClass } from '../models';
19
+ import { PatchCategoryRequestDto } from '../models';
20
+ import { PatchCategoryResponseClass } from '../models';
21
21
  /**
22
22
  * CategoriesApi - axios parameter creator
23
23
  * @export
24
24
  */
25
25
  export declare const CategoriesApiAxiosParamCreator: (configuration?: Configuration) => {
26
26
  /**
27
- * This will create a category.
27
+ * This will create a category. **Required Permissions** \"task-management.tasks.create\"
28
28
  * @summary Create the category
29
29
  * @param {CreateCategoryRequestDto} createCategoryRequestDto
30
30
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -33,7 +33,7 @@ export declare const CategoriesApiAxiosParamCreator: (configuration?: Configurat
33
33
  */
34
34
  createCategory: (createCategoryRequestDto: CreateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * This will delete a task category by code.
36
+ * This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
37
37
  * @summary Delete the category
38
38
  * @param {string} code Unique identifier for the object.
39
39
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -42,38 +42,40 @@ export declare const CategoriesApiAxiosParamCreator: (configuration?: Configurat
42
42
  */
43
43
  deleteCategory: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * Get category by code.
45
+ * Get category by code. **Required Permissions** \"task-management.tasks.view\"
46
46
  * @summary Retrieve the category
47
47
  * @param {string} code
48
- * @param {string} expand
49
48
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
49
+ * @param {string} [expand] Expand to fetch additional information about the category.
50
50
  * @param {*} [options] Override http request option.
51
51
  * @throws {RequiredError}
52
52
  */
53
- getCategory: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ getCategory: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
54
  /**
55
- * Retrieves a list of categories.
55
+ * Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
56
56
  * @summary List categories
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
59
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
60
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, code, name, slug&lt;/i&gt;
58
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
60
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
61
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: name, slug&lt;/i&gt;
61
62
  * @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;
62
63
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
64
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
63
65
  * @param {*} [options] Override http request option.
64
66
  * @throws {RequiredError}
65
67
  */
66
- listCategories: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ listCategories: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
69
  /**
68
- * This will update category.
70
+ * This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
69
71
  * @summary Update the category
70
72
  * @param {string} code
71
- * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
73
+ * @param {PatchCategoryRequestDto} patchCategoryRequestDto
72
74
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
73
75
  * @param {*} [options] Override http request option.
74
76
  * @throws {RequiredError}
75
77
  */
76
- updateCategory: (code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
+ patchCategory: (code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
79
  };
78
80
  /**
79
81
  * CategoriesApi - functional programming interface
@@ -81,7 +83,7 @@ export declare const CategoriesApiAxiosParamCreator: (configuration?: Configurat
81
83
  */
82
84
  export declare const CategoriesApiFp: (configuration?: Configuration) => {
83
85
  /**
84
- * This will create a category.
86
+ * This will create a category. **Required Permissions** \"task-management.tasks.create\"
85
87
  * @summary Create the category
86
88
  * @param {CreateCategoryRequestDto} createCategoryRequestDto
87
89
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -90,7 +92,7 @@ export declare const CategoriesApiFp: (configuration?: Configuration) => {
90
92
  */
91
93
  createCategory(createCategoryRequestDto: CreateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCategoryResponseClass>>;
92
94
  /**
93
- * This will delete a task category by code.
95
+ * This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
94
96
  * @summary Delete the category
95
97
  * @param {string} code Unique identifier for the object.
96
98
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -99,38 +101,40 @@ export declare const CategoriesApiFp: (configuration?: Configuration) => {
99
101
  */
100
102
  deleteCategory(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
101
103
  /**
102
- * Get category by code.
104
+ * Get category by code. **Required Permissions** \"task-management.tasks.view\"
103
105
  * @summary Retrieve the category
104
106
  * @param {string} code
105
- * @param {string} expand
106
107
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
108
+ * @param {string} [expand] Expand to fetch additional information about the category.
107
109
  * @param {*} [options] Override http request option.
108
110
  * @throws {RequiredError}
109
111
  */
110
- getCategory(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCategoryResponseClass>>;
112
+ getCategory(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCategoryResponseClass>>;
111
113
  /**
112
- * Retrieves a list of categories.
114
+ * Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
113
115
  * @summary List categories
114
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
116
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
117
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, code, name, slug&lt;/i&gt;
117
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
120
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: name, slug&lt;/i&gt;
118
121
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, name, slug&lt;/i&gt;
119
122
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
123
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
120
124
  * @param {*} [options] Override http request option.
121
125
  * @throws {RequiredError}
122
126
  */
123
- listCategories(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>>;
127
+ listCategories(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>>;
124
128
  /**
125
- * This will update category.
129
+ * This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
126
130
  * @summary Update the category
127
131
  * @param {string} code
128
- * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
132
+ * @param {PatchCategoryRequestDto} patchCategoryRequestDto
129
133
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
130
134
  * @param {*} [options] Override http request option.
131
135
  * @throws {RequiredError}
132
136
  */
133
- updateCategory(code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCategoryResponseClass>>;
137
+ patchCategory(code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCategoryResponseClass>>;
134
138
  };
135
139
  /**
136
140
  * CategoriesApi - factory interface
@@ -138,7 +142,7 @@ export declare const CategoriesApiFp: (configuration?: Configuration) => {
138
142
  */
139
143
  export declare const CategoriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
140
144
  /**
141
- * This will create a category.
145
+ * This will create a category. **Required Permissions** \"task-management.tasks.create\"
142
146
  * @summary Create the category
143
147
  * @param {CreateCategoryRequestDto} createCategoryRequestDto
144
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -147,7 +151,7 @@ export declare const CategoriesApiFactory: (configuration?: Configuration, baseP
147
151
  */
148
152
  createCategory(createCategoryRequestDto: CreateCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCategoryResponseClass>;
149
153
  /**
150
- * This will delete a task category by code.
154
+ * This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
151
155
  * @summary Delete the category
152
156
  * @param {string} code Unique identifier for the object.
153
157
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -156,38 +160,40 @@ export declare const CategoriesApiFactory: (configuration?: Configuration, baseP
156
160
  */
157
161
  deleteCategory(code: string, authorization?: string, options?: any): AxiosPromise<void>;
158
162
  /**
159
- * Get category by code.
163
+ * Get category by code. **Required Permissions** \"task-management.tasks.view\"
160
164
  * @summary Retrieve the category
161
165
  * @param {string} code
162
- * @param {string} expand
163
166
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
167
+ * @param {string} [expand] Expand to fetch additional information about the category.
164
168
  * @param {*} [options] Override http request option.
165
169
  * @throws {RequiredError}
166
170
  */
167
- getCategory(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCategoryResponseClass>;
171
+ getCategory(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetCategoryResponseClass>;
168
172
  /**
169
- * Retrieves a list of categories.
173
+ * Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
170
174
  * @summary List categories
171
175
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
172
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
173
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
174
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, code, name, slug&lt;/i&gt;
176
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
178
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
179
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: name, slug&lt;/i&gt;
175
180
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, name, slug&lt;/i&gt;
176
181
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
182
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
177
183
  * @param {*} [options] Override http request option.
178
184
  * @throws {RequiredError}
179
185
  */
180
- listCategories(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCategoriesResponseClass>;
186
+ listCategories(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCategoriesResponseClass>;
181
187
  /**
182
- * This will update category.
188
+ * This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
183
189
  * @summary Update the category
184
190
  * @param {string} code
185
- * @param {UpdateCategoryRequestDto} updateCategoryRequestDto
191
+ * @param {PatchCategoryRequestDto} patchCategoryRequestDto
186
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
187
193
  * @param {*} [options] Override http request option.
188
194
  * @throws {RequiredError}
189
195
  */
190
- updateCategory(code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCategoryResponseClass>;
196
+ patchCategory(code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCategoryResponseClass>;
191
197
  };
192
198
  /**
193
199
  * Request parameters for createCategory operation in CategoriesApi.
@@ -240,17 +246,17 @@ export interface CategoriesApiGetCategoryRequest {
240
246
  */
241
247
  readonly code: string;
242
248
  /**
243
- *
249
+ * Bearer Token: provided by the login endpoint under the name accessToken.
244
250
  * @type {string}
245
251
  * @memberof CategoriesApiGetCategory
246
252
  */
247
- readonly expand: string;
253
+ readonly authorization?: string;
248
254
  /**
249
- * Bearer Token: provided by the login endpoint under the name accessToken.
255
+ * Expand to fetch additional information about the category.
250
256
  * @type {string}
251
257
  * @memberof CategoriesApiGetCategory
252
258
  */
253
- readonly authorization?: string;
259
+ readonly expand?: string;
254
260
  }
255
261
  /**
256
262
  * Request parameters for listCategories operation in CategoriesApi.
@@ -265,19 +271,25 @@ export interface CategoriesApiListCategoriesRequest {
265
271
  */
266
272
  readonly authorization?: string;
267
273
  /**
268
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
274
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
275
+ * @type {number}
276
+ * @memberof CategoriesApiListCategories
277
+ */
278
+ readonly pageSize?: number;
279
+ /**
280
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
269
281
  * @type {string}
270
282
  * @memberof CategoriesApiListCategories
271
283
  */
272
- readonly filter?: string;
284
+ readonly pageToken?: string;
273
285
  /**
274
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
286
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
275
287
  * @type {string}
276
288
  * @memberof CategoriesApiListCategories
277
289
  */
278
- readonly filters?: string;
290
+ readonly filter?: string;
279
291
  /**
280
- * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, code, name, slug&lt;/i&gt;
292
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: name, slug&lt;/i&gt;
281
293
  * @type {string}
282
294
  * @memberof CategoriesApiListCategories
283
295
  */
@@ -294,29 +306,35 @@ export interface CategoriesApiListCategoriesRequest {
294
306
  * @memberof CategoriesApiListCategories
295
307
  */
296
308
  readonly expand?: string;
309
+ /**
310
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, name, createdAt, updatedAt&lt;/i&gt;
311
+ * @type {string}
312
+ * @memberof CategoriesApiListCategories
313
+ */
314
+ readonly filters?: string;
297
315
  }
298
316
  /**
299
- * Request parameters for updateCategory operation in CategoriesApi.
317
+ * Request parameters for patchCategory operation in CategoriesApi.
300
318
  * @export
301
- * @interface CategoriesApiUpdateCategoryRequest
319
+ * @interface CategoriesApiPatchCategoryRequest
302
320
  */
303
- export interface CategoriesApiUpdateCategoryRequest {
321
+ export interface CategoriesApiPatchCategoryRequest {
304
322
  /**
305
323
  *
306
324
  * @type {string}
307
- * @memberof CategoriesApiUpdateCategory
325
+ * @memberof CategoriesApiPatchCategory
308
326
  */
309
327
  readonly code: string;
310
328
  /**
311
329
  *
312
- * @type {UpdateCategoryRequestDto}
313
- * @memberof CategoriesApiUpdateCategory
330
+ * @type {PatchCategoryRequestDto}
331
+ * @memberof CategoriesApiPatchCategory
314
332
  */
315
- readonly updateCategoryRequestDto: UpdateCategoryRequestDto;
333
+ readonly patchCategoryRequestDto: PatchCategoryRequestDto;
316
334
  /**
317
335
  * Bearer Token: provided by the login endpoint under the name accessToken.
318
336
  * @type {string}
319
- * @memberof CategoriesApiUpdateCategory
337
+ * @memberof CategoriesApiPatchCategory
320
338
  */
321
339
  readonly authorization?: string;
322
340
  }
@@ -328,7 +346,7 @@ export interface CategoriesApiUpdateCategoryRequest {
328
346
  */
329
347
  export declare class CategoriesApi extends BaseAPI {
330
348
  /**
331
- * This will create a category.
349
+ * This will create a category. **Required Permissions** \"task-management.tasks.create\"
332
350
  * @summary Create the category
333
351
  * @param {CategoriesApiCreateCategoryRequest} requestParameters Request parameters.
334
352
  * @param {*} [options] Override http request option.
@@ -337,7 +355,7 @@ export declare class CategoriesApi extends BaseAPI {
337
355
  */
338
356
  createCategory(requestParameters: CategoriesApiCreateCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCategoryResponseClass, any, {}>>;
339
357
  /**
340
- * This will delete a task category by code.
358
+ * This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
341
359
  * @summary Delete the category
342
360
  * @param {CategoriesApiDeleteCategoryRequest} requestParameters Request parameters.
343
361
  * @param {*} [options] Override http request option.
@@ -346,7 +364,7 @@ export declare class CategoriesApi extends BaseAPI {
346
364
  */
347
365
  deleteCategory(requestParameters: CategoriesApiDeleteCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
348
366
  /**
349
- * Get category by code.
367
+ * Get category by code. **Required Permissions** \"task-management.tasks.view\"
350
368
  * @summary Retrieve the category
351
369
  * @param {CategoriesApiGetCategoryRequest} requestParameters Request parameters.
352
370
  * @param {*} [options] Override http request option.
@@ -355,7 +373,7 @@ export declare class CategoriesApi extends BaseAPI {
355
373
  */
356
374
  getCategory(requestParameters: CategoriesApiGetCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCategoryResponseClass, any, {}>>;
357
375
  /**
358
- * Retrieves a list of categories.
376
+ * Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
359
377
  * @summary List categories
360
378
  * @param {CategoriesApiListCategoriesRequest} requestParameters Request parameters.
361
379
  * @param {*} [options] Override http request option.
@@ -364,12 +382,12 @@ export declare class CategoriesApi extends BaseAPI {
364
382
  */
365
383
  listCategories(requestParameters?: CategoriesApiListCategoriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCategoriesResponseClass, any, {}>>;
366
384
  /**
367
- * This will update category.
385
+ * This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
368
386
  * @summary Update the category
369
- * @param {CategoriesApiUpdateCategoryRequest} requestParameters Request parameters.
387
+ * @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
370
388
  * @param {*} [options] Override http request option.
371
389
  * @throws {RequiredError}
372
390
  * @memberof CategoriesApi
373
391
  */
374
- updateCategory(requestParameters: CategoriesApiUpdateCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCategoryResponseClass, any, {}>>;
392
+ patchCategory(requestParameters: CategoriesApiPatchCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchCategoryResponseClass, any, {}>>;
375
393
  }