@teemill/projects 1.41.0 → 1.43.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 +7 -2
- package/api.ts +254 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +158 -1
- package/dist/api.js +149 -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 +1 -1
- package/dist/esm/api.d.ts +158 -1
- package/dist/esm/api.js +149 -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 +1 -1
- 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/docs/BulkUpdateTasksRequest.md +20 -0
- package/docs/BulkUpdateTasksRequestTasksInner.md +22 -0
- package/docs/OkrSummary.md +24 -0
- package/docs/ProjectsApi.md +116 -0
- 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.43.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.43.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -51,6 +51,7 @@ All URIs are relative to *https://localhost:8080*
|
|
|
51
51
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
|
+
*ProjectsApi* | [**bulkUpdateTasks**](docs/ProjectsApi.md#bulkupdatetasks) | **PATCH** /v1/projects/{project}/tasks | Bulk update tasks
|
|
54
55
|
*ProjectsApi* | [**createAuth**](docs/ProjectsApi.md#createauth) | **POST** /v1/projects/{project}/auth | Create auth token
|
|
55
56
|
*ProjectsApi* | [**createBookmark**](docs/ProjectsApi.md#createbookmark) | **POST** /v1/projects/{project}/bookmarks | Create bookmark
|
|
56
57
|
*ProjectsApi* | [**createInvite**](docs/ProjectsApi.md#createinvite) | **POST** /v1/projects/{project}/invites | Creates an invite
|
|
@@ -68,6 +69,7 @@ Class | Method | HTTP request | Description
|
|
|
68
69
|
*ProjectsApi* | [**getIntegration**](docs/ProjectsApi.md#getintegration) | **GET** /v1/projects/{project}/integrations/{integration} | Get integration
|
|
69
70
|
*ProjectsApi* | [**getIntegrations**](docs/ProjectsApi.md#getintegrations) | **GET** /v1/projects/{project}/integrations | List integrations
|
|
70
71
|
*ProjectsApi* | [**getInvites**](docs/ProjectsApi.md#getinvites) | **GET** /v1/projects/{project}/invites | List Invites
|
|
72
|
+
*ProjectsApi* | [**getOkrSummary**](docs/ProjectsApi.md#getokrsummary) | **GET** /v1/projects/{project}/okrs/summary | Get OKR summary
|
|
71
73
|
*ProjectsApi* | [**getProject**](docs/ProjectsApi.md#getproject) | **GET** /v1/projects/{project} | Get project
|
|
72
74
|
*ProjectsApi* | [**getProjects**](docs/ProjectsApi.md#getprojects) | **GET** /v1/projects | List projects
|
|
73
75
|
*ProjectsApi* | [**getTask**](docs/ProjectsApi.md#gettask) | **GET** /v1/projects/{project}/tasks/{id} | Get Task
|
|
@@ -101,6 +103,8 @@ Class | Method | HTTP request | Description
|
|
|
101
103
|
- [BookmarkTabs](docs/BookmarkTabs.md)
|
|
102
104
|
- [BookmarkUrl](docs/BookmarkUrl.md)
|
|
103
105
|
- [Bookmarks](docs/Bookmarks.md)
|
|
106
|
+
- [BulkUpdateTasksRequest](docs/BulkUpdateTasksRequest.md)
|
|
107
|
+
- [BulkUpdateTasksRequestTasksInner](docs/BulkUpdateTasksRequestTasksInner.md)
|
|
104
108
|
- [CreateBookmarkRequest](docs/CreateBookmarkRequest.md)
|
|
105
109
|
- [CreateInviteRequest](docs/CreateInviteRequest.md)
|
|
106
110
|
- [CreateProjectRequest](docs/CreateProjectRequest.md)
|
|
@@ -114,6 +118,7 @@ Class | Method | HTTP request | Description
|
|
|
114
118
|
- [ListTasksResponse](docs/ListTasksResponse.md)
|
|
115
119
|
- [NullableIcon](docs/NullableIcon.md)
|
|
116
120
|
- [OkrLevel](docs/OkrLevel.md)
|
|
121
|
+
- [OkrSummary](docs/OkrSummary.md)
|
|
117
122
|
- [Project](docs/Project.md)
|
|
118
123
|
- [ProjectCurrency](docs/ProjectCurrency.md)
|
|
119
124
|
- [ProjectInvite](docs/ProjectInvite.md)
|
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.43.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -249,6 +249,40 @@ export interface Bookmarks {
|
|
|
249
249
|
*/
|
|
250
250
|
'bookmarks': Array<Bookmark>;
|
|
251
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @export
|
|
255
|
+
* @interface BulkUpdateTasksRequest
|
|
256
|
+
*/
|
|
257
|
+
export interface BulkUpdateTasksRequest {
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @type {Array<BulkUpdateTasksRequestTasksInner>}
|
|
261
|
+
* @memberof BulkUpdateTasksRequest
|
|
262
|
+
*/
|
|
263
|
+
'tasks': Array<BulkUpdateTasksRequestTasksInner>;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @export
|
|
268
|
+
* @interface BulkUpdateTasksRequestTasksInner
|
|
269
|
+
*/
|
|
270
|
+
export interface BulkUpdateTasksRequestTasksInner {
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @memberof BulkUpdateTasksRequestTasksInner
|
|
275
|
+
*/
|
|
276
|
+
'id': string;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @type {TaskStatus}
|
|
280
|
+
* @memberof BulkUpdateTasksRequestTasksInner
|
|
281
|
+
*/
|
|
282
|
+
'status': TaskStatus;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
|
|
252
286
|
/**
|
|
253
287
|
*
|
|
254
288
|
* @export
|
|
@@ -532,6 +566,31 @@ export const OkrLevel = {
|
|
|
532
566
|
export type OkrLevel = typeof OkrLevel[keyof typeof OkrLevel];
|
|
533
567
|
|
|
534
568
|
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @export
|
|
572
|
+
* @interface OkrSummary
|
|
573
|
+
*/
|
|
574
|
+
export interface OkrSummary {
|
|
575
|
+
/**
|
|
576
|
+
*
|
|
577
|
+
* @type {string}
|
|
578
|
+
* @memberof OkrSummary
|
|
579
|
+
*/
|
|
580
|
+
'id': string;
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @type {string}
|
|
584
|
+
* @memberof OkrSummary
|
|
585
|
+
*/
|
|
586
|
+
'content': string;
|
|
587
|
+
/**
|
|
588
|
+
*
|
|
589
|
+
* @type {string}
|
|
590
|
+
* @memberof OkrSummary
|
|
591
|
+
*/
|
|
592
|
+
'createdAt': string;
|
|
593
|
+
}
|
|
535
594
|
/**
|
|
536
595
|
*
|
|
537
596
|
* @export
|
|
@@ -1314,6 +1373,53 @@ export interface UpdateTaskRequest {
|
|
|
1314
1373
|
*/
|
|
1315
1374
|
export const ProjectsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1316
1375
|
return {
|
|
1376
|
+
/**
|
|
1377
|
+
* Update multiple tasks in the workflow at once
|
|
1378
|
+
* @summary Bulk update tasks
|
|
1379
|
+
* @param {string} project Projects unique identifier
|
|
1380
|
+
* @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
|
|
1381
|
+
* @param {*} [options] Override http request option.
|
|
1382
|
+
* @throws {RequiredError}
|
|
1383
|
+
*/
|
|
1384
|
+
bulkUpdateTasks: async (project: string, bulkUpdateTasksRequest: BulkUpdateTasksRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1385
|
+
// verify required parameter 'project' is not null or undefined
|
|
1386
|
+
assertParamExists('bulkUpdateTasks', 'project', project)
|
|
1387
|
+
// verify required parameter 'bulkUpdateTasksRequest' is not null or undefined
|
|
1388
|
+
assertParamExists('bulkUpdateTasks', 'bulkUpdateTasksRequest', bulkUpdateTasksRequest)
|
|
1389
|
+
const localVarPath = `/v1/projects/{project}/tasks`
|
|
1390
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
1391
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1392
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1393
|
+
let baseOptions;
|
|
1394
|
+
if (configuration) {
|
|
1395
|
+
baseOptions = configuration.baseOptions;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1399
|
+
const localVarHeaderParameter = {} as any;
|
|
1400
|
+
const localVarQueryParameter = {} as any;
|
|
1401
|
+
|
|
1402
|
+
// authentication session-oauth required
|
|
1403
|
+
// oauth required
|
|
1404
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1405
|
+
|
|
1406
|
+
// authentication api-key required
|
|
1407
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1412
|
+
|
|
1413
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1414
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1415
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1416
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bulkUpdateTasksRequest, localVarRequestOptions, configuration)
|
|
1417
|
+
|
|
1418
|
+
return {
|
|
1419
|
+
url: toPathString(localVarUrlObj),
|
|
1420
|
+
options: localVarRequestOptions,
|
|
1421
|
+
};
|
|
1422
|
+
},
|
|
1317
1423
|
/**
|
|
1318
1424
|
* Create an auth token for the project
|
|
1319
1425
|
* @summary Create auth token
|
|
@@ -2064,6 +2170,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2064
2170
|
|
|
2065
2171
|
|
|
2066
2172
|
|
|
2173
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2174
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2175
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2176
|
+
|
|
2177
|
+
return {
|
|
2178
|
+
url: toPathString(localVarUrlObj),
|
|
2179
|
+
options: localVarRequestOptions,
|
|
2180
|
+
};
|
|
2181
|
+
},
|
|
2182
|
+
/**
|
|
2183
|
+
* Get the AI-generated OKR summary for the project
|
|
2184
|
+
* @summary Get OKR summary
|
|
2185
|
+
* @param {string} project Projects unique identifier
|
|
2186
|
+
* @param {*} [options] Override http request option.
|
|
2187
|
+
* @throws {RequiredError}
|
|
2188
|
+
*/
|
|
2189
|
+
getOkrSummary: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2190
|
+
// verify required parameter 'project' is not null or undefined
|
|
2191
|
+
assertParamExists('getOkrSummary', 'project', project)
|
|
2192
|
+
const localVarPath = `/v1/projects/{project}/okrs/summary`
|
|
2193
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
2194
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2195
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2196
|
+
let baseOptions;
|
|
2197
|
+
if (configuration) {
|
|
2198
|
+
baseOptions = configuration.baseOptions;
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2202
|
+
const localVarHeaderParameter = {} as any;
|
|
2203
|
+
const localVarQueryParameter = {} as any;
|
|
2204
|
+
|
|
2205
|
+
// authentication session-oauth required
|
|
2206
|
+
// oauth required
|
|
2207
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2208
|
+
|
|
2209
|
+
// authentication api-key required
|
|
2210
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2211
|
+
|
|
2212
|
+
|
|
2213
|
+
|
|
2067
2214
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2068
2215
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2069
2216
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2914,6 +3061,20 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2914
3061
|
export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
2915
3062
|
const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration)
|
|
2916
3063
|
return {
|
|
3064
|
+
/**
|
|
3065
|
+
* Update multiple tasks in the workflow at once
|
|
3066
|
+
* @summary Bulk update tasks
|
|
3067
|
+
* @param {string} project Projects unique identifier
|
|
3068
|
+
* @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
|
|
3069
|
+
* @param {*} [options] Override http request option.
|
|
3070
|
+
* @throws {RequiredError}
|
|
3071
|
+
*/
|
|
3072
|
+
async bulkUpdateTasks(project: string, bulkUpdateTasksRequest: BulkUpdateTasksRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponse>> {
|
|
3073
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bulkUpdateTasks(project, bulkUpdateTasksRequest, options);
|
|
3074
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3075
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.bulkUpdateTasks']?.[localVarOperationServerIndex]?.url;
|
|
3076
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3077
|
+
},
|
|
2917
3078
|
/**
|
|
2918
3079
|
* Create an auth token for the project
|
|
2919
3080
|
* @summary Create auth token
|
|
@@ -3148,6 +3309,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
3148
3309
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getInvites']?.[localVarOperationServerIndex]?.url;
|
|
3149
3310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3150
3311
|
},
|
|
3312
|
+
/**
|
|
3313
|
+
* Get the AI-generated OKR summary for the project
|
|
3314
|
+
* @summary Get OKR summary
|
|
3315
|
+
* @param {string} project Projects unique identifier
|
|
3316
|
+
* @param {*} [options] Override http request option.
|
|
3317
|
+
* @throws {RequiredError}
|
|
3318
|
+
*/
|
|
3319
|
+
async getOkrSummary(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OkrSummary>> {
|
|
3320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOkrSummary(project, options);
|
|
3321
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3322
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getOkrSummary']?.[localVarOperationServerIndex]?.url;
|
|
3323
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3324
|
+
},
|
|
3151
3325
|
/**
|
|
3152
3326
|
* Get a project
|
|
3153
3327
|
* @summary Get project
|
|
@@ -3411,6 +3585,16 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
3411
3585
|
export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3412
3586
|
const localVarFp = ProjectsApiFp(configuration)
|
|
3413
3587
|
return {
|
|
3588
|
+
/**
|
|
3589
|
+
* Update multiple tasks in the workflow at once
|
|
3590
|
+
* @summary Bulk update tasks
|
|
3591
|
+
* @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
|
|
3592
|
+
* @param {*} [options] Override http request option.
|
|
3593
|
+
* @throws {RequiredError}
|
|
3594
|
+
*/
|
|
3595
|
+
bulkUpdateTasks(requestParameters: ProjectsApiBulkUpdateTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse> {
|
|
3596
|
+
return localVarFp.bulkUpdateTasks(requestParameters.project, requestParameters.bulkUpdateTasksRequest, options).then((request) => request(axios, basePath));
|
|
3597
|
+
},
|
|
3414
3598
|
/**
|
|
3415
3599
|
* Create an auth token for the project
|
|
3416
3600
|
* @summary Create auth token
|
|
@@ -3581,6 +3765,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3581
3765
|
getInvites(requestParameters: ProjectsApiGetInvitesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectInvites> {
|
|
3582
3766
|
return localVarFp.getInvites(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
3583
3767
|
},
|
|
3768
|
+
/**
|
|
3769
|
+
* Get the AI-generated OKR summary for the project
|
|
3770
|
+
* @summary Get OKR summary
|
|
3771
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
3772
|
+
* @param {*} [options] Override http request option.
|
|
3773
|
+
* @throws {RequiredError}
|
|
3774
|
+
*/
|
|
3775
|
+
getOkrSummary(requestParameters: ProjectsApiGetOkrSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<OkrSummary> {
|
|
3776
|
+
return localVarFp.getOkrSummary(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3777
|
+
},
|
|
3584
3778
|
/**
|
|
3585
3779
|
* Get a project
|
|
3586
3780
|
* @summary Get project
|
|
@@ -3764,6 +3958,27 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3764
3958
|
};
|
|
3765
3959
|
};
|
|
3766
3960
|
|
|
3961
|
+
/**
|
|
3962
|
+
* Request parameters for bulkUpdateTasks operation in ProjectsApi.
|
|
3963
|
+
* @export
|
|
3964
|
+
* @interface ProjectsApiBulkUpdateTasksRequest
|
|
3965
|
+
*/
|
|
3966
|
+
export interface ProjectsApiBulkUpdateTasksRequest {
|
|
3967
|
+
/**
|
|
3968
|
+
* Projects unique identifier
|
|
3969
|
+
* @type {string}
|
|
3970
|
+
* @memberof ProjectsApiBulkUpdateTasks
|
|
3971
|
+
*/
|
|
3972
|
+
readonly project: string
|
|
3973
|
+
|
|
3974
|
+
/**
|
|
3975
|
+
* Update multiple tasks in the workflow
|
|
3976
|
+
* @type {BulkUpdateTasksRequest}
|
|
3977
|
+
* @memberof ProjectsApiBulkUpdateTasks
|
|
3978
|
+
*/
|
|
3979
|
+
readonly bulkUpdateTasksRequest: BulkUpdateTasksRequest
|
|
3980
|
+
}
|
|
3981
|
+
|
|
3767
3982
|
/**
|
|
3768
3983
|
* Request parameters for createAuth operation in ProjectsApi.
|
|
3769
3984
|
* @export
|
|
@@ -4093,6 +4308,20 @@ export interface ProjectsApiGetInvitesRequest {
|
|
|
4093
4308
|
readonly pageSize?: number
|
|
4094
4309
|
}
|
|
4095
4310
|
|
|
4311
|
+
/**
|
|
4312
|
+
* Request parameters for getOkrSummary operation in ProjectsApi.
|
|
4313
|
+
* @export
|
|
4314
|
+
* @interface ProjectsApiGetOkrSummaryRequest
|
|
4315
|
+
*/
|
|
4316
|
+
export interface ProjectsApiGetOkrSummaryRequest {
|
|
4317
|
+
/**
|
|
4318
|
+
* Projects unique identifier
|
|
4319
|
+
* @type {string}
|
|
4320
|
+
* @memberof ProjectsApiGetOkrSummary
|
|
4321
|
+
*/
|
|
4322
|
+
readonly project: string
|
|
4323
|
+
}
|
|
4324
|
+
|
|
4096
4325
|
/**
|
|
4097
4326
|
* Request parameters for getProject operation in ProjectsApi.
|
|
4098
4327
|
* @export
|
|
@@ -4485,6 +4714,18 @@ export interface ProjectsApiUpdateTaskRequest {
|
|
|
4485
4714
|
* @extends {BaseAPI}
|
|
4486
4715
|
*/
|
|
4487
4716
|
export class ProjectsApi extends BaseAPI {
|
|
4717
|
+
/**
|
|
4718
|
+
* Update multiple tasks in the workflow at once
|
|
4719
|
+
* @summary Bulk update tasks
|
|
4720
|
+
* @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
|
|
4721
|
+
* @param {*} [options] Override http request option.
|
|
4722
|
+
* @throws {RequiredError}
|
|
4723
|
+
* @memberof ProjectsApi
|
|
4724
|
+
*/
|
|
4725
|
+
public bulkUpdateTasks(requestParameters: ProjectsApiBulkUpdateTasksRequest, options?: RawAxiosRequestConfig) {
|
|
4726
|
+
return ProjectsApiFp(this.configuration).bulkUpdateTasks(requestParameters.project, requestParameters.bulkUpdateTasksRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4727
|
+
}
|
|
4728
|
+
|
|
4488
4729
|
/**
|
|
4489
4730
|
* Create an auth token for the project
|
|
4490
4731
|
* @summary Create auth token
|
|
@@ -4689,6 +4930,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4689
4930
|
return ProjectsApiFp(this.configuration).getInvites(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
4690
4931
|
}
|
|
4691
4932
|
|
|
4933
|
+
/**
|
|
4934
|
+
* Get the AI-generated OKR summary for the project
|
|
4935
|
+
* @summary Get OKR summary
|
|
4936
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
4937
|
+
* @param {*} [options] Override http request option.
|
|
4938
|
+
* @throws {RequiredError}
|
|
4939
|
+
* @memberof ProjectsApi
|
|
4940
|
+
*/
|
|
4941
|
+
public getOkrSummary(requestParameters: ProjectsApiGetOkrSummaryRequest, options?: RawAxiosRequestConfig) {
|
|
4942
|
+
return ProjectsApiFp(this.configuration).getOkrSummary(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
4943
|
+
}
|
|
4944
|
+
|
|
4692
4945
|
/**
|
|
4693
4946
|
* Get a project
|
|
4694
4947
|
* @summary Get project
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
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.43.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -242,6 +242,38 @@ export interface Bookmarks {
|
|
|
242
242
|
*/
|
|
243
243
|
'bookmarks': Array<Bookmark>;
|
|
244
244
|
}
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @export
|
|
248
|
+
* @interface BulkUpdateTasksRequest
|
|
249
|
+
*/
|
|
250
|
+
export interface BulkUpdateTasksRequest {
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @type {Array<BulkUpdateTasksRequestTasksInner>}
|
|
254
|
+
* @memberof BulkUpdateTasksRequest
|
|
255
|
+
*/
|
|
256
|
+
'tasks': Array<BulkUpdateTasksRequestTasksInner>;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @export
|
|
261
|
+
* @interface BulkUpdateTasksRequestTasksInner
|
|
262
|
+
*/
|
|
263
|
+
export interface BulkUpdateTasksRequestTasksInner {
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @type {string}
|
|
267
|
+
* @memberof BulkUpdateTasksRequestTasksInner
|
|
268
|
+
*/
|
|
269
|
+
'id': string;
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @type {TaskStatus}
|
|
273
|
+
* @memberof BulkUpdateTasksRequestTasksInner
|
|
274
|
+
*/
|
|
275
|
+
'status': TaskStatus;
|
|
276
|
+
}
|
|
245
277
|
/**
|
|
246
278
|
*
|
|
247
279
|
* @export
|
|
@@ -517,6 +549,31 @@ export declare const OkrLevel: {
|
|
|
517
549
|
readonly Task: "task";
|
|
518
550
|
};
|
|
519
551
|
export type OkrLevel = typeof OkrLevel[keyof typeof OkrLevel];
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @export
|
|
555
|
+
* @interface OkrSummary
|
|
556
|
+
*/
|
|
557
|
+
export interface OkrSummary {
|
|
558
|
+
/**
|
|
559
|
+
*
|
|
560
|
+
* @type {string}
|
|
561
|
+
* @memberof OkrSummary
|
|
562
|
+
*/
|
|
563
|
+
'id': string;
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @type {string}
|
|
567
|
+
* @memberof OkrSummary
|
|
568
|
+
*/
|
|
569
|
+
'content': string;
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @type {string}
|
|
573
|
+
* @memberof OkrSummary
|
|
574
|
+
*/
|
|
575
|
+
'createdAt': string;
|
|
576
|
+
}
|
|
520
577
|
/**
|
|
521
578
|
*
|
|
522
579
|
* @export
|
|
@@ -1280,6 +1337,15 @@ export interface UpdateTaskRequest {
|
|
|
1280
1337
|
* @export
|
|
1281
1338
|
*/
|
|
1282
1339
|
export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1340
|
+
/**
|
|
1341
|
+
* Update multiple tasks in the workflow at once
|
|
1342
|
+
* @summary Bulk update tasks
|
|
1343
|
+
* @param {string} project Projects unique identifier
|
|
1344
|
+
* @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
|
|
1345
|
+
* @param {*} [options] Override http request option.
|
|
1346
|
+
* @throws {RequiredError}
|
|
1347
|
+
*/
|
|
1348
|
+
bulkUpdateTasks: (project: string, bulkUpdateTasksRequest: BulkUpdateTasksRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1283
1349
|
/**
|
|
1284
1350
|
* Create an auth token for the project
|
|
1285
1351
|
* @summary Create auth token
|
|
@@ -1429,6 +1495,14 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1429
1495
|
* @throws {RequiredError}
|
|
1430
1496
|
*/
|
|
1431
1497
|
getInvites: (project: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1498
|
+
/**
|
|
1499
|
+
* Get the AI-generated OKR summary for the project
|
|
1500
|
+
* @summary Get OKR summary
|
|
1501
|
+
* @param {string} project Projects unique identifier
|
|
1502
|
+
* @param {*} [options] Override http request option.
|
|
1503
|
+
* @throws {RequiredError}
|
|
1504
|
+
*/
|
|
1505
|
+
getOkrSummary: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1432
1506
|
/**
|
|
1433
1507
|
* Get a project
|
|
1434
1508
|
* @summary Get project
|
|
@@ -1598,6 +1672,15 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1598
1672
|
* @export
|
|
1599
1673
|
*/
|
|
1600
1674
|
export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
1675
|
+
/**
|
|
1676
|
+
* Update multiple tasks in the workflow at once
|
|
1677
|
+
* @summary Bulk update tasks
|
|
1678
|
+
* @param {string} project Projects unique identifier
|
|
1679
|
+
* @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
|
|
1680
|
+
* @param {*} [options] Override http request option.
|
|
1681
|
+
* @throws {RequiredError}
|
|
1682
|
+
*/
|
|
1683
|
+
bulkUpdateTasks(project: string, bulkUpdateTasksRequest: BulkUpdateTasksRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponse>>;
|
|
1601
1684
|
/**
|
|
1602
1685
|
* Create an auth token for the project
|
|
1603
1686
|
* @summary Create auth token
|
|
@@ -1747,6 +1830,14 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1747
1830
|
* @throws {RequiredError}
|
|
1748
1831
|
*/
|
|
1749
1832
|
getInvites(project: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectInvites>>;
|
|
1833
|
+
/**
|
|
1834
|
+
* Get the AI-generated OKR summary for the project
|
|
1835
|
+
* @summary Get OKR summary
|
|
1836
|
+
* @param {string} project Projects unique identifier
|
|
1837
|
+
* @param {*} [options] Override http request option.
|
|
1838
|
+
* @throws {RequiredError}
|
|
1839
|
+
*/
|
|
1840
|
+
getOkrSummary(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OkrSummary>>;
|
|
1750
1841
|
/**
|
|
1751
1842
|
* Get a project
|
|
1752
1843
|
* @summary Get project
|
|
@@ -1916,6 +2007,14 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1916
2007
|
* @export
|
|
1917
2008
|
*/
|
|
1918
2009
|
export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2010
|
+
/**
|
|
2011
|
+
* Update multiple tasks in the workflow at once
|
|
2012
|
+
* @summary Bulk update tasks
|
|
2013
|
+
* @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
|
|
2014
|
+
* @param {*} [options] Override http request option.
|
|
2015
|
+
* @throws {RequiredError}
|
|
2016
|
+
*/
|
|
2017
|
+
bulkUpdateTasks(requestParameters: ProjectsApiBulkUpdateTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse>;
|
|
1919
2018
|
/**
|
|
1920
2019
|
* Create an auth token for the project
|
|
1921
2020
|
* @summary Create auth token
|
|
@@ -2052,6 +2151,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
2052
2151
|
* @throws {RequiredError}
|
|
2053
2152
|
*/
|
|
2054
2153
|
getInvites(requestParameters: ProjectsApiGetInvitesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectInvites>;
|
|
2154
|
+
/**
|
|
2155
|
+
* Get the AI-generated OKR summary for the project
|
|
2156
|
+
* @summary Get OKR summary
|
|
2157
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
2158
|
+
* @param {*} [options] Override http request option.
|
|
2159
|
+
* @throws {RequiredError}
|
|
2160
|
+
*/
|
|
2161
|
+
getOkrSummary(requestParameters: ProjectsApiGetOkrSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<OkrSummary>;
|
|
2055
2162
|
/**
|
|
2056
2163
|
* Get a project
|
|
2057
2164
|
* @summary Get project
|
|
@@ -2197,6 +2304,25 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
2197
2304
|
*/
|
|
2198
2305
|
updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task>;
|
|
2199
2306
|
};
|
|
2307
|
+
/**
|
|
2308
|
+
* Request parameters for bulkUpdateTasks operation in ProjectsApi.
|
|
2309
|
+
* @export
|
|
2310
|
+
* @interface ProjectsApiBulkUpdateTasksRequest
|
|
2311
|
+
*/
|
|
2312
|
+
export interface ProjectsApiBulkUpdateTasksRequest {
|
|
2313
|
+
/**
|
|
2314
|
+
* Projects unique identifier
|
|
2315
|
+
* @type {string}
|
|
2316
|
+
* @memberof ProjectsApiBulkUpdateTasks
|
|
2317
|
+
*/
|
|
2318
|
+
readonly project: string;
|
|
2319
|
+
/**
|
|
2320
|
+
* Update multiple tasks in the workflow
|
|
2321
|
+
* @type {BulkUpdateTasksRequest}
|
|
2322
|
+
* @memberof ProjectsApiBulkUpdateTasks
|
|
2323
|
+
*/
|
|
2324
|
+
readonly bulkUpdateTasksRequest: BulkUpdateTasksRequest;
|
|
2325
|
+
}
|
|
2200
2326
|
/**
|
|
2201
2327
|
* Request parameters for createAuth operation in ProjectsApi.
|
|
2202
2328
|
* @export
|
|
@@ -2496,6 +2622,19 @@ export interface ProjectsApiGetInvitesRequest {
|
|
|
2496
2622
|
*/
|
|
2497
2623
|
readonly pageSize?: number;
|
|
2498
2624
|
}
|
|
2625
|
+
/**
|
|
2626
|
+
* Request parameters for getOkrSummary operation in ProjectsApi.
|
|
2627
|
+
* @export
|
|
2628
|
+
* @interface ProjectsApiGetOkrSummaryRequest
|
|
2629
|
+
*/
|
|
2630
|
+
export interface ProjectsApiGetOkrSummaryRequest {
|
|
2631
|
+
/**
|
|
2632
|
+
* Projects unique identifier
|
|
2633
|
+
* @type {string}
|
|
2634
|
+
* @memberof ProjectsApiGetOkrSummary
|
|
2635
|
+
*/
|
|
2636
|
+
readonly project: string;
|
|
2637
|
+
}
|
|
2499
2638
|
/**
|
|
2500
2639
|
* Request parameters for getProject operation in ProjectsApi.
|
|
2501
2640
|
* @export
|
|
@@ -2851,6 +2990,15 @@ export interface ProjectsApiUpdateTaskRequest {
|
|
|
2851
2990
|
* @extends {BaseAPI}
|
|
2852
2991
|
*/
|
|
2853
2992
|
export declare class ProjectsApi extends BaseAPI {
|
|
2993
|
+
/**
|
|
2994
|
+
* Update multiple tasks in the workflow at once
|
|
2995
|
+
* @summary Bulk update tasks
|
|
2996
|
+
* @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
|
|
2997
|
+
* @param {*} [options] Override http request option.
|
|
2998
|
+
* @throws {RequiredError}
|
|
2999
|
+
* @memberof ProjectsApi
|
|
3000
|
+
*/
|
|
3001
|
+
bulkUpdateTasks(requestParameters: ProjectsApiBulkUpdateTasksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponse, any>>;
|
|
2854
3002
|
/**
|
|
2855
3003
|
* Create an auth token for the project
|
|
2856
3004
|
* @summary Create auth token
|
|
@@ -3004,6 +3152,15 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
3004
3152
|
* @memberof ProjectsApi
|
|
3005
3153
|
*/
|
|
3006
3154
|
getInvites(requestParameters: ProjectsApiGetInvitesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInvites, any>>;
|
|
3155
|
+
/**
|
|
3156
|
+
* Get the AI-generated OKR summary for the project
|
|
3157
|
+
* @summary Get OKR summary
|
|
3158
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
3159
|
+
* @param {*} [options] Override http request option.
|
|
3160
|
+
* @throws {RequiredError}
|
|
3161
|
+
* @memberof ProjectsApi
|
|
3162
|
+
*/
|
|
3163
|
+
getOkrSummary(requestParameters: ProjectsApiGetOkrSummaryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OkrSummary, any>>;
|
|
3007
3164
|
/**
|
|
3008
3165
|
* Get a project
|
|
3009
3166
|
* @summary Get project
|