@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/dist/api.js CHANGED
@@ -3,10 +3,10 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Projects API
6
- * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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
@@ -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
@@ -160,6 +171,43 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
160
171
  options: localVarRequestOptions,
161
172
  };
162
173
  }),
174
+ /**
175
+ * Create a new task in the workflow
176
+ * @summary Create Task
177
+ * @param {string} project Projects unique identifier
178
+ * @param {CreateTaskRequest} [createTaskRequest] Create a new task in the workflow
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ createTask: (project_1, createTaskRequest_1, ...args_1) => __awaiter(this, [project_1, createTaskRequest_1, ...args_1], void 0, function* (project, createTaskRequest, options = {}) {
183
+ // verify required parameter 'project' is not null or undefined
184
+ (0, common_1.assertParamExists)('createTask', 'project', project);
185
+ const localVarPath = `/v1/projects/{project}/tasks`
186
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
187
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
188
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
189
+ let baseOptions;
190
+ if (configuration) {
191
+ baseOptions = configuration.baseOptions;
192
+ }
193
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
194
+ const localVarHeaderParameter = {};
195
+ const localVarQueryParameter = {};
196
+ // authentication session-oauth required
197
+ // oauth required
198
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
199
+ // authentication api-key required
200
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
201
+ localVarHeaderParameter['Content-Type'] = 'application/json';
202
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
203
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
204
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
205
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createTaskRequest, localVarRequestOptions, configuration);
206
+ return {
207
+ url: (0, common_1.toPathString)(localVarUrlObj),
208
+ options: localVarRequestOptions,
209
+ };
210
+ }),
163
211
  /**
164
212
  * Delete an auth token for the project
165
213
  * @summary Delete auth token
@@ -270,6 +318,44 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
270
318
  options: localVarRequestOptions,
271
319
  };
272
320
  }),
321
+ /**
322
+ * Delete a task in the workflow
323
+ * @summary Delete Task
324
+ * @param {string} project Projects unique identifier
325
+ * @param {string} id The unique id of the task
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ */
329
+ deleteTask: (project_1, id_1, ...args_1) => __awaiter(this, [project_1, id_1, ...args_1], void 0, function* (project, id, options = {}) {
330
+ // verify required parameter 'project' is not null or undefined
331
+ (0, common_1.assertParamExists)('deleteTask', 'project', project);
332
+ // verify required parameter 'id' is not null or undefined
333
+ (0, common_1.assertParamExists)('deleteTask', 'id', id);
334
+ const localVarPath = `/v1/projects/{project}/tasks/{id}`
335
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)))
336
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
337
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
338
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
339
+ let baseOptions;
340
+ if (configuration) {
341
+ baseOptions = configuration.baseOptions;
342
+ }
343
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
344
+ const localVarHeaderParameter = {};
345
+ const localVarQueryParameter = {};
346
+ // authentication session-oauth required
347
+ // oauth required
348
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
349
+ // authentication api-key required
350
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
351
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
352
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
353
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
354
+ return {
355
+ url: (0, common_1.toPathString)(localVarUrlObj),
356
+ options: localVarRequestOptions,
357
+ };
358
+ }),
273
359
  /**
274
360
  * Delete a project user by ID
275
361
  * @summary Delete a user by ID
@@ -731,6 +817,40 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
731
817
  options: localVarRequestOptions,
732
818
  };
733
819
  }),
820
+ /**
821
+ * List the tasks in the workflow
822
+ * @summary List Tasks
823
+ * @param {string} project Projects unique identifier
824
+ * @param {*} [options] Override http request option.
825
+ * @throws {RequiredError}
826
+ */
827
+ listTasks: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
828
+ // verify required parameter 'project' is not null or undefined
829
+ (0, common_1.assertParamExists)('listTasks', 'project', project);
830
+ const localVarPath = `/v1/projects/{project}/tasks`
831
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
832
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
833
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
834
+ let baseOptions;
835
+ if (configuration) {
836
+ baseOptions = configuration.baseOptions;
837
+ }
838
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
839
+ const localVarHeaderParameter = {};
840
+ const localVarQueryParameter = {};
841
+ // authentication session-oauth required
842
+ // oauth required
843
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
844
+ // authentication api-key required
845
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
846
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
847
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
848
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
849
+ return {
850
+ url: (0, common_1.toPathString)(localVarUrlObj),
851
+ options: localVarRequestOptions,
852
+ };
853
+ }),
734
854
  /**
735
855
  * Setup an integration on the project
736
856
  * @summary Setup integration
@@ -894,6 +1014,47 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
894
1014
  options: localVarRequestOptions,
895
1015
  };
896
1016
  }),
1017
+ /**
1018
+ * Update a task in the workflow
1019
+ * @summary Update Task
1020
+ * @param {string} project Projects unique identifier
1021
+ * @param {string} id The unique id of the task
1022
+ * @param {UpdateTaskRequest} [updateTaskRequest] Update a task in the workflow
1023
+ * @param {*} [options] Override http request option.
1024
+ * @throws {RequiredError}
1025
+ */
1026
+ 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 = {}) {
1027
+ // verify required parameter 'project' is not null or undefined
1028
+ (0, common_1.assertParamExists)('updateTask', 'project', project);
1029
+ // verify required parameter 'id' is not null or undefined
1030
+ (0, common_1.assertParamExists)('updateTask', 'id', id);
1031
+ const localVarPath = `/v1/projects/{project}/tasks/{id}`
1032
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)))
1033
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1034
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1035
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1036
+ let baseOptions;
1037
+ if (configuration) {
1038
+ baseOptions = configuration.baseOptions;
1039
+ }
1040
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
1041
+ const localVarHeaderParameter = {};
1042
+ const localVarQueryParameter = {};
1043
+ // authentication session-oauth required
1044
+ // oauth required
1045
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
1046
+ // authentication api-key required
1047
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1048
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1049
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1050
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1051
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1052
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateTaskRequest, localVarRequestOptions, configuration);
1053
+ return {
1054
+ url: (0, common_1.toPathString)(localVarUrlObj),
1055
+ options: localVarRequestOptions,
1056
+ };
1057
+ }),
897
1058
  };
