@teemill/projects 1.33.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 +149 -3
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -3
- package/dist/api.d.ts +105 -3
- package/dist/api.js +72 -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 +105 -3
- package/dist/esm/api.js +72 -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
|
|
@@ -417,6 +430,31 @@ export interface ListTasksResponse {
|
|
|
417
430
|
*/
|
|
418
431
|
'tasks': Array<TaskSummary>;
|
|
419
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>;
|
|
457
|
+
}
|
|
420
458
|
/**
|
|
421
459
|
*
|
|
422
460
|
* @export
|
|
@@ -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}
|
|
@@ -834,6 +878,12 @@ export interface TaskSummary {
|
|
|
834
878
|
* @memberof TaskSummary
|
|
835
879
|
*/
|
|
836
880
|
'estimatedHours': number | null;
|
|
881
|
+
/**
|
|
882
|
+
* The completion percentage of the task
|
|
883
|
+
* @type {number}
|
|
884
|
+
* @memberof TaskSummary
|
|
885
|
+
*/
|
|
886
|
+
'workProgress': number;
|
|
837
887
|
/**
|
|
838
888
|
*
|
|
839
889
|
* @type {string}
|
|
@@ -1023,6 +1073,12 @@ export interface UpdateTaskRequest {
|
|
|
1023
1073
|
* @memberof UpdateTaskRequest
|
|
1024
1074
|
*/
|
|
1025
1075
|
'estimatedHours'?: number | null;
|
|
1076
|
+
/**
|
|
1077
|
+
* The completion percentage of the task
|
|
1078
|
+
* @type {number}
|
|
1079
|
+
* @memberof UpdateTaskRequest
|
|
1080
|
+
*/
|
|
1081
|
+
'workProgress'?: number;
|
|
1026
1082
|
}
|
|
1027
1083
|
|
|
1028
1084
|
|
|
@@ -1513,6 +1569,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1513
1569
|
|
|
1514
1570
|
|
|
1515
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
|
+
|
|
1516
1613
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1517
1614
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1518
1615
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2614,6 +2711,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2614
2711
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteUser']?.[localVarOperationServerIndex]?.url;
|
|
2615
2712
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2616
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
|
+
},
|
|
2617
2727
|
/**
|
|
2618
2728
|
* Lists the auth tokens for the project
|
|
2619
2729
|
* @summary List auth tokens
|
|
@@ -3017,6 +3127,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3017
3127
|
deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3018
3128
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
3019
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
|
+
},
|
|
3020
3140
|
/**
|
|
3021
3141
|
* Lists the auth tokens for the project
|
|
3022
3142
|
* @summary List auth tokens
|
|
@@ -3430,6 +3550,20 @@ export interface ProjectsApiDeleteUserRequest {
|
|
|
3430
3550
|
readonly user: string
|
|
3431
3551
|
}
|
|
3432
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
|
+
|
|
3433
3567
|
/**
|
|
3434
3568
|
* Request parameters for getAuth operation in ProjectsApi.
|
|
3435
3569
|
* @export
|
|
@@ -4010,6 +4144,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4010
4144
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
4011
4145
|
}
|
|
4012
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
|
+
|
|
4013
4159
|
/**
|
|
4014
4160
|
* Lists the auth tokens for the project
|
|
4015
4161
|
* @summary List auth tokens
|
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.33.0/typescript-axios"
|
|
96
96
|
},
|
|
97
|
-
...param.baseOptions
|
|
98
97
|
};
|
|
99
98
|
this.formDataCtor = param.formDataCtor;
|
|
100
99
|
}
|
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.
|
|
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 {
|
|
111
|
+
* @type {NullableIcon}
|
|
112
112
|
* @memberof Bookmark
|
|
113
113
|
*/
|
|
114
|
-
'icon':
|
|
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
|
|
@@ -406,6 +419,31 @@ export interface ListTasksResponse {
|
|
|
406
419
|
*/
|
|
407
420
|
'tasks': Array<TaskSummary>;
|
|
408
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>;
|
|
446
|
+
}
|
|
409
447
|
/**
|
|
410
448
|
*
|
|
411
449
|
* @export
|
|
@@ -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}
|
|
@@ -816,6 +860,12 @@ export interface TaskSummary {
|
|
|
816
860
|
* @memberof TaskSummary
|
|
817
861
|
*/
|
|
818
862
|
'estimatedHours': number | null;
|
|
863
|
+
/**
|
|
864
|
+
* The completion percentage of the task
|
|
865
|
+
* @type {number}
|
|
866
|
+
* @memberof TaskSummary
|
|
867
|
+
*/
|
|
868
|
+
'workProgress': number;
|
|
819
869
|
/**
|
|
820
870
|
*
|
|
821
871
|
* @type {string}
|
|
@@ -997,6 +1047,12 @@ export interface UpdateTaskRequest {
|
|
|
997
1047
|
* @memberof UpdateTaskRequest
|
|
998
1048
|
*/
|
|
999
1049
|
'estimatedHours'?: number | null;
|
|
1050
|
+
/**
|
|
1051
|
+
* The completion percentage of the task
|
|
1052
|
+
* @type {number}
|
|
1053
|
+
* @memberof UpdateTaskRequest
|
|
1054
|
+
*/
|
|
1055
|
+
'workProgress'?: number;
|
|
1000
1056
|
}
|
|
1001
1057
|
/**
|
|
1002
1058
|
* ProjectsApi - axios parameter creator
|
|
@@ -1099,6 +1155,14 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1099
1155
|
* @throws {RequiredError}
|
|
1100
1156
|
*/
|
|
1101
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>;
|
|
1102
1166
|
/**
|
|
1103
1167
|
* Lists the auth tokens for the project
|
|
1104
1168
|
* @summary List auth tokens
|
|
@@ -1384,6 +1448,14 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1384
1448
|
* @throws {RequiredError}
|
|
1385
1449
|
*/
|
|
1386
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>>;
|
|
1387
1459
|
/**
|
|
1388
1460
|
* Lists the auth tokens for the project
|
|
1389
1461
|
* @summary List auth tokens
|
|
@@ -1661,6 +1733,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
1661
1733
|
* @throws {RequiredError}
|
|
1662
1734
|
*/
|
|
1663
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>;
|
|
1664
1744
|
/**
|
|
1665
1745
|
* Lists the auth tokens for the project
|
|
1666
1746
|
* @summary List auth tokens
|
|
@@ -2013,6 +2093,19 @@ export interface ProjectsApiDeleteUserRequest {
|
|
|
2013
2093
|
*/
|
|
2014
2094
|
readonly user: string;
|
|
2015
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
|
+
}
|
|
2016
2109
|
/**
|
|
2017
2110
|
* Request parameters for getAuth operation in ProjectsApi.
|
|
2018
2111
|
* @export
|
|
@@ -2517,6 +2610,15 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
2517
2610
|
* @memberof ProjectsApi
|
|
2518
2611
|
*/
|
|
2519
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>>;
|
|
2520
2622
|
/**
|
|
2521
2623
|
* Lists the auth tokens for the project
|
|
2522
2624
|
* @summary List auth tokens
|
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.
|
|
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
|
|
@@ -1441,6 +1475,22 @@ const ProjectsApiFp = function (configuration) {
|
|
|
1441
1475
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1442
1476
|
});
|
|
1443
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
|
+
},
|
|
1444
1494
|
/**
|
|
1445
1495
|
* Lists the auth tokens for the project
|
|
1446
1496
|
* @summary List auth tokens
|
|
@@ -1904,6 +1954,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1904
1954
|
deleteUser(requestParameters, options) {
|
|
1905
1955
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1906
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
|
+
},
|
|
1907
1967
|
/**
|
|
1908
1968
|
* Lists the auth tokens for the project
|
|
1909
1969
|
* @summary List auth tokens
|
|
@@ -2235,6 +2295,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
2235
2295
|
deleteUser(requestParameters, options) {
|
|
2236
2296
|
return (0, exports.ProjectsApiFp)(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
2237
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
|
+
}
|
|
2238
2309
|
/**
|
|
2239
2310
|
* Lists the auth tokens for the project
|
|
2240
2311
|
* @summary List auth tokens
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
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.
|
|
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
|
|
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
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.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.
|
|
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(
|
|
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
|
/**
|
package/dist/esm/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.
|
|
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 {
|
|
111
|
+
* @type {NullableIcon}
|
|
112
112
|
* @memberof Bookmark
|
|
113
113
|
*/
|
|
114
|
-
'icon':
|
|
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
|
|
@@ -406,6 +419,31 @@ export interface ListTasksResponse {
|
|
|
406
419
|
*/
|
|
407
420
|
'tasks': Array<TaskSummary>;
|
|
408
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>;
|
|
446
|
+
}
|
|
409
447
|
/**
|
|
410
448
|
*
|
|
411
449
|
* @export
|
|
@@ -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}
|
|
@@ -816,6 +860,12 @@ export interface TaskSummary {
|
|
|
816
860
|
* @memberof TaskSummary
|
|
817
861
|
*/
|
|
818
862
|
'estimatedHours': number | null;
|
|
863
|
+
/**
|
|
864
|
+
* The completion percentage of the task
|
|
865
|
+
* @type {number}
|
|
866
|
+
* @memberof TaskSummary
|
|
867
|
+
*/
|
|
868
|
+
'workProgress': number;
|
|
819
869
|
/**
|
|
820
870
|
*
|
|
821
871
|
* @type {string}
|
|
@@ -997,6 +1047,12 @@ export interface UpdateTaskRequest {
|
|
|
997
1047
|
* @memberof UpdateTaskRequest
|
|
998
1048
|
*/
|
|
999
1049
|
'estimatedHours'?: number | null;
|
|
1050
|
+
/**
|
|
1051
|
+
* The completion percentage of the task
|
|
1052
|
+
* @type {number}
|
|
1053
|
+
* @memberof UpdateTaskRequest
|
|
1054
|
+
*/
|
|
1055
|
+
'workProgress'?: number;
|
|
1000
1056
|
}
|
|
1001
1057
|
/**
|
|
1002
1058
|
* ProjectsApi - axios parameter creator
|
|
@@ -1099,6 +1155,14 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1099
1155
|
* @throws {RequiredError}
|
|
1100
1156
|
*/
|
|
1101
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>;
|
|
1102
1166
|
/**
|
|
1103
1167
|
* Lists the auth tokens for the project
|
|
1104
1168
|
* @summary List auth tokens
|
|
@@ -1384,6 +1448,14 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1384
1448
|
* @throws {RequiredError}
|
|
1385
1449
|
*/
|
|
1386
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>>;
|
|
1387
1459
|
/**
|
|
1388
1460
|
* Lists the auth tokens for the project
|
|
1389
1461
|
* @summary List auth tokens
|
|
@@ -1661,6 +1733,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
1661
1733
|
* @throws {RequiredError}
|
|
1662
1734
|
*/
|
|
1663
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>;
|
|
1664
1744
|
/**
|
|
1665
1745
|
* Lists the auth tokens for the project
|
|
1666
1746
|
* @summary List auth tokens
|
|
@@ -2013,6 +2093,19 @@ export interface ProjectsApiDeleteUserRequest {
|
|
|
2013
2093
|
*/
|
|
2014
2094
|
readonly user: string;
|
|
2015
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
|
+
}
|
|
2016
2109
|
/**
|
|
2017
2110
|
* Request parameters for getAuth operation in ProjectsApi.
|
|
2018
2111
|
* @export
|
|
@@ -2517,6 +2610,15 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
2517
2610
|
* @memberof ProjectsApi
|
|
2518
2611
|
*/
|
|
2519
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>>;
|
|
2520
2622
|
/**
|
|
2521
2623
|
* Lists the auth tokens for the project
|
|
2522
2624
|
* @summary List auth tokens
|
package/dist/esm/api.js
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).
|
|
@@ -468,6 +468,40 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
468
468
|
options: localVarRequestOptions,
|
|
469
469
|
};
|
|
470
470
|
}),
|
|
471
|
+
/**
|
|
472
|
+
* Export all the tasks in the workflow
|
|
473
|
+
* @summary Export all tasks
|
|
474
|
+
* @param {string} project Projects unique identifier
|
|
475
|
+
* @param {*} [options] Override http request option.
|
|
476
|
+
* @throws {RequiredError}
|
|
477
|
+
*/
|
|
478
|
+
exportTasks: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
479
|
+
// verify required parameter 'project' is not null or undefined
|
|
480
|
+
assertParamExists('exportTasks', 'project', project);
|
|
481
|
+
const localVarPath = `/v1/projects/{project}/tasks/export`
|
|
482
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
483
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
484
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
485
|
+
let baseOptions;
|
|
486
|
+
if (configuration) {
|
|
487
|
+
baseOptions = configuration.baseOptions;
|
|
488
|
+
}
|
|
489
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
490
|
+
const localVarHeaderParameter = {};
|
|
491
|
+
const localVarQueryParameter = {};
|
|
492
|
+
// authentication session-oauth required
|
|
493
|
+
// oauth required
|
|
494
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
495
|
+
// authentication api-key required
|
|
496
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
497
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
498
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
499
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
500
|
+
return {
|
|
501
|
+
url: toPathString(localVarUrlObj),
|
|
502
|
+
options: localVarRequestOptions,
|
|
503
|
+
};
|
|
504
|
+
}),
|
|
471
505
|
/**
|
|
472
506
|
* Lists the auth tokens for the project
|
|
473
507
|
* @summary List auth tokens
|
|
@@ -1437,6 +1471,22 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1437
1471
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1438
1472
|
});
|
|
1439
1473
|
},
|
|
1474
|
+
/**
|
|
1475
|
+
* Export all the tasks in the workflow
|
|
1476
|
+
* @summary Export all tasks
|
|
1477
|
+
* @param {string} project Projects unique identifier
|
|
1478
|
+
* @param {*} [options] Override http request option.
|
|
1479
|
+
* @throws {RequiredError}
|
|
1480
|
+
*/
|
|
1481
|
+
exportTasks(project, options) {
|
|
1482
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1483
|
+
var _a, _b, _c;
|
|
1484
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportTasks(project, options);
|
|
1485
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1486
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.exportTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1487
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1488
|
+
});
|
|
1489
|
+
},
|
|
1440
1490
|
/**
|
|
1441
1491
|
* Lists the auth tokens for the project
|
|
1442
1492
|
* @summary List auth tokens
|
|
@@ -1899,6 +1949,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1899
1949
|
deleteUser(requestParameters, options) {
|
|
1900
1950
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1901
1951
|
},
|
|
1952
|
+
/**
|
|
1953
|
+
* Export all the tasks in the workflow
|
|
1954
|
+
* @summary Export all tasks
|
|
1955
|
+
* @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
|
|
1956
|
+
* @param {*} [options] Override http request option.
|
|
1957
|
+
* @throws {RequiredError}
|
|
1958
|
+
*/
|
|
1959
|
+
exportTasks(requestParameters, options) {
|
|
1960
|
+
return localVarFp.exportTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1961
|
+
},
|
|
1902
1962
|
/**
|
|
1903
1963
|
* Lists the auth tokens for the project
|
|
1904
1964
|
* @summary List auth tokens
|
|
@@ -2229,6 +2289,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2229
2289
|
deleteUser(requestParameters, options) {
|
|
2230
2290
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
2231
2291
|
}
|
|
2292
|
+
/**
|
|
2293
|
+
* Export all the tasks in the workflow
|
|
2294
|
+
* @summary Export all tasks
|
|
2295
|
+
* @param {ProjectsApiExportTasksRequest} requestParameters Request parameters.
|
|
2296
|
+
* @param {*} [options] Override http request option.
|
|
2297
|
+
* @throws {RequiredError}
|
|
2298
|
+
* @memberof ProjectsApi
|
|
2299
|
+
*/
|
|
2300
|
+
exportTasks(requestParameters, options) {
|
|
2301
|
+
return ProjectsApiFp(this.configuration).exportTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2302
|
+
}
|
|
2232
2303
|
/**
|
|
2233
2304
|
* Lists the auth tokens for the project
|
|
2234
2305
|
* @summary List auth tokens
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/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.
|
|
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
|
|
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/esm/common.js
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).
|
|
@@ -20,7 +20,7 @@ export class Configuration {
|
|
|
20
20
|
this.accessToken = param.accessToken;
|
|
21
21
|
this.basePath = param.basePath;
|
|
22
22
|
this.serverIndex = param.serverIndex;
|
|
23
|
-
this.baseOptions = Object.assign({ headers: Object.assign(
|
|
23
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
24
24
|
this.formDataCtor = param.formDataCtor;
|
|
25
25
|
}
|
|
26
26
|
/**
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/index.ts
CHANGED