@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/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.43.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -71,6 +71,45 @@ export const TemplateCode = {
|
|
|
71
71
|
*/
|
|
72
72
|
export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
73
73
|
return {
|
|
74
|
+
/**
|
|
75
|
+
* Update multiple tasks in the workflow at once
|
|
76
|
+
* @summary Bulk update tasks
|
|
77
|
+
* @param {string} project Projects unique identifier
|
|
78
|
+
* @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
bulkUpdateTasks: (project_1, bulkUpdateTasksRequest_1, ...args_1) => __awaiter(this, [project_1, bulkUpdateTasksRequest_1, ...args_1], void 0, function* (project, bulkUpdateTasksRequest, options = {}) {
|
|
83
|
+
// verify required parameter 'project' is not null or undefined
|
|
84
|
+
assertParamExists('bulkUpdateTasks', 'project', project);
|
|
85
|
+
// verify required parameter 'bulkUpdateTasksRequest' is not null or undefined
|
|
86
|
+
assertParamExists('bulkUpdateTasks', 'bulkUpdateTasksRequest', bulkUpdateTasksRequest);
|
|
87
|
+
const localVarPath = `/v1/projects/{project}/tasks`
|
|
88
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
89
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
90
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
91
|
+
let baseOptions;
|
|
92
|
+
if (configuration) {
|
|
93
|
+
baseOptions = configuration.baseOptions;
|
|
94
|
+
}
|
|
95
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
96
|
+
const localVarHeaderParameter = {};
|
|
97
|
+
const localVarQueryParameter = {};
|
|
98
|
+
// authentication session-oauth required
|
|
99
|
+
// oauth required
|
|
100
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
101
|
+
// authentication api-key required
|
|
102
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
103
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bulkUpdateTasksRequest, localVarRequestOptions, configuration);
|
|
108
|
+
return {
|
|
109
|
+
url: toPathString(localVarUrlObj),
|
|
110
|
+
options: localVarRequestOptions,
|
|
111
|
+
};
|
|
112
|
+
}),
|
|
74
113
|
/**
|
|
75
114
|
* Create an auth token for the project
|
|
76
115
|
* @summary Create auth token
|
|
@@ -703,6 +742,40 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
703
742
|
options: localVarRequestOptions,
|
|
704
743
|
};
|
|
705
744
|
}),
|
|
745
|
+
/**
|
|
746
|
+
* Get the AI-generated OKR summary for the project
|
|
747
|
+
* @summary Get OKR summary
|
|
748
|
+
* @param {string} project Projects unique identifier
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
*/
|
|
752
|
+
getOkrSummary: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
753
|
+
// verify required parameter 'project' is not null or undefined
|
|
754
|
+
assertParamExists('getOkrSummary', 'project', project);
|
|
755
|
+
const localVarPath = `/v1/projects/{project}/okrs/summary`
|
|
756
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
757
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
758
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
759
|
+
let baseOptions;
|
|
760
|
+
if (configuration) {
|
|
761
|
+
baseOptions = configuration.baseOptions;
|
|
762
|
+
}
|
|
763
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
764
|
+
const localVarHeaderParameter = {};
|
|
765
|
+
const localVarQueryParameter = {};
|
|
766
|
+
// authentication session-oauth required
|
|
767
|
+
// oauth required
|
|
768
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
769
|
+
// authentication api-key required
|
|
770
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
771
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
772
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
773
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
774
|
+
return {
|
|
775
|
+
url: toPathString(localVarUrlObj),
|
|
776
|
+
options: localVarRequestOptions,
|
|
777
|
+
};
|
|
778
|
+
}),
|
|
706
779
|
/**
|
|
707
780
|
* Get a project
|
|
708
781
|
* @summary Get project
|
|
@@ -1405,6 +1478,23 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
1405
1478
|
export const ProjectsApiFp = function (configuration) {
|
|
1406
1479
|
const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration);
|
|
1407
1480
|
return {
|
|
1481
|
+
/**
|
|
1482
|
+
* Update multiple tasks in the workflow at once
|
|
1483
|
+
* @summary Bulk update tasks
|
|
1484
|
+
* @param {string} project Projects unique identifier
|
|
1485
|
+
* @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
|
|
1486
|
+
* @param {*} [options] Override http request option.
|
|
1487
|
+
* @throws {RequiredError}
|
|
1488
|
+
*/
|
|
1489
|
+
bulkUpdateTasks(project, bulkUpdateTasksRequest, options) {
|
|
1490
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1491
|
+
var _a, _b, _c;
|
|
1492
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkUpdateTasks(project, bulkUpdateTasksRequest, options);
|
|
1493
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1494
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.bulkUpdateTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1495
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1496
|
+
});
|
|
1497
|
+
},
|
|
1408
1498
|
/**
|
|
1409
1499
|
* Create an auth token for the project
|
|
1410
1500
|
* @summary Create auth token
|
|
@@ -1690,6 +1780,22 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
1690
1780
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1691
1781
|
});
|
|
1692
1782
|
},
|
|
1783
|
+
/**
|
|
1784
|
+
* Get the AI-generated OKR summary for the project
|
|
1785
|
+
* @summary Get OKR summary
|
|
1786
|
+
* @param {string} project Projects unique identifier
|
|
1787
|
+
* @param {*} [options] Override http request option.
|
|
1788
|
+
* @throws {RequiredError}
|
|
1789
|
+
*/
|
|
1790
|
+
getOkrSummary(project, options) {
|
|
1791
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1792
|
+
var _a, _b, _c;
|
|
1793
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOkrSummary(project, options);
|
|
1794
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1795
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.getOkrSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1796
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1797
|
+
});
|
|
1798
|
+
},
|
|
1693
1799
|
/**
|
|
1694
1800
|
* Get a project
|
|
1695
1801
|
* @summary Get project
|
|
@@ -2006,6 +2112,16 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
2006
2112
|
export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
2007
2113
|
const localVarFp = ProjectsApiFp(configuration);
|
|
2008
2114
|
return {
|
|
2115
|
+
/**
|
|
2116
|
+
* Update multiple tasks in the workflow at once
|
|
2117
|
+
* @summary Bulk update tasks
|
|
2118
|
+
* @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
|
|
2119
|
+
* @param {*} [options] Override http request option.
|
|
2120
|
+
* @throws {RequiredError}
|
|
2121
|
+
*/
|
|
2122
|
+
bulkUpdateTasks(requestParameters, options) {
|
|
2123
|
+
return localVarFp.bulkUpdateTasks(requestParameters.project, requestParameters.bulkUpdateTasksRequest, options).then((request) => request(axios, basePath));
|
|
2124
|
+
},
|
|
2009
2125
|
/**
|
|
2010
2126
|
* Create an auth token for the project
|
|
2011
2127
|
* @summary Create auth token
|
|
@@ -2176,6 +2292,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
2176
2292
|
getInvites(requestParameters, options) {
|
|
2177
2293
|
return localVarFp.getInvites(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
2178
2294
|
},
|
|
2295
|
+
/**
|
|
2296
|
+
* Get the AI-generated OKR summary for the project
|
|
2297
|
+
* @summary Get OKR summary
|
|
2298
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
2299
|
+
* @param {*} [options] Override http request option.
|
|
2300
|
+
* @throws {RequiredError}
|
|
2301
|
+
*/
|
|
2302
|
+
getOkrSummary(requestParameters, options) {
|
|
2303
|
+
return localVarFp.getOkrSummary(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2304
|
+
},
|
|
2179
2305
|
/**
|
|
2180
2306
|
* Get a project
|
|
2181
2307
|
* @summary Get project
|
|
@@ -2365,6 +2491,17 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
2365
2491
|
* @extends {BaseAPI}
|
|
2366
2492
|
*/
|
|
2367
2493
|
export class ProjectsApi extends BaseAPI {
|
|
2494
|
+
/**
|
|
2495
|
+
* Update multiple tasks in the workflow at once
|
|
2496
|
+
* @summary Bulk update tasks
|
|
2497
|
+
* @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
|
|
2498
|
+
* @param {*} [options] Override http request option.
|
|
2499
|
+
* @throws {RequiredError}
|
|
2500
|
+
* @memberof ProjectsApi
|
|
2501
|
+
*/
|
|
2502
|
+
bulkUpdateTasks(requestParameters, options) {
|
|
2503
|
+
return ProjectsApiFp(this.configuration).bulkUpdateTasks(requestParameters.project, requestParameters.bulkUpdateTasksRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2504
|
+
}
|
|
2368
2505
|
/**
|
|
2369
2506
|
* Create an auth token for the project
|
|
2370
2507
|
* @summary Create auth token
|
|
@@ -2552,6 +2689,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
2552
2689
|
getInvites(requestParameters, options) {
|
|
2553
2690
|
return ProjectsApiFp(this.configuration).getInvites(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2554
2691
|
}
|
|
2692
|
+
/**
|
|
2693
|
+
* Get the AI-generated OKR summary for the project
|
|
2694
|
+
* @summary Get OKR summary
|
|
2695
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
2696
|
+
* @param {*} [options] Override http request option.
|
|
2697
|
+
* @throws {RequiredError}
|
|
2698
|
+
* @memberof ProjectsApi
|
|
2699
|
+
*/
|
|
2700
|
+
getOkrSummary(requestParameters, options) {
|
|
2701
|
+
return ProjectsApiFp(this.configuration).getOkrSummary(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2702
|
+
}
|
|
2555
2703
|
/**
|
|
2556
2704
|
* Get a project
|
|
2557
2705
|
* @summary Get project
|
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
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# BulkUpdateTasksRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**tasks** | [**Array<BulkUpdateTasksRequestTasksInner>**](BulkUpdateTasksRequestTasksInner.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { BulkUpdateTasksRequest } from '@teemill/projects';
|
|
14
|
+
|
|
15
|
+
const instance: BulkUpdateTasksRequest = {
|
|
16
|
+
tasks,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BulkUpdateTasksRequestTasksInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**status** | [**TaskStatus**](TaskStatus.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BulkUpdateTasksRequestTasksInner } from '@teemill/projects';
|
|
15
|
+
|
|
16
|
+
const instance: BulkUpdateTasksRequestTasksInner = {
|
|
17
|
+
id,
|
|
18
|
+
status,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# OkrSummary
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**content** | **string** | | [default to undefined]
|
|
10
|
+
**createdAt** | **string** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { OkrSummary } from '@teemill/projects';
|
|
16
|
+
|
|
17
|
+
const instance: OkrSummary = {
|
|
18
|
+
id,
|
|
19
|
+
content,
|
|
20
|
+
createdAt,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/ProjectsApi.md
CHANGED
|
@@ -4,6 +4,7 @@ All URIs are relative to *https://localhost:8080*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**bulkUpdateTasks**](#bulkupdatetasks) | **PATCH** /v1/projects/{project}/tasks | Bulk update tasks|
|
|
7
8
|
|[**createAuth**](#createauth) | **POST** /v1/projects/{project}/auth | Create auth token|
|
|
8
9
|
|[**createBookmark**](#createbookmark) | **POST** /v1/projects/{project}/bookmarks | Create bookmark|
|
|
9
10
|
|[**createInvite**](#createinvite) | **POST** /v1/projects/{project}/invites | Creates an invite|
|
|
@@ -21,6 +22,7 @@ All URIs are relative to *https://localhost:8080*
|
|
|
21
22
|
|[**getIntegration**](#getintegration) | **GET** /v1/projects/{project}/integrations/{integration} | Get integration|
|
|
22
23
|
|[**getIntegrations**](#getintegrations) | **GET** /v1/projects/{project}/integrations | List integrations|
|
|
23
24
|
|[**getInvites**](#getinvites) | **GET** /v1/projects/{project}/invites | List Invites|
|
|
25
|
+
|[**getOkrSummary**](#getokrsummary) | **GET** /v1/projects/{project}/okrs/summary | Get OKR summary|
|
|
24
26
|
|[**getProject**](#getproject) | **GET** /v1/projects/{project} | Get project|
|
|
25
27
|
|[**getProjects**](#getprojects) | **GET** /v1/projects | List projects|
|
|
26
28
|
|[**getTask**](#gettask) | **GET** /v1/projects/{project}/tasks/{id} | Get Task|
|
|
@@ -40,6 +42,66 @@ All URIs are relative to *https://localhost:8080*
|
|
|
40
42
|
|[**updateProject**](#updateproject) | **PATCH** /v1/projects/{project} | Update project|
|
|
41
43
|
|[**updateTask**](#updatetask) | **PATCH** /v1/projects/{project}/tasks/{id} | Update Task|
|
|
42
44
|
|
|
45
|
+
# **bulkUpdateTasks**
|
|
46
|
+
> ListTasksResponse bulkUpdateTasks(bulkUpdateTasksRequest)
|
|
47
|
+
|
|
48
|
+
Update multiple tasks in the workflow at once
|
|
49
|
+
|
|
50
|
+
### Example
|
|
51
|
+
|
|
52
|
+
```typescript
|
|
53
|
+
import {
|
|
54
|
+
ProjectsApi,
|
|
55
|
+
Configuration,
|
|
56
|
+
BulkUpdateTasksRequest
|
|
57
|
+
} from '@teemill/projects';
|
|
58
|
+
|
|
59
|
+
const configuration = new Configuration();
|
|
60
|
+
const apiInstance = new ProjectsApi(configuration);
|
|
61
|
+
|
|
62
|
+
let project: string; //Projects unique identifier (default to undefined)
|
|
63
|
+
let bulkUpdateTasksRequest: BulkUpdateTasksRequest; //Update multiple tasks in the workflow
|
|
64
|
+
|
|
65
|
+
const { status, data } = await apiInstance.bulkUpdateTasks(
|
|
66
|
+
project,
|
|
67
|
+
bulkUpdateTasksRequest
|
|
68
|
+
);
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Parameters
|
|
72
|
+
|
|
73
|
+
|Name | Type | Description | Notes|
|
|
74
|
+
|------------- | ------------- | ------------- | -------------|
|
|
75
|
+
| **bulkUpdateTasksRequest** | **BulkUpdateTasksRequest**| Update multiple tasks in the workflow | |
|
|
76
|
+
| **project** | [**string**] | Projects unique identifier | defaults to undefined|
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### Return type
|
|
80
|
+
|
|
81
|
+
**ListTasksResponse**
|
|
82
|
+
|
|
83
|
+
### Authorization
|
|
84
|
+
|
|
85
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
86
|
+
|
|
87
|
+
### HTTP request headers
|
|
88
|
+
|
|
89
|
+
- **Content-Type**: application/json
|
|
90
|
+
- **Accept**: application/json
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### HTTP response details
|
|
94
|
+
| Status code | Description | Response headers |
|
|
95
|
+
|-------------|-------------|------------------|
|
|
96
|
+
|**200** | List of tasks in the workflow | - |
|
|
97
|
+
|**400** | Failed validation | - |
|
|
98
|
+
|**401** | Not authorised to access this resource | - |
|
|
99
|
+
|**403** | Refuse to authorize | - |
|
|
100
|
+
|**404** | Resource not found | - |
|
|
101
|
+
|**500** | Unknown server error | - |
|
|
102
|
+
|
|
103
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
104
|
+
|
|
43
105
|
# **createAuth**
|
|
44
106
|
> Auth createAuth()
|
|
45
107
|
|
|
@@ -1020,6 +1082,60 @@ const { status, data } = await apiInstance.getInvites(
|
|
|
1020
1082
|
|
|
1021
1083
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1022
1084
|
|
|
1085
|
+
# **getOkrSummary**
|
|
1086
|
+
> OkrSummary getOkrSummary()
|
|
1087
|
+
|
|
1088
|
+
Get the AI-generated OKR summary for the project
|
|
1089
|
+
|
|
1090
|
+
### Example
|
|
1091
|
+
|
|
1092
|
+
```typescript
|
|
1093
|
+
import {
|
|
1094
|
+
ProjectsApi,
|
|
1095
|
+
Configuration
|
|
1096
|
+
} from '@teemill/projects';
|
|
1097
|
+
|
|
1098
|
+
const configuration = new Configuration();
|
|
1099
|
+
const apiInstance = new ProjectsApi(configuration);
|
|
1100
|
+
|
|
1101
|
+
let project: string; //Projects unique identifier (default to undefined)
|
|
1102
|
+
|
|
1103
|
+
const { status, data } = await apiInstance.getOkrSummary(
|
|
1104
|
+
project
|
|
1105
|
+
);
|
|
1106
|
+
```
|
|
1107
|
+
|
|
1108
|
+
### Parameters
|
|
1109
|
+
|
|
1110
|
+
|Name | Type | Description | Notes|
|
|
1111
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1112
|
+
| **project** | [**string**] | Projects unique identifier | defaults to undefined|
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
### Return type
|
|
1116
|
+
|
|
1117
|
+
**OkrSummary**
|
|
1118
|
+
|
|
1119
|
+
### Authorization
|
|
1120
|
+
|
|
1121
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
1122
|
+
|
|
1123
|
+
### HTTP request headers
|
|
1124
|
+
|
|
1125
|
+
- **Content-Type**: Not defined
|
|
1126
|
+
- **Accept**: application/json
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
### HTTP response details
|
|
1130
|
+
| Status code | Description | Response headers |
|
|
1131
|
+
|-------------|-------------|------------------|
|
|
1132
|
+
|**200** | A summary of the project\'s OKR progress. | - |
|
|
1133
|
+
|**401** | Not authorised to access this resource | - |
|
|
1134
|
+
|**403** | Refuse to authorize | - |
|
|
1135
|
+
|**500** | Unknown server error | - |
|
|
1136
|
+
|
|
1137
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1138
|
+
|
|
1023
1139
|
# **getProject**
|
|
1024
1140
|
> Project getProject()
|
|
1025
1141
|
|
package/index.ts
CHANGED