898
1059
  };
899
1060
  exports.ProjectsApiAxiosParamCreator = ProjectsApiAxiosParamCreator;
@@ -953,6 +1114,23 @@ const ProjectsApiFp = function (configuration) {
953
1114
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
954
1115
  });
955
1116
  },
1117
+ /**
1118
+ * Create a new task in the workflow
1119
+ * @summary Create Task
1120
+ * @param {string} project Projects unique identifier
1121
+ * @param {CreateTaskRequest} [createTaskRequest] Create a new task in the workflow
1122
+ * @param {*} [options] Override http request option.
1123
+ * @throws {RequiredError}
1124
+ */
1125
+ createTask(project, createTaskRequest, options) {
1126
+ return __awaiter(this, void 0, void 0, function* () {
1127
+ var _a, _b, _c;
1128
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createTask(project, createTaskRequest, options);
1129
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1130
+ 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;
1131
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1132
+ });
1133
+ },
956
1134
  /**
957
1135
  * Delete an auth token for the project
958
1136
  * @summary Delete auth token
@@ -1003,6 +1181,23 @@ const ProjectsApiFp = function (configuration) {
1003
1181
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1004
1182
  });
1005
1183
  },
1184
+ /**
1185
+ * Delete a task in the workflow
1186
+ * @summary Delete Task
1187
+ * @param {string} project Projects unique identifier
1188
+ * @param {string} id The unique id of the task
1189
+ * @param {*} [options] Override http request option.
1190
+ * @throws {RequiredError}
1191
+ */
1192
+ deleteTask(project, id, options) {
1193
+ return __awaiter(this, void 0, void 0, function* () {
1194
+ var _a, _b, _c;
1195
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTask(project, id, options);
1196
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1197
+ 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;
1198
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1199
+ });
1200
+ },
1006
1201
  /**
1007
1202
  * Delete a project user by ID
1008
1203
  * @summary Delete a user by ID
@@ -1208,6 +1403,22 @@ const ProjectsApiFp = function (configuration) {
1208
1403
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1209
1404
  });
1210
1405
  },
1406
+ /**
1407
+ * List the tasks in the workflow
1408
+ * @summary List Tasks
1409
+ * @param {string} project Projects unique identifier
1410
+ * @param {*} [options] Override http request option.
1411
+ * @throws {RequiredError}
1412
+ */
1413
+ listTasks(project, options) {
1414
+ return __awaiter(this, void 0, void 0, function* () {
1415
+ var _a, _b, _c;
1416
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTasks(project, options);
1417
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1418
+ 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;
1419
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1420
+ });
1421
+ },
1211
1422
  /**
1212
1423
  * Setup an integration on the project
1213
1424
  * @summary Setup integration
@@ -1278,6 +1489,24 @@ const ProjectsApiFp = function (configuration) {
1278
1489
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1279
1490
  });
1280
1491
  },
1492
+ /**
1493
+ * Update a task in the workflow
1494
+ * @summary Update Task
1495
+ * @param {string} project Projects unique identifier
1496
+ * @param {string} id The unique id of the task
1497
+ * @param {UpdateTaskRequest} [updateTaskRequest] Update a task in the workflow
1498
+ * @param {*} [options] Override http request option.
1499
+ * @throws {RequiredError}
1500
+ */
1501
+ updateTask(project, id, updateTaskRequest, options) {
1502
+ return __awaiter(this, void 0, void 0, function* () {
1503
+ var _a, _b, _c;
1504
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTask(project, id, updateTaskRequest, options);
1505
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1506
+ 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;
1507
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1508
+ });
1509
+ },
1281
1510
  };
