@emilgroup/task-sdk 1.0.1-beta.1

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 (139) hide show
  1. package/.openapi-generator/FILES +51 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/categories-api.ts +651 -0
  6. package/api/default-api.ts +124 -0
  7. package/api/hub-spot-api.ts +165 -0
  8. package/api/priorities-api.ts +284 -0
  9. package/api/statuses-api.ts +651 -0
  10. package/api/tasks-api.ts +651 -0
  11. package/api.ts +37 -0
  12. package/base.ts +331 -0
  13. package/common.ts +198 -0
  14. package/configuration.ts +110 -0
  15. package/dist/api/categories-api.d.ts +366 -0
  16. package/dist/api/categories-api.js +626 -0
  17. package/dist/api/default-api.d.ts +70 -0
  18. package/dist/api/default-api.js +200 -0
  19. package/dist/api/hub-spot-api.d.ts +97 -0
  20. package/dist/api/hub-spot-api.js +224 -0
  21. package/dist/api/priorities-api.d.ts +162 -0
  22. package/dist/api/priorities-api.js +324 -0
  23. package/dist/api/statuses-api.d.ts +366 -0
  24. package/dist/api/statuses-api.js +626 -0
  25. package/dist/api/tasks-api.d.ts +366 -0
  26. package/dist/api/tasks-api.js +626 -0
  27. package/dist/api.d.ts +17 -0
  28. package/dist/api.js +35 -0
  29. package/dist/base.d.ts +86 -0
  30. package/dist/base.js +367 -0
  31. package/dist/common.d.ts +91 -0
  32. package/dist/common.js +276 -0
  33. package/dist/configuration.d.ts +89 -0
  34. package/dist/configuration.js +52 -0
  35. package/dist/index.d.ts +15 -0
  36. package/dist/index.js +36 -0
  37. package/dist/models/category-class.d.ts +60 -0
  38. package/dist/models/category-class.js +15 -0
  39. package/dist/models/create-category-request-dto.d.ts +24 -0
  40. package/dist/models/create-category-request-dto.js +15 -0
  41. package/dist/models/create-category-response-class.d.ts +25 -0
  42. package/dist/models/create-category-response-class.js +15 -0
  43. package/dist/models/create-hub-spot-ticket-request-dto.d.ts +31 -0
  44. package/dist/models/create-hub-spot-ticket-request-dto.js +15 -0
  45. package/dist/models/create-hub-spot-ticket-response-class.d.ts +25 -0
  46. package/dist/models/create-hub-spot-ticket-response-class.js +15 -0
  47. package/dist/models/create-priority-request-dto.d.ts +24 -0
  48. package/dist/models/create-priority-request-dto.js +15 -0
  49. package/dist/models/create-priority-response-class.d.ts +25 -0
  50. package/dist/models/create-priority-response-class.js +15 -0
  51. package/dist/models/create-status-request-dto.d.ts +24 -0
  52. package/dist/models/create-status-request-dto.js +15 -0
  53. package/dist/models/create-status-response-class.d.ts +25 -0
  54. package/dist/models/create-status-response-class.js +15 -0
  55. package/dist/models/create-task-request-dto.d.ts +54 -0
  56. package/dist/models/create-task-request-dto.js +15 -0
  57. package/dist/models/create-task-response-class.d.ts +25 -0
  58. package/dist/models/create-task-response-class.js +15 -0
  59. package/dist/models/get-category-response-class.d.ts +25 -0
  60. package/dist/models/get-category-response-class.js +15 -0
  61. package/dist/models/get-priority-response-class.d.ts +25 -0
  62. package/dist/models/get-priority-response-class.js +15 -0
  63. package/dist/models/get-status-response-class.d.ts +25 -0
  64. package/dist/models/get-status-response-class.js +15 -0
  65. package/dist/models/get-task-response-class.d.ts +25 -0
  66. package/dist/models/get-task-response-class.js +15 -0
  67. package/dist/models/hub-spot-ticket-class.d.ts +49 -0
  68. package/dist/models/hub-spot-ticket-class.js +15 -0
  69. package/dist/models/hub-spot-ticket-error-class.d.ts +30 -0
  70. package/dist/models/hub-spot-ticket-error-class.js +15 -0
  71. package/dist/models/hub-spot-ticket-name-value-dto.d.ts +30 -0
  72. package/dist/models/hub-spot-ticket-name-value-dto.js +15 -0
  73. package/dist/models/index.d.ts +32 -0
  74. package/dist/models/index.js +48 -0
  75. package/dist/models/inline-response200.d.ts +54 -0
  76. package/dist/models/inline-response200.js +15 -0
  77. package/dist/models/inline-response503.d.ts +54 -0
  78. package/dist/models/inline-response503.js +15 -0
  79. package/dist/models/list-categories-response-class.d.ts +43 -0
  80. package/dist/models/list-categories-response-class.js +15 -0
  81. package/dist/models/list-statuses-response-class.d.ts +43 -0
  82. package/dist/models/list-statuses-response-class.js +15 -0
  83. package/dist/models/list-tasks-response-class.d.ts +43 -0
  84. package/dist/models/list-tasks-response-class.js +15 -0
  85. package/dist/models/priority-class.d.ts +60 -0
  86. package/dist/models/priority-class.js +15 -0
  87. package/dist/models/status-class.d.ts +60 -0
  88. package/dist/models/status-class.js +15 -0
  89. package/dist/models/task-class.d.ts +99 -0
  90. package/dist/models/task-class.js +15 -0
  91. package/dist/models/update-category-request-dto.d.ts +30 -0
  92. package/dist/models/update-category-request-dto.js +15 -0
  93. package/dist/models/update-category-response-class.d.ts +25 -0
  94. package/dist/models/update-category-response-class.js +15 -0
  95. package/dist/models/update-status-request-dto.d.ts +30 -0
  96. package/dist/models/update-status-request-dto.js +15 -0
  97. package/dist/models/update-status-response-class.d.ts +25 -0
  98. package/dist/models/update-status-response-class.js +15 -0
  99. package/dist/models/update-task-request-dto.d.ts +60 -0
  100. package/dist/models/update-task-request-dto.js +15 -0
  101. package/dist/models/update-task-response-class.d.ts +25 -0
  102. package/dist/models/update-task-response-class.js +15 -0
  103. package/git_push.sh +57 -0
  104. package/index.ts +19 -0
  105. package/models/category-class.ts +66 -0
  106. package/models/create-category-request-dto.ts +30 -0
  107. package/models/create-category-response-class.ts +31 -0
  108. package/models/create-hub-spot-ticket-request-dto.ts +37 -0
  109. package/models/create-hub-spot-ticket-response-class.ts +31 -0
  110. package/models/create-priority-request-dto.ts +30 -0
  111. package/models/create-priority-response-class.ts +31 -0
  112. package/models/create-status-request-dto.ts +30 -0
  113. package/models/create-status-response-class.ts +31 -0
  114. package/models/create-task-request-dto.ts +60 -0
  115. package/models/create-task-response-class.ts +31 -0
  116. package/models/get-category-response-class.ts +31 -0
  117. package/models/get-priority-response-class.ts +31 -0
  118. package/models/get-status-response-class.ts +31 -0
  119. package/models/get-task-response-class.ts +31 -0
  120. package/models/hub-spot-ticket-class.ts +55 -0
  121. package/models/hub-spot-ticket-error-class.ts +36 -0
  122. package/models/hub-spot-ticket-name-value-dto.ts +36 -0
  123. package/models/index.ts +32 -0
  124. package/models/inline-response200.ts +48 -0
  125. package/models/inline-response503.ts +48 -0
  126. package/models/list-categories-response-class.ts +49 -0
  127. package/models/list-statuses-response-class.ts +49 -0
  128. package/models/list-tasks-response-class.ts +49 -0
  129. package/models/priority-class.ts +66 -0
  130. package/models/status-class.ts +66 -0
  131. package/models/task-class.ts +105 -0
  132. package/models/update-category-request-dto.ts +36 -0
  133. package/models/update-category-response-class.ts +31 -0
  134. package/models/update-status-request-dto.ts +36 -0
  135. package/models/update-status-response-class.ts +31 -0
  136. package/models/update-task-request-dto.ts +66 -0
  137. package/models/update-task-response-class.ts +31 -0
  138. package/package.json +26 -0
  139. package/tsconfig.json +23 -0
