@teemill/projects 1.32.0 → 1.33.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 +156 -3
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +106 -3
- package/dist/api.js +77 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- 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 +106 -3
- package/dist/esm/api.js +77 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- 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.33.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.33.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.33.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -412,10 +412,10 @@ export interface LegacyProjectLogo {
|
|
|
412
412
|
export interface ListTasksResponse {
|
|
413
413
|
/**
|
|
414
414
|
*
|
|
415
|
-
* @type {Array<
|
|
415
|
+
* @type {Array<TaskSummary>}
|
|
416
416
|
* @memberof ListTasksResponse
|
|
417
417
|
*/
|
|
418
|
-
'tasks': Array<
|
|
418
|
+
'tasks': Array<TaskSummary>;
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
421
|
*
|
|
@@ -792,6 +792,57 @@ export const TaskStatus = {
|
|
|
792
792
|
export type TaskStatus = typeof TaskStatus[keyof typeof TaskStatus];
|
|
793
793
|
|
|
794
794
|
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @export
|
|
798
|
+
* @interface TaskSummary
|
|
799
|
+
*/
|
|
800
|
+
export interface TaskSummary {
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @type {string}
|
|
804
|
+
* @memberof TaskSummary
|
|
805
|
+
*/
|
|
806
|
+
'id': string;
|
|
807
|
+
/**
|
|
808
|
+
*
|
|
809
|
+
* @type {string}
|
|
810
|
+
* @memberof TaskSummary
|
|
811
|
+
*/
|
|
812
|
+
'content': string;
|
|
813
|
+
/**
|
|
814
|
+
*
|
|
815
|
+
* @type {TaskStatus}
|
|
816
|
+
* @memberof TaskSummary
|
|
817
|
+
*/
|
|
818
|
+
'status': TaskStatus;
|
|
819
|
+
/**
|
|
820
|
+
* The position of the task in its status group
|
|
821
|
+
* @type {number}
|
|
822
|
+
* @memberof TaskSummary
|
|
823
|
+
*/
|
|
824
|
+
'sortOrder': number;
|
|
825
|
+
/**
|
|
826
|
+
* The unique id of the user who owns the task
|
|
827
|
+
* @type {string}
|
|
828
|
+
* @memberof TaskSummary
|
|
829
|
+
*/
|
|
830
|
+
'owner': string | null;
|
|
831
|
+
/**
|
|
832
|
+
* The estimated hours to complete the task
|
|
833
|
+
* @type {number}
|
|
834
|
+
* @memberof TaskSummary
|
|
835
|
+
*/
|
|
836
|
+
'estimatedHours': number | null;
|
|
837
|
+
/**
|
|
838
|
+
*
|
|
839
|
+
* @type {string}
|
|
840
|
+
* @memberof TaskSummary
|
|
841
|
+
*/
|
|
842
|
+
'createdAt': string;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
|
|
795
846
|
/**
|
|
796
847
|
*
|
|
797
848
|
* @export
|
|
@@ -1733,6 +1784,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1733
1784
|
|
|
1734
1785
|
|
|
1735
1786
|
|
|
1787
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1788
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1789
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1790
|
+
|
|
1791
|
+
return {
|
|
1792
|
+
url: toPathString(localVarUrlObj),
|
|
1793
|
+
options: localVarRequestOptions,
|
|
1794
|
+
};
|
|
1795
|
+
},
|
|
1796
|
+
/**
|
|
1797
|
+
* Get a task in the workflow
|
|
1798
|
+
* @summary Get Task
|
|
1799
|
+
* @param {string} project Projects unique identifier
|
|
1800
|
+
* @param {string} id The unique id of the task
|
|
1801
|
+
* @param {*} [options] Override http request option.
|
|
1802
|
+
* @throws {RequiredError}
|
|
1803
|
+
*/
|
|
1804
|
+
getTask: async (project: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1805
|
+
// verify required parameter 'project' is not null or undefined
|
|
1806
|
+
assertParamExists('getTask', 'project', project)
|
|
1807
|
+
// verify required parameter 'id' is not null or undefined
|
|
1808
|
+
assertParamExists('getTask', 'id', id)
|
|
1809
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
1810
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1811
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1812
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1813
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1814
|
+
let baseOptions;
|
|
1815
|
+
if (configuration) {
|
|
1816
|
+
baseOptions = configuration.baseOptions;
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1820
|
+
const localVarHeaderParameter = {} as any;
|
|
1821
|
+
const localVarQueryParameter = {} as any;
|
|
1822
|
+
|
|
1823
|
+
// authentication session-oauth required
|
|
1824
|
+
// oauth required
|
|
1825
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1826
|
+
|
|
1827
|
+
// authentication api-key required
|
|
1828
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1829
|
+
|
|
1830
|
+
|
|
1831
|
+
|
|
1736
1832
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1737
1833
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1738
1834
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2601,6 +2697,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2601
2697
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getProjects']?.[localVarOperationServerIndex]?.url;
|
|
2602
2698
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2603
2699
|
},
|
|
2700
|
+
/**
|
|
2701
|
+
* Get a task in the workflow
|
|
2702
|
+
* @summary Get Task
|
|
2703
|
+
* @param {string} project Projects unique identifier
|
|
2704
|
+
* @param {string} id The unique id of the task
|
|
2705
|
+
* @param {*} [options] Override http request option.
|
|
2706
|
+
* @throws {RequiredError}
|
|
2707
|
+
*/
|
|
2708
|
+
async getTask(project: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>> {
|
|
2709
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTask(project, id, options);
|
|
2710
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2711
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getTask']?.[localVarOperationServerIndex]?.url;
|
|
2712
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2713
|
+
},
|
|
2604
2714
|
/**
|
|
2605
2715
|
* List all templates available
|
|
2606
2716
|
* @summary List templates
|
|
@@ -2967,6 +3077,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2967
3077
|
getProjects(requestParameters: ProjectsApiGetProjectsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse> {
|
|
2968
3078
|
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2969
3079
|
},
|
|
3080
|
+
/**
|
|
3081
|
+
* Get a task in the workflow
|
|
3082
|
+
* @summary Get Task
|
|
3083
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
3084
|
+
* @param {*} [options] Override http request option.
|
|
3085
|
+
* @throws {RequiredError}
|
|
3086
|
+
*/
|
|
3087
|
+
getTask(requestParameters: ProjectsApiGetTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
|
|
3088
|
+
return localVarFp.getTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3089
|
+
},
|
|
2970
3090
|
/**
|
|
2971
3091
|
* List all templates available
|
|
2972
3092
|
* @summary List templates
|
|
@@ -3429,6 +3549,27 @@ export interface ProjectsApiGetProjectsRequest {
|
|
|
3429
3549
|
readonly project?: string
|
|
3430
3550
|
}
|
|
3431
3551
|
|
|
3552
|
+
/**
|
|
3553
|
+
* Request parameters for getTask operation in ProjectsApi.
|
|
3554
|
+
* @export
|
|
3555
|
+
* @interface ProjectsApiGetTaskRequest
|
|
3556
|
+
*/
|
|
3557
|
+
export interface ProjectsApiGetTaskRequest {
|
|
3558
|
+
/**
|
|
3559
|
+
* Projects unique identifier
|
|
3560
|
+
* @type {string}
|
|
3561
|
+
* @memberof ProjectsApiGetTask
|
|
3562
|
+
*/
|
|
3563
|
+
readonly project: string
|
|
3564
|
+
|
|
3565
|
+
/**
|
|
3566
|
+
* The unique id of the task
|
|
3567
|
+
* @type {string}
|
|
3568
|
+
* @memberof ProjectsApiGetTask
|
|
3569
|
+
*/
|
|
3570
|
+
readonly id: string
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3432
3573
|
/**
|
|
3433
3574
|
* Request parameters for getTemplates operation in ProjectsApi.
|
|
3434
3575
|
* @export
|
|
@@ -3941,6 +4082,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
3941
4082
|
return ProjectsApiFp(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
3942
4083
|
}
|
|
3943
4084
|
|
|
4085
|
+
/**
|
|
4086
|
+
* Get a task in the workflow
|
|
4087
|
+
* @summary Get Task
|
|
4088
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
4089
|
+
* @param {*} [options] Override http request option.
|
|
4090
|
+
* @throws {RequiredError}
|
|
4091
|
+
* @memberof ProjectsApi
|
|
4092
|
+
*/
|
|
4093
|
+
public getTask(requestParameters: ProjectsApiGetTaskRequest, options?: RawAxiosRequestConfig) {
|
|
4094
|
+
return ProjectsApiFp(this.configuration).getTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4095
|
+
}
|
|
4096
|
+
|
|
3944
4097
|
/**
|
|
3945
4098
|
* List all templates available
|
|
3946
4099
|
* @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.33.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -92,7 +92,7 @@ export class Configuration {
|
|
|
92
92
|
this.baseOptions = {
|
|
93
93
|
headers: {
|
|
94
94
|
...param.baseOptions?.headers,
|
|
95
|
-
'User-Agent': "OpenAPI-Generator/1.
|
|
95
|
+
'User-Agent': "OpenAPI-Generator/1.33.0/typescript-axios"
|
|
96
96
|
},
|
|
97
97
|
...param.baseOptions
|
|
98
98
|
};
|
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.33.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -401,10 +401,10 @@ export interface LegacyProjectLogo {
|
|
|
401
401
|
export interface ListTasksResponse {
|
|
402
402
|
/**
|
|
403
403
|
*
|
|
404
|
-
* @type {Array<
|
|
404
|
+
* @type {Array<TaskSummary>}
|
|
405
405
|
* @memberof ListTasksResponse
|
|
406
406
|
*/
|
|
407
|
-
'tasks': Array<
|
|
407
|
+
'tasks': Array<TaskSummary>;
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
410
|
*
|
|
@@ -774,6 +774,55 @@ export declare const TaskStatus: {
|
|
|
774
774
|
readonly Done: "done";
|
|
775
775
|
};
|
|
776
776
|
export type TaskStatus = typeof TaskStatus[keyof typeof TaskStatus];
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @export
|
|
780
|
+
* @interface TaskSummary
|
|
781
|
+
*/
|
|
782
|
+
export interface TaskSummary {
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @type {string}
|
|
786
|
+
* @memberof TaskSummary
|
|
787
|
+
*/
|
|
788
|
+
'id': string;
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @type {string}
|
|
792
|
+
* @memberof TaskSummary
|
|
793
|
+
*/
|
|
794
|
+
'content': string;
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @type {TaskStatus}
|
|
798
|
+
* @memberof TaskSummary
|
|
799
|
+
*/
|
|
800
|
+
'status': TaskStatus;
|
|
801
|
+
/**
|
|
802
|
+
* The position of the task in its status group
|
|
803
|
+
* @type {number}
|
|
804
|
+
* @memberof TaskSummary
|
|
805
|
+
*/
|
|
806
|
+
'sortOrder': number;
|
|
807
|
+
/**
|
|
808
|
+
* The unique id of the user who owns the task
|
|
809
|
+
* @type {string}
|
|
810
|
+
* @memberof TaskSummary
|
|
811
|
+
*/
|
|
812
|
+
'owner': string | null;
|
|
813
|
+
/**
|
|
814
|
+
* The estimated hours to complete the task
|
|
815
|
+
* @type {number}
|
|
816
|
+
* @memberof TaskSummary
|
|
817
|
+
*/
|
|
818
|
+
'estimatedHours': number | null;
|
|
819
|
+
/**
|
|
820
|
+
*
|
|
821
|
+
* @type {string}
|
|
822
|
+
* @memberof TaskSummary
|
|
823
|
+
*/
|
|
824
|
+
'createdAt': string;
|
|
825
|
+
}
|
|
777
826
|
/**
|
|
778
827
|
*
|
|
779
828
|
* @export
|
|
@@ -1103,6 +1152,15 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1103
1152
|
* @throws {RequiredError}
|
|
1104
1153
|
*/
|
|
1105
1154
|
getProjects: (project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Get a task in the workflow
|
|
1157
|
+
* @summary Get Task
|
|
1158
|
+
* @param {string} project Projects unique identifier
|
|
1159
|
+
* @param {string} id The unique id of the task
|
|
1160
|
+
* @param {*} [options] Override http request option.
|
|
1161
|
+
* @throws {RequiredError}
|
|
1162
|
+
*/
|
|
1163
|
+
getTask: (project: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1106
1164
|
/**
|
|
1107
1165
|
* List all templates available
|
|
1108
1166
|
* @summary List templates
|
|
@@ -1379,6 +1437,15 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1379
1437
|
* @throws {RequiredError}
|
|
1380
1438
|
*/
|
|
1381
1439
|
getProjects(project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>>;
|
|
1440
|
+
/**
|
|
1441
|
+
* Get a task in the workflow
|
|
1442
|
+
* @summary Get Task
|
|
1443
|
+
* @param {string} project Projects unique identifier
|
|
1444
|
+
* @param {string} id The unique id of the task
|
|
1445
|
+
* @param {*} [options] Override http request option.
|
|
1446
|
+
* @throws {RequiredError}
|
|
1447
|
+
*/
|
|
1448
|
+
getTask(project: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>>;
|
|
1382
1449
|
/**
|
|
1383
1450
|
* List all templates available
|
|
1384
1451
|
* @summary List templates
|
|
@@ -1642,6 +1709,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
1642
1709
|
* @throws {RequiredError}
|
|
1643
1710
|
*/
|
|
1644
1711
|
getProjects(requestParameters?: ProjectsApiGetProjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse>;
|
|
1712
|
+
/**
|
|
1713
|
+
* Get a task in the workflow
|
|
1714
|
+
* @summary Get Task
|
|
1715
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
1716
|
+
* @param {*} [options] Override http request option.
|
|
1717
|
+
* @throws {RequiredError}
|
|
1718
|
+
*/
|
|
1719
|
+
getTask(requestParameters: ProjectsApiGetTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task>;
|
|
1645
1720
|
/**
|
|
1646
1721
|
* List all templates available
|
|
1647
1722
|
* @summary List templates
|
|
@@ -2046,6 +2121,25 @@ export interface ProjectsApiGetProjectsRequest {
|
|
|
2046
2121
|
*/
|
|
2047
2122
|
readonly project?: string;
|
|
2048
2123
|
}
|
|
2124
|
+
/**
|
|
2125
|
+
* Request parameters for getTask operation in ProjectsApi.
|
|
2126
|
+
* @export
|
|
2127
|
+
* @interface ProjectsApiGetTaskRequest
|
|
2128
|
+
*/
|
|
2129
|
+
export interface ProjectsApiGetTaskRequest {
|
|
2130
|
+
/**
|
|
2131
|
+
* Projects unique identifier
|
|
2132
|
+
* @type {string}
|
|
2133
|
+
* @memberof ProjectsApiGetTask
|
|
2134
|
+
*/
|
|
2135
|
+
readonly project: string;
|
|
2136
|
+
/**
|
|
2137
|
+
* The unique id of the task
|
|
2138
|
+
* @type {string}
|
|
2139
|
+
* @memberof ProjectsApiGetTask
|
|
2140
|
+
*/
|
|
2141
|
+
readonly id: string;
|
|
2142
|
+
}
|
|
2049
2143
|
/**
|
|
2050
2144
|
* Request parameters for getTemplates operation in ProjectsApi.
|
|
2051
2145
|
* @export
|
|
@@ -2477,6 +2571,15 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
2477
2571
|
* @memberof ProjectsApi
|
|
2478
2572
|
*/
|
|
2479
2573
|
getProjects(requestParameters?: ProjectsApiGetProjectsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectsResponse, any>>;
|
|
2574
|
+
/**
|
|
2575
|
+
* Get a task in the workflow
|
|
2576
|
+
* @summary Get Task
|
|
2577
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
2578
|
+
* @param {*} [options] Override http request option.
|
|
2579
|
+
* @throws {RequiredError}
|
|
2580
|
+
* @memberof ProjectsApi
|
|
2581
|
+
*/
|
|
2582
|
+
getTask(requestParameters: ProjectsApiGetTaskRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Task, any>>;
|
|
2480
2583
|
/**
|
|
2481
2584
|
* List all templates available
|
|
2482
2585
|
* @summary List templates
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage PodOS Projects
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.33.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -695,6 +695,44 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
695
695
|
options: localVarRequestOptions,
|
|
696
696
|
};
|
|
697
697
|
}),
|
|
698
|
+
/**
|
|
699
|
+
* Get a task in the workflow
|
|
700
|
+
* @summary Get Task
|
|
701
|
+
* @param {string} project Projects unique identifier
|
|
702
|
+
* @param {string} id The unique id of the task
|
|
703
|
+
* @param {*} [options] Override http request option.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
*/
|
|
706
|
+
getTask: (project_1, id_1, ...args_1) => __awaiter(this, [project_1, id_1, ...args_1], void 0, function* (project, id, options = {}) {
|
|
707
|
+
// verify required parameter 'project' is not null or undefined
|
|
708
|
+
(0, common_1.assertParamExists)('getTask', 'project', project);
|
|
709
|
+
// verify required parameter 'id' is not null or undefined
|
|
710
|
+
(0, common_1.assertParamExists)('getTask', 'id', id);
|
|
711
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
712
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
713
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
714
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
715
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
716
|
+
let baseOptions;
|
|
717
|
+
if (configuration) {
|
|
718
|
+
baseOptions = configuration.baseOptions;
|
|
719
|
+
}
|
|
720
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
721
|
+
const localVarHeaderParameter = {};
|
|
722
|
+
const localVarQueryParameter = {};
|
|
723
|
+
// authentication session-oauth required
|
|
724
|
+
// oauth required
|
|
725
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
726
|
+
// authentication api-key required
|
|
727
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
728
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
729
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
730
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
731
|
+
return {
|
|
732
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
733
|
+
options: localVarRequestOptions,
|
|
734
|
+
};
|
|
735
|
+
}),
|
|
698
736
|
/**
|
|
699
737
|
* List all templates available
|
|
700
738
|
* @summary List templates
|
|
@@ -1504,6 +1542,23 @@ const ProjectsApiFp = function (configuration) {
|
|
|
1504
1542
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1505
1543
|
});
|
|
1506
1544
|
},
|
|
1545
|
+
/**
|
|
1546
|
+
* Get a task in the workflow
|
|
1547
|
+
* @summary Get Task
|
|
1548
|
+
* @param {string} project Projects unique identifier
|
|
1549
|
+
* @param {string} id The unique id of the task
|
|
1550
|
+
* @param {*} [options] Override http request option.
|
|
1551
|
+
* @throws {RequiredError}
|
|
1552
|
+
*/
|
|
1553
|
+
getTask(project, id, options) {
|
|
1554
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1555
|
+
var _a, _b, _c;
|
|
1556
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTask(project, id, options);
|
|
1557
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1558
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.getTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1559
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1560
|
+
});
|
|
1561
|
+
},
|
|
1507
1562
|
/**
|
|
1508
1563
|
* List all templates available
|
|
1509
1564
|
* @summary List templates
|
|
@@ -1909,6 +1964,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1909
1964
|
getProjects(requestParameters = {}, options) {
|
|
1910
1965
|
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1911
1966
|
},
|
|
1967
|
+
/**
|
|
1968
|
+
* Get a task in the workflow
|
|
1969
|
+
* @summary Get Task
|
|
1970
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
1971
|
+
* @param {*} [options] Override http request option.
|
|
1972
|
+
* @throws {RequiredError}
|
|
1973
|
+
*/
|
|
1974
|
+
getTask(requestParameters, options) {
|
|
1975
|
+
return localVarFp.getTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1976
|
+
},
|
|
1912
1977
|
/**
|
|
1913
1978
|
* List all templates available
|
|
1914
1979
|
* @summary List templates
|
|
@@ -2236,6 +2301,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
2236
2301
|
getProjects(requestParameters = {}, options) {
|
|
2237
2302
|
return (0, exports.ProjectsApiFp)(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2238
2303
|
}
|
|
2304
|
+
/**
|
|
2305
|
+
* Get a task in the workflow
|
|
2306
|
+
* @summary Get Task
|
|
2307
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
2308
|
+
* @param {*} [options] Override http request option.
|
|
2309
|
+
* @throws {RequiredError}
|
|
2310
|
+
* @memberof ProjectsApi
|
|
2311
|
+
*/
|
|
2312
|
+
getTask(requestParameters, options) {
|
|
2313
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2314
|
+
}
|
|
2239
2315
|
/**
|
|
2240
2316
|
* List all templates available
|
|
2241
2317
|
* @summary List templates
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
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.33.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,7 +23,7 @@ class Configuration {
|
|
|
23
23
|
this.accessToken = param.accessToken;
|
|
24
24
|
this.basePath = param.basePath;
|
|
25
25
|
this.serverIndex = param.serverIndex;
|
|
26
|
-
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.
|
|
26
|
+
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.33.0/typescript-axios" }) }, param.baseOptions);
|
|
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.33.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -401,10 +401,10 @@ export interface LegacyProjectLogo {
|
|
|
401
401
|
export interface ListTasksResponse {
|
|
402
402
|
/**
|
|
403
403
|
*
|
|
404
|
-
* @type {Array<
|
|
404
|
+
* @type {Array<TaskSummary>}
|
|
405
405
|
* @memberof ListTasksResponse
|
|
406
406
|
*/
|
|
407
|
-
'tasks': Array<
|
|
407
|
+
'tasks': Array<TaskSummary>;
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
410
|
*
|
|
@@ -774,6 +774,55 @@ export declare const TaskStatus: {
|
|
|
774
774
|
readonly Done: "done";
|
|
775
775
|
};
|
|
776
776
|
export type TaskStatus = typeof TaskStatus[keyof typeof TaskStatus];
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @export
|
|
780
|
+
* @interface TaskSummary
|
|
781
|
+
*/
|
|
782
|
+
export interface TaskSummary {
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @type {string}
|
|
786
|
+
* @memberof TaskSummary
|
|
787
|
+
*/
|
|
788
|
+
'id': string;
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @type {string}
|
|
792
|
+
* @memberof TaskSummary
|
|
793
|
+
*/
|
|
794
|
+
'content': string;
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @type {TaskStatus}
|
|
798
|
+
* @memberof TaskSummary
|
|
799
|
+
*/
|
|
800
|
+
'status': TaskStatus;
|
|
801
|
+
/**
|
|
802
|
+
* The position of the task in its status group
|
|
803
|
+
* @type {number}
|
|
804
|
+
* @memberof TaskSummary
|
|
805
|
+
*/
|
|
806
|
+
'sortOrder': number;
|
|
807
|
+
/**
|
|
808
|
+
* The unique id of the user who owns the task
|
|
809
|
+
* @type {string}
|
|
810
|
+
* @memberof TaskSummary
|
|
811
|
+
*/
|
|
812
|
+
'owner': string | null;
|
|
813
|
+
/**
|
|
814
|
+
* The estimated hours to complete the task
|
|
815
|
+
* @type {number}
|
|
816
|
+
* @memberof TaskSummary
|
|
817
|
+
*/
|
|
818
|
+
'estimatedHours': number | null;
|
|
819
|
+
/**
|
|
820
|
+
*
|
|
821
|
+
* @type {string}
|
|
822
|
+
* @memberof TaskSummary
|
|
823
|
+
*/
|
|
824
|
+
'createdAt': string;
|
|
825
|
+
}
|
|
777
826
|
/**
|
|
778
827
|
*
|
|
779
828
|
* @export
|
|
@@ -1103,6 +1152,15 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1103
1152
|
* @throws {RequiredError}
|
|
1104
1153
|
*/
|
|
1105
1154
|
getProjects: (project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Get a task in the workflow
|
|
1157
|
+
* @summary Get Task
|
|
1158
|
+
* @param {string} project Projects unique identifier
|
|
1159
|
+
* @param {string} id The unique id of the task
|
|
1160
|
+
* @param {*} [options] Override http request option.
|
|
1161
|
+
* @throws {RequiredError}
|
|
1162
|
+
*/
|
|
1163
|
+
getTask: (project: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1106
1164
|
/**
|
|
1107
1165
|
* List all templates available
|
|
1108
1166
|
* @summary List templates
|
|
@@ -1379,6 +1437,15 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1379
1437
|
* @throws {RequiredError}
|
|
1380
1438
|
*/
|
|
1381
1439
|
getProjects(project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>>;
|
|
1440
|
+
/**
|
|
1441
|
+
* Get a task in the workflow
|
|
1442
|
+
* @summary Get Task
|
|
1443
|
+
* @param {string} project Projects unique identifier
|
|
1444
|
+
* @param {string} id The unique id of the task
|
|
1445
|
+
* @param {*} [options] Override http request option.
|
|
1446
|
+
* @throws {RequiredError}
|
|
1447
|
+
*/
|
|
1448
|
+
getTask(project: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>>;
|
|
1382
1449
|
/**
|
|
1383
1450
|
* List all templates available
|
|
1384
1451
|
* @summary List templates
|
|
@@ -1642,6 +1709,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
1642
1709
|
* @throws {RequiredError}
|
|
1643
1710
|
*/
|
|
1644
1711
|
getProjects(requestParameters?: ProjectsApiGetProjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectsResponse>;
|
|
1712
|
+
/**
|
|
1713
|
+
* Get a task in the workflow
|
|
1714
|
+
* @summary Get Task
|
|
1715
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
1716
|
+
* @param {*} [options] Override http request option.
|
|
1717
|
+
* @throws {RequiredError}
|
|
1718
|
+
*/
|
|
1719
|
+
getTask(requestParameters: ProjectsApiGetTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task>;
|
|
1645
1720
|
/**
|
|
1646
1721
|
* List all templates available
|
|
1647
1722
|
* @summary List templates
|
|
@@ -2046,6 +2121,25 @@ export interface ProjectsApiGetProjectsRequest {
|
|
|
2046
2121
|
*/
|
|
2047
2122
|
readonly project?: string;
|
|
2048
2123
|
}
|
|
2124
|
+
/**
|
|
2125
|
+
* Request parameters for getTask operation in ProjectsApi.
|
|
2126
|
+
* @export
|
|
2127
|
+
* @interface ProjectsApiGetTaskRequest
|
|
2128
|
+
*/
|
|
2129
|
+
export interface ProjectsApiGetTaskRequest {
|
|
2130
|
+
/**
|
|
2131
|
+
* Projects unique identifier
|
|
2132
|
+
* @type {string}
|
|
2133
|
+
* @memberof ProjectsApiGetTask
|
|
2134
|
+
*/
|
|
2135
|
+
readonly project: string;
|
|
2136
|
+
/**
|
|
2137
|
+
* The unique id of the task
|
|
2138
|
+
* @type {string}
|
|
2139
|
+
* @memberof ProjectsApiGetTask
|
|
2140
|
+
*/
|
|
2141
|
+
readonly id: string;
|
|
2142
|
+
}
|
|
2049
2143
|
/**
|
|
2050
2144
|
* Request parameters for getTemplates operation in ProjectsApi.
|
|
2051
2145
|
* @export
|
|
@@ -2477,6 +2571,15 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
2477
2571
|
* @memberof ProjectsApi
|
|
2478
2572
|
*/
|
|
2479
2573
|
getProjects(requestParameters?: ProjectsApiGetProjectsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectsResponse, any>>;
|
|
2574
|
+
/**
|
|
2575
|
+
* Get a task in the workflow
|
|
2576
|
+
* @summary Get Task
|
|
2577
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
2578
|
+
* @param {*} [options] Override http request option.
|
|
2579
|
+
* @throws {RequiredError}
|
|
2580
|
+
* @memberof ProjectsApi
|
|
2581
|
+
*/
|
|
2582
|
+
getTask(requestParameters: ProjectsApiGetTaskRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Task, any>>;
|
|
2480
2583
|
/**
|
|
2481
2584
|
* List all templates available
|
|
2482
2585
|
* @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.33.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -692,6 +692,44 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
692
692
|
options: localVarRequestOptions,
|
|
693
693
|
};
|
|
694
694
|
}),
|
|
695
|
+
/**
|
|
696
|
+
* Get a task in the workflow
|
|
697
|
+
* @summary Get Task
|
|
698
|
+
* @param {string} project Projects unique identifier
|
|
699
|
+
* @param {string} id The unique id of the task
|
|
700
|
+
* @param {*} [options] Override http request option.
|
|
701
|
+
* @throws {RequiredError}
|
|
702
|
+
*/
|
|
703
|
+
getTask: (project_1, id_1, ...args_1) => __awaiter(this, [project_1, id_1, ...args_1], void 0, function* (project, id, options = {}) {
|
|
704
|
+
// verify required parameter 'project' is not null or undefined
|
|
705
|
+
assertParamExists('getTask', 'project', project);
|
|
706
|
+
// verify required parameter 'id' is not null or undefined
|
|
707
|
+
assertParamExists('getTask', 'id', id);
|
|
708
|
+
const localVarPath = `/v1/projects/{project}/tasks/{id}`
|
|
709
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
710
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
711
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
712
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
713
|
+
let baseOptions;
|
|
714
|
+
if (configuration) {
|
|
715
|
+
baseOptions = configuration.baseOptions;
|
|
716
|
+
}
|
|
717
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
718
|
+
const localVarHeaderParameter = {};
|
|
719
|
+
const localVarQueryParameter = {};
|
|
720
|
+
// authentication session-oauth required
|
|
721
|
+
// oauth required
|
|
722
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
723
|
+
// authentication api-key required
|
|
724
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
725
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
726
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
727
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
728
|
+
return {
|
|
729
|
+
url: toPathString(localVarUrlObj),
|
|
730
|
+
options: localVarRequestOptions,
|
|
731
|
+
};
|
|
732
|
+
}),
|
|
695
733
|
/**
|
|
696
734
|
* List all templates available
|
|
697
735
|
* @summary List templates
|
|
@@ -1500,6 +1538,23 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1500
1538
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1501
1539
|
});
|
|
1502
1540
|
},
|
|
1541
|
+
/**
|
|
1542
|
+
* Get a task in the workflow
|
|
1543
|
+
* @summary Get Task
|
|
1544
|
+
* @param {string} project Projects unique identifier
|
|
1545
|
+
* @param {string} id The unique id of the task
|
|
1546
|
+
* @param {*} [options] Override http request option.
|
|
1547
|
+
* @throws {RequiredError}
|
|
1548
|
+
*/
|
|
1549
|
+
getTask(project, id, options) {
|
|
1550
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1551
|
+
var _a, _b, _c;
|
|
1552
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTask(project, id, options);
|
|
1553
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1554
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.getTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1555
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1556
|
+
});
|
|
1557
|
+
},
|
|
1503
1558
|
/**
|
|
1504
1559
|
* List all templates available
|
|
1505
1560
|
* @summary List templates
|
|
@@ -1904,6 +1959,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
1904
1959
|
getProjects(requestParameters = {}, options) {
|
|
1905
1960
|
return localVarFp.getProjects(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1906
1961
|
},
|
|
1962
|
+
/**
|
|
1963
|
+
* Get a task in the workflow
|
|
1964
|
+
* @summary Get Task
|
|
1965
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
1966
|
+
* @param {*} [options] Override http request option.
|
|
1967
|
+
* @throws {RequiredError}
|
|
1968
|
+
*/
|
|
1969
|
+
getTask(requestParameters, options) {
|
|
1970
|
+
return localVarFp.getTask(requestParameters.project, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1971
|
+
},
|
|
1907
1972
|
/**
|
|
1908
1973
|
* List all templates available
|
|
1909
1974
|
* @summary List templates
|
|
@@ -2230,6 +2295,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2230
2295
|
getProjects(requestParameters = {}, options) {
|
|
2231
2296
|
return ProjectsApiFp(this.configuration).getProjects(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2232
2297
|
}
|
|
2298
|
+
/**
|
|
2299
|
+
* Get a task in the workflow
|
|
2300
|
+
* @summary Get Task
|
|
2301
|
+
* @param {ProjectsApiGetTaskRequest} requestParameters Request parameters.
|
|
2302
|
+
* @param {*} [options] Override http request option.
|
|
2303
|
+
* @throws {RequiredError}
|
|
2304
|
+
* @memberof ProjectsApi
|
|
2305
|
+
*/
|
|
2306
|
+
getTask(requestParameters, options) {
|
|
2307
|
+
return ProjectsApiFp(this.configuration).getTask(requestParameters.project, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2308
|
+
}
|
|
2233
2309
|
/**
|
|
2234
2310
|
* List all templates available
|
|
2235
2311
|
* @summary List templates
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
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.33.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(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.
|
|
23
|
+
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/1.33.0/typescript-axios" }) }, param.baseOptions);
|
|
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