1282
1511
  };
1283
1512
  exports.ProjectsApiFp = ProjectsApiFp;
@@ -1318,6 +1547,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
1318
1547
  createProject(requestParameters, options) {
1319
1548
  return localVarFp.createProject(requestParameters.createProjectRequest, options).then((request) => request(axios, basePath));
1320
1549
  },
1550
+ /**
1551
+ * Create a new task in the workflow
1552
+ * @summary Create Task
1553
+ * @param {ProjectsApiCreateTaskRequest} requestParameters Request parameters.
1554
+ * @param {*} [options] Override http request option.
1555
+ * @throws {RequiredError}
1556
+ */
1557
+ createTask(requestParameters, options) {
1558
+ return localVarFp.createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(axios, basePath));
1559
+ },
1321
1560
  /**
1322
1561
  * Delete an auth token for the project
1323
1562
  * @summary Delete auth token
@@ -1348,6 +1587,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
1348
1587
  deleteProject(requestParameters, options) {
1349
1588
  return localVarFp.deleteProject(requestParameters.project, options).then((request) => request(axios, basePath));
1350
1589
  },
1590
+ /**
1591
+ * Delete a task in the workflow
1592
+ * @summary Delete Task
1593
+ * @param {ProjectsApiDeleteTaskRequest} requestParameters Request parameters.
1594
+ * @param {*} [options] Override http request option.
1595
+ * @throws {RequiredError}
1596
+ */
1597
+ deleteTask(requestParameters, options) {
1598
+ return localVarFp.deleteTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
1599
+ },
1351
1600
  /**
1352
1601
  * Delete a project user by ID
1353
1602
  * @summary Delete a user by ID
@@ -1468,6 +1717,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
1468
1717
  installTemplate(requestParameters, options) {
1469
1718
  return localVarFp.installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(axios, basePath));
1470
1719
  },
1720
+ /**
1721
+ * List the tasks in the workflow
1722
+ * @summary List Tasks
1723
+ * @param {ProjectsApiListTasksRequest} requestParameters Request parameters.
1724
+ * @param {*} [options] Override http request option.
1725
+ * @throws {RequiredError}
1726
+ */
1727
+ listTasks(requestParameters, options) {
1728
+ return localVarFp.listTasks(requestParameters.project, options).then((request) => request(axios, basePath));
1729
+ },
1471
1730
  /**
1472
1731
  * Setup an integration on the project
1473
1732
  * @summary Setup integration
@@ -1508,6 +1767,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
1508
1767
  updateProject(requestParameters, options) {
1509
1768
  return localVarFp.updateProject(requestParameters.project, requestParameters.updateProjectRequest, options).then((request) => request(axios, basePath));
1510
1769
  },
1770
+ /**
1771
+ * Update a task in the workflow
1772
+ * @summary Update Task
1773
+ * @param {ProjectsApiUpdateTaskRequest} requestParameters Request parameters.
1774
+ * @param {*} [options] Override http request option.
1775
+ * @throws {RequiredError}
1776
+ */
1777
+ updateTask(requestParameters, options) {
1778
+ return localVarFp.updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(axios, basePath));
1779
+ },
1511
1780
  };
1512
1781
  };