@@ -0,0 +1,366 @@
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 { UpdateTaskRequestDto } from '../models';
20
+ import { UpdateTaskResponseClass } 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 task.
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 task.
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 {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;
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ listTasks: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ /**
67
+ * This will update task.
68
+ * @summary Update the task
69
+ * @param {string} code
70
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
71
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ updateTask: (code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ };
77
+ /**
78
+ * TasksApi - functional programming interface
79
+ * @export
80
+ */
81
+ export declare const TasksApiFp: (configuration?: Configuration) => {
82
+ /**
83
+ * This will create task.
84
+ * @summary Create the task
85
+ * @param {CreateTaskRequestDto} createTaskRequestDto
86
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTaskResponseClass>>;
91
+ /**
92
+ * This will delete task.
93
+ * @summary Delete the task
94
+ * @param {string} code Unique identifier for the object.
95
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ deleteTask(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
+ /**
101
+ * This will get task.
102
+ * @summary Retrieve the task
103
+ * @param {string} code
104
+ * @param {string} expand
105
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ getTask(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTaskResponseClass>>;
110
+ /**
111
+ * Retrieves a list of tasks.
112
+ * @summary List tasks
113
+ * @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;
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ listTasks(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>;
122
+ /**
123
+ * This will update task.
124
+ * @summary Update the task
125
+ * @param {string} code
126
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
127
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ */
131
+ updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTaskResponseClass>>;
132
+ };
133
+ /**
134
+ * TasksApi - factory interface
135
+ * @export
136
+ */
137
+ export declare const TasksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
138
+ /**
139
+ * This will create task.
140
+ * @summary Create the task
141
+ * @param {CreateTaskRequestDto} createTaskRequestDto
142
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTaskResponseClass>;
147
+ /**
148
+ * This will delete task.
149
+ * @summary Delete the task
150
+ * @param {string} code Unique identifier for the object.
151
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ deleteTask(code: string, authorization?: string, options?: any): AxiosPromise<void>;
156
+ /**
157
+ * This will get task.
158
+ * @summary Retrieve the task
159
+ * @param {string} code
160
+ * @param {string} expand
161
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ */
165
+ getTask(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetTaskResponseClass>;
166
+ /**
167
+ * Retrieves a list of tasks.
168
+ * @summary List tasks
169
+ * @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;
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ listTasks(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
178
+ /**
179
+ * This will update task.
180
+ * @summary Update the task
181
+ * @param {string} code
182
+ * @param {UpdateTaskRequestDto} updateTaskRequestDto
183
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateTaskResponseClass>;
188
+ };
189
+ /**
190
+ * Request parameters for createTask operation in TasksApi.
191
+ * @export
192
+ * @interface TasksApiCreateTaskRequest
193
+ */
194
+ export interface TasksApiCreateTaskRequest {
195
+ /**
196
+ *
197
+ * @type {CreateTaskRequestDto}
198
+ * @memberof TasksApiCreateTask
199
+ */
200
+ readonly createTaskRequestDto: CreateTaskRequestDto;
201
+ /**
202
+ * Bearer Token: provided by the login endpoint under the name accessToken.
203
+ * @type {string}
204
+ * @memberof TasksApiCreateTask
205
+ */
206
+ readonly authorization?: string;
207
+ }
208
+ /**
209
+ * Request parameters for deleteTask operation in TasksApi.
210
+ * @export
211
+ * @interface TasksApiDeleteTaskRequest
212
+ */
213
+ export interface TasksApiDeleteTaskRequest {
214
+ /**
215
+ * Unique identifier for the object.
216
+ * @type {string}
217
+ * @memberof TasksApiDeleteTask
218
+ */
219
+ readonly code: string;
220
+ /**
221
+ * Bearer Token: provided by the login endpoint under the name accessToken.
222
+ * @type {string}
223
+ * @memberof TasksApiDeleteTask
224
+ */
225
+ readonly authorization?: string;
226
+ }
227
+ /**
228
+ * Request parameters for getTask operation in TasksApi.
229
+ * @export
230
+ * @interface TasksApiGetTaskRequest
231
+ */
232
+ export interface TasksApiGetTaskRequest {
233
+ /**
234
+ *
235
+ * @type {string}
236
+ * @memberof TasksApiGetTask
237
+ */
238
+ readonly code: string;
239
+ /**
240
+ *
241
+ * @type {string}
242
+ * @memberof TasksApiGetTask
243
+ */
244
+ readonly expand: string;
245
+ /**
246
+ * Bearer Token: provided by the login endpoint under the name accessToken.
247
+ * @type {string}
248
+ * @memberof TasksApiGetTask
249
+ */
250
+ readonly authorization?: string;
251
+ }
252
+ /**
253
+ * Request parameters for listTasks operation in TasksApi.
254
+ * @export
255
+ * @interface TasksApiListTasksRequest
256
+ */
257
+ export interface TasksApiListTasksRequest {
258
+ /**
259
+ * Bearer Token: provided by the login endpoint under the name accessToken.
260
+ * @type {string}
261
+ * @memberof TasksApiListTasks
262
+ */
263
+ readonly authorization?: string;
264
+ /**
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;
266
+ * @type {string}
267
+ * @memberof TasksApiListTasks
268
+ */
269
+ readonly filter?: string;
270
+ /**
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;
272
+ * @type {string}
273
+ * @memberof TasksApiListTasks
274
+ */
275
+ readonly filters?: string;
276
+ /**
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;
278
+ * @type {string}
279
+ * @memberof TasksApiListTasks
280
+ */
281
+ readonly order?: string;
282
+ /**
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;
284
+ * @type {string}
285
+ * @memberof TasksApiListTasks
286
+ */
287
+ readonly expand?: string;
288
+ }
289
+ /**
290
+ * Request parameters for updateTask operation in TasksApi.
291
+ * @export
292
+ * @interface TasksApiUpdateTaskRequest
293
+ */
294
+ export interface TasksApiUpdateTaskRequest {
295
+ /**
296
+ *
297
+ * @type {string}
298
+ * @memberof TasksApiUpdateTask
299
+ */
300
+ readonly code: string;
301
+ /**
302
+ *
303
+ * @type {UpdateTaskRequestDto}
304
+ * @memberof TasksApiUpdateTask
305
+ */
306
+ readonly updateTaskRequestDto: UpdateTaskRequestDto;
307
+ /**
308
+ * Bearer Token: provided by the login endpoint under the name accessToken.
309
+ * @type {string}
310
+ * @memberof TasksApiUpdateTask
311
+ */
312
+ readonly authorization?: string;
313
+ }
314
+ /**
315
+ * TasksApi - object-oriented interface
316
+ * @export
317
+ * @class TasksApi
318
+ * @extends {BaseAPI}
319
+ */
320
+ export declare class TasksApi extends BaseAPI {
321
+ /**
322
+ * This will create task.
323
+ * @summary Create the task
324
+ * @param {TasksApiCreateTaskRequest} requestParameters Request parameters.
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ * @memberof TasksApi
328
+ */
329
+ createTask(requestParameters: TasksApiCreateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTaskResponseClass, any, {}>>;
330
+ /**
331
+ * This will delete task.
332
+ * @summary Delete the task
333
+ * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ * @memberof TasksApi
337
+ */
338
+ deleteTask(requestParameters: TasksApiDeleteTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
339
+ /**
340
+ * This will get task.
341
+ * @summary Retrieve the task
342
+ * @param {TasksApiGetTaskRequest} requestParameters Request parameters.
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ * @memberof TasksApi
346
+ */
347
+ getTask(requestParameters: TasksApiGetTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTaskResponseClass, any, {}>>;
348
+ /**
349
+ * Retrieves a list of tasks.
350
+ * @summary List tasks
351
+ * @param {TasksApiListTasksRequest} requestParameters Request parameters.
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ * @memberof TasksApi
355
+ */
356
+ listTasks(requestParameters?: TasksApiListTasksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponseClass, any, {}>>;
357
+ /**
358
+ * This will update task.
359
+ * @summary Update the task
360
+ * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ * @memberof TasksApi
364
+ */
365
+ updateTask(requestParameters: TasksApiUpdateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTaskResponseClass, any, {}>>;
366
+ }