@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/api.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Projects API
|
|
6
|
-
* Manage
|
|
6
|
+
* Manage PodOS Projects
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.26.0
|
|
7
9
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.24.1
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.TemplateCode = exports.ProjectUserTypeEnum = void 0;
|
|
25
|
+
exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.TemplateCode = exports.TaskStatus = exports.ProjectUserTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -34,6 +34,17 @@ exports.ProjectUserTypeEnum = {
|
|
|
34
34
|
Service: 'service',
|
|
35
35
|
Ghost: 'ghost'
|
|
36
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @export
|
|
40
|
+
* @enum {string}
|
|
41
|
+
*/
|
|
42
|
+
exports.TaskStatus = {
|
|
43
|
+
Nice: 'nice',
|
|
44
|
+
Need: 'need',
|
|
45
|
+
Doing: 'doing',
|
|
46
|
+
Done: 'done'
|
|
47
|
+
};
|
|
37
48
|
/**
|
|
38
49
|
*
|
|
39
50
|
* @export
|
|
@@ -86,6 +97,45 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
86
97
|
options: localVarRequestOptions,
|
|
87
98
|
};
|
|
88
99
|
}),
|
|
100
|
+
/**
|
|
101
|
+
* Create a bookmark in the project
|
|
102
|
+
* @summary Create bookmark
|
|
103
|
+
* @param {string} project Projects unique identifier
|
|
104
|
+
* @param {CreateBookmarkRequest} createBookmarkRequest Create a new bookmark in the project
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
createBookmark: (project_1, createBookmarkRequest_1, ...args_1) => __awaiter(this, [project_1, createBookmarkRequest_1, ...args_1], void 0, function* (project, createBookmarkRequest, options = {}) {
|
|
109
|
+
// verify required parameter 'project' is not null or undefined
|
|
110
|
+
(0, common_1.assertParamExists)('createBookmark', 'project', project);
|
|
111
|
+
// verify required parameter 'createBookmarkRequest' is not null or undefined
|
|
112
|
+
(0, common_1.assertParamExists)('createBookmark', 'createBookmarkRequest', createBookmarkRequest);
|
|
113
|
+
const localVarPath = `/v1/projects/{project}/bookmarks`
|
|
114
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
122
|
+
const localVarHeaderParameter = {};
|
|
123
|
+
const localVarQueryParameter = {};
|
|
124
|
+
// authentication session-oauth required
|
|
125
|
+
// oauth required
|
|
126
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
127
|
+
// authentication api-key required
|
|
128
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
129
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
130
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
131
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
133
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createBookmarkRequest, localVarRequestOptions, configuration);
|
|
134
|
+
return {
|
|
135
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
136
|
+
options: localVarRequestOptions,
|
|
137
|
+
};
|
|
138
|
+
}),
|
|
89
139
|
/**
|
|
90
140
|
* Creates an invite for the project
|
|
91
141
|
* @summary Creates an invite
|
|
@@ -160,6 +210,43 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
160
210
|
options: localVarRequestOptions,
|
|
161
211
|
};
|
|
162
212
|
}),
|
|
213
|
+
/**
|
|
214
|
+
* Create a new task in the workflow
|
|
215
|
+
* @summary Create Task
|
|
216
|
+
* @param {string} project Projects unique identifier
|
|
217
|
+
* @param {CreateTaskRequest} [createTaskRequest] Create a new task in the workflow
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
createTask: (project_1, createTaskRequest_1, ...args_1) => __awaiter(this, [project_1, createTaskRequest_1, ...args_1], void 0, function* (project, createTaskRequest, options = {}) {
|
|
222
|
+
// verify required parameter 'project' is not null or undefined
|
|
223
|
+
(0, common_1.assertParamExists)('createTask', 'project', project);
|
|
224
|
+
const localVarPath = `/v1/projects/{project}/tasks`
|
|
225
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
226
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
227
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
228
|
+
let baseOptions;
|
|
229
|
+
if (configuration) {
|
|
230
|
+
baseOptions = configuration.baseOptions;
|
|
231
|
+
}
|
|
232
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
233
|
+
const localVarHeaderParameter = {};
|
|
234
|
+
const localVarQueryParameter = {};
|
|
235
|
+
// authentication session-oauth required
|
|
236
|
+
// oauth required
|
|
237
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
238
|
+
// authentication api-key required
|
|
239
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
240
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
241
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
242
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
243
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
244
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createTaskRequest, localVarRequestOptions, configuration);
|
|
245
|
+
return {
|
|
246
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
247
|
+
options: localVarRequestOptions,
|
|
248
|
+
};
|
|
249
|
+
}),
|
|
163
250
|
/**
|
|
164
251
|
* Delete an auth token for the project
|
|
165
252
|
* @summary Delete auth token
|
|
@@ -198,6 +285,44 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
198
285
|
options: localVarRequestOptions,
|
|
199
286
|
};
|
|
200
287
|
}),
|
|
288
|
+
/**
|
|
289
|
+
* Delete a bookmark in the project
|
|
290
|
+
* @summary Delete bookmark
|
|
291
|
+
* @param {string} project Projects unique identifier
|
|
292
|
+
* @param {string} id The unique id of the bookmark
|
|
293
|
+
* @param {*} [options] Override http request option.
|
|
294
|
+
* @throws {RequiredError}
|
|
295
|
+
*/
|
|
296
|
+
deleteBookmark: (project_1, id_1, ...args_1) => __awaiter(this, [project_1, id_1, ...args_1], void 0, function* (project, id, options = {}) {
|
|
297
|
+
// verify required parameter 'project' is not null or undefined
|
|
298
|
+
(0, common_1.assertParamExists)('deleteBookmark', 'project', project);
|
|
299
|
+
// verify required parameter 'id' is not null or undefined
|
|
300
|
+
(0, common_1.assertParamExists)('deleteBookmark', 'id', id);
|
|
301
|
+
const localVarPath = `/v1/projects/{project}/bookmarks/{id}`
|
|
302
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
303
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
304
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
305
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
306
|
+
let baseOptions;
|
|
307
|
+
if (configuration) {
|
|
308
|
+
baseOptions = configuration.baseOptions;
|
|
309
|
+
}
|
|
310
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
311
|
+
const localVarHeaderParameter = {};
|
|
312
|
+
const localVarQueryParameter = {};
|
|
313
|
+
// authentication session-oauth required
|
|
314
|
+
// oauth required
|
|
315
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
316
|
+
// authentication api-key required
|
|
317
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
318
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
319
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
320
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
321
|
+
return {
|
|
322
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
323
|
+
options: localVarRequestOptions,
|
|
324
|
+
};
|
|
325
|
+
}),
|
|
201
326
|
/**
|
|
202
327
|
* Deletes an invite to the project
|
|
203
328
|
* @summary Deletes an invite
|
|
@@ -270,6 +395,44 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
270
395
|
options: localVarRequestOptions,
|
|
271
396
|
};
|
|
272
397
|
}),
|
|
398
|
+
/**
|
|
399
|
+
* Delete a task in the workflow
|
|
400
|
+
* @summary Delete Task
|
|
401
|
+
* @param {string} project Projects unique identifier
|
|
402
|
+
* @param {string} id The unique id of the task
|
|
403
|
+
* @param {*} [options] Override http request option.
|
|
404
|
+
* @throws {RequiredError}
|
|
405
|
+
*/
|
|
406
|
+
deleteTask: (project_1, id_1, ...args_1) => __awaiter(this, [project_1, id_1, ...args_1], void 0, function* (project, id, options = {}) {
|
|
407
|
+
// verify required parameter 'project' is not null or undefined
|
|
408
|
+
(0, common_1.assertParamExists)('deleteTask', 'project', project);
|
|
409
|
+
// verify required parameter 'id' is not null or undefined
|
|
410
|
+
(0, common_1.assertParamExists)('deleteTask', 'id', id);
|
|
411
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
412
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
413
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
414
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
415
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
416
|
+
let baseOptions;
|
|
417
|
+
if (configuration) {
|
|
418
|
+
baseOptions = configuration.baseOptions;
|
|
419
|
+
}
|
|
420
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
421
|
+
const localVarHeaderParameter = {};
|
|
422
|
+
const localVarQueryParameter = {};
|
|
423
|
+
// authentication session-oauth required
|
|
424
|
+
// oauth required
|
|
425
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
426
|
+
// authentication api-key required
|
|
427
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
428
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
429
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
430
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
431
|
+
return {
|
|
432
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
433
|
+
options: localVarRequestOptions,
|
|
434
|
+
};
|
|
435
|
+
}),
|
|
273
436
|
/**
|
|
274
437
|
* Delete a project user by ID
|
|
275
438
|
* @summary Delete a user by ID
|
|
@@ -731,6 +894,74 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
731
894
|
options: localVarRequestOptions,
|
|
732
895
|
};
|
|
733
896
|
}),
|
|
897
|
+
/**
|
|
898
|
+
* List the bookmarks in the project
|
|
899
|
+
* @summary List bookmarks
|
|
900
|
+
* @param {string} project Projects unique identifier
|
|
901
|
+
* @param {*} [options] Override http request option.
|
|
902
|
+
* @throws {RequiredError}
|
|
903
|
+
*/
|
|
904
|
+
listBookmarks: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
905
|
+
// verify required parameter 'project' is not null or undefined
|
|
906
|
+
(0, common_1.assertParamExists)('listBookmarks', 'project', project);
|
|
907
|
+
const localVarPath = `/v1/projects/{project}/bookmarks`
|
|
908
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
909
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
910
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
911
|
+
let baseOptions;
|
|
912
|
+
if (configuration) {
|
|
913
|
+
baseOptions = configuration.baseOptions;
|
|
914
|
+
}
|
|
915
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
916
|
+
const localVarHeaderParameter = {};
|
|
917
|
+
const localVarQueryParameter = {};
|
|
918
|
+
// authentication session-oauth required
|
|
919
|
+
// oauth required
|
|
920
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
921
|
+
// authentication api-key required
|
|
922
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
923
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
924
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
925
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
926
|
+
return {
|
|
927
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
928
|
+
options: localVarRequestOptions,
|
|
929
|
+
};
|
|
930
|
+
}),
|
|
931
|
+
/**
|
|
932
|
+
* List the tasks in the workflow
|
|
933
|
+
* @summary List Tasks
|
|
934
|
+
* @param {string} project Projects unique identifier
|
|
935
|
+
* @param {*} [options] Override http request option.
|
|
936
|
+
* @throws {RequiredError}
|
|
937
|
+
*/
|
|
938
|
+
listTasks: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
939
|
+
// verify required parameter 'project' is not null or undefined
|
|
940
|
+
(0, common_1.assertParamExists)('listTasks', 'project', project);
|
|
941
|
+
const localVarPath = `/v1/projects/{project}/tasks`
|
|
942
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
943
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
944
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
945
|
+
let baseOptions;
|
|
946
|
+
if (configuration) {
|
|
947
|
+
baseOptions = configuration.baseOptions;
|
|
948
|
+
}
|
|
949
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
950
|
+
const localVarHeaderParameter = {};
|
|
951
|
+
const localVarQueryParameter = {};
|
|
952
|
+
// authentication session-oauth required
|
|
953
|
+
// oauth required
|
|
954
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
955
|
+
// authentication api-key required
|
|
956
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
957
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
958
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
959
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
960
|
+
return {
|
|
961
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
962
|
+
options: localVarRequestOptions,
|
|
963
|
+
};
|
|
964
|
+
}),
|
|
734
965
|
/**
|
|
735
966
|
* Setup an integration on the project
|
|
736
967
|
* @summary Setup integration
|
|
@@ -812,6 +1043,49 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
812
1043
|
options: localVarRequestOptions,
|
|
813
1044
|
};
|
|
814
1045
|
}),
|
|
1046
|
+
/**
|
|
1047
|
+
* Update a bookmark in the project
|
|
1048
|
+
* @summary Update bookmark
|
|
1049
|
+
* @param {string} project Projects unique identifier
|
|
1050
|
+
* @param {string} id The unique id of the bookmark
|
|
1051
|
+
* @param {UpdateBookmarkRequest} updateBookmarkRequest Update a bookmark in the project
|
|
1052
|
+
* @param {*} [options] Override http request option.
|
|
1053
|
+
* @throws {RequiredError}
|
|
1054
|
+
*/
|
|
1055
|
+
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 = {}) {
|
|
1056
|
+
// verify required parameter 'project' is not null or undefined
|
|
1057
|
+
(0, common_1.assertParamExists)('updateBookmark', 'project', project);
|
|
1058
|
+
// verify required parameter 'id' is not null or undefined
|
|
1059
|
+
(0, common_1.assertParamExists)('updateBookmark', 'id', id);
|
|
1060
|
+
// verify required parameter 'updateBookmarkRequest' is not null or undefined
|
|
1061
|
+
(0, common_1.assertParamExists)('updateBookmark', 'updateBookmarkRequest', updateBookmarkRequest);
|
|
1062
|
+
const localVarPath = `/v1/projects/{project}/bookmarks/{id}`
|
|
1063
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1064
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1065
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1066
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1067
|
+
let baseOptions;
|
|
1068
|
+
if (configuration) {
|
|
1069
|
+
baseOptions = configuration.baseOptions;
|
|
1070
|
+
}
|
|
1071
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1072
|
+
const localVarHeaderParameter = {};
|
|
1073
|
+
const localVarQueryParameter = {};
|
|
1074
|
+
// authentication session-oauth required
|
|
1075
|
+
// oauth required
|
|
1076
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1077
|
+
// authentication api-key required
|
|
1078
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1079
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1080
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1081
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1082
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1083
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateBookmarkRequest, localVarRequestOptions, configuration);
|
|
1084
|
+
return {
|
|
1085
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1086
|
+
options: localVarRequestOptions,
|
|
1087
|
+
};
|
|
1088
|
+
}),
|
|
815
1089
|
/**
|
|
816
1090
|
* Update an integration on the project
|
|
817
1091
|
* @summary Update integration
|
|
@@ -894,6 +1168,47 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
894
1168
|
options: localVarRequestOptions,
|
|
895
1169
|
};
|
|
896
1170
|
}),
|
|
1171
|
+
/**
|
|
1172
|
+
* Update a task in the workflow
|
|
1173
|
+
* @summary Update Task
|
|
1174
|
+
* @param {string} project Projects unique identifier
|
|
1175
|
+
* @param {string} id The unique id of the task
|
|
1176
|
+
* @param {UpdateTaskRequest} [updateTaskRequest] Update a task in the workflow
|
|
1177
|
+
* @param {*} [options] Override http request option.
|
|
1178
|
+
* @throws {RequiredError}
|
|
1179
|
+
*/
|
|
1180
|
+
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 = {}) {
|
|
1181
|
+
// verify required parameter 'project' is not null or undefined
|
|
1182
|
+
(0, common_1.assertParamExists)('updateTask', 'project', project);
|
|
1183
|
+
// verify required parameter 'id' is not null or undefined
|
|
1184
|
+
(0, common_1.assertParamExists)('updateTask', 'id', id);
|
|
1185
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
1186
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1187
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1189
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1190
|
+
let baseOptions;
|
|
1191
|
+
if (configuration) {
|
|
1192
|
+
baseOptions = configuration.baseOptions;
|
|
1193
|
+
}
|
|
1194
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1195
|
+
const localVarHeaderParameter = {};
|
|
1196
|
+
const localVarQueryParameter = {};
|
|
1197
|
+
// authentication session-oauth required
|
|
1198
|
+
// oauth required
|
|
1199
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1200
|
+
// authentication api-key required
|
|
1201
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1202
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1203
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1204
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1205
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1206
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateTaskRequest, localVarRequestOptions, configuration);
|
|
1207
|
+
return {
|
|
1208
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1209
|
+
options: localVarRequestOptions,
|
|
1210
|
+
};
|
|
1211
|
+
}),
|
|
897
1212
|
};
|
|
898
1213
|
};
|
|
899
1214
|
exports.ProjectsApiAxiosParamCreator = ProjectsApiAxiosParamCreator;
|
|
@@ -920,6 +1235,23 @@ const ProjectsApiFp = function (configuration) {
|
|
|
920
1235
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
921
1236
|
});
|
|
922
1237
|
},
|
|
1238
|
+
/**
|
|
1239
|
+
* Create a bookmark in the project
|
|
1240
|
+
* @summary Create bookmark
|
|
1241
|
+
* @param {string} project Projects unique identifier
|
|
1242
|
+
* @param {CreateBookmarkRequest} createBookmarkRequest Create a new bookmark in the project
|
|
1243
|
+
* @param {*} [options] Override http request option.
|
|
1244
|
+
* @throws {RequiredError}
|
|
1245
|
+
*/
|
|
1246
|
+
createBookmark(project, createBookmarkRequest, options) {
|
|
1247
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1248
|
+
var _a, _b, _c;
|
|
1249
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createBookmark(project, createBookmarkRequest, options);
|
|
1250
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1251
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.createBookmark']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1252
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1253
|
+
});
|
|
1254
|
+
},
|
|
923
1255
|
/**
|
|
924
1256
|
* Creates an invite for the project
|
|
925
1257
|
* @summary Creates an invite
|
|
@@ -953,6 +1285,23 @@ const ProjectsApiFp = function (configuration) {
|
|
|
953
1285
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
954
1286
|
});
|
|
955
1287
|
},
|
|
1288
|
+
/**
|
|
1289
|
+
* Create a new task in the workflow
|
|
1290
|
+
* @summary Create Task
|
|
1291
|
+
* @param {string} project Projects unique identifier
|
|
1292
|
+
* @param {CreateTaskRequest} [createTaskRequest] Create a new task in the workflow
|
|
1293
|
+
* @param {*} [options] Override http request option.
|
|
1294
|
+
* @throws {RequiredError}
|
|
1295
|
+
*/
|
|
1296
|
+
createTask(project, createTaskRequest, options) {
|
|
1297
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1298
|
+
var _a, _b, _c;
|
|
1299
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createTask(project, createTaskRequest, options);
|
|
1300
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1301
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.createTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1302
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1303
|
+
});
|
|
1304
|
+
},
|
|
956
1305
|
/**
|
|
957
1306
|
* Delete an auth token for the project
|
|
958
1307
|
* @summary Delete auth token
|
|
@@ -970,6 +1319,23 @@ const ProjectsApiFp = function (configuration) {
|
|
|
970
1319
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
971
1320
|
});
|
|
972
1321
|
},
|
|
1322
|
+
/**
|
|
1323
|
+
* Delete a bookmark in the project
|
|
1324
|
+
* @summary Delete bookmark
|
|
1325
|
+
* @param {string} project Projects unique identifier
|
|
1326
|
+
* @param {string} id The unique id of the bookmark
|
|
1327
|
+
* @param {*} [options] Override http request option.
|
|
1328
|
+
* @throws {RequiredError}
|
|
1329
|
+
*/
|
|
1330
|
+
deleteBookmark(project, id, options) {
|
|
1331
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1332
|
+
var _a, _b, _c;
|
|
1333
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteBookmark(project, id, options);
|
|
1334
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1335
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.deleteBookmark']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1336
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1337
|
+
});
|
|
1338
|
+
},
|
|
973
1339
|
/**
|
|
974
1340
|
* Deletes an invite to the project
|
|
975
1341
|
* @summary Deletes an invite
|
|
@@ -1003,6 +1369,23 @@ const ProjectsApiFp = function (configuration) {
|
|
|
1003
1369
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1004
1370
|
});
|
|
1005
1371
|
},
|
|
1372
|
+
/**
|
|
1373
|
+
* Delete a task in the workflow
|
|
1374
|
+
* @summary Delete Task
|
|
1375
|
+
* @param {string} project Projects unique identifier
|
|
1376
|
+
* @param {string} id The unique id of the task
|
|
1377
|
+
* @param {*} [options] Override http request option.
|
|
1378
|
+
* @throws {RequiredError}
|
|
1379
|
+
*/
|
|
1380
|
+
deleteTask(project, id, options) {
|
|
1381
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1382
|
+
var _a, _b, _c;
|
|
1383
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTask(project, id, options);
|
|
1384
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1385
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.deleteTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1386
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1387
|
+
});
|
|
1388
|
+
},
|
|
1006
1389
|
/**
|
|
1007
1390
|
* Delete a project user by ID
|
|
1008
1391
|
* @summary Delete a user by ID
|
|
@@ -1208,6 +1591,38 @@ const ProjectsApiFp = function (configuration) {
|
|
|
1208
1591
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1209
1592
|
});
|
|
1210
1593
|
},
|
|
1594
|
+
/**
|
|
1595
|
+
* List the bookmarks in the project
|
|
1596
|
+
* @summary List bookmarks
|
|
1597
|
+
* @param {string} project Projects unique identifier
|
|
1598
|
+
* @param {*} [options] Override http request option.
|
|
1599
|
+
* @throws {RequiredError}
|
|
1600
|
+
*/
|
|
1601
|
+
listBookmarks(project, options) {
|
|
1602
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1603
|
+
var _a, _b, _c;
|
|
1604
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listBookmarks(project, options);
|
|
1605
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1606
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.listBookmarks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1607
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1608
|
+
});
|
|
1609
|
+
},
|
|
1610
|
+
/**
|
|
1611
|
+
* List the tasks in the workflow
|
|
1612
|
+
* @summary List Tasks
|
|
1613
|
+
* @param {string} project Projects unique identifier
|
|
1614
|
+
* @param {*} [options] Override http request option.
|
|
1615
|
+
* @throws {RequiredError}
|
|
1616
|
+
*/
|
|
1617
|
+
listTasks(project, options) {
|
|
1618
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1619
|
+
var _a, _b, _c;
|
|
1620
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTasks(project, options);
|
|
1621
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1622
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.listTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1623
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1624
|
+
});
|
|
1625
|
+
},
|
|
1211
1626
|
/**
|
|
1212
1627
|
* Setup an integration on the project
|
|
1213
1628
|
* @summary Setup integration
|
|
@@ -1243,6 +1658,24 @@ const ProjectsApiFp = function (configuration) {
|
|
|
1243
1658
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1244
1659
|
});
|
|
1245
1660
|
},
|
|
1661
|
+
/**
|
|
1662
|
+
* Update a bookmark in the project
|
|
1663
|
+
* @summary Update bookmark
|
|
1664
|
+
* @param {string} project Projects unique identifier
|
|
1665
|
+
* @param {string} id The unique id of the bookmark
|
|
1666
|
+
* @param {UpdateBookmarkRequest} updateBookmarkRequest Update a bookmark in the project
|
|
1667
|
+
* @param {*} [options] Override http request option.
|
|
1668
|
+
* @throws {RequiredError}
|
|
1669
|
+
*/
|
|
1670
|
+
updateBookmark(project, id, updateBookmarkRequest, options) {
|
|
1671
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1672
|
+
var _a, _b, _c;
|
|
1673
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBookmark(project, id, updateBookmarkRequest, options);
|
|
1674
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1675
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.updateBookmark']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1676
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1677
|
+
});
|
|
1678
|
+
},
|
|
1246
1679
|
/**
|
|
1247
1680
|
* Update an integration on the project
|
|
1248
1681
|
* @summary Update integration
|
|
@@ -1278,6 +1711,24 @@ const ProjectsApiFp = function (configuration) {
|
|
|
1278
1711
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1279
1712
|
});
|
|
1280
1713
|
},
|
|
1714
|
+
/**
|
|
1715
|
+
* Update a task in the workflow
|
|
1716
|
+
* @summary Update Task
|
|
1717
|
+
* @param {string} project Projects unique identifier
|
|
1718
|
+
* @param {string} id The unique id of the task
|
|
1719
|
+
* @param {UpdateTaskRequest} [updateTaskRequest] Update a task in the workflow
|
|
1720
|
+
* @param {*} [options] Override http request option.
|
|
1721
|
+
* @throws {RequiredError}
|
|
1722
|
+
*/
|
|
1723
|
+
updateTask(project, id, updateTaskRequest, options) {
|
|
1724
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1725
|
+
var _a, _b, _c;
|
|
1726
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTask(project, id, updateTaskRequest, options);
|
|
1727
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1728
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.updateTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1729
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1730
|
+
});
|
|
1731
|
+
},
|
|
1281
1732
|
};
|
|
1282
1733
|
};
|
|
1283
1734
|
exports.ProjectsApiFp = ProjectsApiFp;
|
|
@@ -1298,6 +1749,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1298
1749
|
createAuth(requestParameters, options) {
|
|
1299
1750
|
return localVarFp.createAuth(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1300
1751
|
},
|
|
1752
|
+
/**
|
|
1753
|
+
* Create a bookmark in the project
|
|
1754
|
+
* @summary Create bookmark
|
|
1755
|
+
* @param {ProjectsApiCreateBookmarkRequest} requestParameters Request parameters.
|
|
1756
|
+
* @param {*} [options] Override http request option.
|
|
1757
|
+
* @throws {RequiredError}
|
|
1758
|
+
*/
|
|
1759
|
+
createBookmark(requestParameters, options) {
|
|
1760
|
+
return localVarFp.createBookmark(requestParameters.project, requestParameters.createBookmarkRequest, options).then((request) => request(axios, basePath));
|
|
1761
|
+
},
|
|
1301
1762
|
/**
|
|
1302
1763
|
* Creates an invite for the project
|
|
1303
1764
|
* @summary Creates an invite
|
|
@@ -1318,6 +1779,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1318
1779
|
createProject(requestParameters, options) {
|
|
1319
1780
|
return localVarFp.createProject(requestParameters.createProjectRequest, options).then((request) => request(axios, basePath));
|
|
1320
1781
|
},
|
|
1782
|
+
/**
|
|
1783
|
+
* Create a new task in the workflow
|
|
1784
|
+
* @summary Create Task
|
|
1785
|
+
* @param {ProjectsApiCreateTaskRequest} requestParameters Request parameters.
|
|
1786
|
+
* @param {*} [options] Override http request option.
|
|
1787
|
+
* @throws {RequiredError}
|
|
1788
|
+
*/
|
|
1789
|
+
createTask(requestParameters, options) {
|
|
1790
|
+
return localVarFp.createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(axios, basePath));
|
|
1791
|
+
},
|
|
1321
1792
|
/**
|
|
1322
1793
|
* Delete an auth token for the project
|
|
1323
1794
|
* @summary Delete auth token
|
|
@@ -1328,6 +1799,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1328
1799
|
deleteAuth(requestParameters, options) {
|
|
1329
1800
|
return localVarFp.deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(axios, basePath));
|
|
1330
1801
|
},
|
|
1802
|
+
/**
|
|
1803
|
+
* Delete a bookmark in the project
|
|
1804
|
+
* @summary Delete bookmark
|
|
1805
|
+
* @param {ProjectsApiDeleteBookmarkRequest} requestParameters Request parameters.
|
|
1806
|
+
* @param {*} [options] Override http request option.
|
|
1807
|
+
* @throws {RequiredError}
|
|
1808
|
+
*/
|
|
1809
|
+
deleteBookmark(requestParameters, options) {
|
|
1810
|
+
return localVarFp.deleteBookmark(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1811
|
+
},
|
|
1331
1812
|
/**
|
|
1332
1813
|
* Deletes an invite to the project
|
|
1333
1814
|
* @summary Deletes an invite
|
|
@@ -1348,6 +1829,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1348
1829
|
deleteProject(requestParameters, options) {
|
|
1349
1830
|
return localVarFp.deleteProject(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1350
1831
|
},
|
|
1832
|
+
/**
|
|
1833
|
+
* Delete a task in the workflow
|
|
1834
|
+
* @summary Delete Task
|
|
1835
|
+
* @param {ProjectsApiDeleteTaskRequest} requestParameters Request parameters.
|
|
1836
|
+
* @param {*} [options] Override http request option.
|
|
1837
|
+
* @throws {RequiredError}
|
|
1838
|
+
*/
|
|
1839
|
+
deleteTask(requestParameters, options) {
|
|
1840
|
+
return localVarFp.deleteTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1841
|
+
},
|
|
1351
1842
|
/**
|
|
1352
1843
|
* Delete a project user by ID
|
|
1353
1844
|
* @summary Delete a user by ID
|
|
@@ -1468,6 +1959,26 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1468
1959
|
installTemplate(requestParameters, options) {
|
|
1469
1960
|
return localVarFp.installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(axios, basePath));
|
|
1470
1961
|
},
|
|
1962
|
+
/**
|
|
1963
|
+
* List the bookmarks in the project
|
|
1964
|
+
* @summary List bookmarks
|
|
1965
|
+
* @param {ProjectsApiListBookmarksRequest} requestParameters Request parameters.
|
|
1966
|
+
* @param {*} [options] Override http request option.
|
|
1967
|
+
* @throws {RequiredError}
|
|
1968
|
+
*/
|
|
1969
|
+
listBookmarks(requestParameters, options) {
|
|
1970
|
+
return localVarFp.listBookmarks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1971
|
+
},
|
|
1972
|
+
/**
|
|
1973
|
+
* List the tasks in the workflow
|
|
1974
|
+
* @summary List Tasks
|
|
1975
|
+
* @param {ProjectsApiListTasksRequest} requestParameters Request parameters.
|
|
1976
|
+
* @param {*} [options] Override http request option.
|
|
1977
|
+
* @throws {RequiredError}
|
|
1978
|
+
*/
|
|
1979
|
+
listTasks(requestParameters, options) {
|
|
1980
|
+
return localVarFp.listTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1981
|
+
},
|
|
1471
1982
|
/**
|
|
1472
1983
|
* Setup an integration on the project
|
|
1473
1984
|
* @summary Setup integration
|
|
@@ -1488,6 +1999,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1488
1999
|
uninstallIntegration(requestParameters, options) {
|
|
1489
2000
|
return localVarFp.uninstallIntegration(requestParameters.project, requestParameters.integration, options).then((request) => request(axios, basePath));
|
|
1490
2001
|
},
|
|
2002
|
+
/**
|
|
2003
|
+
* Update a bookmark in the project
|
|
2004
|
+
* @summary Update bookmark
|
|
2005
|
+
* @param {ProjectsApiUpdateBookmarkRequest} requestParameters Request parameters.
|
|
2006
|
+
* @param {*} [options] Override http request option.
|
|
2007
|
+
* @throws {RequiredError}
|
|
2008
|
+
*/
|
|
2009
|
+
updateBookmark(requestParameters, options) {
|
|
2010
|
+
return localVarFp.updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(axios, basePath));
|
|
2011
|
+
},
|
|
1491
2012
|
/**
|
|
1492
2013
|
* Update an integration on the project
|
|
1493
2014
|
* @summary Update integration
|
|
@@ -1508,6 +2029,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1508
2029
|
updateProject(requestParameters, options) {
|
|
1509
2030
|
return localVarFp.updateProject(requestParameters.project, requestParameters.updateProjectRequest, options).then((request) => request(axios, basePath));
|
|
1510
2031
|
},
|
|
2032
|
+
/**
|
|
2033
|
+
* Update a task in the workflow
|
|
2034
|
+
* @summary Update Task
|
|
2035
|
+
* @param {ProjectsApiUpdateTaskRequest} requestParameters Request parameters.
|
|
2036
|
+
* @param {*} [options] Override http request option.
|
|
2037
|
+
* @throws {RequiredError}
|
|
2038
|
+
*/
|
|
2039
|
+
updateTask(requestParameters, options) {
|
|
2040
|
+
return localVarFp.updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(axios, basePath));
|
|
2041
|
+
},
|
|
1511
2042
|
};
|
|
1512
2043
|
};
|
|
1513
2044
|
exports.ProjectsApiFactory = ProjectsApiFactory;
|
|
@@ -1529,6 +2060,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1529
2060
|
createAuth(requestParameters, options) {
|
|
1530
2061
|
return (0, exports.ProjectsApiFp)(this.configuration).createAuth(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1531
2062
|
}
|
|
2063
|
+
/**
|
|
2064
|
+
* Create a bookmark in the project
|
|
2065
|
+
* @summary Create bookmark
|
|
2066
|
+
* @param {ProjectsApiCreateBookmarkRequest} requestParameters Request parameters.
|
|
2067
|
+
* @param {*} [options] Override http request option.
|
|
2068
|
+
* @throws {RequiredError}
|
|
2069
|
+
* @memberof ProjectsApi
|
|
2070
|
+
*/
|
|
2071
|
+
createBookmark(requestParameters, options) {
|
|
2072
|
+
return (0, exports.ProjectsApiFp)(this.configuration).createBookmark(requestParameters.project, requestParameters.createBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2073
|
+
}
|
|
1532
2074
|
/**
|
|
1533
2075
|
* Creates an invite for the project
|
|
1534
2076
|
* @summary Creates an invite
|
|
@@ -1551,6 +2093,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1551
2093
|
createProject(requestParameters, options) {
|
|
1552
2094
|
return (0, exports.ProjectsApiFp)(this.configuration).createProject(requestParameters.createProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1553
2095
|
}
|
|
2096
|
+
/**
|
|
2097
|
+
* Create a new task in the workflow
|
|
2098
|
+
* @summary Create Task
|
|
2099
|
+
* @param {ProjectsApiCreateTaskRequest} requestParameters Request parameters.
|
|
2100
|
+
* @param {*} [options] Override http request option.
|
|
2101
|
+
* @throws {RequiredError}
|
|
2102
|
+
* @memberof ProjectsApi
|
|
2103
|
+
*/
|
|
2104
|
+
createTask(requestParameters, options) {
|
|
2105
|
+
return (0, exports.ProjectsApiFp)(this.configuration).createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2106
|
+
}
|
|
1554
2107
|
/**
|
|
1555
2108
|
* Delete an auth token for the project
|
|
1556
2109
|
* @summary Delete auth token
|
|
@@ -1562,6 +2115,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1562
2115
|
deleteAuth(requestParameters, options) {
|
|
1563
2116
|
return (0, exports.ProjectsApiFp)(this.configuration).deleteAuth(requestParameters.project, requestParameters.auth, options).then((request) => request(this.axios, this.basePath));
|
|
1564
2117
|
}
|
|
2118
|
+
/**
|
|
2119
|
+
* Delete a bookmark in the project
|
|
2120
|
+
* @summary Delete bookmark
|
|
2121
|
+
* @param {ProjectsApiDeleteBookmarkRequest} requestParameters Request parameters.
|
|
2122
|
+
* @param {*} [options] Override http request option.
|
|
2123
|
+
* @throws {RequiredError}
|
|
2124
|
+
* @memberof ProjectsApi
|
|
2125
|
+
*/
|
|
2126
|
+
deleteBookmark(requestParameters, options) {
|
|
2127
|
+
return (0, exports.ProjectsApiFp)(this.configuration).deleteBookmark(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2128
|
+
}
|
|
1565
2129
|
/**
|
|
1566
2130
|
* Deletes an invite to the project
|
|
1567
2131
|
* @summary Deletes an invite
|
|
@@ -1584,6 +2148,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1584
2148
|
deleteProject(requestParameters, options) {
|
|
1585
2149
|
return (0, exports.ProjectsApiFp)(this.configuration).deleteProject(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1586
2150
|
}
|
|
2151
|
+
/**
|
|
2152
|
+
* Delete a task in the workflow
|
|
2153
|
+
* @summary Delete Task
|
|
2154
|
+
* @param {ProjectsApiDeleteTaskRequest} requestParameters Request parameters.
|
|
2155
|
+
* @param {*} [options] Override http request option.
|
|
2156
|
+
* @throws {RequiredError}
|
|
2157
|
+
* @memberof ProjectsApi
|
|
2158
|
+
*/
|
|
2159
|
+
deleteTask(requestParameters, options) {
|
|
2160
|
+
return (0, exports.ProjectsApiFp)(this.configuration).deleteTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2161
|
+
}
|
|
1587
2162
|
/**
|
|
1588
2163
|
* Delete a project user by ID
|
|
1589
2164
|
* @summary Delete a user by ID
|
|
@@ -1716,6 +2291,28 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1716
2291
|
installTemplate(requestParameters, options) {
|
|
1717
2292
|
return (0, exports.ProjectsApiFp)(this.configuration).installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1718
2293
|
}
|
|
2294
|
+
/**
|
|
2295
|
+
* List the bookmarks in the project
|
|
2296
|
+
* @summary List bookmarks
|
|
2297
|
+
* @param {ProjectsApiListBookmarksRequest} requestParameters Request parameters.
|
|
2298
|
+
* @param {*} [options] Override http request option.
|
|
2299
|
+
* @throws {RequiredError}
|
|
2300
|
+
* @memberof ProjectsApi
|
|
2301
|
+
*/
|
|
2302
|
+
listBookmarks(requestParameters, options) {
|
|
2303
|
+
return (0, exports.ProjectsApiFp)(this.configuration).listBookmarks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2304
|
+
}
|
|
2305
|
+
/**
|
|
2306
|
+
* List the tasks in the workflow
|
|
2307
|
+
* @summary List Tasks
|
|
2308
|
+
* @param {ProjectsApiListTasksRequest} requestParameters Request parameters.
|
|
2309
|
+
* @param {*} [options] Override http request option.
|
|
2310
|
+
* @throws {RequiredError}
|
|
2311
|
+
* @memberof ProjectsApi
|
|
2312
|
+
*/
|
|
2313
|
+
listTasks(requestParameters, options) {
|
|
2314
|
+
return (0, exports.ProjectsApiFp)(this.configuration).listTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2315
|
+
}
|
|
1719
2316
|
/**
|
|
1720
2317
|
* Setup an integration on the project
|
|
1721
2318
|
* @summary Setup integration
|
|
@@ -1738,6 +2335,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1738
2335
|
uninstallIntegration(requestParameters, options) {
|
|
1739
2336
|
return (0, exports.ProjectsApiFp)(this.configuration).uninstallIntegration(requestParameters.project, requestParameters.integration, options).then((request) => request(this.axios, this.basePath));
|
|
1740
2337
|
}
|
|
2338
|
+
/**
|
|
2339
|
+
* Update a bookmark in the project
|
|
2340
|
+
* @summary Update bookmark
|
|
2341
|
+
* @param {ProjectsApiUpdateBookmarkRequest} requestParameters Request parameters.
|
|
2342
|
+
* @param {*} [options] Override http request option.
|
|
2343
|
+
* @throws {RequiredError}
|
|
2344
|
+
* @memberof ProjectsApi
|
|
2345
|
+
*/
|
|
2346
|
+
updateBookmark(requestParameters, options) {
|
|
2347
|
+
return (0, exports.ProjectsApiFp)(this.configuration).updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2348
|
+
}
|
|
1741
2349
|
/**
|
|
1742
2350
|
* Update an integration on the project
|
|
1743
2351
|
* @summary Update integration
|
|
@@ -1760,5 +2368,16 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
1760
2368
|
updateProject(requestParameters, options) {
|
|
1761
2369
|
return (0, exports.ProjectsApiFp)(this.configuration).updateProject(requestParameters.project, requestParameters.updateProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1762
2370
|
}
|
|
2371
|
+
/**
|
|
2372
|
+
* Update a task in the workflow
|
|
2373
|
+
* @summary Update Task
|
|
2374
|
+
* @param {ProjectsApiUpdateTaskRequest} requestParameters Request parameters.
|
|
2375
|
+
* @param {*} [options] Override http request option.
|
|
2376
|
+
* @throws {RequiredError}
|
|
2377
|
+
* @memberof ProjectsApi
|
|
2378
|
+
*/
|
|
2379
|
+
updateTask(requestParameters, options) {
|
|
2380
|
+
return (0, exports.ProjectsApiFp)(this.configuration).updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2381
|
+
}
|
|
1763
2382
|
}
|
|
1764
2383
|
exports.ProjectsApi = ProjectsApi;
|