@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/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
|
|
@@ -401,10 +414,35 @@ export interface LegacyProjectLogo {
|
|
|
401
414
|
export interface ListTasksResponse {
|
|
402
415
|
/**
|
|
403
416
|
*
|
|
404
|
-
* @type {Array<
|
|
417
|
+
* @type {Array<TaskSummary>}
|
|
405
418
|
* @memberof ListTasksResponse
|
|
406
419
|
*/
|
|
407
|
-
'tasks': Array<
|
|
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/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
|
|
@@ -692,6 +726,44 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
692
726
|
options: localVarRequestOptions,
|
|
693
727
|
};
|
|
694
728
|
}),
|
|
729
|
+
/**
|
|
730
|
+
* Get a task in the workflow
|
|
731
|
+
* @summary Get Task
|
|
732
|
+
* @param {string} project Projects unique identifier
|
|
733
|
+
* @param {string} id The unique id of the task
|
|
734
|
+
* @param {*} [options] Override http request option.
|
|
735
|
+
* @throws {RequiredError}
|
|
736
|
+
*/
|
|
737
|
+
getTask: (project_1, id_1, ...args_1) => __awaiter(this, [project_1, id_1, ...args_1], void 0, function* (project, id, options = {}) {
|
|
738
|
+
// verify required parameter 'project' is not null or undefined
|
|
739
|
+
assertParamExists('getTask', 'project', project);
|
|
740
|
+
// verify required parameter 'id' is not null or undefined
|
|
741
|
+
assertParamExists('getTask', 'id', id);
|
|
742
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
743
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
744
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
745
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
746
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
747
|
+
let baseOptions;
|
|
748
|
+
if (configuration) {
|
|
749
|
+
baseOptions = configuration.baseOptions;
|
|
750
|
+
}
|
|
751
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
752
|
+
const localVarHeaderParameter = {};
|
|
753
|
+
const localVarQueryParameter = {};
|
|
754
|
+
// authentication session-oauth required
|
|
755
|
+
// oauth required
|
|
756
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
757
|
+
// authentication api-key required
|
|
758
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
759
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
760
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
761
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
762
|
+
return {
|
|
763
|
+
url: toPathString(localVarUrlObj),
|
|
764
|
+
options: localVarRequestOptions,
|
|
765
|
+
};
|
|
766
|
+
}),
|
|
695
767
|
/**
|
|
696
768
|
* List all templates available
|
|
697
769
|
* @summary List templates
|
|
@@ -1399,6 +1471,22 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1399
1471
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1400
1472
|
});
|
|
1401
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
|
+
},
|
|
1402
1490
|
/**
|
|
1403
1491
|
* Lists the auth tokens for the project
|
|
1404
1492
|
* @summary List auth tokens
|
|
@@ -1500,6 +1588,23 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1500
1588
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1501
1589
|
});
|
|
1502
1590
|
},
|
|
1591
|
+
/**
|
|
1592
|
+
* Get a task in the workflow
|
|
1593
|
+
* @summary Get Task
|
|
1594
|
+
* @param {string} project Projects unique identifier
|
|
1595
|
+
* @param {string} id The unique id of the task
|
|
1596
|
+
* @param {*} [options] Override http request option.
|
|
1597
|
+
* @throws {RequiredError}
|
|
1598
|
+
*/
|
|
1599
|
+
getTask(project, id, options) {
|
|
1600
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1601
|
+
var _a, _b, _c;
|
|
1602
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTask(project, id, options);
|
|
1603
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1604
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.getTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1605
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1606
|
+
});
|
|
1607
|
+
},
|
|
1503
1608
|
/**
|
|
1504
1609
|
* List all templates available
|
|
1505
1610
|
* @summary List templates
|
|
@@ -1844,6 +1949,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1844
1949
|
deleteUser(requestParameters, options) {
|
|
1845
1950
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1846
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
|
+
},
|
|
1847
1962
|
/**
|
|
1848
1963
|
* Lists the auth tokens for the project
|
|
1849
1964
|
* @summary List auth tokens
|
|
@@ -1904,6 +2019,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1904
2019
|
getProjects(requestParameters = {}, options) {
|
|
1905
2020
|
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1906
2021
|
},
|
|
2022
|
+
/**
|
|
2023
|
+
* Get a task in the workflow
|
|
2024
|
+
* @summary Get Task
|
|
2025
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
2026
|
+
* @param {*} [options] Override http request option.
|
|
2027
|
+
* @throws {RequiredError}
|
|
2028
|
+
*/
|
|
2029
|
+
getTask(requestParameters, options) {
|
|
2030
|
+
return localVarFp.getTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2031
|
+
},
|
|
1907
2032
|
/**
|
|
1908
2033
|
* List all templates available
|
|
1909
2034
|
* @summary List templates
|
|
@@ -2164,6 +2289,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2164
2289
|
deleteUser(requestParameters, options) {
|
|
2165
2290
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
2166
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
|
+
}
|
|
2167
2303
|
/**
|
|
2168
2304
|
* Lists the auth tokens for the project
|
|
2169
2305
|
* @summary List auth tokens
|
|
@@ -2230,6 +2366,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2230
2366
|
getProjects(requestParameters = {}, options) {
|
|
2231
2367
|
return ProjectsApiFp(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2232
2368
|
}
|
|
2369
|
+
/**
|
|
2370
|
+
* Get a task in the workflow
|
|
2371
|
+
* @summary Get Task
|
|
2372
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
2373
|
+
* @param {*} [options] Override http request option.
|
|
2374
|
+
* @throws {RequiredError}
|
|
2375
|
+
* @memberof ProjectsApi
|
|
2376
|
+
*/
|
|
2377
|
+
getTask(requestParameters, options) {
|
|
2378
|
+
return ProjectsApiFp(this.configuration).getTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2379
|
+
}
|
|
2233
2380
|
/**
|
|
2234
2381
|
* List all templates available
|
|
2235
2382
|
* @summary List templates
|
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