@teemill/projects 1.24.0 → 1.25.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 +522 -4
- package/base.ts +3 -3
- package/common.ts +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +320 -4
- package/dist/api.js +317 -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 +320 -4
- package/dist/esm/api.js +316 -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.25.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.24.0
|
|
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
|
|
@@ -157,6 +168,43 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
157
168
|
options: localVarRequestOptions,
|
|
158
169
|
};
|
|
159
170
|
}),
|
|
171
|
+
/**
|
|
172
|
+
* Create a new task in the workflow
|
|
173
|
+
* @summary Create Task
|
|
174
|
+
* @param {string} project Projects unique identifier
|
|
175
|
+
* @param {CreateTaskRequest} [createTaskRequest] Create a new task in the workflow
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
createTask: (project_1, createTaskRequest_1, ...args_1) => __awaiter(this, [project_1, createTaskRequest_1, ...args_1], void 0, function* (project, createTaskRequest, options = {}) {
|
|
180
|
+
// verify required parameter 'project' is not null or undefined
|
|
181
|
+
assertParamExists('createTask', 'project', project);
|
|
182
|
+
const localVarPath = `/v1/projects/{project}/tasks`
|
|
183
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
184
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
185
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
186
|
+
let baseOptions;
|
|
187
|
+
if (configuration) {
|
|
188
|
+
baseOptions = configuration.baseOptions;
|
|
189
|
+
}
|
|
190
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
191
|
+
const localVarHeaderParameter = {};
|
|
192
|
+
const localVarQueryParameter = {};
|
|
193
|
+
// authentication session-oauth required
|
|
194
|
+
// oauth required
|
|
195
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
196
|
+
// authentication api-key required
|
|
197
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
198
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
199
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
200
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
201
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
202
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTaskRequest, localVarRequestOptions, configuration);
|
|
203
|
+
return {
|
|
204
|
+
url: toPathString(localVarUrlObj),
|
|
205
|
+
options: localVarRequestOptions,
|
|
206
|
+
};
|
|
207
|
+
}),
|
|
160
208
|
/**
|
|
161
209
|
* Delete an auth token for the project
|
|
162
210
|
* @summary Delete auth token
|
|
@@ -267,6 +315,44 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
267
315
|
options: localVarRequestOptions,
|
|
268
316
|
};
|
|
269
317
|
}),
|
|
318
|
+
/**
|
|
319
|
+
* Delete a task in the workflow
|
|
320
|
+
* @summary Delete Task
|
|
321
|
+
* @param {string} project Projects unique identifier
|
|
322
|
+
* @param {string} id The unique id of the task
|
|
323
|
+
* @param {*} [options] Override http request option.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
*/
|
|
326
|
+
deleteTask: (project_1, id_1, ...args_1) => __awaiter(this, [project_1, id_1, ...args_1], void 0, function* (project, id, options = {}) {
|
|
327
|
+
// verify required parameter 'project' is not null or undefined
|
|
328
|
+
assertParamExists('deleteTask', 'project', project);
|
|
329
|
+
// verify required parameter 'id' is not null or undefined
|
|
330
|
+
assertParamExists('deleteTask', 'id', id);
|
|
331
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
332
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
333
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
335
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
336
|
+
let baseOptions;
|
|
337
|
+
if (configuration) {
|
|
338
|
+
baseOptions = configuration.baseOptions;
|
|
339
|
+
}
|
|
340
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
341
|
+
const localVarHeaderParameter = {};
|
|
342
|
+
const localVarQueryParameter = {};
|
|
343
|
+
// authentication session-oauth required
|
|
344
|
+
// oauth required
|
|
345
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
346
|
+
// authentication api-key required
|
|
347
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
348
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
349
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
350
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
351
|
+
return {
|
|
352
|
+
url: toPathString(localVarUrlObj),
|
|
353
|
+
options: localVarRequestOptions,
|
|
354
|
+
};
|
|
355
|
+
}),
|
|
270
356
|
/**
|
|
271
357
|
* Delete a project user by ID
|
|
272
358
|
* @summary Delete a user by ID
|
|
@@ -728,6 +814,40 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
728
814
|
options: localVarRequestOptions,
|
|
729
815
|
};
|
|
730
816
|
}),
|
|
817
|
+
/**
|
|
818
|
+
* List the tasks in the workflow
|
|
819
|
+
* @summary List Tasks
|
|
820
|
+
* @param {string} project Projects unique identifier
|
|
821
|
+
* @param {*} [options] Override http request option.
|
|
822
|
+
* @throws {RequiredError}
|
|
823
|
+
*/
|
|
824
|
+
listTasks: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
825
|
+
// verify required parameter 'project' is not null or undefined
|
|
826
|
+
assertParamExists('listTasks', 'project', project);
|
|
827
|
+
const localVarPath = `/v1/projects/{project}/tasks`
|
|
828
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
829
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
830
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
831
|
+
let baseOptions;
|
|
832
|
+
if (configuration) {
|
|
833
|
+
baseOptions = configuration.baseOptions;
|
|
834
|
+
}
|
|
835
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
836
|
+
const localVarHeaderParameter = {};
|
|
837
|
+
const localVarQueryParameter = {};
|
|
838
|
+
// authentication session-oauth required
|
|
839
|
+
// oauth required
|
|
840
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
841
|
+
// authentication api-key required
|
|
842
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
843
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
844
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
845
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
846
|
+
return {
|
|
847
|
+
url: toPathString(localVarUrlObj),
|
|
848
|
+
options: localVarRequestOptions,
|
|
849
|
+
};
|
|
850
|
+
}),
|
|
731
851
|
/**
|
|
732
852
|
* Setup an integration on the project
|
|
733
853
|
* @summary Setup integration
|
|
@@ -891,6 +1011,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
891
1011
|
options: localVarRequestOptions,
|
|
892
1012
|
};
|
|
893
1013
|
}),
|
|
1014
|
+
/**
|
|
1015
|
+
* Update a task in the workflow
|
|
1016
|
+
* @summary Update Task
|
|
1017
|
+
* @param {string} project Projects unique identifier
|
|
1018
|
+
* @param {string} id The unique id of the task
|
|
1019
|
+
* @param {UpdateTaskRequest} [updateTaskRequest] Update a task in the workflow
|
|
1020
|
+
* @param {*} [options] Override http request option.
|
|
1021
|
+
* @throws {RequiredError}
|
|
1022
|
+
*/
|
|
1023
|
+
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 = {}) {
|
|
1024
|
+
// verify required parameter 'project' is not null or undefined
|
|
1025
|
+
assertParamExists('updateTask', 'project', project);
|
|
1026
|
+
// verify required parameter 'id' is not null or undefined
|
|
1027
|
+
assertParamExists('updateTask', 'id', id);
|
|
1028
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
1029
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1030
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1032
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1033
|
+
let baseOptions;
|
|
1034
|
+
if (configuration) {
|
|
1035
|
+
baseOptions = configuration.baseOptions;
|
|
1036
|
+
}
|
|
1037
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1038
|
+
const localVarHeaderParameter = {};
|
|
1039
|
+
const localVarQueryParameter = {};
|
|
1040
|
+
// authentication session-oauth required
|
|
1041
|
+
// oauth required
|
|
1042
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1043
|
+
// authentication api-key required
|
|
1044
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1045
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1046
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1047
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1048
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1049
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTaskRequest, localVarRequestOptions, configuration);
|
|
1050
|
+
return {
|
|
1051
|
+
url: toPathString(localVarUrlObj),
|
|
1052
|
+
options: localVarRequestOptions,
|
|
1053
|
+
};
|
|
1054
|
+
}),
|
|
894
1055
|
};
|
|
895
1056
|
};
|
|
896
1057
|
/**
|
|
@@ -949,6 +1110,23 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
949
1110
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
950
1111
|
});
|
|
951
1112
|
},
|
|
1113
|
+
/**
|
|
1114
|
+
* Create a new task in the workflow
|
|
1115
|
+
* @summary Create Task
|
|
1116
|
+
* @param {string} project Projects unique identifier
|
|
1117
|
+
* @param {CreateTaskRequest} [createTaskRequest] Create a new task in the workflow
|
|
1118
|
+
* @param {*} [options] Override http request option.
|
|
1119
|
+
* @throws {RequiredError}
|
|
1120
|
+
*/
|
|
1121
|
+
createTask(project, createTaskRequest, options) {
|
|
1122
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1123
|
+
var _a, _b, _c;
|
|
1124
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createTask(project, createTaskRequest, options);
|
|
1125
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1126
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.createTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1127
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1128
|
+
});
|
|
1129
|
+
},
|
|
952
1130
|
/**
|
|
953
1131
|
* Delete an auth token for the project
|
|
954
1132
|
* @summary Delete auth token
|
|
@@ -999,6 +1177,23 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
999
1177
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1000
1178
|
});
|
|
1001
1179
|
},
|
|
1180
|
+
/**
|
|
1181
|
+
* Delete a task in the workflow
|
|
1182
|
+
* @summary Delete Task
|
|
1183
|
+
* @param {string} project Projects unique identifier
|
|
1184
|
+
* @param {string} id The unique id of the task
|
|
1185
|
+
* @param {*} [options] Override http request option.
|
|
1186
|
+
* @throws {RequiredError}
|
|
1187
|
+
*/
|
|
1188
|
+
deleteTask(project, id, options) {
|
|
1189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1190
|
+
var _a, _b, _c;
|
|
1191
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTask(project, id, options);
|
|
1192
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1193
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.deleteTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1194
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1195
|
+
});
|
|
1196
|
+
},
|
|
1002
1197
|
/**
|
|
1003
1198
|
* Delete a project user by ID
|
|
1004
1199
|
* @summary Delete a user by ID
|
|
@@ -1204,6 +1399,22 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1204
1399
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1205
1400
|
});
|
|
1206
1401
|
},
|
|
1402
|
+
/**
|
|
1403
|
+
* List the tasks in the workflow
|
|
1404
|
+
* @summary List Tasks
|
|
1405
|
+
* @param {string} project Projects unique identifier
|
|
1406
|
+
* @param {*} [options] Override http request option.
|
|
1407
|
+
* @throws {RequiredError}
|
|
1408
|
+
*/
|
|
1409
|
+
listTasks(project, options) {
|
|
1410
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1411
|
+
var _a, _b, _c;
|
|
1412
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTasks(project, options);
|
|
1413
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1414
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.listTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1415
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1416
|
+
});
|
|
1417
|
+
},
|
|
1207
1418
|
/**
|
|
1208
1419
|
* Setup an integration on the project
|
|
1209
1420
|
* @summary Setup integration
|
|
@@ -1274,6 +1485,24 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1274
1485
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1275
1486
|
});
|
|
1276
1487
|
},
|
|
1488
|
+
/**
|
|
1489
|
+
* Update a task in the workflow
|
|
1490
|
+
* @summary Update Task
|
|
1491
|
+
* @param {string} project Projects unique identifier
|
|
1492
|
+
* @param {string} id The unique id of the task
|
|
1493
|
+
* @param {UpdateTaskRequest} [updateTaskRequest] Update a task in the workflow
|
|
1494
|
+
* @param {*} [options] Override http request option.
|
|
1495
|
+
* @throws {RequiredError}
|
|
1496
|
+
*/
|
|
1497
|
+
updateTask(project, id, updateTaskRequest, options) {
|
|
1498
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1499
|
+
var _a, _b, _c;
|
|
1500
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTask(project, id, updateTaskRequest, options);
|
|
1501
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1502
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.updateTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1503
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1504
|
+
});
|
|
1505
|
+
},
|
|
1277
1506
|
};
|
|
1278
1507
|
};
|
|
1279
1508
|
/**
|
|
@@ -1313,6 +1542,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1313
1542
|
createProject(requestParameters, options) {
|
|
1314
1543
|
return localVarFp.createProject(requestParameters.createProjectRequest, options).then((request) => request(axios, basePath));
|
|
1315
1544
|
},
|
|
1545
|
+
/**
|
|
1546
|
+
* Create a new task in the workflow
|
|
1547
|
+
* @summary Create Task
|
|
1548
|
+
* @param {ProjectsApiCreateTaskRequest} requestParameters Request parameters.
|
|
1549
|
+
* @param {*} [options] Override http request option.
|
|
1550
|
+
* @throws {RequiredError}
|
|
1551
|
+
*/
|
|
1552
|
+
createTask(requestParameters, options) {
|
|
1553
|
+
return localVarFp.createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(axios, basePath));
|
|
1554
|
+
},
|
|
1316
1555
|
/**
|
|
1317
1556
|
* Delete an auth token for the project
|
|
1318
1557
|
* @summary Delete auth token
|
|
@@ -1343,6 +1582,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1343
1582
|
deleteProject(requestParameters, options) {
|
|
1344
1583
|
return localVarFp.deleteProject(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1345
1584
|
},
|
|
1585
|
+
/**
|
|
1586
|
+
* Delete a task in the workflow
|
|
1587
|
+
* @summary Delete Task
|
|
1588
|
+
* @param {ProjectsApiDeleteTaskRequest} requestParameters Request parameters.
|
|
1589
|
+
* @param {*} [options] Override http request option.
|
|
1590
|
+
* @throws {RequiredError}
|
|
1591
|
+
*/
|
|
1592
|
+
deleteTask(requestParameters, options) {
|
|
1593
|
+
return localVarFp.deleteTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1594
|
+
},
|
|
1346
1595
|
/**
|
|
1347
1596
|
* Delete a project user by ID
|
|
1348
1597
|
* @summary Delete a user by ID
|
|
@@ -1463,6 +1712,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1463
1712
|
installTemplate(requestParameters, options) {
|
|
1464
1713
|
return localVarFp.installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(axios, basePath));
|
|
1465
1714
|
},
|
|
1715
|
+
/**
|
|
1716
|
+
* List the tasks in the workflow
|
|
1717
|
+
* @summary List Tasks
|
|
1718
|
+
* @param {ProjectsApiListTasksRequest} requestParameters Request parameters.
|
|
1719
|
+
* @param {*} [options] Override http request option.
|
|
1720
|
+
* @throws {RequiredError}
|
|
1721
|
+
*/
|
|
1722
|
+
listTasks(requestParameters, options) {
|
|
1723
|
+
return localVarFp.listTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1724
|
+
},
|
|
1466
1725
|
/**
|
|
1467
1726
|
* Setup an integration on the project
|
|
1468
1727
|
* @summary Setup integration
|
|
@@ -1503,6 +1762,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1503
1762
|
updateProject(requestParameters, options) {
|
|
1504
1763
|
return localVarFp.updateProject(requestParameters.project, requestParameters.updateProjectRequest, options).then((request) => request(axios, basePath));
|
|
1505
1764
|
},
|
|
1765
|
+
/**
|
|
1766
|
+
* Update a task in the workflow
|
|
1767
|
+
* @summary Update Task
|
|
1768
|
+
* @param {ProjectsApiUpdateTaskRequest} requestParameters Request parameters.
|
|
1769
|
+
* @param {*} [options] Override http request option.
|
|
1770
|
+
* @throws {RequiredError}
|
|
1771
|
+
*/
|
|
1772
|
+
updateTask(requestParameters, options) {
|
|
1773
|
+
return localVarFp.updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(axios, basePath));
|
|
1774
|
+
},
|
|
1506
1775
|
};
|
|
1507
1776
|
};
|
|
1508
1777
|
/**
|
|
@@ -1545,6 +1814,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1545
1814
|
createProject(requestParameters, options) {
|
|
1546
1815
|
return ProjectsApiFp(this.configuration).createProject(requestParameters.createProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1547
1816
|
}
|
|
1817
|
+
/**
|
|
1818
|
+
* Create a new task in the workflow
|
|
1819
|
+
* @summary Create Task
|
|
1820
|
+
* @param {ProjectsApiCreateTaskRequest} requestParameters Request parameters.
|
|
1821
|
+
* @param {*} [options] Override http request option.
|
|
1822
|
+
* @throws {RequiredError}
|
|
1823
|
+
* @memberof ProjectsApi
|
|
1824
|
+
*/
|
|
1825
|
+
createTask(requestParameters, options) {
|
|
1826
|
+
return ProjectsApiFp(this.configuration).createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1827
|
+
}
|
|
1548
1828
|
/**
|
|
1549
1829
|
* Delete an auth token for the project
|
|
1550
1830
|
* @summary Delete auth token
|
|
@@ -1578,6 +1858,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1578
1858
|
deleteProject(requestParameters, options) {
|
|
1579
1859
|
return ProjectsApiFp(this.configuration).deleteProject(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1580
1860
|
}
|
|
1861
|
+
/**
|
|
1862
|
+
* Delete a task in the workflow
|
|
1863
|
+
* @summary Delete Task
|
|
1864
|
+
* @param {ProjectsApiDeleteTaskRequest} requestParameters Request parameters.
|
|
1865
|
+
* @param {*} [options] Override http request option.
|
|
1866
|
+
* @throws {RequiredError}
|
|
1867
|
+
* @memberof ProjectsApi
|
|
1868
|
+
*/
|
|
1869
|
+
deleteTask(requestParameters, options) {
|
|
1870
|
+
return ProjectsApiFp(this.configuration).deleteTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1871
|
+
}
|
|
1581
1872
|
/**
|
|
1582
1873
|
* Delete a project user by ID
|
|
1583
1874
|
* @summary Delete a user by ID
|
|
@@ -1710,6 +2001,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1710
2001
|
installTemplate(requestParameters, options) {
|
|
1711
2002
|
return ProjectsApiFp(this.configuration).installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1712
2003
|
}
|
|
2004
|
+
/**
|
|
2005
|
+
* List the tasks in the workflow
|
|
2006
|
+
* @summary List Tasks
|
|
2007
|
+
* @param {ProjectsApiListTasksRequest} requestParameters Request parameters.
|
|
2008
|
+
* @param {*} [options] Override http request option.
|
|
2009
|
+
* @throws {RequiredError}
|
|
2010
|
+
* @memberof ProjectsApi
|
|
2011
|
+
*/
|
|
2012
|
+
listTasks(requestParameters, options) {
|
|
2013
|
+
return ProjectsApiFp(this.configuration).listTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2014
|
+
}
|
|
1713
2015
|
/**
|
|
1714
2016
|
* Setup an integration on the project
|
|
1715
2017
|
* @summary Setup integration
|
|
@@ -1754,4 +2056,15 @@ export class ProjectsApi extends BaseAPI {
|
|
|
1754
2056
|
updateProject(requestParameters, options) {
|
|
1755
2057
|
return ProjectsApiFp(this.configuration).updateProject(requestParameters.project, requestParameters.updateProjectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1756
2058
|
}
|
|
2059
|
+
/**
|
|
2060
|
+
* Update a task in the workflow
|
|
2061
|
+
* @summary Update Task
|
|
2062
|
+
* @param {ProjectsApiUpdateTaskRequest} requestParameters Request parameters.
|
|
2063
|
+
* @param {*} [options] Override http request option.
|
|
2064
|
+
* @throws {RequiredError}
|
|
2065
|
+
* @memberof ProjectsApi
|
|
2066
|
+
*/
|
|
2067
|
+
updateTask(requestParameters, options) {
|
|
2068
|
+
return ProjectsApiFp(this.configuration).updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2069
|
+
}
|
|
1757
2070
|
}
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Projects API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Projects
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.25.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.24.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/esm/base.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.25.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.24.0
|
|
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
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Projects API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Projects
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.25.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.24.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/esm/common.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.25.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.24.0
|
|
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
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Projects API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Projects
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.25.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.24.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -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.25.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.24.0
|
|
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
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Projects API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Projects
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.25.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.24.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/esm/index.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.25.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.24.0
|
|
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
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Projects API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Projects
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.25.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.24.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/index.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.25.0
|
|
7
9
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.24.0
|
|
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
|
package/index.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Projects API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Projects
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 1.25.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|