@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/README.md +2 -2
- package/api.ts +304 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -3
- package/dist/api.d.ts +210 -5
- package/dist/api.js +148 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +210 -5
- package/dist/esm/api.js +148 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/projects@1.
|
|
1
|
+
## @teemill/projects@1.35.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/projects@1.
|
|
39
|
+
npm install @teemill/projects@1.35.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage PodOS Projects
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.35.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -118,10 +118,10 @@ export interface Bookmark {
|
|
|
118
118
|
'color': string | null;
|
|
119
119
|
/**
|
|
120
120
|
*
|
|
121
|
-
* @type {
|
|
121
|
+
* @type {NullableIcon}
|
|
122
122
|
* @memberof Bookmark
|
|
123
123
|
*/
|
|
124
|
-
'icon':
|
|
124
|
+
'icon': NullableIcon | null;
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
127
|
* @type BookmarkData
|
|
@@ -303,6 +303,19 @@ export interface CreateTaskRequest {
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @export
|
|
309
|
+
* @interface ExportTasks202Response
|
|
310
|
+
*/
|
|
311
|
+
export interface ExportTasks202Response {
|
|
312
|
+
/**
|
|
313
|
+
* A message describing the export status
|
|
314
|
+
* @type {string}
|
|
315
|
+
* @memberof ExportTasks202Response
|
|
316
|
+
*/
|
|
317
|
+
'message'?: string;
|
|
318
|
+
}
|
|
306
319
|
/**
|
|
307
320
|
*
|
|
308
321
|
* @export
|
|
@@ -412,10 +425,35 @@ export interface LegacyProjectLogo {
|
|
|
412
425
|
export interface ListTasksResponse {
|
|
413
426
|
/**
|
|
414
427
|
*
|
|
415
|
-
* @type {Array<
|
|
428
|
+
* @type {Array<TaskSummary>}
|
|
416
429
|
* @memberof ListTasksResponse
|
|
417
430
|
*/
|
|
418
|
-
'tasks': Array<
|
|
431
|
+
'tasks': Array<TaskSummary>;
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @export
|
|
436
|
+
* @interface NullableIcon
|
|
437
|
+
*/
|
|
438
|
+
export interface NullableIcon {
|
|
439
|
+
/**
|
|
440
|
+
*
|
|
441
|
+
* @type {string}
|
|
442
|
+
* @memberof NullableIcon
|
|
443
|
+
*/
|
|
444
|
+
'prefix': string;
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
* @type {string}
|
|
448
|
+
* @memberof NullableIcon
|
|
449
|
+
*/
|
|
450
|
+
'iconName': string;
|
|
451
|
+
/**
|
|
452
|
+
*
|
|
453
|
+
* @type {Array<any>}
|
|
454
|
+
* @memberof NullableIcon
|
|
455
|
+
*/
|
|
456
|
+
'icon': Array<any>;
|
|
419
457
|
}
|
|
420
458
|
/**
|
|
421
459
|
*
|
|
@@ -761,6 +799,12 @@ export interface Task {
|
|
|
761
799
|
* @memberof Task
|
|
762
800
|
*/
|
|
763
801
|
'estimatedHours': number | null;
|
|
802
|
+
/**
|
|
803
|
+
* The completion percentage of the task
|
|
804
|
+
* @type {number}
|
|
805
|
+
* @memberof Task
|
|
806
|
+
*/
|
|
807
|
+
'workProgress': number;
|
|
764
808
|
/**
|
|
765
809
|
* The unique id of the user who created the task
|
|
766
810
|
* @type {string}
|
|
@@ -792,6 +836,63 @@ export const TaskStatus = {
|
|
|
792
836
|
export type TaskStatus = typeof TaskStatus[keyof typeof TaskStatus];
|
|
793
837
|
|
|
794
838
|
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @export
|
|
842
|
+
* @interface TaskSummary
|
|
843
|
+
*/
|
|
844
|
+
export interface TaskSummary {
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @type {string}
|
|
848
|
+
* @memberof TaskSummary
|
|
849
|
+
*/
|
|
850
|
+
'id': string;
|
|
851
|
+
/**
|
|
852
|
+
*
|
|
853
|
+
* @type {string}
|
|
854
|
+
* @memberof TaskSummary
|
|
855
|
+
*/
|
|
856
|
+
'content': string;
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @type {TaskStatus}
|
|
860
|
+
* @memberof TaskSummary
|
|
861
|
+
*/
|
|
862
|
+
'status': TaskStatus;
|
|
863
|
+
/**
|
|
864
|
+
* The position of the task in its status group
|
|
865
|
+
* @type {number}
|
|
866
|
+
* @memberof TaskSummary
|
|
867
|
+
*/
|
|
868
|
+
'sortOrder': number;
|
|
869
|
+
/**
|
|
870
|
+
* The unique id of the user who owns the task
|
|
871
|
+
* @type {string}
|
|
872
|
+
* @memberof TaskSummary
|
|
873
|
+
*/
|
|
874
|
+
'owner': string | null;
|
|
875
|
+
/**
|
|
876
|
+
* The estimated hours to complete the task
|
|
877
|
+
* @type {number}
|
|
878
|
+
* @memberof TaskSummary
|
|
879
|
+
*/
|
|
880
|
+
'estimatedHours': number | null;
|
|
881
|
+
/**
|
|
882
|
+
* The completion percentage of the task
|
|
883
|
+
* @type {number}
|
|
884
|
+
* @memberof TaskSummary
|
|
885
|
+
*/
|
|
886
|
+
'workProgress': number;
|
|
887
|
+
/**
|
|
888
|
+
*
|
|
889
|
+
* @type {string}
|
|
890
|
+
* @memberof TaskSummary
|
|
891
|
+
*/
|
|
892
|
+
'createdAt': string;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
|
|
795
896
|
/**
|
|
796
897
|
*
|
|
797
898
|
* @export
|
|
@@ -972,6 +1073,12 @@ export interface UpdateTaskRequest {
|
|
|
972
1073
|
* @memberof UpdateTaskRequest
|
|
973
1074
|
*/
|
|
974
1075
|
'estimatedHours'?: number | null;
|
|
1076
|
+
/**
|
|
1077
|
+
* The completion percentage of the task
|
|
1078
|
+
* @type {number}
|
|
1079
|
+
* @memberof UpdateTaskRequest
|
|
1080
|
+
*/
|
|
1081
|
+
'workProgress'?: number;
|
|
975
1082
|
}
|
|
976
1083
|
|
|
977
1084
|
|
|
@@ -1462,6 +1569,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1462
1569
|
|
|
1463
1570
|
|
|
1464
1571
|
|
|
1572
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1573
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1574
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1575
|
+
|
|
1576
|
+
return {
|
|
1577
|
+
url: toPathString(localVarUrlObj),
|
|
1578
|
+
options: localVarRequestOptions,
|
|
1579
|
+
};
|
|
1580
|
+
},
|
|
1581
|
+
/**
|
|
1582
|
+
* Export all the tasks in the workflow
|
|
1583
|
+
* @summary Export all tasks
|
|
1584
|
+
* @param {string} project Projects unique identifier
|
|
1585
|
+
* @param {*} [options] Override http request option.
|
|
1586
|
+
* @throws {RequiredError}
|
|
1587
|
+
*/
|
|
1588
|
+
exportTasks: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1589
|
+
// verify required parameter 'project' is not null or undefined
|
|
1590
|
+
assertParamExists('exportTasks', 'project', project)
|
|
1591
|
+
const localVarPath = `/v1/projects/{project}/tasks/export`
|
|
1592
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
1593
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1594
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1595
|
+
let baseOptions;
|
|
1596
|
+
if (configuration) {
|
|
1597
|
+
baseOptions = configuration.baseOptions;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1601
|
+
const localVarHeaderParameter = {} as any;
|
|
1602
|
+
const localVarQueryParameter = {} as any;
|
|
1603
|
+
|
|
1604
|
+
// authentication session-oauth required
|
|
1605
|
+
// oauth required
|
|
1606
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1607
|
+
|
|
1608
|
+
// authentication api-key required
|
|
1609
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1610
|
+
|
|
1611
|
+
|
|
1612
|
+
|
|
1465
1613
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1466
1614
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1467
1615
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1733,6 +1881,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1733
1881
|
|
|
1734
1882
|
|
|
1735
1883
|
|
|
1884
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1885
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1886
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1887
|
+
|
|
1888
|
+
return {
|
|
1889
|
+
url: toPathString(localVarUrlObj),
|
|
1890
|
+
options: localVarRequestOptions,
|
|
1891
|
+
};
|
|
1892
|
+
},
|
|
1893
|
+
/**
|
|
1894
|
+
* Get a task in the workflow
|
|
1895
|
+
* @summary Get Task
|
|
1896
|
+
* @param {string} project Projects unique identifier
|
|
1897
|
+
* @param {string} id The unique id of the task
|
|
1898
|
+
* @param {*} [options] Override http request option.
|
|
1899
|
+
* @throws {RequiredError}
|
|
1900
|
+
*/
|
|
1901
|
+
getTask: async (project: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1902
|
+
// verify required parameter 'project' is not null or undefined
|
|
1903
|
+
assertParamExists('getTask', 'project', project)
|
|
1904
|
+
// verify required parameter 'id' is not null or undefined
|
|
1905
|
+
assertParamExists('getTask', 'id', id)
|
|
1906
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
1907
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1908
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1909
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1910
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1911
|
+
let baseOptions;
|
|
1912
|
+
if (configuration) {
|
|
1913
|
+
baseOptions = configuration.baseOptions;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1917
|
+
const localVarHeaderParameter = {} as any;
|
|
1918
|
+
const localVarQueryParameter = {} as any;
|
|
1919
|
+
|
|
1920
|
+
// authentication session-oauth required
|
|
1921
|
+
// oauth required
|
|
1922
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1923
|
+
|
|
1924
|
+
// authentication api-key required
|
|
1925
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1926
|
+
|
|
1927
|
+
|
|
1928
|
+
|
|
1736
1929
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1737
1930
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1738
1931
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2518,6 +2711,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2518
2711
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteUser']?.[localVarOperationServerIndex]?.url;
|
|
2519
2712
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2520
2713
|
},
|
|
2714
|
+
/**
|
|
2715
|
+
* Export all the tasks in the workflow
|
|
2716
|
+
* @summary Export all tasks
|
|
2717
|
+
* @param {string} project Projects unique identifier
|
|
2718
|
+
* @param {*} [options] Override http request option.
|
|
2719
|
+
* @throws {RequiredError}
|
|
2720
|
+
*/
|
|
2721
|
+
async exportTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
2722
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportTasks(project, options);
|
|
2723
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2724
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.exportTasks']?.[localVarOperationServerIndex]?.url;
|
|
2725
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2726
|
+
},
|
|
2521
2727
|
/**
|
|
2522
2728
|
* Lists the auth tokens for the project
|
|
2523
2729
|
* @summary List auth tokens
|
|
@@ -2601,6 +2807,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2601
2807
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getProjects']?.[localVarOperationServerIndex]?.url;
|
|
2602
2808
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2603
2809
|
},
|
|
2810
|
+
/**
|
|
2811
|
+
* Get a task in the workflow
|
|
2812
|
+
* @summary Get Task
|
|
2813
|
+
* @param {string} project Projects unique identifier
|
|
2814
|
+
* @param {string} id The unique id of the task
|
|
2815
|
+
* @param {*} [options] Override http request option.
|
|
2816
|
+
* @throws {RequiredError}
|
|
2817
|
+
*/
|
|
2818
|
+
async getTask(project: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>> {
|
|
2819
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTask(project, id, options);
|
|
2820
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2821
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getTask']?.[localVarOperationServerIndex]?.url;
|
|
2822
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2823
|
+
},
|
|
2604
2824
|
/**
|
|
2605
2825
|
* List all templates available
|
|
2606
2826
|
* @summary List templates
|
|
@@ -2907,6 +3127,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2907
3127
|
deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2908
3128
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
2909
3129
|
},
|
|
3130
|
+
/**
|
|
3131
|
+
* Export all the tasks in the workflow
|
|
3132
|
+
* @summary Export all tasks
|
|
3133
|
+
* @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
|
|
3134
|
+
* @param {*} [options] Override http request option.
|
|
3135
|
+
* @throws {RequiredError}
|
|
3136
|
+
*/
|
|
3137
|
+
exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
3138
|
+
return localVarFp.exportTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3139
|
+
},
|
|
2910
3140
|
/**
|
|
2911
3141
|
* Lists the auth tokens for the project
|
|
2912
3142
|
* @summary List auth tokens
|
|
@@ -2967,6 +3197,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2967
3197
|
getProjects(requestParameters: ProjectsApiGetProjectsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse> {
|
|
2968
3198
|
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2969
3199
|
},
|
|
3200
|
+
/**
|
|
3201
|
+
* Get a task in the workflow
|
|
3202
|
+
* @summary Get Task
|
|
3203
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
3204
|
+
* @param {*} [options] Override http request option.
|
|
3205
|
+
* @throws {RequiredError}
|
|
3206
|
+
*/
|
|
3207
|
+
getTask(requestParameters: ProjectsApiGetTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
|
|
3208
|
+
return localVarFp.getTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3209
|
+
},
|
|
2970
3210
|
/**
|
|
2971
3211
|
* List all templates available
|
|
2972
3212
|
* @summary List templates
|
|
@@ -3310,6 +3550,20 @@ export interface ProjectsApiDeleteUserRequest {
|
|
|
3310
3550
|
readonly user: string
|
|
3311
3551
|
}
|
|
3312
3552
|
|
|
3553
|
+
/**
|
|
3554
|
+
* Request parameters for exportTasks operation in ProjectsApi.
|
|
3555
|
+
* @export
|
|
3556
|
+
* @interface ProjectsApiExportTasksRequest
|
|
3557
|
+
*/
|
|
3558
|
+
export interface ProjectsApiExportTasksRequest {
|
|
3559
|
+
/**
|
|
3560
|
+
* Projects unique identifier
|
|
3561
|
+
* @type {string}
|
|
3562
|
+
* @memberof ProjectsApiExportTasks
|
|
3563
|
+
*/
|
|
3564
|
+
readonly project: string
|
|
3565
|
+
}
|
|
3566
|
+
|
|
3313
3567
|
/**
|
|
3314
3568
|
* Request parameters for getAuth operation in ProjectsApi.
|
|
3315
3569
|
* @export
|
|
@@ -3429,6 +3683,27 @@ export interface ProjectsApiGetProjectsRequest {
|
|
|
3429
3683
|
readonly project?: string
|
|
3430
3684
|
}
|
|
3431
3685
|
|
|
3686
|
+
/**
|
|
3687
|
+
* Request parameters for getTask operation in ProjectsApi.
|
|
3688
|
+
* @export
|
|
3689
|
+
* @interface ProjectsApiGetTaskRequest
|
|
3690
|
+
*/
|
|
3691
|
+
export interface ProjectsApiGetTaskRequest {
|
|
3692
|
+
/**
|
|
3693
|
+
* Projects unique identifier
|
|
3694
|
+
* @type {string}
|
|
3695
|
+
* @memberof ProjectsApiGetTask
|
|
3696
|
+
*/
|
|
3697
|
+
readonly project: string
|
|
3698
|
+
|
|
3699
|
+
/**
|
|
3700
|
+
* The unique id of the task
|
|
3701
|
+
* @type {string}
|
|
3702
|
+
* @memberof ProjectsApiGetTask
|
|
3703
|
+
*/
|
|
3704
|
+
readonly id: string
|
|
3705
|
+
}
|
|
3706
|
+
|
|
3432
3707
|
/**
|
|
3433
3708
|
* Request parameters for getTemplates operation in ProjectsApi.
|
|
3434
3709
|
* @export
|
|
@@ -3869,6 +4144,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
3869
4144
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
3870
4145
|
}
|
|
3871
4146
|
|
|
4147
|
+
/**
|
|
4148
|
+
* Export all the tasks in the workflow
|
|
4149
|
+
* @summary Export all tasks
|
|
4150
|
+
* @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
|
|
4151
|
+
* @param {*} [options] Override http request option.
|
|
4152
|
+
* @throws {RequiredError}
|
|
4153
|
+
* @memberof ProjectsApi
|
|
4154
|
+
*/
|
|
4155
|
+
public exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig) {
|
|
4156
|
+
return ProjectsApiFp(this.configuration).exportTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
4157
|
+
}
|
|
4158
|
+
|
|
3872
4159
|
/**
|
|
3873
4160
|
* Lists the auth tokens for the project
|
|
3874
4161
|
* @summary List auth tokens
|
|
@@ -3941,6 +4228,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
3941
4228
|
return ProjectsApiFp(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
3942
4229
|
}
|
|
3943
4230
|
|
|
4231
|
+
/**
|
|
4232
|
+
* Get a task in the workflow
|
|
4233
|
+
* @summary Get Task
|
|
4234
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
4235
|
+
* @param {*} [options] Override http request option.
|
|
4236
|
+
* @throws {RequiredError}
|
|
4237
|
+
* @memberof ProjectsApi
|
|
4238
|
+
*/
|
|
4239
|
+
public getTask(requestParameters: ProjectsApiGetTaskRequest, options?: RawAxiosRequestConfig) {
|
|
4240
|
+
return ProjectsApiFp(this.configuration).getTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4241
|
+
}
|
|
4242
|
+
|
|
3944
4243
|
/**
|
|
3945
4244
|
* List all templates available
|
|
3946
4245
|
* @summary List templates
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage PodOS Projects
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.35.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -90,11 +90,10 @@ export class Configuration {
|
|
|
90
90
|
this.basePath = param.basePath;
|
|
91
91
|
this.serverIndex = param.serverIndex;
|
|
92
92
|
this.baseOptions = {
|
|
93
|
+
...param.baseOptions,
|
|
93
94
|
headers: {
|
|
94
95
|
...param.baseOptions?.headers,
|
|
95
|
-
'User-Agent': "OpenAPI-Generator/1.32.0/typescript-axios"
|
|
96
96
|
},
|
|
97
|
-
...param.baseOptions
|
|
98
97
|
};
|
|
99
98
|
this.formDataCtor = param.formDataCtor;
|
|
100
99
|
}
|