@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 { CreateStatusRequestDto } from '../models';
16
16
  import { CreateStatusResponseClass } from '../models';
17
17
  import { GetStatusResponseClass } from '../models';
18
18
  import { ListStatusesResponseClass } from '../models';
19
- import { UpdateStatusRequestDto } from '../models';
20
- import { UpdateStatusResponseClass } from '../models';
19
+ import { PatchStatusRequestDto } from '../models';
20
+ import { PatchStatusResponseClass } from '../models';
21
21
  /**
22
22
  * StatusesApi - axios parameter creator
23
23
  * @export
24
24
  */
25
25
  export declare const StatusesApiAxiosParamCreator: (configuration?: Configuration) => {
26
26
  /**
27
- * This will create a status.
27
+ * This will create a status. **Required Permissions** \"task-management.tasks.create\"
28
28
  * @summary Create the status
29
29
  * @param {CreateStatusRequestDto} createStatusRequestDto
30
30
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -33,7 +33,7 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
33
33
  */
34
34
  createStatus: (createStatusRequestDto: CreateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * This will delete status.
36
+ * This will delete status. **Required Permissions** \"task-management.tasks.delete\"
37
37
  * @summary Delete the status
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,22 +42,22 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
42
42
  */
43
43
  deleteStatus: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * Get status by code.
45
+ * Get status by code. **Required Permissions** \"task-management.tasks.view\"
46
46
  * @summary Retrieve the status
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 status.
50
50
  * @param {*} [options] Override http request option.
51
51
  * @throws {RequiredError}
52
52
  */
53
- getStatus: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ getStatus: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
54
  /**
55
- * Retrieves a list of statuses.
55
+ * Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
56
56
  * @summary List statuses
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 {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: code, name, slug&lt;/i&gt;
61
61
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, name, slug&lt;/i&gt;
62
62
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
63
63
  * @param {*} [options] Override http request option.
@@ -65,15 +65,15 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
65
65
  */
66
66
  listStatuses: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
67
  /**
68
- * This will update status.
68
+ * This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
69
69
  * @summary Update the status
70
70
  * @param {string} code
71
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
71
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
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
- updateStatus: (code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ patchStatus: (code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
77
  };
78
78
  /**
79
79
  * StatusesApi - functional programming interface
@@ -81,7 +81,7 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
81
81
  */
82
82
  export declare const StatusesApiFp: (configuration?: Configuration) => {
83
83
  /**
84
- * This will create a status.
84
+ * This will create a status. **Required Permissions** \"task-management.tasks.create\"
85
85
  * @summary Create the status
86
86
  * @param {CreateStatusRequestDto} createStatusRequestDto
87
87
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -90,7 +90,7 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
90
90
  */
91
91
  createStatus(createStatusRequestDto: CreateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateStatusResponseClass>>;
92
92
  /**
93
- * This will delete status.
93
+ * This will delete status. **Required Permissions** \"task-management.tasks.delete\"
94
94
  * @summary Delete the status
95
95
  * @param {string} code Unique identifier for the object.
96
96
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -99,22 +99,22 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
99
99
  */
100
100
  deleteStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
101
101
  /**
102
- * Get status by code.
102
+ * Get status by code. **Required Permissions** \"task-management.tasks.view\"
103
103
  * @summary Retrieve the status
104
104
  * @param {string} code
105
- * @param {string} expand
106
105
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
106
+ * @param {string} [expand] Expand to fetch additional information about the status.
107
107
  * @param {*} [options] Override http request option.
108
108
  * @throws {RequiredError}
109
109
  */
110
- getStatus(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStatusResponseClass>>;
110
+ getStatus(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStatusResponseClass>>;
111
111
  /**
112
- * Retrieves a list of statuses.
112
+ * Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
113
113
  * @summary List statuses
114
114
  * @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;
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: code, name, slug&lt;/i&gt;
118
118
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, name, slug&lt;/i&gt;
119
119
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
120
120
  * @param {*} [options] Override http request option.
@@ -122,15 +122,15 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
122
122
  */
123
123
  listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>>;
124
124
  /**
125
- * This will update status.
125
+ * This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
126
126
  * @summary Update the status
127
127
  * @param {string} code
128
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
128
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
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
- updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateStatusResponseClass>>;
133
+ patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchStatusResponseClass>>;
134
134
  };
135
135
  /**
136
136
  * StatusesApi - factory interface
@@ -138,7 +138,7 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
138
138
  */
139
139
  export declare const StatusesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
140
140
  /**
141
- * This will create a status.
141
+ * This will create a status. **Required Permissions** \"task-management.tasks.create\"
142
142
  * @summary Create the status
143
143
  * @param {CreateStatusRequestDto} createStatusRequestDto
144
144
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -147,7 +147,7 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
147
147
  */
148
148
  createStatus(createStatusRequestDto: CreateStatusRequestDto, authorization?: string, options?: any): AxiosPromise<CreateStatusResponseClass>;
149
149
  /**
150
- * This will delete status.
150
+ * This will delete status. **Required Permissions** \"task-management.tasks.delete\"
151
151
  * @summary Delete the status
152
152
  * @param {string} code Unique identifier for the object.
153
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -156,22 +156,22 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
156
156
  */
157
157
  deleteStatus(code: string, authorization?: string, options?: any): AxiosPromise<void>;
158
158
  /**
159
- * Get status by code.
159
+ * Get status by code. **Required Permissions** \"task-management.tasks.view\"
160
160
  * @summary Retrieve the status
161
161
  * @param {string} code
162
- * @param {string} expand
163
162
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
163
+ * @param {string} [expand] Expand to fetch additional information about the status.
164
164
  * @param {*} [options] Override http request option.
165
165
  * @throws {RequiredError}
166
166
  */
167
- getStatus(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetStatusResponseClass>;
167
+ getStatus(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetStatusResponseClass>;
168
168
  /**
169
- * Retrieves a list of statuses.
169
+ * Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
170
170
  * @summary List statuses
171
171
  * @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;
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: code, name, slug&lt;/i&gt;
175
175
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, name, slug&lt;/i&gt;
176
176
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
177
177
  * @param {*} [options] Override http request option.
@@ -179,15 +179,15 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
179
179
  */
180
180
  listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass>;
181
181
  /**
182
- * This will update status.
182
+ * This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
183
183
  * @summary Update the status
184
184
  * @param {string} code
185
- * @param {UpdateStatusRequestDto} updateStatusRequestDto
185
+ * @param {PatchStatusRequestDto} patchStatusRequestDto
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
- updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateStatusResponseClass>;
190
+ patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchStatusResponseClass>;
191
191
  };
192
192
  /**
193
193
  * Request parameters for createStatus operation in StatusesApi.
@@ -240,17 +240,17 @@ export interface StatusesApiGetStatusRequest {
240
240
  */
241
241
  readonly code: string;
242
242
  /**
243
- *
243
+ * Bearer Token: provided by the login endpoint under the name accessToken.
244
244
  * @type {string}
245
245
  * @memberof StatusesApiGetStatus
246
246
  */
247
- readonly expand: string;
247
+ readonly authorization?: string;
248
248
  /**
249
- * Bearer Token: provided by the login endpoint under the name accessToken.
249
+ * Expand to fetch additional information about the status.
250
250
  * @type {string}
251
251
  * @memberof StatusesApiGetStatus
252
252
  */
253
- readonly authorization?: string;
253
+ readonly expand?: string;
254
254
  }
255
255
  /**
256
256
  * Request parameters for listStatuses operation in StatusesApi.
@@ -265,19 +265,19 @@ export interface StatusesApiListStatusesRequest {
265
265
  */
266
266
  readonly authorization?: string;
267
267
  /**
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;
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;
269
269
  * @type {string}
270
270
  * @memberof StatusesApiListStatuses
271
271
  */
272
272
  readonly filter?: string;
273
273
  /**
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;
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;
275
275
  * @type {string}
276
276
  * @memberof StatusesApiListStatuses
277
277
  */
278
278
  readonly filters?: string;
279
279
  /**
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;
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: code, name, slug&lt;/i&gt;
281
281
  * @type {string}
282
282
  * @memberof StatusesApiListStatuses
283
283
  */
@@ -296,27 +296,27 @@ export interface StatusesApiListStatusesRequest {
296
296
  readonly expand?: string;
297
297
  }
298
298
  /**
299
- * Request parameters for updateStatus operation in StatusesApi.
299
+ * Request parameters for patchStatus operation in StatusesApi.
300
300
  * @export
301
- * @interface StatusesApiUpdateStatusRequest
301
+ * @interface StatusesApiPatchStatusRequest
302
302
  */
303
- export interface StatusesApiUpdateStatusRequest {
303
+ export interface StatusesApiPatchStatusRequest {
304
304
  /**
305
305
  *
306
306
  * @type {string}
307
- * @memberof StatusesApiUpdateStatus
307
+ * @memberof StatusesApiPatchStatus
308
308
  */
309
309
  readonly code: string;
310
310
  /**
311
311
  *
312
- * @type {UpdateStatusRequestDto}
313
- * @memberof StatusesApiUpdateStatus
312
+ * @type {PatchStatusRequestDto}
313
+ * @memberof StatusesApiPatchStatus
314
314
  */
315
- readonly updateStatusRequestDto: UpdateStatusRequestDto;
315
+ readonly patchStatusRequestDto: PatchStatusRequestDto;
316
316
  /**
317
317
  * Bearer Token: provided by the login endpoint under the name accessToken.
318
318
  * @type {string}
319
- * @memberof StatusesApiUpdateStatus
319
+ * @memberof StatusesApiPatchStatus
320
320
  */
321
321
  readonly authorization?: string;
322
322
  }
@@ -328,7 +328,7 @@ export interface StatusesApiUpdateStatusRequest {
328
328
  */
329
329
  export declare class StatusesApi extends BaseAPI {
330
330
  /**
331
- * This will create a status.
331
+ * This will create a status. **Required Permissions** \"task-management.tasks.create\"
332
332
  * @summary Create the status
333
333
  * @param {StatusesApiCreateStatusRequest} requestParameters Request parameters.
334
334
  * @param {*} [options] Override http request option.
@@ -337,7 +337,7 @@ export declare class StatusesApi extends BaseAPI {
337
337
  */
338
338
  createStatus(requestParameters: StatusesApiCreateStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateStatusResponseClass, any, {}>>;
339
339
  /**
340
- * This will delete status.
340
+ * This will delete status. **Required Permissions** \"task-management.tasks.delete\"
341
341
  * @summary Delete the status
342
342
  * @param {StatusesApiDeleteStatusRequest} requestParameters Request parameters.
343
343
  * @param {*} [options] Override http request option.
@@ -346,7 +346,7 @@ export declare class StatusesApi extends BaseAPI {
346
346
  */
347
347
  deleteStatus(requestParameters: StatusesApiDeleteStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
348
348
  /**
349
- * Get status by code.
349
+ * Get status by code. **Required Permissions** \"task-management.tasks.view\"
350
350
  * @summary Retrieve the status
351
351
  * @param {StatusesApiGetStatusRequest} requestParameters Request parameters.
352
352
  * @param {*} [options] Override http request option.
@@ -355,7 +355,7 @@ export declare class StatusesApi extends BaseAPI {
355
355
  */
356
356
  getStatus(requestParameters: StatusesApiGetStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStatusResponseClass, any, {}>>;
357
357
  /**
358
- * Retrieves a list of statuses.
358
+ * Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
359
359
  * @summary List statuses
360
360
  * @param {StatusesApiListStatusesRequest} requestParameters Request parameters.
361
361
  * @param {*} [options] Override http request option.
@@ -364,12 +364,12 @@ export declare class StatusesApi extends BaseAPI {
364
364
  */
365
365
  listStatuses(requestParameters?: StatusesApiListStatusesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListStatusesResponseClass, any, {}>>;
366
366
  /**
367
- * This will update status.
367
+ * This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
368
368
  * @summary Update the status
369
- * @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
369
+ * @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
370
370
  * @param {*} [options] Override http request option.
371
371
  * @throws {RequiredError}
372
372
  * @memberof StatusesApi
373
373
  */
374
- updateStatus(requestParameters: StatusesApiUpdateStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateStatusResponseClass, any, {}>>;
374
+ patchStatus(requestParameters: StatusesApiPatchStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchStatusResponseClass, any, {}>>;
375
375
  }