@teemill/projects 1.32.0 → 1.35.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.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.32.0
5
+ * The version of the OpenAPI document: 1.35.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -108,10 +108,10 @@ export interface Bookmark {
108
108
  'color': string | null;
109
109
  /**
110
110
  *
111
- * @type {Icon}
111
+ * @type {NullableIcon}
112
112
  * @memberof Bookmark
113
113
  */
114
- 'icon': Icon | null;
114
+ 'icon': NullableIcon | null;
115
115
  }
116
116
  /**
117
117
  * @type BookmarkData
@@ -292,6 +292,19 @@ export interface CreateTaskRequest {
292
292
  */
293
293
  'status': TaskStatus;
294
294
  }
295
+ /**
296
+ *
297
+ * @export
298
+ * @interface ExportTasks202Response
299
+ */
300
+ export interface ExportTasks202Response {
301
+ /**
302
+ * A message describing the export status
303
+ * @type {string}
304
+ * @memberof ExportTasks202Response
305
+ */
306
+ 'message'?: string;
307
+ }
295
308
  /**
296
309
  *
297
310
  * @export
@@ -401,10 +414,35 @@ export interface LegacyProjectLogo {
401
414
  export interface ListTasksResponse {
402
415
  /**
403
416
  *
404
- * @type {Array<Task>}
417
+ * @type {Array<TaskSummary>}
405
418
  * @memberof ListTasksResponse
406
419
  */
407
- 'tasks': Array<Task>;
420
+ 'tasks': Array<TaskSummary>;
421
+ }
422
+ /**
423
+ *
424
+ * @export
425
+ * @interface NullableIcon
426
+ */
427
+ export interface NullableIcon {
428
+ /**
429
+ *
430
+ * @type {string}
431
+ * @memberof NullableIcon
432
+ */
433
+ 'prefix': string;
434
+ /**
435
+ *
436
+ * @type {string}
437
+ * @memberof NullableIcon
438
+ */
439
+ 'iconName': string;
440
+ /**
441
+ *
442
+ * @type {Array<any>}
443
+ * @memberof NullableIcon
444
+ */
445
+ 'icon': Array<any>;
408
446
  }
409
447
  /**
410
448
  *
@@ -749,6 +787,12 @@ export interface Task {
749
787
  * @memberof Task
750
788
  */
751
789
  'estimatedHours': number | null;
790
+ /**
791
+ * The completion percentage of the task
792
+ * @type {number}
793
+ * @memberof Task
794
+ */
795
+ 'workProgress': number;
752
796
  /**
753
797
  * The unique id of the user who created the task
754
798
  * @type {string}
@@ -774,6 +818,61 @@ export declare const TaskStatus: {
774
818
  readonly Done: "done";
775
819
  };
776
820
  export type TaskStatus = typeof TaskStatus[keyof typeof TaskStatus];
821
+ /**
822
+ *
823
+ * @export
824
+ * @interface TaskSummary
825
+ */
826
+ export interface TaskSummary {
827
+ /**
828
+ *
829
+ * @type {string}
830
+ * @memberof TaskSummary
831
+ */
832
+ 'id': string;
833
+ /**
834
+ *
835
+ * @type {string}
836
+ * @memberof TaskSummary
837
+ */
838
+ 'content': string;
839
+ /**
840
+ *
841
+ * @type {TaskStatus}
842
+ * @memberof TaskSummary
843
+ */
844
+ 'status': TaskStatus;
845
+ /**
846
+ * The position of the task in its status group
847
+ * @type {number}
848
+ * @memberof TaskSummary
849
+ */
850
+ 'sortOrder': number;
851
+ /**
852
+ * The unique id of the user who owns the task
853
+ * @type {string}
854
+ * @memberof TaskSummary
855
+ */
856
+ 'owner': string | null;
857
+ /**
858
+ * The estimated hours to complete the task
859
+ * @type {number}
860
+ * @memberof TaskSummary
861
+ */
862
+ 'estimatedHours': number | null;
863
+ /**
864
+ * The completion percentage of the task
865
+ * @type {number}
866
+ * @memberof TaskSummary
867
+ */
868
+ 'workProgress': number;
869
+ /**
870
+ *
871
+ * @type {string}
872
+ * @memberof TaskSummary
873
+ */
874
+ 'createdAt': string;
875
+ }
777
876
  /**
778
877
  *
779
878
  * @export
@@ -948,6 +1047,12 @@ export interface UpdateTaskRequest {
948
1047
  * @memberof UpdateTaskRequest
949
1048
  */