1513
1782
  exports.ProjectsApiFactory = ProjectsApiFactory;
@@ -1551,6 +1820,17 @@ class ProjectsApi extends base_1.BaseAPI {
1551
1820
  createProject(requestParameters, options) {
1552
1821
  return (0, exports.ProjectsApiFp)(this.configuration).createProject(requestParameters.createProjectRequest, options).then((request) => request(this.axios, this.basePath));
1553
1822
  }
1823
+ /**
1824
+ * Create a new task in the workflow
1825
+ * @summary Create Task
1826
+ * @param {ProjectsApiCreateTaskRequest} requestParameters Request parameters.
1827
+ * @param {*} [options] Override http request option.
1828
+ * @throws {RequiredError}
1829
+ * @memberof ProjectsApi
1830
+ */
1831
+ createTask(requestParameters, options) {
1832
+ return (0, exports.ProjectsApiFp)(this.configuration).createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(this.axios, this.basePath));
1833
+ }
1554
1834
  /**
1555
1835
  * Delete an auth token for the project
1556
1836
  * @summary Delete auth token
@@ -1584,6 +1864,17 @@ class ProjectsApi extends base_1.BaseAPI {
1584
1864
  deleteProject(requestParameters, options) {
1585
1865
  return (0, exports.ProjectsApiFp)(this.configuration).deleteProject(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1586
1866
  }
1867
+ /**
1868
+ * Delete a task in the workflow
1869
+ * @summary Delete Task
1870
+ * @param {ProjectsApiDeleteTaskRequest} requestParameters Request parameters.
1871
+ * @param {*} [options] Override http request option.
1872
+ * @throws {RequiredError}
1873
+ * @memberof ProjectsApi
1874
+ */
1875
+ deleteTask(requestParameters, options) {
1876
+ return (0, exports.ProjectsApiFp)(this.configuration).deleteTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
1877
+ }
1587
1878
  /**
1588
1879
  * Delete a project user by ID
1589
1880
  * @summary Delete a user by ID
@@ -1716,6 +2007,17 @@ class ProjectsApi extends base_1.BaseAPI {
1716
2007
  installTemplate(requestParameters, options) {
1717
2008
  return (0, exports.ProjectsApiFp)(this.configuration).installTemplate(requestParameters.project, requestParameters.template, requestParameters.installTemplateRequest, options).then((request) => request(this.axios, this.basePath));
1718
2009
  }
2010
+ /**
2011
+ * List the tasks in the workflow
2012
+ * @summary List Tasks
2013
+ * @param {ProjectsApiListTasksRequest} requestParameters Request parameters.
2014
+ * @param {*} [options] Override http request option.
2015
+ * @throws {RequiredError}
2016
+ * @memberof ProjectsApi
2017
+ */
2018
+ listTasks(requestParameters, options) {
2019
+ return (0, exports.ProjectsApiFp)(this.configuration).listTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2020
+ }
1719
2021
  /**
1720
2022
  * Setup an integration on the project
1721
2023
  * @summary Setup integration
@@ -1760,5 +2062,16 @@ class ProjectsApi extends base_1.BaseAPI {
1760
2062
  updateProject(requestParameters, options) {
1761
2063
  return (0, exports.ProjectsApiFp)(this.configuration).updateProject(requestParameters.project, requestParameters.updateProjectRequest, options).then((request) => request(this.axios, this.basePath));
1762
2064
  }
2065
+ /**
2066
+ * Update a task in the workflow
2067
+ * @summary Update Task
2068
+ * @param {ProjectsApiUpdateTaskRequest} requestParameters Request parameters.
2069
+ * @param {*} [options] Override http request option.
2070
+ * @throws {RequiredError}
2071
+ * @memberof ProjectsApi
2072
+ */
2073
+ updateTask(requestParameters, options) {
2074
+ return (0, exports.ProjectsApiFp)(this.configuration).updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(this.axios, this.basePath));
2075
+ }
1763
2076
  }
1764
2077
  exports.ProjectsApi = ProjectsApi;
package/dist/base.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Projects API
3
- * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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/base.js CHANGED
@@ -3,10 +3,10 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Projects API
6
- * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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/dist/common.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Projects API
3
- * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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/common.js CHANGED
@@ -3,10 +3,10 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Projects API
6
- * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Projects API
3
- * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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
@@ -3,10 +3,10 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Projects API
6
- * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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