@emilgroup/task-sdk 1.0.1-beta.9 → 1.1.1-beta.13
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 +3 -0
- package/README.md +2 -2
- package/api/assignees-api.ts +162 -0
- package/api/categories-api.ts +85 -59
- package/api/default-api.ts +1 -1
- package/api/hub-spot-api.ts +4 -4
- package/api/statuses-api.ts +45 -47
- package/api/tasks-api.ts +49 -51
- package/api.ts +2 -0
- package/dist/api/assignees-api.d.ts +96 -0
- package/dist/api/assignees-api.js +224 -0
- package/dist/api/categories-api.d.ts +65 -47
- package/dist/api/categories-api.js +59 -49
- package/dist/api/default-api.js +1 -1
- package/dist/api/hub-spot-api.d.ts +4 -4
- package/dist/api/hub-spot-api.js +4 -4
- package/dist/api/statuses-api.d.ts +42 -42
- package/dist/api/statuses-api.js +38 -40
- package/dist/api/tasks-api.d.ts +46 -46
- package/dist/api/tasks-api.js +41 -43
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/assignee-class.d.ts +24 -0
- package/dist/models/assignee-class.js +15 -0
- package/dist/models/create-status-request-dto.d.ts +6 -0
- package/dist/models/create-task-request-dto.d.ts +23 -4
- package/dist/models/create-task-request-dto.js +7 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/list-assignees-response-class.d.ts +43 -0
- package/dist/models/list-assignees-response-class.js +15 -0
- package/dist/models/patch-status-request-dto.d.ts +6 -0
- package/dist/models/patch-task-request-dto.d.ts +36 -5
- package/dist/models/patch-task-request-dto.js +7 -0
- package/dist/models/status-class.d.ts +6 -0
- package/dist/models/task-class.d.ts +34 -4
- package/models/assignee-class.ts +30 -0
- package/models/create-status-request-dto.ts +6 -0
- package/models/create-task-request-dto.ts +24 -4
- package/models/index.ts +2 -0
- package/models/list-assignees-response-class.ts +49 -0
- package/models/patch-status-request-dto.ts +6 -0
- package/models/patch-task-request-dto.ts +39 -5
- package/models/status-class.ts +6 -0
- package/models/task-class.ts +34 -4
- package/package.json +2 -1
package/dist/api/tasks-api.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import { PatchTaskResponseClass } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const TasksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
* This will create task.
|
|
27
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
28
28
|
* @summary Create the task
|
|
29
29
|
* @param {CreateTaskRequestDto} createTaskRequestDto
|
|
30
30
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -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 a task by code.
|
|
36
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
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,32 +42,32 @@ 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 a task by code.
|
|
45
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
46
46
|
* @summary Retrieve the task
|
|
47
47
|
* @param {string} code
|
|
48
|
-
* @param {string} expand
|
|
49
48
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
49
|
+
* @param {string} [expand] Expand to fetch additional information about the task.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
getTask: (code: string,
|
|
53
|
+
getTask: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
|
-
* Retrieves a list of tasks.
|
|
55
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
56
56
|
* @summary List tasks
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
58
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
60
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
60
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
61
61
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i>
|
|
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.<br/> <br/> <i>Allowed values:
|
|
64
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
|
|
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.<br/> <br/> <i>Allowed values: categories, status<i>
|
|
64
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
68
|
listTasks: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
|
-
* This will partially update a task by code with the provided fields.
|
|
70
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
71
71
|
* @summary Update the task
|
|
72
72
|
* @param {string} code
|
|
73
73
|
* @param {PatchTaskRequestDto} patchTaskRequestDto
|
|
@@ -83,7 +83,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
83
83
|
*/
|
|
84
84
|
export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
85
85
|
/**
|
|
86
|
-
* This will create task.
|
|
86
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
87
87
|
* @summary Create the task
|
|
88
88
|
* @param {CreateTaskRequestDto} createTaskRequestDto
|
|
89
89
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -92,7 +92,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
92
92
|
*/
|
|
93
93
|
createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTaskResponseClass>>;
|
|
94
94
|
/**
|
|
95
|
-
* This will delete a task by code.
|
|
95
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
96
96
|
* @summary Delete the task
|
|
97
97
|
* @param {string} code Unique identifier for the object.
|
|
98
98
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -101,32 +101,32 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
101
101
|
*/
|
|
102
102
|
deleteTask(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
103
103
|
/**
|
|
104
|
-
* This will get a task by code.
|
|
104
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
105
105
|
* @summary Retrieve the task
|
|
106
106
|
* @param {string} code
|
|
107
|
-
* @param {string} expand
|
|
108
107
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
108
|
+
* @param {string} [expand] Expand to fetch additional information about the task.
|
|
109
109
|
* @param {*} [options] Override http request option.
|
|
110
110
|
* @throws {RequiredError}
|
|
111
111
|
*/
|
|
112
|
-
getTask(code: string,
|
|
112
|
+
getTask(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTaskResponseClass>>;
|
|
113
113
|
/**
|
|
114
|
-
* Retrieves a list of tasks.
|
|
114
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
115
115
|
* @summary List tasks
|
|
116
116
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
117
117
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
119
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
119
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
120
120
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i>
|
|
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.<br/> <br/> <i>Allowed values:
|
|
123
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
|
|
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.<br/> <br/> <i>Allowed values: categories, status<i>
|
|
123
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
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
128
|
/**
|
|
129
|
-
* This will partially update a task by code with the provided fields.
|
|
129
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
130
130
|
* @summary Update the task
|
|
131
131
|
* @param {string} code
|
|
132
132
|
* @param {PatchTaskRequestDto} patchTaskRequestDto
|
|
@@ -142,7 +142,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
142
142
|
*/
|
|
143
143
|
export declare const TasksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
144
144
|
/**
|
|
145
|
-
* This will create task.
|
|
145
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
146
146
|
* @summary Create the task
|
|
147
147
|
* @param {CreateTaskRequestDto} createTaskRequestDto
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -151,7 +151,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
151
151
|
*/
|
|
152
152
|
createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTaskResponseClass>;
|
|
153
153
|
/**
|
|
154
|
-
* This will delete a task by code.
|
|
154
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
155
155
|
* @summary Delete the task
|
|
156
156
|
* @param {string} code Unique identifier for the object.
|
|
157
157
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -160,32 +160,32 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
160
160
|
*/
|
|
161
161
|
deleteTask(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
162
162
|
/**
|
|
163
|
-
* This will get a task by code.
|
|
163
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
164
164
|
* @summary Retrieve the task
|
|
165
165
|
* @param {string} code
|
|
166
|
-
* @param {string} expand
|
|
167
166
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
167
|
+
* @param {string} [expand] Expand to fetch additional information about the task.
|
|
168
168
|
* @param {*} [options] Override http request option.
|
|
169
169
|
* @throws {RequiredError}
|
|
170
170
|
*/
|
|
171
|
-
getTask(code: string,
|
|
171
|
+
getTask(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetTaskResponseClass>;
|
|
172
172
|
/**
|
|
173
|
-
* Retrieves a list of tasks.
|
|
173
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
174
174
|
* @summary List tasks
|
|
175
175
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
176
176
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
178
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
178
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
179
179
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i>
|
|
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.<br/> <br/> <i>Allowed values:
|
|
182
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
|
|
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.<br/> <br/> <i>Allowed values: categories, status<i>
|
|
182
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
*/
|
|
186
186
|
listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
|
|
187
187
|
/**
|
|
188
|
-
* This will partially update a task by code with the provided fields.
|
|
188
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
189
189
|
* @summary Update the task
|
|
190
190
|
* @param {string} code
|
|
191
191
|
* @param {PatchTaskRequestDto} patchTaskRequestDto
|
|
@@ -246,17 +246,17 @@ export interface TasksApiGetTaskRequest {
|
|
|
246
246
|
*/
|
|
247
247
|
readonly code: string;
|
|
248
248
|
/**
|
|
249
|
-
*
|
|
249
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
250
|
* @type {string}
|
|
251
251
|
* @memberof TasksApiGetTask
|
|
252
252
|
*/
|
|
253
|
-
readonly
|
|
253
|
+
readonly authorization?: string;
|
|
254
254
|
/**
|
|
255
|
-
*
|
|
255
|
+
* Expand to fetch additional information about the task.
|
|
256
256
|
* @type {string}
|
|
257
257
|
* @memberof TasksApiGetTask
|
|
258
258
|
*/
|
|
259
|
-
readonly
|
|
259
|
+
readonly expand?: string;
|
|
260
260
|
}
|
|
261
261
|
/**
|
|
262
262
|
* Request parameters for listTasks operation in TasksApi.
|
|
@@ -283,7 +283,7 @@ export interface TasksApiListTasksRequest {
|
|
|
283
283
|
*/
|
|
284
284
|
readonly pageToken?: string;
|
|
285
285
|
/**
|
|
286
|
-
* Filter the response by one or multiple fields.
|
|
286
|
+
* 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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
287
287
|
* @type {string}
|
|
288
288
|
* @memberof TasksApiListTasks
|
|
289
289
|
*/
|
|
@@ -295,19 +295,19 @@ export interface TasksApiListTasksRequest {
|
|
|
295
295
|
*/
|
|
296
296
|
readonly search?: string;
|
|
297
297
|
/**
|
|
298
|
-
* 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, updatedAt, assignee, reporter, dueDate</i>
|
|
298
|
+
* 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, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
|
|
299
299
|
* @type {string}
|
|
300
300
|
* @memberof TasksApiListTasks
|
|
301
301
|
*/
|
|
302
302
|
readonly order?: string;
|
|
303
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.<br/> <br/> <i>Allowed values:
|
|
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.<br/> <br/> <i>Allowed values: categories, status<i>
|
|
305
305
|
* @type {string}
|
|
306
306
|
* @memberof TasksApiListTasks
|
|
307
307
|
*/
|
|
308
308
|
readonly expand?: string;
|
|
309
309
|
/**
|
|
310
|
-
* Filters the response by one or multiple fields.
|
|
310
|
+
* 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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
311
311
|
* @type {string}
|
|
312
312
|
* @memberof TasksApiListTasks
|
|
313
313
|
*/
|
|
@@ -346,7 +346,7 @@ export interface TasksApiPatchTaskRequest {
|
|
|
346
346
|
*/
|
|
347
347
|
export declare class TasksApi extends BaseAPI {
|
|
348
348
|
/**
|
|
349
|
-
* This will create task.
|
|
349
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
350
350
|
* @summary Create the task
|
|
351
351
|
* @param {TasksApiCreateTaskRequest} requestParameters Request parameters.
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
@@ -355,7 +355,7 @@ export declare class TasksApi extends BaseAPI {
|
|
|
355
355
|
*/
|
|
356
356
|
createTask(requestParameters: TasksApiCreateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTaskResponseClass, any, {}>>;
|
|
357
357
|
/**
|
|
358
|
-
* This will delete a task by code.
|
|
358
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
359
359
|
* @summary Delete the task
|
|
360
360
|
* @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
|
|
361
361
|
* @param {*} [options] Override http request option.
|
|
@@ -364,7 +364,7 @@ export declare class TasksApi extends BaseAPI {
|
|
|
364
364
|
*/
|
|
365
365
|
deleteTask(requestParameters: TasksApiDeleteTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
366
366
|
/**
|
|
367
|
-
* This will get a task by code.
|
|
367
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
368
368
|
* @summary Retrieve the task
|
|
369
369
|
* @param {TasksApiGetTaskRequest} requestParameters Request parameters.
|
|
370
370
|
* @param {*} [options] Override http request option.
|
|
@@ -373,7 +373,7 @@ export declare class TasksApi extends BaseAPI {
|
|
|
373
373
|
*/
|
|
374
374
|
getTask(requestParameters: TasksApiGetTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTaskResponseClass, any, {}>>;
|
|
375
375
|
/**
|
|
376
|
-
* Retrieves a list of tasks.
|
|
376
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
377
377
|
* @summary List tasks
|
|
378
378
|
* @param {TasksApiListTasksRequest} requestParameters Request parameters.
|
|
379
379
|
* @param {*} [options] Override http request option.
|
|
@@ -382,7 +382,7 @@ export declare class TasksApi extends BaseAPI {
|
|
|
382
382
|
*/
|
|
383
383
|
listTasks(requestParameters?: TasksApiListTasksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponseClass, any, {}>>;
|
|
384
384
|
/**
|
|
385
|
-
* This will partially update a task by code with the provided fields.
|
|
385
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
386
386
|
* @summary Update the task
|
|
387
387
|
* @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
|
|
388
388
|
* @param {*} [options] Override http request option.
|
package/dist/api/tasks-api.js
CHANGED
|
@@ -93,7 +93,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create task.
|
|
96
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
97
97
|
* @summary Create the task
|
|
98
98
|
* @param {CreateTaskRequestDto} createTaskRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -142,7 +142,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* This will delete a task by code.
|
|
145
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
146
146
|
* @summary Delete the task
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -190,15 +190,15 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* This will get a task by code.
|
|
193
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
194
194
|
* @summary Retrieve the task
|
|
195
195
|
* @param {string} code
|
|
196
|
-
* @param {string} expand
|
|
197
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
|
+
* @param {string} [expand] Expand to fetch additional information about the task.
|
|
198
198
|
* @param {*} [options] Override http request option.
|
|
199
199
|
* @throws {RequiredError}
|
|
200
200
|
*/
|
|
201
|
-
getTask: function (code,
|
|
201
|
+
getTask: function (code, authorization, expand, options) {
|
|
202
202
|
if (options === void 0) { options = {}; }
|
|
203
203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
204
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -207,8 +207,6 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
207
207
|
case 0:
|
|
208
208
|
// verify required parameter 'code' is not null or undefined
|
|
209
209
|
(0, common_1.assertParamExists)('getTask', 'code', code);
|
|
210
|
-
// verify required parameter 'expand' is not null or undefined
|
|
211
|
-
(0, common_1.assertParamExists)('getTask', 'expand', expand);
|
|
212
210
|
localVarPath = "/taskservice/v1/tasks/{code}"
|
|
213
211
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
214
212
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -244,16 +242,16 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
244
242
|
});
|
|
245
243
|
},
|
|
246
244
|
/**
|
|
247
|
-
* Retrieves a list of tasks.
|
|
245
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
248
246
|
* @summary List tasks
|
|
249
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
248
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
249
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
252
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
250
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
253
251
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
|
|
254
|
-
* @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, updatedAt, assignee, reporter, dueDate</i>
|
|
255
|
-
* @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:
|
|
256
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
252
|
+
* @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, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
|
|
253
|
+
* @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: categories, status<i>
|
|
254
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
257
255
|
* @param {*} [options] Override http request option.
|
|
258
256
|
* @throws {RequiredError}
|
|
259
257
|
*/
|
|
@@ -316,7 +314,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
316
314
|
});
|
|
317
315
|
},
|
|
318
316
|
/**
|
|
319
|
-
* This will partially update a task by code with the provided fields.
|
|
317
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
320
318
|
* @summary Update the task
|
|
321
319
|
* @param {string} code
|
|
322
320
|
* @param {PatchTaskRequestDto} patchTaskRequestDto
|
|
@@ -379,7 +377,7 @@ var TasksApiFp = function (configuration) {
|
|
|
379
377
|
var localVarAxiosParamCreator = (0, exports.TasksApiAxiosParamCreator)(configuration);
|
|
380
378
|
return {
|
|
381
379
|
/**
|
|
382
|
-
* This will create task.
|
|
380
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
383
381
|
* @summary Create the task
|
|
384
382
|
* @param {CreateTaskRequestDto} createTaskRequestDto
|
|
385
383
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -400,7 +398,7 @@ var TasksApiFp = function (configuration) {
|
|
|
400
398
|
});
|
|
401
399
|
},
|
|
402
400
|
/**
|
|
403
|
-
* This will delete a task by code.
|
|
401
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
404
402
|
* @summary Delete the task
|
|
405
403
|
* @param {string} code Unique identifier for the object.
|
|
406
404
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -421,20 +419,20 @@ var TasksApiFp = function (configuration) {
|
|
|
421
419
|
});
|
|
422
420
|
},
|
|
423
421
|
/**
|
|
424
|
-
* This will get a task by code.
|
|
422
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
425
423
|
* @summary Retrieve the task
|
|
426
424
|
* @param {string} code
|
|
427
|
-
* @param {string} expand
|
|
428
425
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
426
|
+
* @param {string} [expand] Expand to fetch additional information about the task.
|
|
429
427
|
* @param {*} [options] Override http request option.
|
|
430
428
|
* @throws {RequiredError}
|
|
431
429
|
*/
|
|
432
|
-
getTask: function (code,
|
|
430
|
+
getTask: function (code, authorization, expand, options) {
|
|
433
431
|
return __awaiter(this, void 0, void 0, function () {
|
|
434
432
|
var localVarAxiosArgs;
|
|
435
433
|
return __generator(this, function (_a) {
|
|
436
434
|
switch (_a.label) {
|
|
437
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTask(code,
|
|
435
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTask(code, authorization, expand, options)];
|
|
438
436
|
case 1:
|
|
439
437
|
localVarAxiosArgs = _a.sent();
|
|
440
438
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -443,16 +441,16 @@ var TasksApiFp = function (configuration) {
|
|
|
443
441
|
});
|
|
444
442
|
},
|
|
445
443
|
/**
|
|
446
|
-
* Retrieves a list of tasks.
|
|
444
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
447
445
|
* @summary List tasks
|
|
448
446
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
449
447
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
450
448
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
451
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
449
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
452
450
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
|
|
453
|
-
* @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, updatedAt, assignee, reporter, dueDate</i>
|
|
454
|
-
* @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:
|
|
455
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
451
|
+
* @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, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
|
|
452
|
+
* @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: categories, status<i>
|
|
453
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
456
454
|
* @param {*} [options] Override http request option.
|
|
457
455
|
* @throws {RequiredError}
|
|
458
456
|
*/
|
|
@@ -470,7 +468,7 @@ var TasksApiFp = function (configuration) {
|
|
|
470
468
|
});
|
|
471
469
|
},
|
|
472
470
|
/**
|
|
473
|
-
* This will partially update a task by code with the provided fields.
|
|
471
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
474
472
|
* @summary Update the task
|
|
475
473
|
* @param {string} code
|
|
476
474
|
* @param {PatchTaskRequestDto} patchTaskRequestDto
|
|
@@ -502,7 +500,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
502
500
|
var localVarFp = (0, exports.TasksApiFp)(configuration);
|
|
503
501
|
return {
|
|
504
502
|
/**
|
|
505
|
-
* This will create task.
|
|
503
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
506
504
|
* @summary Create the task
|
|
507
505
|
* @param {CreateTaskRequestDto} createTaskRequestDto
|
|
508
506
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -513,7 +511,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
513
511
|
return localVarFp.createTask(createTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
514
512
|
},
|
|
515
513
|
/**
|
|
516
|
-
* This will delete a task by code.
|
|
514
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
517
515
|
* @summary Delete the task
|
|
518
516
|
* @param {string} code Unique identifier for the object.
|
|
519
517
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -524,28 +522,28 @@ var TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
524
522
|
return localVarFp.deleteTask(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
525
523
|
},
|
|
526
524
|
/**
|
|
527
|
-
* This will get a task by code.
|
|
525
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
528
526
|
* @summary Retrieve the task
|
|
529
527
|
* @param {string} code
|
|
530
|
-
* @param {string} expand
|
|
531
528
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
529
|
+
* @param {string} [expand] Expand to fetch additional information about the task.
|
|
532
530
|
* @param {*} [options] Override http request option.
|
|
533
531
|
* @throws {RequiredError}
|
|
534
532
|
*/
|
|
535
|
-
getTask: function (code,
|
|
536
|
-
return localVarFp.getTask(code,
|
|
533
|
+
getTask: function (code, authorization, expand, options) {
|
|
534
|
+
return localVarFp.getTask(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
537
535
|
},
|
|
538
536
|
/**
|
|
539
|
-
* Retrieves a list of tasks.
|
|
537
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
540
538
|
* @summary List tasks
|
|
541
539
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
542
540
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
543
541
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
544
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
542
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
545
543
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
|
|
546
|
-
* @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, updatedAt, assignee, reporter, dueDate</i>
|
|
547
|
-
* @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:
|
|
548
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
544
|
+
* @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, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority</i>
|
|
545
|
+
* @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: categories, status<i>
|
|
546
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
549
547
|
* @param {*} [options] Override http request option.
|
|
550
548
|
* @throws {RequiredError}
|
|
551
549
|
*/
|
|
@@ -553,7 +551,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
553
551
|
return localVarFp.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
554
552
|
},
|
|
555
553
|
/**
|
|
556
|
-
* This will partially update a task by code with the provided fields.
|
|
554
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
557
555
|
* @summary Update the task
|
|
558
556
|
* @param {string} code
|
|
559
557
|
* @param {PatchTaskRequestDto} patchTaskRequestDto
|
|
@@ -579,7 +577,7 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
579
577
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
580
578
|
}
|
|
581
579
|
/**
|
|
582
|
-
* This will create task.
|
|
580
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
583
581
|
* @summary Create the task
|
|
584
582
|
* @param {TasksApiCreateTaskRequest} requestParameters Request parameters.
|
|
585
583
|
* @param {*} [options] Override http request option.
|
|
@@ -591,7 +589,7 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
591
589
|
return (0, exports.TasksApiFp)(this.configuration).createTask(requestParameters.createTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
592
590
|
};
|
|
593
591
|
/**
|
|
594
|
-
* This will delete a task by code.
|
|
592
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
595
593
|
* @summary Delete the task
|
|
596
594
|
* @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
|
|
597
595
|
* @param {*} [options] Override http request option.
|
|
@@ -603,7 +601,7 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
603
601
|
return (0, exports.TasksApiFp)(this.configuration).deleteTask(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
604
602
|
};
|
|
605
603
|
/**
|
|
606
|
-
* This will get a task by code.
|
|
604
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
607
605
|
* @summary Retrieve the task
|
|
608
606
|
* @param {TasksApiGetTaskRequest} requestParameters Request parameters.
|
|
609
607
|
* @param {*} [options] Override http request option.
|
|
@@ -612,10 +610,10 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
612
610
|
*/
|
|
613
611
|
TasksApi.prototype.getTask = function (requestParameters, options) {
|
|
614
612
|
var _this = this;
|
|
615
|
-
return (0, exports.TasksApiFp)(this.configuration).getTask(requestParameters.code, requestParameters.
|
|
613
|
+
return (0, exports.TasksApiFp)(this.configuration).getTask(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
616
614
|
};
|
|
617
615
|
/**
|
|
618
|
-
* Retrieves a list of tasks.
|
|
616
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
619
617
|
* @summary List tasks
|
|
620
618
|
* @param {TasksApiListTasksRequest} requestParameters Request parameters.
|
|
621
619
|
* @param {*} [options] Override http request option.
|
|
@@ -628,7 +626,7 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
628
626
|
return (0, exports.TasksApiFp)(this.configuration).listTasks(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
629
627
|
};
|
|
630
628
|
/**
|
|
631
|
-
* This will partially update a task by code with the provided fields.
|
|
629
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
632
630
|
* @summary Update the task
|
|
633
631
|
* @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
|
|
634
632
|
* @param {*} [options] Override http request option.
|
package/dist/api.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -27,6 +27,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./api/assignees-api"), exports);
|
|
30
31
|
__exportStar(require("./api/categories-api"), exports);
|
|
31
32
|
__exportStar(require("./api/default-api"), exports);
|
|
32
33
|
__exportStar(require("./api/hub-spot-api"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AssigneeClass
|
|
16
|
+
*/
|
|
17
|
+
export interface AssigneeClass {
|
|
18
|
+
/**
|
|
19
|
+
* Assignee code/identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AssigneeClass
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
}
|