950
1049
  'estimatedHours'?: number | null;
1050
+ /**
1051
+ * The completion percentage of the task
1052
+ * @type {number}
1053
+ * @memberof UpdateTaskRequest
1054
+ */
1055
+ 'workProgress'?: number;
951
1056
  }
952
1057
  /**
953
1058
  * ProjectsApi - axios parameter creator
@@ -1050,6 +1155,14 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
1050
1155
  * @throws {RequiredError}
1051
1156
  */
1052
1157
  deleteUser: (project: string, user: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1158
+ /**
1159
+ * Export all the tasks in the workflow
1160
+ * @summary Export all tasks
1161
+ * @param {string} project Projects unique identifier
1162
+ * @param {*} [options] Override http request option.
1163
+ * @throws {RequiredError}
1164
+ */
1165
+ exportTasks: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1053
1166
  /**
1054
1167
  * Lists the auth tokens for the project
1055
1168
  * @summary List auth tokens
@@ -1103,6 +1216,15 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
1103
1216
  * @throws {RequiredError}
1104
1217
  */
1105
1218
  getProjects: (project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1219
+ /**
1220
+ * Get a task in the workflow
1221
+ * @summary Get Task
1222
+ * @param {string} project Projects unique identifier
1223
+ * @param {string} id The unique id of the task
1224
+ * @param {*} [options] Override http request option.
1225
+ * @throws {RequiredError}
1226
+ */
1227
+ getTask: (project: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1106
1228
  /**
1107
1229
  * List all templates available
1108
1230
  * @summary List templates
@@ -1326,6 +1448,14 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
1326
1448
  * @throws {RequiredError}
1327
1449
  */
1328
1450
  deleteUser(project: string, user: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1451
+ /**
1452
+ * Export all the tasks in the workflow
1453
+ * @summary Export all tasks
1454
+ * @param {string} project Projects unique identifier
1455
+ * @param {*} [options] Override http request option.
1456
+ * @throws {RequiredError}
1457
+ */
1458
+ exportTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
1329
1459
  /**
1330
1460
  * Lists the auth tokens for the project
1331
1461
  * @summary List auth tokens
@@ -1379,6 +1509,15 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
1379
1509
  * @throws {RequiredError}
1380
1510
  */
1381
1511
  getProjects(project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>>;
1512
+ /**
1513
+ * Get a task in the workflow
1514
+ * @summary Get Task
1515
+ * @param {string} project Projects unique identifier
1516
+ * @param {string} id The unique id of the task
1517
+ * @param {*} [options] Override http request option.
1518
+ * @throws {RequiredError}
1519
+ */
1520
+ getTask(project: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>>;
1382
1521
  /**
1383
1522
  * List all templates available
1384
1523
  * @summary List templates
@@ -1594,6 +1733,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
1594
1733
  * @throws {RequiredError}
1595
1734
  */
1596
1735
  deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1736
+ /**
1737
+ * Export all the tasks in the workflow
1738
+ * @summary Export all tasks
1739
+ * @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
1740
+ * @param {*} [options] Override http request option.
1741
+ * @throws {RequiredError}
1742
+ */
1743
+ exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
1597
1744
  /**
1598
1745
  * Lists the auth tokens for the project
1599
1746
  * @summary List auth tokens
@@ -1642,6 +1789,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
1642
1789
  * @throws {RequiredError}
1643
1790
  */
1644
1791
  getProjects(requestParameters?: ProjectsApiGetProjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse>;
1792
+ /**
1793
+ * Get a task in the workflow
1794
+ * @summary Get Task
1795
+ * @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
1796
+ * @param {*} [options] Override http request option.
1797
+ * @throws {RequiredError}
1798
+ */
1799
+ getTask(requestParameters: ProjectsApiGetTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task>;
1645
1800
  /**
1646
1801
  * List all templates available
1647
1802
  * @summary List templates
@@ -1938,6 +2093,19 @@ export interface ProjectsApiDeleteUserRequest {
1938
2093
  */
1939
2094
  readonly user: string;
1940
2095
  }
2096
+ /**
2097
+ * Request parameters for exportTasks operation in ProjectsApi.
2098
+ * @export
2099
+ * @interface ProjectsApiExportTasksRequest
2100
+ */
2101
+ export interface ProjectsApiExportTasksRequest {
2102
+ /**
2103
+ * Projects unique identifier
2104
+ * @type {string}
2105
+ * @memberof ProjectsApiExportTasks
2106
+ */
2107
+ readonly project: string;
2108
+ }
1941
2109
  /**
1942
2110
  * Request parameters for getAuth operation in ProjectsApi.
1943
2111
  * @export
@@ -2046,6 +2214,25 @@ export interface ProjectsApiGetProjectsRequest {
2046
2214
  */
2047
2215
  readonly project?: string;
2048
2216
  }
2217
+ /**
2218
+ * Request parameters for getTask operation in ProjectsApi.
2219
+ * @export
2220
+ * @interface ProjectsApiGetTaskRequest
2221
+ */
2222
+ export interface ProjectsApiGetTaskRequest {
2223
+ /**
2224
+ * Projects unique identifier
2225
+ * @type {string}
2226
+ * @memberof ProjectsApiGetTask
2227
+ */
2228
+ readonly project: string;
2229
+ /**
2230
+ * The unique id of the task
2231
+ * @type {string}
2232
+ * @memberof ProjectsApiGetTask
2233
+ */
2234
+ readonly id: string;
2235
+ }
2049
2236
  /**
2050
2237
  * Request parameters for getTemplates operation in ProjectsApi.
2051
2238
  * @export
@@ -2423,6 +2610,15 @@ export declare class ProjectsApi extends BaseAPI {
2423
2610
  * @memberof ProjectsApi
2424
2611
  */
2425
2612
  deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2613
+ /**
2614
+ * Export all the tasks in the workflow
2615
+ * @summary Export all tasks
2616
+ * @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
2617
+ * @param {*} [options] Override http request option.
2618
+ * @throws {RequiredError}
2619
+ * @memberof ProjectsApi
2620
+ */
2621
+ exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
2426
2622
  /**
2427
2623
  * Lists the auth tokens for the project
2428
2624
  * @summary List auth tokens
@@ -2477,6 +2673,15 @@ export declare class ProjectsApi extends BaseAPI {
2477
2673
  * @memberof ProjectsApi
2478
2674
  */
2479
2675
  getProjects(requestParameters?: ProjectsApiGetProjectsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectsResponse, any>>;
2676
+ /**
2677
+ * Get a task in the workflow
2678
+ * @summary Get Task
2679
+ * @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
2680
+ * @param {*} [options] Override http request option.
2681
+ * @throws {RequiredError}
2682
+ * @memberof ProjectsApi
2683
+ */
2684
+ getTask(requestParameters: ProjectsApiGetTaskRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Task, any>>;
2480
2685
  /**
2481
2686
  * List all templates available
2482
2687
  * @summary List templates
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.32.0
8
+ * The version of the OpenAPI document: 1.35.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
@@ -695,6 +729,44 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
695
729
  options: localVarRequestOptions,
696
730
  };
697
731
  }),
732
+ /**
733
+ * Get a task in the workflow
734
+ * @summary Get Task
735
+ * @param {string} project Projects unique identifier
736
+ * @param {string} id The unique id of the task
737
+ * @param {*} [options] Override http request option.
738
+ * @throws {RequiredError}
739
+ */
740
+ getTask: (project_1, id_1, ...args_1) => __awaiter(this, [project_1, id_1, ...args_1], void 0, function* (project, id, options = {}) {
741
+ // verify required parameter 'project' is not null or undefined
742
+ (0, common_1.assertParamExists)('getTask', 'project', project);
743
+ // verify required parameter 'id' is not null or undefined
744
+ (0, common_1.assertParamExists)('getTask', 'id', id);
745
+ const localVarPath = `/v1/projects/{project}/tasks/{id}`
746
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)))
747
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
748
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
749
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
750
+ let baseOptions;
751
+ if (configuration) {
752
+ baseOptions = configuration.baseOptions;
753
+ }
754
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
755
+ const localVarHeaderParameter = {};
756
+ const localVarQueryParameter = {};
757
+ // authentication session-oauth required
758
+ // oauth required
759
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
760
+ // authentication api-key required
761
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
762
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
763
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
764
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
765
+ return {
766
+ url: (0, common_1.toPathString)(localVarUrlObj),
767
+ options: localVarRequestOptions,
768
+ };
769
+ }),
698
770
  /**
699
771
  * List all templates available
700
772
  * @summary List templates
@@ -1403,6 +1475,22 @@ const ProjectsApiFp = function (configuration) {
1403
1475
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1404
1476
  });
1405
1477
  },
1478
+ /**
1479
+ * Export all the tasks in the workflow
1480
+ * @summary Export all tasks
1481
+ * @param {string} project Projects unique identifier
1482
+ * @param {*} [options] Override http request option.
1483
+ * @throws {RequiredError}
1484
+ */
1485
+ exportTasks(project, options) {
1486
+ return __awaiter(this, void 0, void 0, function* () {
1487
+ var _a, _b, _c;
1488
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportTasks(project, options);
1489
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1490
+ 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;
1491
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1492
+ });
1493
+ },
1406
1494
  /**
1407
1495
  * Lists the auth tokens for the project
1408
1496
  * @summary List auth tokens
@@ -1504,6 +1592,23 @@ const ProjectsApiFp = function (configuration) {
1504
1592
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1505
1593
  });
1506
1594
  },
1595
+ /**
1596
+ * Get a task in the workflow
1597
+ * @summary Get Task
1598
+ * @param {string} project Projects unique identifier
1599
+ * @param {string} id The unique id of the task
1600
+ * @param {*} [options] Override http request option.
1601
+ * @throws {RequiredError}
1602
+ */
1603
+ getTask(project, id, options) {
1604
+ return __awaiter(this, void 0, void 0, function* () {
1605
+ var _a, _b, _c;
1606
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getTask(project, id, options);
1607
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1608
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.getTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1609
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1610
+ });
1611
+ },
1507
1612
  /**
1508
1613
  * List all templates available
1509
1614
  * @summary List templates
@@ -1849,6 +1954,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
1849
1954
  deleteUser(requestParameters, options) {
1850
1955
  return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
1851
1956
  },
1957
+ /**
1958
+ * Export all the tasks in the workflow
1959
+ * @summary Export all tasks
1960
+ * @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
1961
+ * @param {*} [options] Override http request option.
1962
+ * @throws {RequiredError}
1963
+ */
1964
+ exportTasks(requestParameters, options) {
1965
+ return localVarFp.exportTasks(requestParameters.project, options).then((request) => request(axios, basePath));
1966
+ },
1852
1967
  /**
1853
1968
  * Lists the auth tokens for the project
1854
1969
  * @summary List auth tokens
@@ -1909,6 +2024,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
1909
2024
  getProjects(requestParameters = {}, options) {
1910
2025
  return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
1911
2026
  },
2027
+ /**
2028
+ * Get a task in the workflow
2029
+ * @summary Get Task
2030
+ * @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
2031
+ * @param {*} [options] Override http request option.
2032
+ * @throws {RequiredError}
2033
+ */
2034
+ getTask(requestParameters, options) {
2035
+ return localVarFp.getTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
2036
+ },
1912
2037
  /**
1913
2038
  * List all templates available
1914
2039
  * @summary List templates
@@ -2170,6 +2295,17 @@ class ProjectsApi extends base_1.BaseAPI {
2170
2295
  deleteUser(requestParameters, options) {
2171
2296
  return (0, exports.ProjectsApiFp)(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
2172
2297
  }
2298
+ /**
2299
+ * Export all the tasks in the workflow
2300
+ * @summary Export all tasks
2301
+ * @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
2302
+ * @param {*} [options] Override http request option.
2303
+ * @throws {RequiredError}
2304
+ * @memberof ProjectsApi
2305
+ */
2306
+ exportTasks(requestParameters, options) {
2307
+ return (0, exports.ProjectsApiFp)(this.configuration).exportTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2308
+ }
2173
2309
  /**
2174
2310
  * Lists the auth tokens for the project
2175
2311
  * @summary List auth tokens
@@ -2236,6 +2372,17 @@ class ProjectsApi extends base_1.BaseAPI {
2236
2372
  getProjects(requestParameters = {}, options) {
2237
2373
  return (0, exports.ProjectsApiFp)(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2238
2374
  }
2375
+ /**
2376
+ * Get a task in the workflow
2377
+ * @summary Get Task
2378
+ * @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
2379
+ * @param {*} [options] Override http request option.
2380
+ * @throws {RequiredError}
2381
+ * @memberof ProjectsApi
2382
+ */
2383
+ getTask(requestParameters, options) {
2384
+ return (0, exports.ProjectsApiFp)(this.configuration).getTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
2385
+ }
2239
2386
  /**
2240
2387
  * List all templates available
2241
2388
  * @summary List templates
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.32.0
5
+ * The version of the OpenAPI document: 1.35.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.32.0
8
+ * The version of the OpenAPI document: 1.35.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.32.0
5
+ * The version of the OpenAPI document: 1.35.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.32.0
8
+ * The version of the OpenAPI document: 1.35.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.32.0
5
+ * The version of the OpenAPI document: 1.35.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.32.0
8
+ * The version of the OpenAPI document: 1.35.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.32.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
  /**