@teemill/projects 1.24.1 → 1.26.0
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.ts +1069 -6
- package/base.ts +3 -3
- package/common.ts +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +671 -3
- package/dist/api.js +623 -4
- package/dist/base.d.ts +3 -3
- package/dist/base.js +3 -3
- package/dist/common.d.ts +3 -3
- package/dist/common.js +3 -3
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +3 -3
- package/dist/esm/api.d.ts +671 -3
- package/dist/esm/api.js +622 -3
- package/dist/esm/base.d.ts +3 -3
- package/dist/esm/base.js +3 -3
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +3 -3
- package/dist/esm/configuration.d.ts +3 -3
- package/dist/esm/configuration.js +3 -3
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/index.ts +3 -3
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Projects API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Projects
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.26.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.24.1
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -31,6 +31,17 @@ export const ProjectUserTypeEnum = {
|
|
|
31
31
|
Service: 'service',
|
|
32
32
|
Ghost: 'ghost'
|
|
33
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
* @enum {string}
|
|
38
|
+
*/
|
|
39
|
+
export const TaskStatus = {
|
|
40
|
+
Nice: 'nice',
|
|
41
|
+
Need: 'need',
|
|
42
|
+
Doing: 'doing',
|
|
43
|
+
Done: 'done'
|
|
44
|
+
};
|
|
34
45
|
/**
|
|
35
46
|
*
|
|
36
47
|
* @export
|
|
@@ -83,6 +94,45 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
83
94
|
options: localVarRequestOptions,
|
|
84
95
|
};
|
|
85
96
|
}),
|
|
97
|
+
/**
|
|
98
|
+
* Create a bookmark in the project
|
|
99
|
+
* @summary Create bookmark
|
|
100
|
+
* @param {string} project Projects unique identifier
|
|
101
|
+
* @param {CreateBookmarkRequest} createBookmarkRequest Create a new bookmark in the project
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
createBookmark: (project_1, createBookmarkRequest_1, ...args_1) => __awaiter(this, [project_1, createBookmarkRequest_1, ...args_1], void 0, function* (project, createBookmarkRequest, options = {}) {
|
|
106
|
+
// verify required parameter 'project' is not null or undefined
|
|
107
|
+
assertParamExists('createBookmark', 'project', project);
|
|
108
|
+
// verify required parameter 'createBookmarkRequest' is not null or undefined
|
|
109
|
+
assertParamExists('createBookmark', 'createBookmarkRequest', createBookmarkRequest);
|
|
110
|
+
const localVarPath = `/v1/projects/{project}/bookmarks`
|
|
111
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
112
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
113
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
114
|
+
let baseOptions;
|
|
115
|
+
if (configuration) {
|
|
116
|
+
baseOptions = configuration.baseOptions;
|
|
117
|
+
}
|
|
118
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
119
|
+
const localVarHeaderParameter = {};
|
|
120
|
+
const localVarQueryParameter = {};
|
|
121
|
+
// authentication session-oauth required
|
|
122
|
+
// oauth required
|
|
123
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
124
|
+
// authentication api-key required
|
|
125
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
126
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
127
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
130
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createBookmarkRequest, localVarRequestOptions, configuration);
|
|
131
|
+
return {
|
|
132
|
+
url: toPathString(localVarUrlObj),
|
|
133
|
+
options: localVarRequestOptions,
|
|
134
|
+
};
|
|
135
|
+
}),
|
|
86
136
|
/**
|
|
87
137
|
* Creates an invite for the project
|
|
88
138
|
* @summary Creates an invite
|
|
@@ -157,6 +207,43 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
157
207
|
options: localVarRequestOptions,
|
|
158
208
|
};
|
|
159
209
|
}),
|
|
210
|
+
/**
|
|
211
|
+
* Create a new task in the workflow
|
|
212
|
+
* @summary Create Task
|
|
213
|
+
* @param {string} project Projects unique identifier
|
|
214
|
+
* @param {CreateTaskRequest} [createTaskRequest] Create a new task in the workflow
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
createTask: (project_1, createTaskRequest_1, ...args_1) => __awaiter(this, [project_1, createTaskRequest_1, ...args_1], void 0, function* (project, createTaskRequest, options = {}) {
|
|
219
|
+
// verify required parameter 'project' is not null or undefined
|
|
220
|
+
assertParamExists('createTask', 'project', project);
|
|
221
|
+
const localVarPath = `/v1/projects/{project}/tasks`
|
|
222
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
223
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
224
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
225
|
+
let baseOptions;
|
|
226
|
+
if (configuration) {
|
|
227
|
+
baseOptions = configuration.baseOptions;
|
|
228
|
+
}
|
|
229
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
230
|
+
const localVarHeaderParameter = {};
|
|
231
|
+
const localVarQueryParameter = {};
|
|
232
|
+
// authentication session-oauth required
|
|
233
|
+
// oauth required
|
|
234
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
235
|
+
// authentication api-key required
|
|
236
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
237
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
238
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
239
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
240
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
241
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTaskRequest, localVarRequestOptions, configuration);
|
|
242
|
+
return {
|
|
243
|
+
url: toPathString(localVarUrlObj),
|
|
244
|
+
options: localVarRequestOptions,
|
|
245
|
+
};
|
|
246
|
+
}),
|
|
160
247
|
/**
|
|
161
248
|
* Delete an auth token for the project
|
|
162
249
|
* @summary Delete auth token
|
|
@@ -195,6 +282,44 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
195
282
|
options: localVarRequestOptions,
|
|
196
283
|
};
|
|
197
284
|
}),
|
|
285
|
+
/**
|
|
286
|
+
* Delete a bookmark in the project
|
|
287
|
+
* @summary Delete bookmark
|
|
288
|
+
* @param {string} project Projects unique identifier
|
|
289
|
+
* @param {string} id The unique id of the bookmark
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
deleteBookmark: (project_1, id_1, ...args_1) => __awaiter(this, [project_1, id_1, ...args_1], void 0, function* (project, id, options = {}) {
|
|
294
|
+
// verify required parameter 'project' is not null or undefined
|
|
295
|
+
assertParamExists('deleteBookmark', 'project', project);
|
|
296
|
+
// verify required parameter 'id' is not null or undefined
|
|
297
|
+
assertParamExists('deleteBookmark', 'id', id);
|
|
298
|
+
const localVarPath = `/v1/projects/{project}/bookmarks/{id}`
|
|
299
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
300
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
301
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
302
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
303
|
+
let baseOptions;
|
|
304
|
+
if (configuration) {
|
|
305
|
+
baseOptions = configuration.baseOptions;
|
|
306
|
+
}
|
|
307
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
308
|
+
const localVarHeaderParameter = {};
|
|
309
|
+
const localVarQueryParameter = {};
|
|
310
|
+
// authentication session-oauth required
|
|
311
|
+
// oauth required
|
|
312
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
313
|
+
// authentication api-key required
|
|
314
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
315
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
316
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
317
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
318
|
+
return {
|
|
319
|
+
url: toPathString(localVarUrlObj),
|
|
320
|
+
options: localVarRequestOptions,
|
|
321
|
+
};
|
|
322
|
+
}),
|
|
198
323
|
/**
|
|
199
324
|
* Deletes an invite to the project
|
|
200
325
|
* @summary Deletes an invite
|
|
@@ -267,6 +392,44 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
267
392
|
options: localVarRequestOptions,
|
|
268
393
|
};
|
|
269
394
|
}),
|
|
395
|
+
/**
|
|
396
|
+
* Delete a task in the workflow
|
|
397
|
+
* @summary Delete Task
|
|
398
|
+
* @param {string} project Projects unique identifier
|
|
399
|
+
* @param {string} id The unique id of the task
|
|
400
|
+
* @param {*} [options] Override http request option.
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
*/
|
|
403
|
+
deleteTask: (project_1, id_1, ...args_1) => __awaiter(this, [project_1, id_1, ...args_1], void 0, function* (project, id, options = {}) {
|
|
404
|
+
// verify required parameter 'project' is not null or undefined
|
|
405
|
+
assertParamExists('deleteTask', 'project', project);
|
|
406
|
+
// verify required parameter 'id' is not null or undefined
|
|
407
|
+
assertParamExists('deleteTask', 'id', id);
|
|
408
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
409
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
410
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
411
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
412
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
413
|
+
let baseOptions;
|
|
414
|
+
if (configuration) {
|
|
415
|
+
baseOptions = configuration.baseOptions;
|
|
416
|
+
}
|
|
417
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
418
|
+
const localVarHeaderParameter = {};
|
|
419
|
+
const localVarQueryParameter = {};
|
|
420
|
+
// authentication session-oauth required
|
|
421
|
+
// oauth required
|
|
422
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
423
|
+
// authentication api-key required
|
|
424
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
425
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
426
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
427
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
428
|
+
return {
|
|
429
|
+
url: toPathString(localVarUrlObj),
|
|
430
|
+
options: localVarRequestOptions,
|
|
431
|
+
};
|
|
432
|
+
}),
|
|
270
433
|
/**
|
|
271
434
|
* Delete a project user by ID
|
|
272
435
|
* @summary Delete a user by ID
|
|
@@ -728,6 +891,74 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
728
891
|
options: localVarRequestOptions,
|
|
729
892
|
};
|
|
730
893
|
}),
|
|
894
|
+
/**
|
|
895
|
+
* List the bookmarks in the project
|
|
896
|
+
* @summary List bookmarks
|
|
897
|
+
* @param {string} project Projects unique identifier
|
|
898
|
+
* @param {*} [options] Override http request option.
|
|
899
|
+
* @throws {RequiredError}
|
|
900
|
+
*/
|
|
901
|
+
listBookmarks: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
902
|
+
// verify required parameter 'project' is not null or undefined
|
|
903
|
+
assertParamExists('listBookmarks', 'project', project);
|
|
904
|
+
const localVarPath = `/v1/projects/{project}/bookmarks`
|
|
905
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
906
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
907
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
908
|
+
let baseOptions;
|
|
909
|
+
if (configuration) {
|
|
910
|
+
baseOptions = configuration.baseOptions;
|
|
911
|
+
}
|
|
912
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
913
|
+
const localVarHeaderParameter = {};
|
|
914
|
+
const localVarQueryParameter = {};
|
|
915
|
+
// authentication session-oauth required
|
|
916
|
+
// oauth required
|
|
917
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
918
|
+
// authentication api-key required
|
|
919
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
920
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
921
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
922
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
923
|
+
return {
|
|
924
|
+
url: toPathString(localVarUrlObj),
|
|
925
|
+
options: localVarRequestOptions,
|
|
926
|
+
};
|
|
927
|
+
}),
|
|
928
|
+
/**
|
|
929
|
+
* List the tasks in the workflow
|
|
930
|
+
* @summary List Tasks
|
|
931
|
+
* @param {string} project Projects unique identifier
|
|
932
|
+
* @param {*} [options] Override http request option.
|
|
933
|
+
* @throws {RequiredError}
|
|
934
|
+
*/
|
|
935
|
+
listTasks: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
936
|
+
// verify required parameter 'project' is not null or undefined
|
|
937
|
+
assertParamExists('listTasks', 'project', project);
|
|
938
|
+
const localVarPath = `/v1/projects/{project}/tasks`
|
|
939
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
940
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
941
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
942
|
+
let baseOptions;
|
|
943
|
+
if (configuration) {
|
|
944
|
+
baseOptions = configuration.baseOptions;
|
|
945
|
+
}
|
|
946
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
947
|
+
const localVarHeaderParameter = {};
|
|
948
|
+
const localVarQueryParameter = {};
|
|
949
|
+
// authentication session-oauth required
|
|
950
|
+
// oauth required
|
|
951
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
952
|
+
// authentication api-key required
|
|
953
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
954
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
955
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
956
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
957
|
+
return {
|
|
958
|
+
url: toPathString(localVarUrlObj),
|
|
959
|
+
options: localVarRequestOptions,
|
|
960
|
+
};
|
|
961
|
+
}),
|
|
731
962
|
/**
|
|
732
963
|
* Setup an integration on the project
|
|
733
964
|
* @summary Setup integration
|
|
@@ -809,6 +1040,49 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
809
1040
|
options: localVarRequestOptions,
|
|
810
1041
|
};
|
|
811
1042
|
}),
|
|
1043
|
+
/**
|
|
1044
|
+
* Update a bookmark in the project
|
|
1045
|
+
* @summary Update bookmark
|
|
1046
|
+
* @param {string} project Projects unique identifier
|
|
1047
|
+
* @param {string} id The unique id of the bookmark
|
|
1048
|
+
* @param {UpdateBookmarkRequest} updateBookmarkRequest Update a bookmark in the project
|
|
1049
|
+
* @param {*} [options] Override http request option.
|
|
1050
|
+
* @throws {RequiredError}
|
|
1051
|
+
*/
|
|
1052
|
+
updateBookmark: (project_1, id_1, updateBookmarkRequest_1, ...args_1) => __awaiter(this, [project_1, id_1, updateBookmarkRequest_1, ...args_1], void 0, function* (project, id, updateBookmarkRequest, options = {}) {
|
|
1053
|
+
// verify required parameter 'project' is not null or undefined
|
|
1054
|
+
assertParamExists('updateBookmark', 'project', project);
|
|
1055
|
+
// verify required parameter 'id' is not null or undefined
|
|
1056
|
+
assertParamExists('updateBookmark', 'id', id);
|
|
1057
|
+
// verify required parameter 'updateBookmarkRequest' is not null or undefined
|
|
1058
|
+
assertParamExists('updateBookmark', 'updateBookmarkRequest', updateBookmarkRequest);
|
|
1059
|
+
const localVarPath = `/v1/projects/{project}/bookmarks/{id}`
|
|
1060
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1061
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1062
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1063
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1064
|
+
let baseOptions;
|
|
1065
|
+
if (configuration) {
|
|
1066
|
+
baseOptions = configuration.baseOptions;
|
|
1067
|
+
}
|
|
1068
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1069
|
+
const localVarHeaderParameter = {};
|
|
1070
|
+
const localVarQueryParameter = {};
|
|
1071
|
+
// authentication session-oauth required
|
|
1072
|
+
// oauth required
|
|
1073
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1074
|
+
// authentication api-key required
|
|
1075
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1076
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1077
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1078
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1079
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1080
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateBookmarkRequest, localVarRequestOptions, configuration);
|
|
1081
|
+
return {
|
|
1082
|
+
url: toPathString(localVarUrlObj),
|
|
1083
|
+
options: localVarRequestOptions,
|
|
1084
|
+
};
|
|
1085
|
+
}),
|
|
812
1086
|
/**
|
|
813
1087
|
* Update an integration on the project
|
|
814
1088
|
* @summary Update integration
|
|
@@ -891,6 +1165,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
891
1165
|
options: localVarRequestOptions,
|
|
892
1166
|
};
|
|
893
1167
|
}),
|
|
1168
|
+
/**
|
|
1169
|
+
* Update a task in the workflow
|
|
1170
|
+
* @summary Update Task
|
|
1171
|
+
* @param {string} project Projects unique identifier
|
|
1172
|
+
* @param {string} id The unique id of the task
|
|
1173
|
+
* @param {UpdateTaskRequest} [updateTaskRequest] Update a task in the workflow
|
|
1174
|
+
* @param {*} [options] Override http request option.
|
|
1175
|
+
* @throws {RequiredError}
|
|
1176
|
+
*/
|
|
1177
|
+
updateTask: (project_1, id_1, updateTaskRequest_1, ...args_1) => __awaiter(this, [project_1, id_1, updateTaskRequest_1, ...args_1], void 0, function* (project, id, updateTaskRequest, options = {}) {
|
|
1178
|
+
// verify required parameter 'project' is not null or undefined
|
|
1179
|
+
assertParamExists('updateTask', 'project', project);
|
|
1180
|
+
// verify required parameter 'id' is not null or undefined
|
|
1181
|
+
assertParamExists('updateTask', 'id', id);
|
|
1182
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
1183
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1184
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1185
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1186
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1187
|
+
let baseOptions;
|
|
1188
|
+
if (configuration) {
|
|
1189
|
+
baseOptions = configuration.baseOptions;
|
|
1190
|
+
}
|
|
1191
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1192
|
+
const localVarHeaderParameter = {};
|
|
1193
|
+
const localVarQueryParameter = {};
|
|
1194
|
+
// authentication session-oauth required
|
|
1195
|
+
// oauth required
|
|
1196
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1197
|
+
// authentication api-key required
|
|
1198
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1199
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1202
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1203
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTaskRequest, localVarRequestOptions, configuration);
|
|
1204
|
+
return {
|
|
1205
|
+
url: toPathString(localVarUrlObj),
|
|
1206
|
+
options: localVarRequestOptions,
|
|
1207
|
+
};
|
|
1208
|
+
}),
|
|
894
1209
|
};
|
|
895
1210
|
};
|
|
896
1211
|
/**
|
|
@@ -916,6 +1231,23 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
916
1231
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
917
1232
|
});
|
|
918
1233
|
},
|
|
1234
|
+
/**
|
|
1235
|
+
* Create a bookmark in the project
|
|
1236
|
+
* @summary Create bookmark
|
|
1237
|
+
* @param {string} project Projects unique identifier
|
|
1238
|
+
* @param {CreateBookmarkRequest} createBookmarkRequest Create a new bookmark in the project
|
|
1239
|
+
* @param {*} [options] Override http request option.
|
|
1240
|
+
* @throws {RequiredError}
|
|
1241
|
+
*/
|
|
1242
|
+
createBookmark(project, createBookmarkRequest, options) {
|
|
1243
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1244
|
+
var _a, _b, _c;
|
|
1245
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createBookmark(project, createBookmarkRequest, options);
|
|
1246
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1247
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.createBookmark']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1248
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1249
|
+
});
|
|
1250
|
+
},
|
|
919
1251
|
/**
|
|
920
1252
|
* Creates an invite for the project
|
|
921
1253
|
* @summary Creates an invite
|
|
@@ -949,6 +1281,23 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
949
1281
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
950
1282
|
});
|
|
951
1283
|
},
|
|
1284
|
+
/**
|
|
1285
|
+
* Create a new task in the workflow
|
|
1286
|
+
* @summary Create Task
|
|
1287
|
+
* @param {string} project Projects unique identifier
|
|
1288
|
+
* @param {CreateTaskRequest} [createTaskRequest] Create a new task in the workflow
|
|
1289
|
+
* @param {*} [options] Override http request option.
|
|
1290
|
+
* @throws {RequiredError}
|
|
1291
|
+
*/
|
|
1292
|
+
createTask(project, createTaskRequest, options) {
|
|
1293
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1294
|
+
var _a, _b, _c;
|
|
1295
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createTask(project, createTaskRequest, options);
|
|
1296
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1297
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.createTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1298
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1299
|
+
});
|
|
1300
|
+
},
|
|
952
1301
|
/**
|
|
953
1302
|
* Delete an auth token for the project
|
|
954
1303
|
* @summary Delete auth token
|
|
@@ -966,6 +1315,23 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
966
1315
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
967
1316
|
});
|
|
968
1317
|
},
|
|
1318
|
+
/**
|
|
1319
|
+
* Delete a bookmark in the project
|
|
1320
|
+
* @summary Delete bookmark
|
|
1321
|
+
* @param {string} project Projects unique identifier
|
|
1322
|
+
* @param {string} id The unique id of the bookmark
|
|
1323
|
+
* @param {*} [options] Override http request option.
|
|
1324
|
+
* @throws {RequiredError}
|
|
1325
|
+
*/
|
|
1326
|
+
deleteBookmark(project, id, options) {
|
|
1327
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1328
|
+
var _a, _b, _c;
|
|
1329
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteBookmark(project, id, options);
|
|
1330
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1331
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.deleteBookmark']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1332
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1333
|
+
});
|
|
1334
|
+
},
|
|
969
1335
|
/**
|
|
970
1336
|
* Deletes an invite to the project
|
|
971
1337
|
* @summary Deletes an invite
|
|
@@ -999,6 +1365,23 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
999
1365
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1000
1366
|
});
|
|
1001
1367
|
},
|
|
1368
|
+
/**
|
|
1369
|
+
* Delete a task in the workflow
|
|
1370
|
+
* @summary Delete Task
|
|
1371
|
+
* @param {string} project Projects unique identifier
|
|
1372
|
+
* @param {string} id The unique id of the task
|
|
1373
|
+
* @param {*} [options] Override http request option.
|
|
1374
|
+
* @throws {RequiredError}
|
|
1375
|
+
*/
|
|
1376
|
+
deleteTask(project, id, options) {
|
|
1377
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1378
|
+
var _a, _b, _c;
|
|
1379
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTask(project, id, options);
|
|
1380
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1381
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.deleteTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1382
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1383
|
+
});
|
|
1384
|
+
},
|
|
1002
1385
|
/**
|
|
1003
1386
|
* Delete a project user by ID
|
|
1004
1387
|
* @summary Delete a user by ID
|
|
@@ -1204,6 +1587,38 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1204
1587
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1205
1588
|
});
|
|
1206
1589
|
},
|
|
1590
|
+
/**
|
|
1591
|
+
* List the bookmarks in the project
|
|
1592
|
+
* @summary List bookmarks
|
|
1593
|
+
* @param {string} project Projects unique identifier
|
|
1594
|
+
* @param {*} [options] Override http request option.
|
|
1595
|
+
* @throws {RequiredError}
|
|
1596
|
+
*/
|
|
1597
|
+
listBookmarks(project, options) {
|
|
1598
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1599
|
+
var _a, _b, _c;
|
|
1600
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listBookmarks(project, options);
|
|
1601
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1602
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.listBookmarks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1603
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1604
|
+
});
|
|
1605
|
+
},
|
|
1606
|
+
/**
|
|
1607
|
+
* List the tasks in the workflow
|
|
1608
|
+
* @summary List Tasks
|
|
1609
|
+
* @param {string} project Projects unique identifier
|
|
1610
|
+
* @param {*} [options] Override http request option.
|
|
1611
|
+
* @throws {RequiredError}
|
|
1612
|
+
*/
|
|
1613
|
+
listTasks(project, options) {
|
|
1614
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1615
|
+
var _a, _b, _c;
|
|
1616
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTasks(project, options);
|
|
1617
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1618
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.listTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1619
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1620
|
+
});
|
|
1621
|
+
},
|
|
1207
1622
|
/**
|
|
1208
1623
|
* Setup an integration on the project
|
|
1209
1624
|
* @summary Setup integration
|
|
@@ -1239,6 +1654,24 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1239
1654
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1240
1655
|
});
|
|
1241
1656
|
},
|
|
1657
|
+
/**
|
|
1658
|
+
* Update a bookmark in the project
|
|
1659
|
+
* @summary Update bookmark
|
|
1660
|
+
* @param {string} project Projects unique identifier
|
|
1661
|
+
* @param {string} id The unique id of the bookmark
|
|
1662
|
+
* @param {UpdateBookmarkRequest} updateBookmarkRequest Update a bookmark in the project
|
|
1663
|
+
* @param {*} [options] Override http request option.
|
|
1664
|
+
* @throws {RequiredError}
|
|
1665
|
+
*/
|
|
1666
|
+
updateBookmark(project, id, updateBookmarkRequest, options) {
|
|
1667
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1668
|
+
var _a, _b, _c;
|
|
1669
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBookmark(project, id, updateBookmarkRequest, options);
|
|
1670
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1671
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.updateBookmark']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1672
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1673
|
+
});
|
|
1674
|
+
},
|
|
1242
1675
|
/**
|
|
1243
1676
|
* Update an integration on the project
|
|
1244
1677
|
* @summary Update integration
|
|
@@ -1274,6 +1707,24 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1274
1707
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1275
1708
|
});
|
|
1276
1709
|
},
|
|
1710
|
+
/**
|
|
1711
|
+
* Update a task in the workflow
|
|
1712
|
+
* @summary Update Task
|
|
1713
|
+
* @param {string} project Projects unique identifier
|
|
1714
|
+
* @param {string} id The unique id of the task
|
|
1715
|
+
* @param {UpdateTaskRequest} [updateTaskRequest] Update a task in the workflow
|
|
1716
|
+
* @param {*} [options] Override http request option.
|
|
1717
|
+
* @throws {RequiredError}
|
|
1718
|
+
*/
|
|
1719
|
+
updateTask(project, id, updateTaskRequest, options) {
|
|
1720
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1721
|
+
var _a, _b, _c;
|
|
1722
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTask(project, id, updateTaskRequest, options);
|
|
1723
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1724
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.updateTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1725
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1726
|
+
});
|
|
1727
|
+
},
|
|
1277
1728
|
};
|
|
1278
1729
|
};
|
|
1279
1730
|
/**
|
|
@@ -1293,6 +1744,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1293
1744
|
createAuth(requestParameters, options) {
|
|
1294
1745
|
return localVarFp.createAuth(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1295
1746
|
},
|
|
1747
|
+
/**
|
|
1748
|
+
* Create a bookmark in the project
|
|
1749
|
+
* @summary Create bookmark
|
|
1750
|
+
* @param {ProjectsApiCreateBookmarkRequest} requestParameters Request parameters.
|
|
1751
|
+
* @param {*} [options] Override http request option.
|
|
1752
|
+
* @throws {RequiredError}
|
|
1753
|
+
*/
|
|
1754
|
+
createBookmark(requestParameters, options) {
|
|
1755
|
+
return localVarFp.createBookmark(requestParameters.project, requestParameters.createBookmarkRequest, options).then((request) => request(axios, basePath));
|
|
1756
|
+
},
|
|
1296
1757
|
/**
|
|
1297
1758
|
* Creates an invite for the project
|
|
1298
1759
|
* @summary Creates an invite
|
|
@@ -1313,6 +1774,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1313
1774
|
createProject(requestParameters, options) {
|
|
1314
1775
|
return localVarFp.createProject(requestParameters.createProjectRequest, options).then((request) => request(axios, basePath));
|
|
1315
1776
|
},
|
|
1777
|
+
/**
|
|
1778
|
+
* Create a new task in the workflow
|
|
1779
|
+
* @summary Create Task
|
|
1780
|
+
* @param {ProjectsApiCreateTaskRequest} requestParameters Request parameters.
|
|
1781
|
+
* @param {*} [options] Override http request option.
|
|
1782
|
+
* @throws {RequiredError}
|
|
1783
|
+
*/
|
|
1784
|
+
createTask(requestParameters, options) {
|
|
1785
|
+
return localVarFp.createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(axios, basePath));
|
|
1786
|
+
},
|
|
1316
1787
|
/**
|
|
1317
1788
|
* Delete an auth token for the project
|
|
1318
1789
|
* @summary Delete auth token
|
|
@@ -1323,6 +1794,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1323
1794
|
deleteAuth(requestParameters, options) {
|
|
1324
1795
|
return localVarFp.deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(axios, basePath));
|
|
1325
1796
|
},
|
|
1797
|
+
/**
|
|
1798
|
+
* Delete a bookmark in the project
|
|
1799
|
+
* @summary Delete bookmark
|
|
1800
|
+
* @param {ProjectsApiDeleteBookmarkRequest} requestParameters Request parameters.
|
|
1801
|
+
* @param {*} [options] Override http request option.
|
|
1802
|
+
* @throws {RequiredError}
|
|
1803
|
+
*/
|
|
1804
|
+
deleteBookmark(requestParameters, options) {
|
|
1805
|
+
return localVarFp.deleteBookmark(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1806
|
+
},
|
|
1326
1807
|
/**
|
|
1327
1808
|
* Deletes an invite to the project
|
|
1328
1809
|
* @summary Deletes an invite
|
|
@@ -1343,6 +1824,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1343
1824
|
deleteProject(requestParameters, options) {
|
|
1344
1825
|
return localVarFp.deleteProject(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1345
1826
|
},
|
|
1827
|
+
/**
|
|
1828
|
+
* Delete a task in the workflow
|
|
1829
|
+
* @summary Delete Task
|
|
1830
|
+
* @param {ProjectsApiDeleteTaskRequest} requestParameters Request parameters.
|
|
1831
|
+
* @param {*} [options] Override http request option.
|
|
1832
|
+
* @throws {RequiredError}
|
|
1833
|
+
*/
|
|
1834
|
+
deleteTask(requestParameters, options) {
|
|
1835
|
+
return localVarFp.deleteTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1836
|
+
},
|
|
1346
1837
|
/**
|
|
1347
1838
|
* Delete a project user by ID
|
|
1348
1839
|
* @summary Delete a user by ID
|
|
@@ -1463,6 +1954,26 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1463
1954
|
installTemplate(requestParameters, options) {
|
|
1464
1955
|
return localVarFp.installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(axios, basePath));
|
|
1465
1956
|
},
|
|
1957
|
+
/**
|
|
1958
|
+
* List the bookmarks in the project
|
|
1959
|
+
* @summary List bookmarks
|
|
1960
|
+
* @param {ProjectsApiListBookmarksRequest} requestParameters Request parameters.
|
|
1961
|
+
* @param {*} [options] Override http request option.
|
|
1962
|
+
* @throws {RequiredError}
|
|
1963
|
+
*/
|
|
1964
|
+
listBookmarks(requestParameters, options) {
|
|
1965
|
+
return localVarFp.listBookmarks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1966
|
+
},
|
|
1967
|
+
/**
|
|
1968
|
+
* List the tasks in the workflow
|
|
1969
|
+
* @summary List Tasks
|
|
1970
|
+
* @param {ProjectsApiListTasksRequest} requestParameters Request parameters.
|
|
1971
|
+
* @param {*} [options] Override http request option.
|
|
1972
|
+
* @throws {RequiredError}
|
|
1973
|
+
*/
|
|
1974
|
+
listTasks(requestParameters, options) {
|
|
1975
|
+
return localVarFp.listTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1976
|
+
},
|
|
1466
1977
|
/**
|
|
1467
1978
|
* Setup an integration on the project
|
|
1468
1979
|
* @summary Setup integration
|
|
@@ -1483,6 +1994,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1483
1994
|
uninstallIntegration(requestParameters, options) {
|
|
1484
1995
|
return localVarFp.uninstallIntegration(requestParameters.project, requestParameters.integration, options).then((request) => request(axios, basePath));
|
|
1485
1996
|
},
|
|
1997
|
+
/**
|
|
1998
|
+
* Update a bookmark in the project
|
|
1999
|
+
* @summary Update bookmark
|
|
2000
|
+
* @param {ProjectsApiUpdateBookmarkRequest} requestParameters Request parameters.
|
|
2001
|
+
* @param {*} [options] Override http request option.
|
|
2002
|
+
* @throws {RequiredError}
|
|
2003
|
+
*/
|
|
2004
|
+
updateBookmark(requestParameters, options) {
|
|
2005
|
+
return localVarFp.updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(axios, basePath));
|
|
2006
|
+
},
|
|
1486
2007
|
/**
|
|
1487
2008
|
* Update an integration on the project
|
|
1488
2009
|
* @summary Update integration
|
|
@@ -1503,6 +2024,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1503
2024
|
updateProject(requestParameters, options) {
|
|
1504
2025
|
return localVarFp.updateProject(requestParameters.project, requestParameters.updateProjectRequest, options).then((request) => request(axios, basePath));
|
|
1505
2026
|
},
|
|
2027
|
+
/**
|
|
2028
|
+
* Update a task in the workflow
|
|
2029
|
+
* @summary Update Task
|
|
2030
|
+
* @param {ProjectsApiUpdateTaskRequest} requestParameters Request parameters.
|
|
2031
|
+
* @param {*} [options] Override http request option.
|
|
2032
|
+
* @throws {RequiredError}
|
|
2033
|
+
*/
|
|
2034
|
+
updateTask(requestParameters, options) {
|
|
2035
|
+
return localVarFp.updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(axios, basePath));
|
|
2036
|
+
},
|
|
1506
2037
|
};
|
|
1507
2038
|
};
|
|
1508
2039
|
/**
|
|
@@ -1523,6 +2054,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1523
2054
|
createAuth(requestParameters, options) {
|
|
1524
2055
|
return ProjectsApiFp(this.configuration).createAuth(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1525
2056
|
}
|
|
2057
|
+
/**
|
|
2058
|
+
* Create a bookmark in the project
|
|
2059
|
+
* @summary Create bookmark
|
|
2060
|
+
* @param {ProjectsApiCreateBookmarkRequest} requestParameters Request parameters.
|
|
2061
|
+
* @param {*} [options] Override http request option.
|
|
2062
|
+
* @throws {RequiredError}
|
|
2063
|
+
* @memberof ProjectsApi
|
|
2064
|
+
*/
|
|
2065
|
+
createBookmark(requestParameters, options) {
|
|
2066
|
+
return ProjectsApiFp(this.configuration).createBookmark(requestParameters.project, requestParameters.createBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2067
|
+
}
|
|
1526
2068
|
/**
|
|
1527
2069
|
* Creates an invite for the project
|
|
1528
2070
|
* @summary Creates an invite
|
|
@@ -1545,6 +2087,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1545
2087
|
createProject(requestParameters, options) {
|
|
1546
2088
|
return ProjectsApiFp(this.configuration).createProject(requestParameters.createProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1547
2089
|
}
|
|
2090
|
+
/**
|
|
2091
|
+
* Create a new task in the workflow
|
|
2092
|
+
* @summary Create Task
|
|
2093
|
+
* @param {ProjectsApiCreateTaskRequest} requestParameters Request parameters.
|
|
2094
|
+
* @param {*} [options] Override http request option.
|
|
2095
|
+
* @throws {RequiredError}
|
|
2096
|
+
* @memberof ProjectsApi
|
|
2097
|
+
*/
|
|
2098
|
+
createTask(requestParameters, options) {
|
|
2099
|
+
return ProjectsApiFp(this.configuration).createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2100
|
+
}
|
|
1548
2101
|
/**
|
|
1549
2102
|
* Delete an auth token for the project
|
|
1550
2103
|
* @summary Delete auth token
|
|
@@ -1556,6 +2109,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1556
2109
|
deleteAuth(requestParameters, options) {
|
|
1557
2110
|
return ProjectsApiFp(this.configuration).deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(this.axios, this.basePath));
|
|
1558
2111
|
}
|
|
2112
|
+
/**
|
|
2113
|
+
* Delete a bookmark in the project
|
|
2114
|
+
* @summary Delete bookmark
|
|
2115
|
+
* @param {ProjectsApiDeleteBookmarkRequest} requestParameters Request parameters.
|
|
2116
|
+
* @param {*} [options] Override http request option.
|
|
2117
|
+
* @throws {RequiredError}
|
|
2118
|
+
* @memberof ProjectsApi
|
|
2119
|
+
*/
|
|
2120
|
+
deleteBookmark(requestParameters, options) {
|
|
2121
|
+
return ProjectsApiFp(this.configuration).deleteBookmark(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2122
|
+
}
|
|
1559
2123
|
/**
|
|
1560
2124
|
* Deletes an invite to the project
|
|
1561
2125
|
* @summary Deletes an invite
|
|
@@ -1578,6 +2142,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1578
2142
|
deleteProject(requestParameters, options) {
|
|
1579
2143
|
return ProjectsApiFp(this.configuration).deleteProject(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1580
2144
|
}
|
|
2145
|
+
/**
|
|
2146
|
+
* Delete a task in the workflow
|
|
2147
|
+
* @summary Delete Task
|
|
2148
|
+
* @param {ProjectsApiDeleteTaskRequest} requestParameters Request parameters.
|
|
2149
|
+
* @param {*} [options] Override http request option.
|
|
2150
|
+
* @throws {RequiredError}
|
|
2151
|
+
* @memberof ProjectsApi
|
|
2152
|
+
*/
|
|
2153
|
+
deleteTask(requestParameters, options) {
|
|
2154
|
+
return ProjectsApiFp(this.configuration).deleteTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2155
|
+
}
|
|
1581
2156
|
/**
|
|
1582
2157
|
* Delete a project user by ID
|
|
1583
2158
|
* @summary Delete a user by ID
|
|
@@ -1710,6 +2285,28 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1710
2285
|
installTemplate(requestParameters, options) {
|
|
1711
2286
|
return ProjectsApiFp(this.configuration).installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1712
2287
|
}
|
|
2288
|
+
/**
|
|
2289
|
+
* List the bookmarks in the project
|
|
2290
|
+
* @summary List bookmarks
|
|
2291
|
+
* @param {ProjectsApiListBookmarksRequest} requestParameters Request parameters.
|
|
2292
|
+
* @param {*} [options] Override http request option.
|
|
2293
|
+
* @throws {RequiredError}
|
|
2294
|
+
* @memberof ProjectsApi
|
|
2295
|
+
*/
|
|
2296
|
+
listBookmarks(requestParameters, options) {
|
|
2297
|
+
return ProjectsApiFp(this.configuration).listBookmarks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2298
|
+
}
|
|
2299
|
+
/**
|
|
2300
|
+
* List the tasks in the workflow
|
|
2301
|
+
* @summary List Tasks
|
|
2302
|
+
* @param {ProjectsApiListTasksRequest} requestParameters Request parameters.
|
|
2303
|
+
* @param {*} [options] Override http request option.
|
|
2304
|
+
* @throws {RequiredError}
|
|
2305
|
+
* @memberof ProjectsApi
|
|
2306
|
+
*/
|
|
2307
|
+
listTasks(requestParameters, options) {
|
|
2308
|
+
return ProjectsApiFp(this.configuration).listTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2309
|
+
}
|
|
1713
2310
|
/**
|
|
1714
2311
|
* Setup an integration on the project
|
|
1715
2312
|
* @summary Setup integration
|
|
@@ -1732,6 +2329,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1732
2329
|
uninstallIntegration(requestParameters, options) {
|
|
1733
2330
|
return ProjectsApiFp(this.configuration).uninstallIntegration(requestParameters.project, requestParameters.integration, options).then((request) => request(this.axios, this.basePath));
|
|
1734
2331
|
}
|
|
2332
|
+
/**
|
|
2333
|
+
* Update a bookmark in the project
|
|
2334
|
+
* @summary Update bookmark
|
|
2335
|
+
* @param {ProjectsApiUpdateBookmarkRequest} requestParameters Request parameters.
|
|
2336
|
+
* @param {*} [options] Override http request option.
|
|
2337
|
+
* @throws {RequiredError}
|
|
2338
|
+
* @memberof ProjectsApi
|
|
2339
|
+
*/
|
|
2340
|
+
updateBookmark(requestParameters, options) {
|
|
2341
|
+
return ProjectsApiFp(this.configuration).updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2342
|
+
}
|
|
1735
2343
|
/**
|
|
1736
2344
|
* Update an integration on the project
|
|
1737
2345
|
* @summary Update integration
|
|
@@ -1754,4 +2362,15 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1754
2362
|
updateProject(requestParameters, options) {
|
|
1755
2363
|
return ProjectsApiFp(this.configuration).updateProject(requestParameters.project, requestParameters.updateProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1756
2364
|
}
|
|
2365
|
+
/**
|
|
2366
|
+
* Update a task in the workflow
|
|
2367
|
+
* @summary Update Task
|
|
2368
|
+
* @param {ProjectsApiUpdateTaskRequest} requestParameters Request parameters.
|
|
2369
|
+
* @param {*} [options] Override http request option.
|
|
2370
|
+
* @throws {RequiredError}
|
|
2371
|
+
* @memberof ProjectsApi
|
|
2372
|
+
*/
|
|
2373
|
+
updateTask(requestParameters, options) {
|
|
2374
|
+
return ProjectsApiFp(this.configuration).updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2375
|
+
}
|
|
1757
2376
|
}
|