@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.
- package/.openapi-generator/FILES +51 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/categories-api.ts +651 -0
- package/api/default-api.ts +124 -0
- package/api/hub-spot-api.ts +165 -0
- package/api/priorities-api.ts +284 -0
- package/api/statuses-api.ts +651 -0
- package/api/tasks-api.ts +651 -0
- package/api.ts +37 -0
- package/base.ts +331 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/categories-api.d.ts +366 -0
- package/dist/api/categories-api.js +626 -0
- package/dist/api/default-api.d.ts +70 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/hub-spot-api.d.ts +97 -0
- package/dist/api/hub-spot-api.js +224 -0
- package/dist/api/priorities-api.d.ts +162 -0
- package/dist/api/priorities-api.js +324 -0
- package/dist/api/statuses-api.d.ts +366 -0
- package/dist/api/statuses-api.js +626 -0
- package/dist/api/tasks-api.d.ts +366 -0
- package/dist/api/tasks-api.js +626 -0
- package/dist/api.d.ts +17 -0
- package/dist/api.js +35 -0
- package/dist/base.d.ts +86 -0
- package/dist/base.js +367 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/category-class.d.ts +60 -0
- package/dist/models/category-class.js +15 -0
- package/dist/models/create-category-request-dto.d.ts +24 -0
- package/dist/models/create-category-request-dto.js +15 -0
- package/dist/models/create-category-response-class.d.ts +25 -0
- package/dist/models/create-category-response-class.js +15 -0
- package/dist/models/create-hub-spot-ticket-request-dto.d.ts +31 -0
- package/dist/models/create-hub-spot-ticket-request-dto.js +15 -0
- package/dist/models/create-hub-spot-ticket-response-class.d.ts +25 -0
- package/dist/models/create-hub-spot-ticket-response-class.js +15 -0
- package/dist/models/create-priority-request-dto.d.ts +24 -0
- package/dist/models/create-priority-request-dto.js +15 -0
- package/dist/models/create-priority-response-class.d.ts +25 -0
- package/dist/models/create-priority-response-class.js +15 -0
- package/dist/models/create-status-request-dto.d.ts +24 -0
- package/dist/models/create-status-request-dto.js +15 -0
- package/dist/models/create-status-response-class.d.ts +25 -0
- package/dist/models/create-status-response-class.js +15 -0
- package/dist/models/create-task-request-dto.d.ts +54 -0
- package/dist/models/create-task-request-dto.js +15 -0
- package/dist/models/create-task-response-class.d.ts +25 -0
- package/dist/models/create-task-response-class.js +15 -0
- package/dist/models/get-category-response-class.d.ts +25 -0
- package/dist/models/get-category-response-class.js +15 -0
- package/dist/models/get-priority-response-class.d.ts +25 -0
- package/dist/models/get-priority-response-class.js +15 -0
- package/dist/models/get-status-response-class.d.ts +25 -0
- package/dist/models/get-status-response-class.js +15 -0
- package/dist/models/get-task-response-class.d.ts +25 -0
- package/dist/models/get-task-response-class.js +15 -0
- package/dist/models/hub-spot-ticket-class.d.ts +49 -0
- package/dist/models/hub-spot-ticket-class.js +15 -0
- package/dist/models/hub-spot-ticket-error-class.d.ts +30 -0
- package/dist/models/hub-spot-ticket-error-class.js +15 -0
- package/dist/models/hub-spot-ticket-name-value-dto.d.ts +30 -0
- package/dist/models/hub-spot-ticket-name-value-dto.js +15 -0
- package/dist/models/index.d.ts +32 -0
- package/dist/models/index.js +48 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-categories-response-class.d.ts +43 -0
- package/dist/models/list-categories-response-class.js +15 -0
- package/dist/models/list-statuses-response-class.d.ts +43 -0
- package/dist/models/list-statuses-response-class.js +15 -0
- package/dist/models/list-tasks-response-class.d.ts +43 -0
- package/dist/models/list-tasks-response-class.js +15 -0
- package/dist/models/priority-class.d.ts +60 -0
- package/dist/models/priority-class.js +15 -0
- package/dist/models/status-class.d.ts +60 -0
- package/dist/models/status-class.js +15 -0
- package/dist/models/task-class.d.ts +99 -0
- package/dist/models/task-class.js +15 -0
- package/dist/models/update-category-request-dto.d.ts +30 -0
- package/dist/models/update-category-request-dto.js +15 -0
- package/dist/models/update-category-response-class.d.ts +25 -0
- package/dist/models/update-category-response-class.js +15 -0
- package/dist/models/update-status-request-dto.d.ts +30 -0
- package/dist/models/update-status-request-dto.js +15 -0
- package/dist/models/update-status-response-class.d.ts +25 -0
- package/dist/models/update-status-response-class.js +15 -0
- package/dist/models/update-task-request-dto.d.ts +60 -0
- package/dist/models/update-task-request-dto.js +15 -0
- package/dist/models/update-task-response-class.d.ts +25 -0
- package/dist/models/update-task-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/category-class.ts +66 -0
- package/models/create-category-request-dto.ts +30 -0
- package/models/create-category-response-class.ts +31 -0
- package/models/create-hub-spot-ticket-request-dto.ts +37 -0
- package/models/create-hub-spot-ticket-response-class.ts +31 -0
- package/models/create-priority-request-dto.ts +30 -0
- package/models/create-priority-response-class.ts +31 -0
- package/models/create-status-request-dto.ts +30 -0
- package/models/create-status-response-class.ts +31 -0
- package/models/create-task-request-dto.ts +60 -0
- package/models/create-task-response-class.ts +31 -0
- package/models/get-category-response-class.ts +31 -0
- package/models/get-priority-response-class.ts +31 -0
- package/models/get-status-response-class.ts +31 -0
- package/models/get-task-response-class.ts +31 -0
- package/models/hub-spot-ticket-class.ts +55 -0
- package/models/hub-spot-ticket-error-class.ts +36 -0
- package/models/hub-spot-ticket-name-value-dto.ts +36 -0
- package/models/index.ts +32 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/list-categories-response-class.ts +49 -0
- package/models/list-statuses-response-class.ts +49 -0
- package/models/list-tasks-response-class.ts +49 -0
- package/models/priority-class.ts +66 -0
- package/models/status-class.ts +66 -0
- package/models/task-class.ts +105 -0
- package/models/update-category-request-dto.ts +36 -0
- package/models/update-category-response-class.ts +31 -0
- package/models/update-status-request-dto.ts +36 -0
- package/models/update-status-response-class.ts +31 -0
- package/models/update-task-request-dto.ts +66 -0
- package/models/update-task-response-class.ts +31 -0
- package/package.json +26 -0
- 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.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i>
|
|
59
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
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.<br/> <br/> <i>Allowed values: category, status, priority<i>
|
|
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.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i>
|
|
115
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
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.<br/> <br/> <i>Allowed values: category, status, priority<i>
|
|
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.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i>
|
|
171
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
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.<br/> <br/> <i>Allowed values: category, status, priority<i>
|
|
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.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i>
|
|
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.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
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.<br/> <br/> <i>Allowed values: category, status, priority<i>
|
|
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
|
+
}
|