@emilgroup/task-sdk-node 1.0.1-beta.14 → 1.0.1-beta.16
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/README.md +2 -2
- package/api/assignees-api.ts +4 -4
- package/api/categories-api.ts +20 -20
- package/api/hub-spot-api.ts +4 -4
- package/api/statuses-api.ts +20 -20
- package/api/tasks-api.ts +24 -24
- package/dist/api/assignees-api.d.ts +4 -4
- package/dist/api/assignees-api.js +4 -4
- package/dist/api/categories-api.d.ts +20 -20
- package/dist/api/categories-api.js +20 -20
- 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 +20 -20
- package/dist/api/statuses-api.js +20 -20
- package/dist/api/tasks-api.d.ts +24 -24
- package/dist/api/tasks-api.js +23 -23
- package/dist/models/create-status-request-dto.d.ts +6 -0
- package/dist/models/patch-status-request-dto.d.ts +6 -0
- package/dist/models/status-class.d.ts +6 -0
- package/models/create-status-request-dto.ts +6 -0
- package/models/patch-status-request-dto.ts +6 -0
- package/models/status-class.ts +6 -0
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ import { CreateHubSpotTicketResponseClass } from '../models';
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const HubSpotApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
|
-
* This will create hub spot ticket.
|
|
23
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
24
24
|
* @summary Create the hub spot ticket
|
|
25
25
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
26
26
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -35,7 +35,7 @@ export declare const HubSpotApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35
35
|
*/
|
|
36
36
|
export declare const HubSpotApiFp: (configuration?: Configuration) => {
|
|
37
37
|
/**
|
|
38
|
-
* This will create hub spot ticket.
|
|
38
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
39
39
|
* @summary Create the hub spot ticket
|
|
40
40
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
41
41
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -50,7 +50,7 @@ export declare const HubSpotApiFp: (configuration?: Configuration) => {
|
|
|
50
50
|
*/
|
|
51
51
|
export declare const HubSpotApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52
52
|
/**
|
|
53
|
-
* This will create hub spot ticket.
|
|
53
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
54
54
|
* @summary Create the hub spot ticket
|
|
55
55
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
56
56
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -86,7 +86,7 @@ export interface HubSpotApiCreateHubSpotTicketRequest {
|
|
|
86
86
|
*/
|
|
87
87
|
export declare class HubSpotApi extends BaseAPI {
|
|
88
88
|
/**
|
|
89
|
-
* This will create hub spot ticket.
|
|
89
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
90
90
|
* @summary Create the hub spot ticket
|
|
91
91
|
* @param {HubSpotApiCreateHubSpotTicketRequest} requestParameters Request parameters.
|
|
92
92
|
* @param {*} [options] Override http request option.
|
package/dist/api/hub-spot-api.js
CHANGED
|
@@ -97,7 +97,7 @@ var HubSpotApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create hub spot ticket.
|
|
100
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
101
101
|
* @summary Create the hub spot ticket
|
|
102
102
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -156,7 +156,7 @@ var HubSpotApiFp = function (configuration) {
|
|
|
156
156
|
var localVarAxiosParamCreator = (0, exports.HubSpotApiAxiosParamCreator)(configuration);
|
|
157
157
|
return {
|
|
158
158
|
/**
|
|
159
|
-
* This will create hub spot ticket.
|
|
159
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
160
160
|
* @summary Create the hub spot ticket
|
|
161
161
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
162
162
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -187,7 +187,7 @@ var HubSpotApiFactory = function (configuration, basePath, axios) {
|
|
|
187
187
|
var localVarFp = (0, exports.HubSpotApiFp)(configuration);
|
|
188
188
|
return {
|
|
189
189
|
/**
|
|
190
|
-
* This will create hub spot ticket.
|
|
190
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
191
191
|
* @summary Create the hub spot ticket
|
|
192
192
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
193
193
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -212,7 +212,7 @@ var HubSpotApi = /** @class */ (function (_super) {
|
|
|
212
212
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
|
-
* This will create hub spot ticket.
|
|
215
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
216
216
|
* @summary Create the hub spot ticket
|
|
217
217
|
* @param {HubSpotApiCreateHubSpotTicketRequest} requestParameters Request parameters.
|
|
218
218
|
* @param {*} [options] Override http request option.
|
|
@@ -24,7 +24,7 @@ import { PatchStatusResponseClass } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const StatusesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
* This will create a status.
|
|
27
|
+
* This will create a status. **Required Permissions** \"task-management.tasks.create\"
|
|
28
28
|
* @summary Create the status
|
|
29
29
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
30
30
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -33,7 +33,7 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
33
33
|
*/
|
|
34
34
|
createStatus: (createStatusRequestDto: CreateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
|
-
* This will delete status.
|
|
36
|
+
* This will delete status. **Required Permissions** \"task-management.tasks.delete\"
|
|
37
37
|
* @summary Delete the status
|
|
38
38
|
* @param {string} code Unique identifier for the object.
|
|
39
39
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -42,7 +42,7 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
42
42
|
*/
|
|
43
43
|
deleteStatus: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
44
|
/**
|
|
45
|
-
* Get status by code.
|
|
45
|
+
* Get status by code. **Required Permissions** \"task-management.tasks.view\"
|
|
46
46
|
* @summary Retrieve the status
|
|
47
47
|
* @param {string} code
|
|
48
48
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -52,7 +52,7 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
52
52
|
*/
|
|
53
53
|
getStatus: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
|
-
* Retrieves a list of statuses.
|
|
55
|
+
* Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
|
|
56
56
|
* @summary List statuses
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
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, slug, name, createdAt, updatedAt</i>
|
|
@@ -65,7 +65,7 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
65
65
|
*/
|
|
66
66
|
listStatuses: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
|
-
* This will partially update a status by code with the provided fields.
|
|
68
|
+
* This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
69
69
|
* @summary Update the status
|
|
70
70
|
* @param {string} code
|
|
71
71
|
* @param {PatchStatusRequestDto} patchStatusRequestDto
|
|
@@ -81,7 +81,7 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
81
81
|
*/
|
|
82
82
|
export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
83
83
|
/**
|
|
84
|
-
* This will create a status.
|
|
84
|
+
* This will create a status. **Required Permissions** \"task-management.tasks.create\"
|
|
85
85
|
* @summary Create the status
|
|
86
86
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
87
87
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -90,7 +90,7 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
|
90
90
|
*/
|
|
91
91
|
createStatus(createStatusRequestDto: CreateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateStatusResponseClass>>;
|
|
92
92
|
/**
|
|
93
|
-
* This will delete status.
|
|
93
|
+
* This will delete status. **Required Permissions** \"task-management.tasks.delete\"
|
|
94
94
|
* @summary Delete the status
|
|
95
95
|
* @param {string} code Unique identifier for the object.
|
|
96
96
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -99,7 +99,7 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
|
99
99
|
*/
|
|
100
100
|
deleteStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
101
101
|
/**
|
|
102
|
-
* Get status by code.
|
|
102
|
+
* Get status by code. **Required Permissions** \"task-management.tasks.view\"
|
|
103
103
|
* @summary Retrieve the status
|
|
104
104
|
* @param {string} code
|
|
105
105
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -109,7 +109,7 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
|
109
109
|
*/
|
|
110
110
|
getStatus(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStatusResponseClass>>;
|
|
111
111
|
/**
|
|
112
|
-
* Retrieves a list of statuses.
|
|
112
|
+
* Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
|
|
113
113
|
* @summary List statuses
|
|
114
114
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
115
|
* @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, slug, name, createdAt, updatedAt</i>
|
|
@@ -122,7 +122,7 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
|
122
122
|
*/
|
|
123
123
|
listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>>;
|
|
124
124
|
/**
|
|
125
|
-
* This will partially update a status by code with the provided fields.
|
|
125
|
+
* This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
126
126
|
* @summary Update the status
|
|
127
127
|
* @param {string} code
|
|
128
128
|
* @param {PatchStatusRequestDto} patchStatusRequestDto
|
|
@@ -138,7 +138,7 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
|
138
138
|
*/
|
|
139
139
|
export declare const StatusesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
140
140
|
/**
|
|
141
|
-
* This will create a status.
|
|
141
|
+
* This will create a status. **Required Permissions** \"task-management.tasks.create\"
|
|
142
142
|
* @summary Create the status
|
|
143
143
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
144
144
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -147,7 +147,7 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
|
|
|
147
147
|
*/
|
|
148
148
|
createStatus(createStatusRequestDto: CreateStatusRequestDto, authorization?: string, options?: any): AxiosPromise<CreateStatusResponseClass>;
|
|
149
149
|
/**
|
|
150
|
-
* This will delete status.
|
|
150
|
+
* This will delete status. **Required Permissions** \"task-management.tasks.delete\"
|
|
151
151
|
* @summary Delete the status
|
|
152
152
|
* @param {string} code Unique identifier for the object.
|
|
153
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -156,7 +156,7 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
|
|
|
156
156
|
*/
|
|
157
157
|
deleteStatus(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
158
158
|
/**
|
|
159
|
-
* Get status by code.
|
|
159
|
+
* Get status by code. **Required Permissions** \"task-management.tasks.view\"
|
|
160
160
|
* @summary Retrieve the status
|
|
161
161
|
* @param {string} code
|
|
162
162
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -166,7 +166,7 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
|
|
|
166
166
|
*/
|
|
167
167
|
getStatus(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetStatusResponseClass>;
|
|
168
168
|
/**
|
|
169
|
-
* Retrieves a list of statuses.
|
|
169
|
+
* Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
|
|
170
170
|
* @summary List statuses
|
|
171
171
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
172
172
|
* @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, slug, name, createdAt, updatedAt</i>
|
|
@@ -179,7 +179,7 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
|
|
|
179
179
|
*/
|
|
180
180
|
listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass>;
|
|
181
181
|
/**
|
|
182
|
-
* This will partially update a status by code with the provided fields.
|
|
182
|
+
* This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
183
183
|
* @summary Update the status
|
|
184
184
|
* @param {string} code
|
|
185
185
|
* @param {PatchStatusRequestDto} patchStatusRequestDto
|
|
@@ -328,7 +328,7 @@ export interface StatusesApiPatchStatusRequest {
|
|
|
328
328
|
*/
|
|
329
329
|
export declare class StatusesApi extends BaseAPI {
|
|
330
330
|
/**
|
|
331
|
-
* This will create a status.
|
|
331
|
+
* This will create a status. **Required Permissions** \"task-management.tasks.create\"
|
|
332
332
|
* @summary Create the status
|
|
333
333
|
* @param {StatusesApiCreateStatusRequest} requestParameters Request parameters.
|
|
334
334
|
* @param {*} [options] Override http request option.
|
|
@@ -337,7 +337,7 @@ export declare class StatusesApi extends BaseAPI {
|
|
|
337
337
|
*/
|
|
338
338
|
createStatus(requestParameters: StatusesApiCreateStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateStatusResponseClass, any, {}>>;
|
|
339
339
|
/**
|
|
340
|
-
* This will delete status.
|
|
340
|
+
* This will delete status. **Required Permissions** \"task-management.tasks.delete\"
|
|
341
341
|
* @summary Delete the status
|
|
342
342
|
* @param {StatusesApiDeleteStatusRequest} requestParameters Request parameters.
|
|
343
343
|
* @param {*} [options] Override http request option.
|
|
@@ -346,7 +346,7 @@ export declare class StatusesApi extends BaseAPI {
|
|
|
346
346
|
*/
|
|
347
347
|
deleteStatus(requestParameters: StatusesApiDeleteStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
348
348
|
/**
|
|
349
|
-
* Get status by code.
|
|
349
|
+
* Get status by code. **Required Permissions** \"task-management.tasks.view\"
|
|
350
350
|
* @summary Retrieve the status
|
|
351
351
|
* @param {StatusesApiGetStatusRequest} requestParameters Request parameters.
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
@@ -355,7 +355,7 @@ export declare class StatusesApi extends BaseAPI {
|
|
|
355
355
|
*/
|
|
356
356
|
getStatus(requestParameters: StatusesApiGetStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStatusResponseClass, any, {}>>;
|
|
357
357
|
/**
|
|
358
|
-
* Retrieves a list of statuses.
|
|
358
|
+
* Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
|
|
359
359
|
* @summary List statuses
|
|
360
360
|
* @param {StatusesApiListStatusesRequest} requestParameters Request parameters.
|
|
361
361
|
* @param {*} [options] Override http request option.
|
|
@@ -364,7 +364,7 @@ export declare class StatusesApi extends BaseAPI {
|
|
|
364
364
|
*/
|
|
365
365
|
listStatuses(requestParameters?: StatusesApiListStatusesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListStatusesResponseClass, any, {}>>;
|
|
366
366
|
/**
|
|
367
|
-
* This will partially update a status by code with the provided fields.
|
|
367
|
+
* This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
368
368
|
* @summary Update the status
|
|
369
369
|
* @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
|
|
370
370
|
* @param {*} [options] Override http request option.
|
package/dist/api/statuses-api.js
CHANGED
|
@@ -97,7 +97,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create a status.
|
|
100
|
+
* This will create a status. **Required Permissions** \"task-management.tasks.create\"
|
|
101
101
|
* @summary Create the status
|
|
102
102
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -146,7 +146,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* This will delete status.
|
|
149
|
+
* This will delete status. **Required Permissions** \"task-management.tasks.delete\"
|
|
150
150
|
* @summary Delete the status
|
|
151
151
|
* @param {string} code Unique identifier for the object.
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -194,7 +194,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Get status by code.
|
|
197
|
+
* Get status by code. **Required Permissions** \"task-management.tasks.view\"
|
|
198
198
|
* @summary Retrieve the status
|
|
199
199
|
* @param {string} code
|
|
200
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -246,7 +246,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
});
|
|
247
247
|
},
|
|
248
248
|
/**
|
|
249
|
-
* Retrieves a list of statuses.
|
|
249
|
+
* Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
|
|
250
250
|
* @summary List statuses
|
|
251
251
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
252
252
|
* @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, slug, name, createdAt, updatedAt</i>
|
|
@@ -310,7 +310,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
310
310
|
});
|
|
311
311
|
},
|
|
312
312
|
/**
|
|
313
|
-
* This will partially update a status by code with the provided fields.
|
|
313
|
+
* This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
314
314
|
* @summary Update the status
|
|
315
315
|
* @param {string} code
|
|
316
316
|
* @param {PatchStatusRequestDto} patchStatusRequestDto
|
|
@@ -373,7 +373,7 @@ var StatusesApiFp = function (configuration) {
|
|
|
373
373
|
var localVarAxiosParamCreator = (0, exports.StatusesApiAxiosParamCreator)(configuration);
|
|
374
374
|
return {
|
|
375
375
|
/**
|
|
376
|
-
* This will create a status.
|
|
376
|
+
* This will create a status. **Required Permissions** \"task-management.tasks.create\"
|
|
377
377
|
* @summary Create the status
|
|
378
378
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
379
379
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -394,7 +394,7 @@ var StatusesApiFp = function (configuration) {
|
|
|
394
394
|
});
|
|
395
395
|
},
|
|
396
396
|
/**
|
|
397
|
-
* This will delete status.
|
|
397
|
+
* This will delete status. **Required Permissions** \"task-management.tasks.delete\"
|
|
398
398
|
* @summary Delete the status
|
|
399
399
|
* @param {string} code Unique identifier for the object.
|
|
400
400
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -415,7 +415,7 @@ var StatusesApiFp = function (configuration) {
|
|
|
415
415
|
});
|
|
416
416
|
},
|
|
417
417
|
/**
|
|
418
|
-
* Get status by code.
|
|
418
|
+
* Get status by code. **Required Permissions** \"task-management.tasks.view\"
|
|
419
419
|
* @summary Retrieve the status
|
|
420
420
|
* @param {string} code
|
|
421
421
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -437,7 +437,7 @@ var StatusesApiFp = function (configuration) {
|
|
|
437
437
|
});
|
|
438
438
|
},
|
|
439
439
|
/**
|
|
440
|
-
* Retrieves a list of statuses.
|
|
440
|
+
* Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
|
|
441
441
|
* @summary List statuses
|
|
442
442
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
443
443
|
* @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, slug, name, createdAt, updatedAt</i>
|
|
@@ -462,7 +462,7 @@ var StatusesApiFp = function (configuration) {
|
|
|
462
462
|
});
|
|
463
463
|
},
|
|
464
464
|
/**
|
|
465
|
-
* This will partially update a status by code with the provided fields.
|
|
465
|
+
* This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
466
466
|
* @summary Update the status
|
|
467
467
|
* @param {string} code
|
|
468
468
|
* @param {PatchStatusRequestDto} patchStatusRequestDto
|
|
@@ -494,7 +494,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
494
494
|
var localVarFp = (0, exports.StatusesApiFp)(configuration);
|
|
495
495
|
return {
|
|
496
496
|
/**
|
|
497
|
-
* This will create a status.
|
|
497
|
+
* This will create a status. **Required Permissions** \"task-management.tasks.create\"
|
|
498
498
|
* @summary Create the status
|
|
499
499
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
500
500
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -505,7 +505,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
505
505
|
return localVarFp.createStatus(createStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
506
506
|
},
|
|
507
507
|
/**
|
|
508
|
-
* This will delete status.
|
|
508
|
+
* This will delete status. **Required Permissions** \"task-management.tasks.delete\"
|
|
509
509
|
* @summary Delete the status
|
|
510
510
|
* @param {string} code Unique identifier for the object.
|
|
511
511
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -516,7 +516,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
516
516
|
return localVarFp.deleteStatus(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
517
517
|
},
|
|
518
518
|
/**
|
|
519
|
-
* Get status by code.
|
|
519
|
+
* Get status by code. **Required Permissions** \"task-management.tasks.view\"
|
|
520
520
|
* @summary Retrieve the status
|
|
521
521
|
* @param {string} code
|
|
522
522
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -528,7 +528,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
528
528
|
return localVarFp.getStatus(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
529
529
|
},
|
|
530
530
|
/**
|
|
531
|
-
* Retrieves a list of statuses.
|
|
531
|
+
* Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
|
|
532
532
|
* @summary List statuses
|
|
533
533
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
534
534
|
* @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, slug, name, createdAt, updatedAt</i>
|
|
@@ -543,7 +543,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
543
543
|
return localVarFp.listStatuses(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
544
544
|
},
|
|
545
545
|
/**
|
|
546
|
-
* This will partially update a status by code with the provided fields.
|
|
546
|
+
* This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
547
547
|
* @summary Update the status
|
|
548
548
|
* @param {string} code
|
|
549
549
|
* @param {PatchStatusRequestDto} patchStatusRequestDto
|
|
@@ -569,7 +569,7 @@ var StatusesApi = /** @class */ (function (_super) {
|
|
|
569
569
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
570
570
|
}
|
|
571
571
|
/**
|
|
572
|
-
* This will create a status.
|
|
572
|
+
* This will create a status. **Required Permissions** \"task-management.tasks.create\"
|
|
573
573
|
* @summary Create the status
|
|
574
574
|
* @param {StatusesApiCreateStatusRequest} requestParameters Request parameters.
|
|
575
575
|
* @param {*} [options] Override http request option.
|
|
@@ -581,7 +581,7 @@ var StatusesApi = /** @class */ (function (_super) {
|
|
|
581
581
|
return (0, exports.StatusesApiFp)(this.configuration).createStatus(requestParameters.createStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
582
582
|
};
|
|
583
583
|
/**
|
|
584
|
-
* This will delete status.
|
|
584
|
+
* This will delete status. **Required Permissions** \"task-management.tasks.delete\"
|
|
585
585
|
* @summary Delete the status
|
|
586
586
|
* @param {StatusesApiDeleteStatusRequest} requestParameters Request parameters.
|
|
587
587
|
* @param {*} [options] Override http request option.
|
|
@@ -593,7 +593,7 @@ var StatusesApi = /** @class */ (function (_super) {
|
|
|
593
593
|
return (0, exports.StatusesApiFp)(this.configuration).deleteStatus(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
594
594
|
};
|
|
595
595
|
/**
|
|
596
|
-
* Get status by code.
|
|
596
|
+
* Get status by code. **Required Permissions** \"task-management.tasks.view\"
|
|
597
597
|
* @summary Retrieve the status
|
|
598
598
|
* @param {StatusesApiGetStatusRequest} requestParameters Request parameters.
|
|
599
599
|
* @param {*} [options] Override http request option.
|
|
@@ -605,7 +605,7 @@ var StatusesApi = /** @class */ (function (_super) {
|
|
|
605
605
|
return (0, exports.StatusesApiFp)(this.configuration).getStatus(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
606
606
|
};
|
|
607
607
|
/**
|
|
608
|
-
* Retrieves a list of statuses.
|
|
608
|
+
* Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
|
|
609
609
|
* @summary List statuses
|
|
610
610
|
* @param {StatusesApiListStatusesRequest} requestParameters Request parameters.
|
|
611
611
|
* @param {*} [options] Override http request option.
|
|
@@ -618,7 +618,7 @@ var StatusesApi = /** @class */ (function (_super) {
|
|
|
618
618
|
return (0, exports.StatusesApiFp)(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
619
619
|
};
|
|
620
620
|
/**
|
|
621
|
-
* This will partially update a status by code with the provided fields.
|
|
621
|
+
* This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
622
622
|
* @summary Update the status
|
|
623
623
|
* @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
|
|
624
624
|
* @param {*} [options] Override http request option.
|
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,7 +42,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
42
42
|
*/
|
|
43
43
|
deleteTask: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
44
|
/**
|
|
45
|
-
* This will get 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
48
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -52,14 +52,14 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
52
52
|
*/
|
|
53
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
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, 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>
|
|
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, status, priority</i>
|
|
63
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
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, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
@@ -67,7 +67,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
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,7 +101,7 @@ 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
107
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -111,14 +111,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
111
111
|
*/
|
|
112
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
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, 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>
|
|
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, status, priority</i>
|
|
122
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
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, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
@@ -126,7 +126,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
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,7 +160,7 @@ 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
166
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -170,14 +170,14 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
170
170
|
*/
|
|
171
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
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, 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>
|
|
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, status, priority</i>
|
|
181
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
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, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
@@ -185,7 +185,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
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
|
|
@@ -295,7 +295,7 @@ 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, status, priority</i>
|
|
299
299
|
* @type {string}
|
|
300
300
|
* @memberof TasksApiListTasks
|
|
301
301
|
*/
|
|
@@ -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.
|