@emilgroup/task-sdk-node 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 -288
  40. package/dist/api/priorities-api.d.ts +0 -162
  41. package/dist/api/priorities-api.js +0 -328
  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
@@ -33,7 +33,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
33
33
  */
34
34
  createTask: (createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * This will delete task.
36
+ * This will delete a task by code.
37
37
  * @summary Delete the task
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,7 +42,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
42
42
  */
43
43
  deleteTask: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * This will get task.
45
+ * This will get a task by code.
46
46
  * @summary Retrieve the task
47
47
  * @param {string} code
48
48
  * @param {string} expand
@@ -55,16 +55,17 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
55
55
  * Retrieves a list of tasks.
56
56
  * @summary List tasks
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, categoryId, statusId, priorityId, createdAt&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, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
60
- * @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;
61
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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, subject, description, assignee, reporter&lt;/i&gt;
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, assignee, reporter, dueDate&lt;/i&gt;
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; &lt;i&gt;Allowed values: category, status&lt;i&gt;
62
63
  * @param {*} [options] Override http request option.
63
64
  * @throws {RequiredError}
64
65
  */
65
- listTasks: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ listTasks: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
67
  /**
67
- * This will update task.
68
+ * This will update a task by code.
68
69
  * @summary Update the task
69
70
  * @param {string} code
70
71
  * @param {UpdateTaskRequestDto} updateTaskRequestDto
@@ -89,7 +90,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
89
90
  */
90
91
  createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTaskResponseClass>>;
91
92
  /**
92
- * This will delete task.
93
+ * This will delete a task by code.
93
94
  * @summary Delete the task
94
95
  * @param {string} code Unique identifier for the object.
95
96
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -98,7 +99,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
98
99
  */
99
100
  deleteTask(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
101
  /**
101
- * This will get task.
102
+ * This will get a task by code.
102
103
  * @summary Retrieve the task
103
104
  * @param {string} code
104
105
  * @param {string} expand
@@ -111,16 +112,17 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
111
112
  * Retrieves a list of tasks.
112
113
  * @summary List tasks
113
114
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
114
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
115
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
116
- * @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;
117
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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, subject, description, assignee, reporter&lt;/i&gt;
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, assignee, reporter, dueDate&lt;/i&gt;
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; &lt;i&gt;Allowed values: category, status&lt;i&gt;
118
120
  * @param {*} [options] Override http request option.
119
121
  * @throws {RequiredError}
120
122
  */
121
- listTasks(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>;
123
+ listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>;
122
124
  /**
123
- * This will update task.
125
+ * This will update a task by code.
124
126
  * @summary Update the task
125
127
  * @param {string} code
126
128
  * @param {UpdateTaskRequestDto} updateTaskRequestDto
@@ -145,7 +147,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
145
147
  */
146
148
  createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTaskResponseClass>;
147
149
  /**
148
- * This will delete task.
150
+ * This will delete a task by code.
149
151
  * @summary Delete the task
150
152
  * @param {string} code Unique identifier for the object.
151
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -154,7 +156,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
154
156
  */
155
157
  deleteTask(code: string, authorization?: string, options?: any): AxiosPromise<void>;
156
158
  /**
157
- * This will get task.
159
+ * This will get a task by code.
158
160
  * @summary Retrieve the task
159
161
  * @param {string} code
160
162
  * @param {string} expand
@@ -167,16 +169,17 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
167
169
  * Retrieves a list of tasks.
168
170
  * @summary List tasks
169
171
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
170
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
171
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
172
- * @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;
173
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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, subject, description, assignee, reporter&lt;/i&gt;
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, assignee, reporter, dueDate&lt;/i&gt;
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; &lt;i&gt;Allowed values: category, status&lt;i&gt;
174
177
  * @param {*} [options] Override http request option.
175
178
  * @throws {RequiredError}
176
179
  */
177
- listTasks(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
180
+ listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
178
181
  /**
179
- * This will update task.
182
+ * This will update a task by code.
180
183
  * @summary Update the task
181
184
  * @param {string} code
182
185
  * @param {UpdateTaskRequestDto} updateTaskRequestDto
@@ -262,25 +265,31 @@ export interface TasksApiListTasksRequest {
262
265
  */
263
266
  readonly authorization?: string;
264
267
  /**
265
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
266
269
  * @type {string}
267
270
  * @memberof TasksApiListTasks
268
271
  */
269
272
  readonly filter?: string;
270
273
  /**
271
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
272
275
  * @type {string}
273
276
  * @memberof TasksApiListTasks
274
277
  */
275
278
  readonly filters?: string;
276
279
  /**
277
- * 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;
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, subject, description, assignee, reporter&lt;/i&gt;
281
+ * @type {string}
282
+ * @memberof TasksApiListTasks
283
+ */
284
+ readonly search?: string;
285
+ /**
286
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate&lt;/i&gt;
278
287
  * @type {string}
279
288
  * @memberof TasksApiListTasks
280
289
  */
281
290
  readonly order?: string;
282
291
  /**
283
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&lt;i&gt;
292
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status&lt;i&gt;
284
293
  * @type {string}
285
294
  * @memberof TasksApiListTasks
286
295
  */
@@ -328,7 +337,7 @@ export declare class TasksApi extends BaseAPI {
328
337
  */
329
338
  createTask(requestParameters: TasksApiCreateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTaskResponseClass, any, {}>>;
330
339
  /**
331
- * This will delete task.
340
+ * This will delete a task by code.
332
341
  * @summary Delete the task
333
342
  * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
334
343
  * @param {*} [options] Override http request option.
@@ -337,7 +346,7 @@ export declare class TasksApi extends BaseAPI {
337
346
  */
338
347
  deleteTask(requestParameters: TasksApiDeleteTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
339
348
  /**
340
- * This will get task.
349
+ * This will get a task by code.
341
350
  * @summary Retrieve the task
342
351
  * @param {TasksApiGetTaskRequest} requestParameters Request parameters.
343
352
  * @param {*} [options] Override http request option.
@@ -355,7 +364,7 @@ export declare class TasksApi extends BaseAPI {
355
364
  */
356
365
  listTasks(requestParameters?: TasksApiListTasksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponseClass, any, {}>>;
357
366
  /**
358
- * This will update task.
367
+ * This will update a task by code.
359
368
  * @summary Update the task
360
369
  * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
361
370
  * @param {*} [options] Override http request option.
@@ -146,7 +146,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * This will delete task.
149
+ * This will delete a task by code.
150
150
  * @summary Delete the task
151
151
  * @param {string} code Unique identifier for the object.
152
152
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -194,7 +194,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * This will get task.
197
+ * This will get a task by code.
198
198
  * @summary Retrieve the task
199
199
  * @param {string} code
200
200
  * @param {string} expand
@@ -251,14 +251,15 @@ var TasksApiAxiosParamCreator = function (configuration) {
251
251
  * Retrieves a list of tasks.
252
252
  * @summary List tasks
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
255
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
256
- * @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;
257
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&lt;i&gt;
254
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
255
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
256
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, code, subject, description, assignee, reporter&lt;/i&gt;
257
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate&lt;/i&gt;
258
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status&lt;i&gt;
258
259
  * @param {*} [options] Override http request option.
259
260
  * @throws {RequiredError}
260
261
  */
261
- listTasks: function (authorization, filter, filters, order, expand, options) {
262
+ listTasks: function (authorization, filter, filters, search, order, expand, options) {
262
263
  if (options === void 0) { options = {}; }
263
264
  return __awaiter(_this, void 0, void 0, function () {
264
265
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -287,6 +288,9 @@ var TasksApiAxiosParamCreator = function (configuration) {
287
288
  if (filters !== undefined) {
288
289
  localVarQueryParameter['filters'] = filters;
289
290
  }
291
+ if (search !== undefined) {
292
+ localVarQueryParameter['search'] = search;
293
+ }
290
294
  if (order !== undefined) {
291
295
  localVarQueryParameter['order'] = order;
292
296
  }
@@ -308,7 +312,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
308
312
  });
309
313
  },
310
314
  /**
311
- * This will update task.
315
+ * This will update a task by code.
312
316
  * @summary Update the task
313
317
  * @param {string} code
314
318
  * @param {UpdateTaskRequestDto} updateTaskRequestDto
@@ -392,7 +396,7 @@ var TasksApiFp = function (configuration) {
392
396
  });
393
397
  },
394
398
  /**
395
- * This will delete task.
399
+ * This will delete a task by code.
396
400
  * @summary Delete the task
397
401
  * @param {string} code Unique identifier for the object.
398
402
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -413,7 +417,7 @@ var TasksApiFp = function (configuration) {
413
417
  });
414
418
  },
415
419
  /**
416
- * This will get task.
420
+ * This will get a task by code.
417
421
  * @summary Retrieve the task
418
422
  * @param {string} code
419
423
  * @param {string} expand
@@ -438,19 +442,20 @@ var TasksApiFp = function (configuration) {
438
442
  * Retrieves a list of tasks.
439
443
  * @summary List tasks
440
444
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
441
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
442
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
443
- * @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;
444
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&lt;i&gt;
445
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
446
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
447
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, code, subject, description, assignee, reporter&lt;/i&gt;
448
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate&lt;/i&gt;
449
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status&lt;i&gt;
445
450
  * @param {*} [options] Override http request option.
446
451
  * @throws {RequiredError}
447
452
  */
448
- listTasks: function (authorization, filter, filters, order, expand, options) {
453
+ listTasks: function (authorization, filter, filters, search, order, expand, options) {
449
454
  return __awaiter(this, void 0, void 0, function () {
450
455
  var localVarAxiosArgs;
451
456
  return __generator(this, function (_a) {
452
457
  switch (_a.label) {
453
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(authorization, filter, filters, order, expand, options)];
458
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(authorization, filter, filters, search, order, expand, options)];
454
459
  case 1:
455
460
  localVarAxiosArgs = _a.sent();
456
461
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -459,7 +464,7 @@ var TasksApiFp = function (configuration) {
459
464
  });
460
465
  },
461
466
  /**
462
- * This will update task.
467
+ * This will update a task by code.
463
468
  * @summary Update the task
464
469
  * @param {string} code
465
470
  * @param {UpdateTaskRequestDto} updateTaskRequestDto
@@ -502,7 +507,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
502
507
  return localVarFp.createTask(createTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
503
508
  },
504
509
  /**
505
- * This will delete task.
510
+ * This will delete a task by code.
506
511
  * @summary Delete the task
507
512
  * @param {string} code Unique identifier for the object.
508
513
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -513,7 +518,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
513
518
  return localVarFp.deleteTask(code, authorization, options).then(function (request) { return request(axios, basePath); });
514
519
  },
515
520
  /**
516
- * This will get task.
521
+ * This will get a task by code.
517
522
  * @summary Retrieve the task
518
523
  * @param {string} code
519
524
  * @param {string} expand
@@ -528,18 +533,19 @@ var TasksApiFactory = function (configuration, basePath, axios) {
528
533
  * Retrieves a list of tasks.
529
534
  * @summary List tasks
530
535
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
531
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
532
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priorityId, createdAt&lt;/i&gt;
533
- * @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;
534
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status, priority&lt;i&gt;
536
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
537
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
538
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, code, subject, description, assignee, reporter&lt;/i&gt;
539
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate&lt;/i&gt;
540
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: category, status&lt;i&gt;
535
541
  * @param {*} [options] Override http request option.
536
542
  * @throws {RequiredError}
537
543
  */
538
- listTasks: function (authorization, filter, filters, order, expand, options) {
539
- return localVarFp.listTasks(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
544
+ listTasks: function (authorization, filter, filters, search, order, expand, options) {
545
+ return localVarFp.listTasks(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
540
546
  },
541
547
  /**
542
- * This will update task.
548
+ * This will update a task by code.
543
549
  * @summary Update the task
544
550
  * @param {string} code
545
551
  * @param {UpdateTaskRequestDto} updateTaskRequestDto
@@ -577,7 +583,7 @@ var TasksApi = /** @class */ (function (_super) {
577
583
  return (0, exports.TasksApiFp)(this.configuration).createTask(requestParameters.createTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
578
584
  };
579
585
  /**
580
- * This will delete task.
586
+ * This will delete a task by code.
581
587
  * @summary Delete the task
582
588
  * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
583
589
  * @param {*} [options] Override http request option.
@@ -589,7 +595,7 @@ var TasksApi = /** @class */ (function (_super) {
589
595
  return (0, exports.TasksApiFp)(this.configuration).deleteTask(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
590
596
  };
591
597
  /**
592
- * This will get task.
598
+ * This will get a task by code.
593
599
  * @summary Retrieve the task
594
600
  * @param {TasksApiGetTaskRequest} requestParameters Request parameters.
595
601
  * @param {*} [options] Override http request option.
@@ -611,10 +617,10 @@ var TasksApi = /** @class */ (function (_super) {
611
617
  TasksApi.prototype.listTasks = function (requestParameters, options) {
612
618
  var _this = this;
613
619
  if (requestParameters === void 0) { requestParameters = {}; }
614
- return (0, exports.TasksApiFp)(this.configuration).listTasks(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
620
+ return (0, exports.TasksApiFp)(this.configuration).listTasks(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
615
621
  };
616
622
  /**
617
- * This will update task.
623
+ * This will update a task by code.
618
624
  * @summary Update the task
619
625
  * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
620
626
  * @param {*} [options] Override http request option.
package/dist/api.d.ts CHANGED
@@ -12,6 +12,5 @@
12
12
  export * from './api/categories-api';
13
13
  export * from './api/default-api';
14
14
  export * from './api/hub-spot-api';
15
- export * from './api/priorities-api';
16
15
  export * from './api/statuses-api';
17
16
  export * from './api/tasks-api';
package/dist/api.js CHANGED
@@ -30,6 +30,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/categories-api"), exports);
31
31
  __exportStar(require("./api/default-api"), exports);
32
32
  __exportStar(require("./api/hub-spot-api"), exports);
33
- __exportStar(require("./api/priorities-api"), exports);
34
33
  __exportStar(require("./api/statuses-api"), exports);
35
34
  __exportStar(require("./api/tasks-api"), exports);
@@ -57,4 +57,10 @@ export interface CategoryClass {
57
57
  * @memberof CategoryClass
58
58
  */
59
59
  'updatedAt'?: string;
60
+ /**
61
+ * slug
62
+ * @type {string}
63
+ * @memberof CategoryClass
64
+ */
65
+ 'slug': string;
60
66
  }
@@ -16,9 +16,15 @@
16
16
  */
17
17
  export interface CreateCategoryRequestDto {
18
18
  /**
19
- * name
19
+ * Category name: display name of the category
20
20
  * @type {string}
21
21
  * @memberof CreateCategoryRequestDto
22
22
  */
23
23
  'name': string;
24
+ /**
25
+ * Category slug: URL-friendly identifier (auto-generated from name if not provided)
26
+ * @type {string}
27
+ * @memberof CreateCategoryRequestDto
28
+ */
29
+ 'slug'?: string;
24
30
  }
@@ -16,9 +16,15 @@
16
16
  */
17
17
  export interface CreateStatusRequestDto {
18
18
  /**
19
- * name
19
+ * Task status name: display name of the status
20
20
  * @type {string}
21
21
  * @memberof CreateStatusRequestDto
22
22
  */
23
23
  'name': string;
24
+ /**
25
+ * Task status slug - URL-friendly identifier (auto-generated from name if not provided)
26
+ * @type {string}
27
+ * @memberof CreateStatusRequestDto
28
+ */
29
+ 'slug'?: string;
24
30
  }
@@ -16,39 +16,57 @@
16
16
  */
17
17
  export interface CreateTaskRequestDto {
18
18
  /**
19
- * subject
19
+ * Task subject: title of the task
20
20
  * @type {string}
21
21
  * @memberof CreateTaskRequestDto
22
22
  */
23
23
  'subject': string;
24
24
  /**
25
- * description
25
+ * Task description: detailed description of the task
26
26
  * @type {string}
27
27
  * @memberof CreateTaskRequestDto
28
28
  */
29
29
  'description': string;
30
30
  /**
31
- * assignee
31
+ * Task assignee user code: person assigned to the task
32
32
  * @type {string}
33
33
  * @memberof CreateTaskRequestDto
34
34
  */
35
- 'assignee': string;
35
+ 'assignee'?: string;
36
36
  /**
37
- * categoryId
38
- * @type {number}
37
+ * Task category slug
38
+ * @type {string}
39
+ * @memberof CreateTaskRequestDto
40
+ */
41
+ 'categorySlug'?: string;
42
+ /**
43
+ * Task status slug
44
+ * @type {string}
39
45
  * @memberof CreateTaskRequestDto
40
46
  */
41
- 'categoryId'?: number | null;
47
+ 'statusSlug'?: string;
42
48
  /**
43
- * statusId
44
- * @type {number}
49
+ * Task priority
50
+ * @type {string}
45
51
  * @memberof CreateTaskRequestDto
46
52
  */
47
- 'statusId'?: number | null;
53
+ 'priority'?: CreateTaskRequestDtoPriorityEnum;
48
54
  /**
49
- * priorityId
50
- * @type {number}
55
+ * Task reporter user code: person who reported the task
56
+ * @type {string}
57
+ * @memberof CreateTaskRequestDto
58
+ */
59
+ 'reporter'?: string;
60
+ /**
61
+ * Task due date.
62
+ * @type {string}
51
63
  * @memberof CreateTaskRequestDto
52
64
  */
53
- 'priorityId'?: number | null;
65
+ 'dueDate'?: string;
54
66
  }
67
+ export declare const CreateTaskRequestDtoPriorityEnum: {
68
+ readonly Low: "LOW";
69
+ readonly Medium: "MEDIUM";
70
+ readonly High: "HIGH";
71
+ };
72
+ export type CreateTaskRequestDtoPriorityEnum = typeof CreateTaskRequestDtoPriorityEnum[keyof typeof CreateTaskRequestDtoPriorityEnum];
@@ -13,3 +13,9 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateTaskRequestDtoPriorityEnum = void 0;
17
+ exports.CreateTaskRequestDtoPriorityEnum = {
18
+ Low: 'LOW',
19
+ Medium: 'MEDIUM',
20
+ High: 'HIGH'
21
+ };
@@ -3,14 +3,11 @@ export * from './create-category-request-dto';
3
3
  export * from './create-category-response-class';
4
4
  export * from './create-hub-spot-ticket-request-dto';
5
5
  export * from './create-hub-spot-ticket-response-class';
6
- export * from './create-priority-request-dto';
7
- export * from './create-priority-response-class';
8
6
  export * from './create-status-request-dto';
9
7
  export * from './create-status-response-class';
10
8
  export * from './create-task-request-dto';
11
9
  export * from './create-task-response-class';
12
10
  export * from './get-category-response-class';
13
- export * from './get-priority-response-class';
14
11
  export * from './get-status-response-class';
15
12
  export * from './get-task-response-class';
16
13
  export * from './hub-spot-ticket-class';
@@ -21,7 +18,6 @@ export * from './inline-response503';
21
18
  export * from './list-categories-response-class';
22
19
  export * from './list-statuses-response-class';
23
20
  export * from './list-tasks-response-class';
24
- export * from './priority-class';
25
21
  export * from './status-class';
26
22
  export * from './task-class';
27
23
  export * from './update-category-request-dto';
@@ -19,14 +19,11 @@ __exportStar(require("./create-category-request-dto"), exports);
19
19
  __exportStar(require("./create-category-response-class"), exports);
20
20
  __exportStar(require("./create-hub-spot-ticket-request-dto"), exports);
21
21
  __exportStar(require("./create-hub-spot-ticket-response-class"), exports);
22
- __exportStar(require("./create-priority-request-dto"), exports);
23
- __exportStar(require("./create-priority-response-class"), exports);
24
22
  __exportStar(require("./create-status-request-dto"), exports);
25
23
  __exportStar(require("./create-status-response-class"), exports);
26
24
  __exportStar(require("./create-task-request-dto"), exports);
27
25
  __exportStar(require("./create-task-response-class"), exports);
28
26
  __exportStar(require("./get-category-response-class"), exports);
29
- __exportStar(require("./get-priority-response-class"), exports);
30
27
  __exportStar(require("./get-status-response-class"), exports);
31
28
  __exportStar(require("./get-task-response-class"), exports);
32
29
  __exportStar(require("./hub-spot-ticket-class"), exports);
@@ -37,7 +34,6 @@ __exportStar(require("./inline-response503"), exports);
37
34
  __exportStar(require("./list-categories-response-class"), exports);
38
35
  __exportStar(require("./list-statuses-response-class"), exports);
39
36
  __exportStar(require("./list-tasks-response-class"), exports);
40
- __exportStar(require("./priority-class"), exports);
41
37
  __exportStar(require("./status-class"), exports);
42
38
  __exportStar(require("./task-class"), exports);
43
39
  __exportStar(require("./update-category-request-dto"), exports);
@@ -57,4 +57,10 @@ export interface StatusClass {
57
57
  * @memberof StatusClass
58
58
  */
59
59
  'updatedAt'?: string;
60
+ /**
61
+ * slug
62
+ * @type {string}
63
+ * @memberof StatusClass
64
+ */
65
+ 'slug': string;
60
66
  }