@emilgroup/task-sdk-node 1.0.1-beta.3 → 1.0.1-beta.35
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 +9 -6
- package/README.md +2 -2
- package/api/assignees-api.ts +166 -0
- package/api/categories-api.ts +111 -85
- package/api/default-api.ts +1 -1
- package/api/hub-spot-api.ts +4 -4
- package/api/statuses-api.ts +71 -73
- package/api/tasks-api.ts +119 -93
- package/api.ts +2 -0
- package/dist/api/assignees-api.d.ts +96 -0
- package/dist/api/assignees-api.js +228 -0
- package/dist/api/categories-api.d.ts +83 -65
- package/dist/api/categories-api.js +75 -65
- 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 +60 -60
- package/dist/api/statuses-api.js +54 -56
- package/dist/api/tasks-api.d.ts +91 -73
- package/dist/api/tasks-api.js +81 -71
- 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/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 +8 -6
- package/dist/models/index.js +8 -6
- package/dist/models/list-assignees-response-class.d.ts +43 -0
- package/dist/models/{update-category-request-dto.d.ts → patch-category-request-dto.d.ts} +7 -7
- package/dist/models/{update-category-response-class.d.ts → patch-category-response-class.d.ts} +3 -3
- package/dist/models/{update-status-request-dto.d.ts → patch-status-request-dto.d.ts} +13 -7
- package/dist/models/{update-status-response-class.d.ts → patch-status-response-class.d.ts} +3 -3
- package/dist/models/patch-task-request-dto.d.ts +139 -0
- package/dist/models/patch-task-request-dto.js +22 -0
- package/dist/models/{update-task-response-class.d.ts → patch-task-response-class.d.ts} +3 -3
- package/dist/models/patch-task-response-class.js +15 -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 +8 -6
- package/models/list-assignees-response-class.ts +49 -0
- package/models/{update-category-request-dto.ts → patch-category-request-dto.ts} +7 -7
- package/models/{update-category-response-class.ts → patch-category-response-class.ts} +3 -3
- package/models/{update-status-request-dto.ts → patch-status-request-dto.ts} +13 -7
- package/models/{update-status-response-class.ts → patch-status-response-class.ts} +3 -3
- package/models/patch-task-request-dto.ts +148 -0
- package/models/{update-task-response-class.ts → patch-task-response-class.ts} +3 -3
- package/models/status-class.ts +6 -0
- package/models/task-class.ts +34 -4
- package/package.json +2 -2
- package/dist/models/update-task-request-dto.d.ts +0 -72
- package/models/update-task-request-dto.ts +0 -78
- /package/dist/models/{update-category-request-dto.js → assignee-class.js} +0 -0
- /package/dist/models/{update-category-response-class.js → list-assignees-response-class.js} +0 -0
- /package/dist/models/{update-status-request-dto.js → patch-category-request-dto.js} +0 -0
- /package/dist/models/{update-status-response-class.js → patch-category-response-class.js} +0 -0
- /package/dist/models/{update-task-request-dto.js → patch-status-request-dto.js} +0 -0
- /package/dist/models/{update-task-response-class.js → patch-status-response-class.js} +0 -0
|
@@ -16,15 +16,15 @@ import { CreateStatusRequestDto } from '../models';
|
|
|
16
16
|
import { CreateStatusResponseClass } from '../models';
|
|
17
17
|
import { GetStatusResponseClass } from '../models';
|
|
18
18
|
import { ListStatusesResponseClass } from '../models';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
19
|
+
import { PatchStatusRequestDto } from '../models';
|
|
20
|
+
import { PatchStatusResponseClass } from '../models';
|
|
21
21
|
/**
|
|
22
22
|
* StatusesApi - axios parameter creator
|
|
23
23
|
* @export
|
|
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,22 +42,22 @@ 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
|
-
* @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 status.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
getStatus: (code: string,
|
|
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
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
59
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
60
|
-
* @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:
|
|
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>
|
|
59
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i>
|
|
60
|
+
* @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: code, name, slug</i>
|
|
61
61
|
* @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, name, slug</i>
|
|
62
62
|
* @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/>
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
@@ -65,15 +65,15 @@ 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 update status.
|
|
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
|
-
* @param {
|
|
71
|
+
* @param {PatchStatusRequestDto} patchStatusRequestDto
|
|
72
72
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
patchStatus: (code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
79
|
* StatusesApi - functional programming interface
|
|
@@ -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,22 +99,22 @@ 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
|
-
* @param {string} expand
|
|
106
105
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
106
|
+
* @param {string} [expand] Expand to fetch additional information about the status.
|
|
107
107
|
* @param {*} [options] Override http request option.
|
|
108
108
|
* @throws {RequiredError}
|
|
109
109
|
*/
|
|
110
|
-
getStatus(code: string,
|
|
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
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
116
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
117
|
-
* @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:
|
|
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>
|
|
116
|
+
* @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, slug, name, createdAt, updatedAt</i>
|
|
117
|
+
* @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: code, name, slug</i>
|
|
118
118
|
* @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, name, slug</i>
|
|
119
119
|
* @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/>
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
@@ -122,15 +122,15 @@ 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 update status.
|
|
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
|
-
* @param {
|
|
128
|
+
* @param {PatchStatusRequestDto} patchStatusRequestDto
|
|
129
129
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
130
130
|
* @param {*} [options] Override http request option.
|
|
131
131
|
* @throws {RequiredError}
|
|
132
132
|
*/
|
|
133
|
-
|
|
133
|
+
patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchStatusResponseClass>>;
|
|
134
134
|
};
|
|
135
135
|
/**
|
|
136
136
|
* StatusesApi - factory interface
|
|
@@ -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,22 +156,22 @@ 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
|
-
* @param {string} expand
|
|
163
162
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
163
|
+
* @param {string} [expand] Expand to fetch additional information about the status.
|
|
164
164
|
* @param {*} [options] Override http request option.
|
|
165
165
|
* @throws {RequiredError}
|
|
166
166
|
*/
|
|
167
|
-
getStatus(code: string,
|
|
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
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
173
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
174
|
-
* @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:
|
|
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>
|
|
173
|
+
* @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, slug, name, createdAt, updatedAt</i>
|
|
174
|
+
* @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: code, name, slug</i>
|
|
175
175
|
* @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, name, slug</i>
|
|
176
176
|
* @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/>
|
|
177
177
|
* @param {*} [options] Override http request option.
|
|
@@ -179,15 +179,15 @@ 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 update status.
|
|
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
|
-
* @param {
|
|
185
|
+
* @param {PatchStatusRequestDto} patchStatusRequestDto
|
|
186
186
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
187
187
|
* @param {*} [options] Override http request option.
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
190
|
-
|
|
190
|
+
patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchStatusResponseClass>;
|
|
191
191
|
};
|
|
192
192
|
/**
|
|
193
193
|
* Request parameters for createStatus operation in StatusesApi.
|
|
@@ -240,17 +240,17 @@ export interface StatusesApiGetStatusRequest {
|
|
|
240
240
|
*/
|
|
241
241
|
readonly code: string;
|
|
242
242
|
/**
|
|
243
|
-
*
|
|
243
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
244
|
* @type {string}
|
|
245
245
|
* @memberof StatusesApiGetStatus
|
|
246
246
|
*/
|
|
247
|
-
readonly
|
|
247
|
+
readonly authorization?: string;
|
|
248
248
|
/**
|
|
249
|
-
*
|
|
249
|
+
* Expand to fetch additional information about the status.
|
|
250
250
|
* @type {string}
|
|
251
251
|
* @memberof StatusesApiGetStatus
|
|
252
252
|
*/
|
|
253
|
-
readonly
|
|
253
|
+
readonly expand?: string;
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
256
|
* Request parameters for listStatuses operation in StatusesApi.
|
|
@@ -265,19 +265,19 @@ export interface StatusesApiListStatusesRequest {
|
|
|
265
265
|
*/
|
|
266
266
|
readonly authorization?: string;
|
|
267
267
|
/**
|
|
268
|
-
* Filter the response by one or multiple fields.
|
|
268
|
+
* 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>
|
|
269
269
|
* @type {string}
|
|
270
270
|
* @memberof StatusesApiListStatuses
|
|
271
271
|
*/
|
|
272
272
|
readonly filter?: string;
|
|
273
273
|
/**
|
|
274
|
-
* Filters the response by one or multiple fields.
|
|
274
|
+
* 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, slug, name, createdAt, updatedAt</i>
|
|
275
275
|
* @type {string}
|
|
276
276
|
* @memberof StatusesApiListStatuses
|
|
277
277
|
*/
|
|
278
278
|
readonly filters?: string;
|
|
279
279
|
/**
|
|
280
|
-
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields:
|
|
280
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, name, slug</i>
|
|
281
281
|
* @type {string}
|
|
282
282
|
* @memberof StatusesApiListStatuses
|
|
283
283
|
*/
|
|
@@ -296,27 +296,27 @@ export interface StatusesApiListStatusesRequest {
|
|
|
296
296
|
readonly expand?: string;
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
|
-
* Request parameters for
|
|
299
|
+
* Request parameters for patchStatus operation in StatusesApi.
|
|
300
300
|
* @export
|
|
301
|
-
* @interface
|
|
301
|
+
* @interface StatusesApiPatchStatusRequest
|
|
302
302
|
*/
|
|
303
|
-
export interface
|
|
303
|
+
export interface StatusesApiPatchStatusRequest {
|
|
304
304
|
/**
|
|
305
305
|
*
|
|
306
306
|
* @type {string}
|
|
307
|
-
* @memberof
|
|
307
|
+
* @memberof StatusesApiPatchStatus
|
|
308
308
|
*/
|
|
309
309
|
readonly code: string;
|
|
310
310
|
/**
|
|
311
311
|
*
|
|
312
|
-
* @type {
|
|
313
|
-
* @memberof
|
|
312
|
+
* @type {PatchStatusRequestDto}
|
|
313
|
+
* @memberof StatusesApiPatchStatus
|
|
314
314
|
*/
|
|
315
|
-
readonly
|
|
315
|
+
readonly patchStatusRequestDto: PatchStatusRequestDto;
|
|
316
316
|
/**
|
|
317
317
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
318
318
|
* @type {string}
|
|
319
|
-
* @memberof
|
|
319
|
+
* @memberof StatusesApiPatchStatus
|
|
320
320
|
*/
|
|
321
321
|
readonly authorization?: string;
|
|
322
322
|
}
|
|
@@ -328,7 +328,7 @@ export interface StatusesApiUpdateStatusRequest {
|
|
|
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,12 +364,12 @@ 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 update status.
|
|
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
|
-
* @param {
|
|
369
|
+
* @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
|
|
370
370
|
* @param {*} [options] Override http request option.
|
|
371
371
|
* @throws {RequiredError}
|
|
372
372
|
* @memberof StatusesApi
|
|
373
373
|
*/
|
|
374
|
-
|
|
374
|
+
patchStatus(requestParameters: StatusesApiPatchStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchStatusResponseClass, any, {}>>;
|
|
375
375
|
}
|