@emilgroup/task-sdk-node 1.0.1-beta.9 → 1.0.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 (126) hide show
  1. package/README.md +1 -84
  2. package/index.js +99 -0
  3. package/package.json +8 -24
  4. package/scripts/deploy.js +81 -0
  5. package/.openapi-generator/FILES +0 -46
  6. package/.openapi-generator/VERSION +0 -1
  7. package/.openapi-generator-ignore +0 -23
  8. package/api/categories-api.ts +0 -669
  9. package/api/default-api.ts +0 -128
  10. package/api/hub-spot-api.ts +0 -169
  11. package/api/statuses-api.ts +0 -669
  12. package/api/tasks-api.ts +0 -697
  13. package/api.ts +0 -39
  14. package/base.ts +0 -327
  15. package/common.ts +0 -199
  16. package/configuration.ts +0 -118
  17. package/dist/api/categories-api.d.ts +0 -375
  18. package/dist/api/categories-api.js +0 -636
  19. package/dist/api/default-api.d.ts +0 -70
  20. package/dist/api/default-api.js +0 -204
  21. package/dist/api/hub-spot-api.d.ts +0 -97
  22. package/dist/api/hub-spot-api.js +0 -228
  23. package/dist/api/statuses-api.d.ts +0 -375
  24. package/dist/api/statuses-api.js +0 -636
  25. package/dist/api/tasks-api.d.ts +0 -393
  26. package/dist/api/tasks-api.js +0 -648
  27. package/dist/api.d.ts +0 -16
  28. package/dist/api.js +0 -34
  29. package/dist/base.d.ts +0 -88
  30. package/dist/base.js +0 -434
  31. package/dist/common.d.ts +0 -92
  32. package/dist/common.js +0 -277
  33. package/dist/configuration.d.ts +0 -96
  34. package/dist/configuration.js +0 -52
  35. package/dist/index.d.ts +0 -15
  36. package/dist/index.js +0 -36
  37. package/dist/models/category-class.d.ts +0 -66
  38. package/dist/models/category-class.js +0 -15
  39. package/dist/models/create-category-request-dto.d.ts +0 -30
  40. package/dist/models/create-category-request-dto.js +0 -15
  41. package/dist/models/create-category-response-class.d.ts +0 -25
  42. package/dist/models/create-category-response-class.js +0 -15
  43. package/dist/models/create-hub-spot-ticket-request-dto.d.ts +0 -31
  44. package/dist/models/create-hub-spot-ticket-request-dto.js +0 -15
  45. package/dist/models/create-hub-spot-ticket-response-class.d.ts +0 -25
  46. package/dist/models/create-hub-spot-ticket-response-class.js +0 -15
  47. package/dist/models/create-status-request-dto.d.ts +0 -30
  48. package/dist/models/create-status-request-dto.js +0 -15
  49. package/dist/models/create-status-response-class.d.ts +0 -25
  50. package/dist/models/create-status-response-class.js +0 -15
  51. package/dist/models/create-task-request-dto.d.ts +0 -72
  52. package/dist/models/create-task-request-dto.js +0 -21
  53. package/dist/models/create-task-response-class.d.ts +0 -25
  54. package/dist/models/create-task-response-class.js +0 -15
  55. package/dist/models/get-category-response-class.d.ts +0 -25
  56. package/dist/models/get-category-response-class.js +0 -15
  57. package/dist/models/get-status-response-class.d.ts +0 -25
  58. package/dist/models/get-status-response-class.js +0 -15
  59. package/dist/models/get-task-response-class.d.ts +0 -25
  60. package/dist/models/get-task-response-class.js +0 -15
  61. package/dist/models/hub-spot-ticket-class.d.ts +0 -49
  62. package/dist/models/hub-spot-ticket-class.js +0 -15
  63. package/dist/models/hub-spot-ticket-error-class.d.ts +0 -30
  64. package/dist/models/hub-spot-ticket-error-class.js +0 -15
  65. package/dist/models/hub-spot-ticket-name-value-dto.d.ts +0 -30
  66. package/dist/models/hub-spot-ticket-name-value-dto.js +0 -15
  67. package/dist/models/index.d.ts +0 -28
  68. package/dist/models/index.js +0 -44
  69. package/dist/models/inline-response200.d.ts +0 -54
  70. package/dist/models/inline-response200.js +0 -15
  71. package/dist/models/inline-response503.d.ts +0 -54
  72. package/dist/models/inline-response503.js +0 -15
  73. package/dist/models/list-categories-response-class.d.ts +0 -43
  74. package/dist/models/list-categories-response-class.js +0 -15
  75. package/dist/models/list-statuses-response-class.d.ts +0 -43
  76. package/dist/models/list-statuses-response-class.js +0 -15
  77. package/dist/models/list-tasks-response-class.d.ts +0 -43
  78. package/dist/models/list-tasks-response-class.js +0 -15
  79. package/dist/models/patch-category-request-dto.d.ts +0 -36
  80. package/dist/models/patch-category-request-dto.js +0 -15
  81. package/dist/models/patch-category-response-class.d.ts +0 -25
  82. package/dist/models/patch-category-response-class.js +0 -15
  83. package/dist/models/patch-status-request-dto.d.ts +0 -36
  84. package/dist/models/patch-status-request-dto.js +0 -15
  85. package/dist/models/patch-status-response-class.d.ts +0 -25
  86. package/dist/models/patch-status-response-class.js +0 -15
  87. package/dist/models/patch-task-request-dto.d.ts +0 -108
  88. package/dist/models/patch-task-request-dto.js +0 -15
  89. package/dist/models/patch-task-response-class.d.ts +0 -25
  90. package/dist/models/patch-task-response-class.js +0 -15
  91. package/dist/models/status-class.d.ts +0 -66
  92. package/dist/models/status-class.js +0 -15
  93. package/dist/models/task-class.d.ts +0 -116
  94. package/dist/models/task-class.js +0 -21
  95. package/git_push.sh +0 -57
  96. package/index.ts +0 -19
  97. package/models/category-class.ts +0 -72
  98. package/models/create-category-request-dto.ts +0 -36
  99. package/models/create-category-response-class.ts +0 -31
  100. package/models/create-hub-spot-ticket-request-dto.ts +0 -37
  101. package/models/create-hub-spot-ticket-response-class.ts +0 -31
  102. package/models/create-status-request-dto.ts +0 -36
  103. package/models/create-status-response-class.ts +0 -31
  104. package/models/create-task-request-dto.ts +0 -81
  105. package/models/create-task-response-class.ts +0 -31
  106. package/models/get-category-response-class.ts +0 -31
  107. package/models/get-status-response-class.ts +0 -31
  108. package/models/get-task-response-class.ts +0 -31
  109. package/models/hub-spot-ticket-class.ts +0 -55
  110. package/models/hub-spot-ticket-error-class.ts +0 -36
  111. package/models/hub-spot-ticket-name-value-dto.ts +0 -36
  112. package/models/index.ts +0 -28
  113. package/models/inline-response200.ts +0 -48
  114. package/models/inline-response503.ts +0 -48
  115. package/models/list-categories-response-class.ts +0 -49
  116. package/models/list-statuses-response-class.ts +0 -49
  117. package/models/list-tasks-response-class.ts +0 -49
  118. package/models/patch-category-request-dto.ts +0 -42
  119. package/models/patch-category-response-class.ts +0 -31
  120. package/models/patch-status-request-dto.ts +0 -42
  121. package/models/patch-status-response-class.ts +0 -31
  122. package/models/patch-task-request-dto.ts +0 -114
  123. package/models/patch-task-response-class.ts +0 -31
  124. package/models/status-class.ts +0 -72
  125. package/models/task-class.ts +0 -125
  126. package/tsconfig.json +0 -23
