@teemill/projects 1.33.0 → 1.36.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
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage PodOS Projects
7
7
  *
8
- * The version of the OpenAPI document: 1.33.0
8
+ * The version of the OpenAPI document: 1.36.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -471,6 +471,40 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
471
471
  options: localVarRequestOptions,
472
472
  };
473
473
  }),
474
+ /**
475
+ * Export all the tasks in the workflow
476
+ * @summary Export all tasks
477
+ * @param {string} project Projects unique identifier
478
+ * @param {*} [options] Override http request option.
479
+ * @throws {RequiredError}
480
+ */
481
+ exportTasks: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
482
+ // verify required parameter 'project' is not null or undefined
483
+ (0, common_1.assertParamExists)('exportTasks', 'project', project);
484
+ const localVarPath = `/v1/projects/{project}/tasks/export`
485
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
486
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
487
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
488
+ let baseOptions;
489
+ if (configuration) {
490
+ baseOptions = configuration.baseOptions;
491
+ }
492
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
493
+ const localVarHeaderParameter = {};
494
+ const localVarQueryParameter = {};
495
+ // authentication session-oauth required
496
+ // oauth required
497
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
498
+ // authentication api-key required
499
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
500
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
501
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
502
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
503
+ return {
504
+ url: (0, common_1.toPathString)(localVarUrlObj),
505
+ options: localVarRequestOptions,
506
+ };
507
+ }),
474
508
  /**
475
509
  * Lists the auth tokens for the project
476
510
  * @summary List auth tokens
@@ -966,6 +1000,40 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
966
1000
  options: localVarRequestOptions,
967
1001
  };
968
1002
  }),
1003
+ /**
1004
+ * List the bookmark tabs in the project
1005
+ * @summary List bookmark tabs
1006
+ * @param {string} project Projects unique identifier
1007
+ * @param {*} [options] Override http request option.
1008
+ * @throws {RequiredError}
1009
+ */
1010
+ listBookmarktabs: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
1011
+ // verify required parameter 'project' is not null or undefined
1012
+ (0, common_1.assertParamExists)('listBookmarktabs', 'project', project);
1013
+ const localVarPath = `/v1/projects/{project}/bookmarktabs`
1014
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
1015
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1016
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1017
+ let baseOptions;
1018
+ if (configuration) {
1019
+ baseOptions = configuration.baseOptions;
1020
+ }
1021
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1022
+ const localVarHeaderParameter = {};
1023
+ const localVarQueryParameter = {};
1024
+ // authentication session-oauth required
1025
+ // oauth required
1026
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
1027
+ // authentication api-key required
1028
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1029
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1030
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1031
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1032
+ return {
1033
+ url: (0, common_1.toPathString)(localVarUrlObj),
1034
+ options: localVarRequestOptions,
1035
+ };
1036
+ }),
969
1037
  /**
970
1038
  * List the tasks in the workflow
971
1039
  * @summary List Tasks
@@ -1124,6 +1192,45 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
1124
1192
  options: localVarRequestOptions,
1125
1193
  };
1126
1194
  }),
1195
+ /**
1196
+ * Update bookmark tabs
1197
+ * @summary Update bookmark tabs
1198
+ * @param {string} project Projects unique identifier
1199
+ * @param {UpdateBookmarkTabsRequest} updateBookmarkTabsRequest Update a bookmark tab in the project
1200
+ * @param {*} [options] Override http request option.
1201
+ * @throws {RequiredError}
1202
+ */
1203
+ updateBookmarkTabs: (project_1, updateBookmarkTabsRequest_1, ...args_1) => __awaiter(this, [project_1, updateBookmarkTabsRequest_1, ...args_1], void 0, function* (project, updateBookmarkTabsRequest, options = {}) {
1204
+ // verify required parameter 'project' is not null or undefined
1205
+ (0, common_1.assertParamExists)('updateBookmarkTabs', 'project', project);
1206
+ // verify required parameter 'updateBookmarkTabsRequest' is not null or undefined
1207
+ (0, common_1.assertParamExists)('updateBookmarkTabs', 'updateBookmarkTabsRequest', updateBookmarkTabsRequest);
1208
+ const localVarPath = `/v1/projects/{project}/bookmarktabs`
1209
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
1210
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1211
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1212
+ let baseOptions;
1213
+ if (configuration) {
1214
+ baseOptions = configuration.baseOptions;
1215
+ }
1216
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1217
+ const localVarHeaderParameter = {};
1218
+ const localVarQueryParameter = {};
1219
+ // authentication session-oauth required
1220
+ // oauth required
1221
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
1222
+ // authentication api-key required
1223
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1224
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1225
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1226
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1227
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1228
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateBookmarkTabsRequest, localVarRequestOptions, configuration);
1229
+ return {
1230
+ url: (0, common_1.toPathString)(localVarUrlObj),
1231
+ options: localVarRequestOptions,
1232
+ };
1233
+ }),
1127
1234
  /**
1128
1235
  * Update an integration on the project
1129
1236
  * @summary Update integration
@@ -1441,6 +1548,22 @@ const ProjectsApiFp = function (configuration) {
1441
1548
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1442
1549
  });
1443
1550
  },
1551
+ /**
1552
+ * Export all the tasks in the workflow
1553
+ * @summary Export all tasks
1554
+ * @param {string} project Projects unique identifier
1555
+ * @param {*} [options] Override http request option.
1556
+ * @throws {RequiredError}
1557
+ */
1558
+ exportTasks(project, options) {
1559
+ return __awaiter(this, void 0, void 0, function* () {
1560
+ var _a, _b, _c;
1561
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportTasks(project, options);
1562
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1563
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.exportTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1564
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1565
+ });
1566
+ },
1444
1567
  /**
1445
1568
  * Lists the auth tokens for the project
1446
1569
  * @summary List auth tokens
@@ -1662,6 +1785,22 @@ const ProjectsApiFp = function (configuration) {
1662
1785
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1663
1786
  });
1664
1787
  },
1788
+ /**
1789
+ * List the bookmark tabs in the project
1790
+ * @summary List bookmark tabs
1791
+ * @param {string} project Projects unique identifier
1792
+ * @param {*} [options] Override http request option.
1793
+ * @throws {RequiredError}
1794
+ */
1795
+ listBookmarktabs(project, options) {
1796
+ return __awaiter(this, void 0, void 0, function* () {
1797
+ var _a, _b, _c;
1798
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listBookmarktabs(project, options);
1799
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1800
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.listBookmarktabs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1801
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1802
+ });
1803
+ },
1665
1804
  /**
1666
1805
  * List the tasks in the workflow
1667
1806
  * @summary List Tasks
@@ -1731,6 +1870,23 @@ const ProjectsApiFp = function (configuration) {
1731
1870
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1732
1871
  });
1733
1872
  },
1873
+ /**
1874
+ * Update bookmark tabs
1875
+ * @summary Update bookmark tabs
1876
+ * @param {string} project Projects unique identifier
1877
+ * @param {UpdateBookmarkTabsRequest} updateBookmarkTabsRequest Update a bookmark tab in the project
1878
+ * @param {*} [options] Override http request option.
1879
+ * @throws {RequiredError}
1880
+ */
1881
+ updateBookmarkTabs(project, updateBookmarkTabsRequest, options) {
1882
+ return __awaiter(this, void 0, void 0, function* () {
1883
+ var _a, _b, _c;
1884
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBookmarkTabs(project, updateBookmarkTabsRequest, options);
1885
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1886
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.updateBookmarkTabs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1887
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1888
+ });
1889
+ },
1734
1890
  /**
1735
1891
  * Update an integration on the project
1736
1892
  * @summary Update integration
@@ -1904,6 +2060,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
1904
2060
  deleteUser(requestParameters, options) {
1905
2061
  return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
1906
2062
  },
2063
+ /**
2064
+ * Export all the tasks in the workflow
2065
+ * @summary Export all tasks
2066
+ * @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
2067
+ * @param {*} [options] Override http request option.
2068
+ * @throws {RequiredError}
2069
+ */
2070
+ exportTasks(requestParameters, options) {
2071
+ return localVarFp.exportTasks(requestParameters.project, options).then((request) => request(axios, basePath));
2072
+ },
1907
2073
  /**
1908
2074
  * Lists the auth tokens for the project
1909
2075
  * @summary List auth tokens
@@ -2034,6 +2200,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
2034
2200
  listBookmarks(requestParameters, options) {
2035
2201
  return localVarFp.listBookmarks(requestParameters.project, options).then((request) => request(axios, basePath));
2036
2202
  },
2203
+ /**
2204
+ * List the bookmark tabs in the project
2205
+ * @summary List bookmark tabs
2206
+ * @param {ProjectsApiListBookmarktabsRequest} requestParameters Request parameters.
2207
+ * @param {*} [options] Override http request option.
2208
+ * @throws {RequiredError}
2209
+ */
2210
+ listBookmarktabs(requestParameters, options) {
2211
+ return localVarFp.listBookmarktabs(requestParameters.project, options).then((request) => request(axios, basePath));
2212
+ },
2037
2213
  /**
2038
2214
  * List the tasks in the workflow
2039
2215
  * @summary List Tasks
@@ -2074,6 +2250,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
2074
2250
  updateBookmark(requestParameters, options) {
2075
2251
  return localVarFp.updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(axios, basePath));
2076
2252
  },
2253
+ /**
2254
+ * Update bookmark tabs
2255
+ * @summary Update bookmark tabs
2256
+ * @param {ProjectsApiUpdateBookmarkTabsRequest} requestParameters Request parameters.
2257
+ * @param {*} [options] Override http request option.
2258
+ * @throws {RequiredError}
2259
+ */
2260
+ updateBookmarkTabs(requestParameters, options) {
2261
+ return localVarFp.updateBookmarkTabs(requestParameters.project, requestParameters.updateBookmarkTabsRequest, options).then((request) => request(axios, basePath));
2262
+ },
2077
2263
  /**
2078
2264
  * Update an integration on the project
2079
2265
  * @summary Update integration
@@ -2235,6 +2421,17 @@ class ProjectsApi extends base_1.BaseAPI {
2235
2421
  deleteUser(requestParameters, options) {
2236
2422
  return (0, exports.ProjectsApiFp)(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
2237
2423
  }
2424
+ /**
2425
+ * Export all the tasks in the workflow
2426
+ * @summary Export all tasks
2427
+ * @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
2428
+ * @param {*} [options] Override http request option.
2429
+ * @throws {RequiredError}
2430
+ * @memberof ProjectsApi
2431
+ */
2432
+ exportTasks(requestParameters, options) {
2433
+ return (0, exports.ProjectsApiFp)(this.configuration).exportTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2434
+ }
2238
2435
  /**
2239
2436
  * Lists the auth tokens for the project
2240
2437
  * @summary List auth tokens
@@ -2378,6 +2575,17 @@ class ProjectsApi extends base_1.BaseAPI {
2378
2575
  listBookmarks(requestParameters, options) {
2379
2576
  return (0, exports.ProjectsApiFp)(this.configuration).listBookmarks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2380
2577
  }
2578
+ /**
2579
+ * List the bookmark tabs in the project
2580
+ * @summary List bookmark tabs
2581
+ * @param {ProjectsApiListBookmarktabsRequest} requestParameters Request parameters.
2582
+ * @param {*} [options] Override http request option.
2583
+ * @throws {RequiredError}
2584
+ * @memberof ProjectsApi
2585
+ */
2586
+ listBookmarktabs(requestParameters, options) {
2587
+ return (0, exports.ProjectsApiFp)(this.configuration).listBookmarktabs(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2588
+ }
2381
2589
  /**
2382
2590
  * List the tasks in the workflow
2383
2591
  * @summary List Tasks
@@ -2422,6 +2630,17 @@ class ProjectsApi extends base_1.BaseAPI {
2422
2630
  updateBookmark(requestParameters, options) {
2423
2631
  return (0, exports.ProjectsApiFp)(this.configuration).updateBookmark(requestParameters.project, requestParameters.id, requestParameters.updateBookmarkRequest, options).then((request) => request(this.axios, this.basePath));
2424
2632
  }
2633
+ /**
2634
+ * Update bookmark tabs
2635
+ * @summary Update bookmark tabs
2636
+ * @param {ProjectsApiUpdateBookmarkTabsRequest} requestParameters Request parameters.
2637
+ * @param {*} [options] Override http request option.
2638
+ * @throws {RequiredError}
2639
+ * @memberof ProjectsApi
2640
+ */
2641
+ updateBookmarkTabs(requestParameters, options) {
2642
+ return (0, exports.ProjectsApiFp)(this.configuration).updateBookmarkTabs(requestParameters.project, requestParameters.updateBookmarkTabsRequest, options).then((request) => request(this.axios, this.basePath));
2643
+ }
2425
2644
  /**
2426
2645
  * Update an integration on the project
2427
2646
  * @summary Update integration
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.33.0
5
+ * The version of the OpenAPI document: 1.36.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage PodOS Projects
7
7
  *
8
- * The version of the OpenAPI document: 1.33.0
8
+ * The version of the OpenAPI document: 1.36.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.33.0
5
+ * The version of the OpenAPI document: 1.36.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage PodOS Projects
7
7
  *
8
- * The version of the OpenAPI document: 1.33.0
8
+ * The version of the OpenAPI document: 1.36.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.33.0
5
+ * The version of the OpenAPI document: 1.36.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage PodOS Projects
7
7
  *
8
- * The version of the OpenAPI document: 1.33.0
8
+ * The version of the OpenAPI document: 1.36.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.accessToken = param.accessToken;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.33.0/typescript-axios" }) }, param.baseOptions);
26
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**