@@ -1,393 +0,0 @@
1
- /**
2
- * EMIL TaskService
3
- * The EMIL Task API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
- import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
15
- import { CreateTaskRequestDto } from '../models';
16
- import { CreateTaskResponseClass } from '../models';
17
- import { GetTaskResponseClass } from '../models';
18
- import { ListTasksResponseClass } from '../models';
19
- import { PatchTaskRequestDto } from '../models';
20
- import { PatchTaskResponseClass } from '../models';
21
- /**
22
- * TasksApi - axios parameter creator
23
- * @export
24
- */
25
- export declare const TasksApiAxiosParamCreator: (configuration?: Configuration) => {
26
- /**
27
- * This will create task.
28
- * @summary Create the task
29
- * @param {CreateTaskRequestDto} createTaskRequestDto
30
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
31
- * @param {*} [options] Override http request option.
32
- * @throws {RequiredError}
33
- */
34
- createTask: (createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
- /**
36
- * This will delete a task by code.
37
- * @summary Delete the task
38
- * @param {string} code Unique identifier for the object.
39
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
40
- * @param {*} [options] Override http request option.
41
- * @throws {RequiredError}
42
- */
43
- deleteTask: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
- /**
45
- * This will get a task by code.
46
- * @summary Retrieve the task
47
- * @param {string} code
48
- * @param {string} expand
49
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
50
- * @param {*} [options] Override http request option.
51
- * @throws {RequiredError}
52
- */
53
- getTask: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
- /**
55
- * Retrieves a list of tasks.
56
- * @summary List tasks
57
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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: subject, description&lt;/i&gt;
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, assignee, reporter, dueDate&lt;/i&gt;
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; &lt;i&gt;Allowed values: category, status&lt;i&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
65
- * @param {*} [options] Override http request option.
66
- * @throws {RequiredError}
67
- */
68
- listTasks: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
- /**
70
- * This will partially update a task by code with the provided fields.
71
- * @summary Update the task
72
- * @param {string} code
73
- * @param {PatchTaskRequestDto} patchTaskRequestDto
74
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
75
- * @param {*} [options] Override http request option.
76
- * @throws {RequiredError}
77
- */
78
- patchTask: (code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
- };
80
- /**
81
- * TasksApi - functional programming interface
82
- * @export
83
- */
84
- export declare const TasksApiFp: (configuration?: Configuration) => {
85
- /**
86
- * This will create task.
87
- * @summary Create the task
88
- * @param {CreateTaskRequestDto} createTaskRequestDto
89
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
90
- * @param {*} [options] Override http request option.
91
- * @throws {RequiredError}
92
- */
93
- createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTaskResponseClass>>;
94
- /**
95
- * This will delete a task by code.
96
- * @summary Delete the task
97
- * @param {string} code Unique identifier for the object.
98
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
- * @param {*} [options] Override http request option.
100
- * @throws {RequiredError}
101
- */
102
- deleteTask(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
103
- /**
104
- * This will get a task by code.
105
- * @summary Retrieve the task
106
- * @param {string} code
107
- * @param {string} expand
108
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
109
- * @param {*} [options] Override http request option.
110
- * @throws {RequiredError}
111
- */
112
- getTask(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTaskResponseClass>>;
113
- /**
114
- * Retrieves a list of tasks.
115
- * @summary List tasks
116
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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: subject, description&lt;/i&gt;
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, assignee, reporter, dueDate&lt;/i&gt;
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; &lt;i&gt;Allowed values: category, status&lt;i&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
124
- * @param {*} [options] Override http request option.
125
- * @throws {RequiredError}
126
- */
127
- listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>;
128
- /**
129
- * This will partially update a task by code with the provided fields.
130
- * @summary Update the task
131
- * @param {string} code
132
- * @param {PatchTaskRequestDto} patchTaskRequestDto
133
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
134
- * @param {*} [options] Override http request option.
135
- * @throws {RequiredError}
136
- */
137
- patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchTaskResponseClass>>;
138
- };
139
- /**
140
- * TasksApi - factory interface
141
- * @export
142
- */
143
- export declare const TasksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
144
- /**
145
- * This will create task.
146
- * @summary Create the task
147
- * @param {CreateTaskRequestDto} createTaskRequestDto
148
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTaskResponseClass>;
153
- /**
154
- * This will delete a task by code.
155
- * @summary Delete the task
156
- * @param {string} code Unique identifier for the object.
157
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
158
- * @param {*} [options] Override http request option.
159
- * @throws {RequiredError}
160
- */
161
- deleteTask(code: string, authorization?: string, options?: any): AxiosPromise<void>;
162
- /**
163
- * This will get a task by code.
164
- * @summary Retrieve the task
165
- * @param {string} code
166
- * @param {string} expand
167
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
168
- * @param {*} [options] Override http request option.
169
- * @throws {RequiredError}
170
- */
171
- getTask(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetTaskResponseClass>;
172
- /**
173
- * Retrieves a list of tasks.
174
- * @summary List tasks
175
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&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: subject, description&lt;/i&gt;
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, assignee, reporter, dueDate&lt;/i&gt;
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; &lt;i&gt;Allowed values: category, status&lt;i&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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
183
- * @param {*} [options] Override http request option.
184
- * @throws {RequiredError}
185
- */
186
- listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
187
- /**
188
- * This will partially update a task by code with the provided fields.
189
- * @summary Update the task
190
- * @param {string} code
191
- * @param {PatchTaskRequestDto} patchTaskRequestDto
192
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
- * @param {*} [options] Override http request option.
194
- * @throws {RequiredError}
195
- */
196
- patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: any): AxiosPromise<PatchTaskResponseClass>;
197
- };
198
- /**
199
- * Request parameters for createTask operation in TasksApi.
200
- * @export
201
- * @interface TasksApiCreateTaskRequest
202
- */
203
- export interface TasksApiCreateTaskRequest {
204
- /**
205
- *
206
- * @type {CreateTaskRequestDto}
207
- * @memberof TasksApiCreateTask
208
- */
209
- readonly createTaskRequestDto: CreateTaskRequestDto;
210
- /**
211
- * Bearer Token: provided by the login endpoint under the name accessToken.
212
- * @type {string}
213
- * @memberof TasksApiCreateTask
214
- */
215
- readonly authorization?: string;
216
- }
217
- /**
218
- * Request parameters for deleteTask operation in TasksApi.
219
- * @export
220
- * @interface TasksApiDeleteTaskRequest
221
- */
222
- export interface TasksApiDeleteTaskRequest {
223
- /**
224
- * Unique identifier for the object.
225
- * @type {string}
226
- * @memberof TasksApiDeleteTask
227
- */
228
- readonly code: string;
229
- /**
230
- * Bearer Token: provided by the login endpoint under the name accessToken.
231
- * @type {string}
232
- * @memberof TasksApiDeleteTask
233
- */
234
- readonly authorization?: string;
235
- }
236
- /**
237
- * Request parameters for getTask operation in TasksApi.
238
- * @export
239
- * @interface TasksApiGetTaskRequest
240
- */
241
- export interface TasksApiGetTaskRequest {
242
- /**
243
- *
244
- * @type {string}
245
- * @memberof TasksApiGetTask
246
- */
247
- readonly code: string;
248
- /**
249
- *
250
- * @type {string}
251
- * @memberof TasksApiGetTask
252
- */
253
- readonly expand: string;
254
- /**
255
- * Bearer Token: provided by the login endpoint under the name accessToken.
256
- * @type {string}
257
- * @memberof TasksApiGetTask
258
- */
259
- readonly authorization?: string;
260
- }
261
- /**
262
- * Request parameters for listTasks operation in TasksApi.
263
- * @export
264
- * @interface TasksApiListTasksRequest
265
- */
266
- export interface TasksApiListTasksRequest {
267
- /**
268
- * Bearer Token: provided by the login endpoint under the name accessToken.
269
- * @type {string}
270
- * @memberof TasksApiListTasks
271
- */
272
- readonly authorization?: string;
273
- /**
274
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
275
- * @type {number}
276
- * @memberof TasksApiListTasks
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.
281
- * @type {string}
282
- * @memberof TasksApiListTasks
283
- */
284
- readonly pageToken?: string;
285
- /**
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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
287
- * @type {string}
288
- * @memberof TasksApiListTasks
289
- */
290
- readonly filter?: string;
291
- /**
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: subject, description&lt;/i&gt;
293
- * @type {string}
294
- * @memberof TasksApiListTasks
295
- */
296
- readonly search?: string;
297
- /**
298
- * 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;
299
- * @type {string}
300
- * @memberof TasksApiListTasks
301
- */
302
- readonly order?: string;
303
- /**
304
- * 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;
305
- * @type {string}
306
- * @memberof TasksApiListTasks
307
- */
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, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug&lt;/i&gt;
311
- * @type {string}
312
- * @memberof TasksApiListTasks
313
- */
314
- readonly filters?: string;
315
- }
316
- /**
317
- * Request parameters for patchTask operation in TasksApi.
318
- * @export
319
- * @interface TasksApiPatchTaskRequest
320
- */
321
- export interface TasksApiPatchTaskRequest {
322
- /**
323
- *
324
- * @type {string}
325
- * @memberof TasksApiPatchTask
326
- */
327
- readonly code: string;
328
- /**
329
- *
330
- * @type {PatchTaskRequestDto}
331
- * @memberof TasksApiPatchTask
332
- */
333
- readonly patchTaskRequestDto: PatchTaskRequestDto;
334
- /**
335
- * Bearer Token: provided by the login endpoint under the name accessToken.
336
- * @type {string}
337
- * @memberof TasksApiPatchTask
338
- */
339
- readonly authorization?: string;
340
- }
341
- /**
342
- * TasksApi - object-oriented interface
343
- * @export
344
- * @class TasksApi
345
- * @extends {BaseAPI}
346
- */
347
- export declare class TasksApi extends BaseAPI {
348
- /**
349
- * This will create task.
350
- * @summary Create the task
351
- * @param {TasksApiCreateTaskRequest} requestParameters Request parameters.
352
- * @param {*} [options] Override http request option.
353
- * @throws {RequiredError}
354
- * @memberof TasksApi
355
- */
356
- createTask(requestParameters: TasksApiCreateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTaskResponseClass, any, {}>>;
357
- /**
358
- * This will delete a task by code.
359
- * @summary Delete the task
360
- * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
361
- * @param {*} [options] Override http request option.
362
- * @throws {RequiredError}
363
- * @memberof TasksApi
364
- */
365
- deleteTask(requestParameters: TasksApiDeleteTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
366
- /**
367
- * This will get a task by code.
368
- * @summary Retrieve the task
369
- * @param {TasksApiGetTaskRequest} requestParameters Request parameters.
370
- * @param {*} [options] Override http request option.
371
- * @throws {RequiredError}
372
- * @memberof TasksApi
373
- */
374
- getTask(requestParameters: TasksApiGetTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTaskResponseClass, any, {}>>;
375
- /**
376
- * Retrieves a list of tasks.
377
- * @summary List tasks
378
- * @param {TasksApiListTasksRequest} requestParameters Request parameters.
379
- * @param {*} [options] Override http request option.
380
- * @throws {RequiredError}
381
- * @memberof TasksApi
382
- */
383
- listTasks(requestParameters?: TasksApiListTasksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponseClass, any, {}>>;
384
- /**
385
- * This will partially update a task by code with the provided fields.
386
- * @summary Update the task
387
- * @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
388
- * @param {*} [options] Override http request option.
389
- * @throws {RequiredError}
390
- * @memberof TasksApi
391
- */
392
- patchTask(requestParameters: TasksApiPatchTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchTaskResponseClass, any, {}>>;
393
- }