@teemill/projects 1.42.0 → 1.44.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 +6 -2
- package/api.ts +245 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +147 -1
- package/dist/api.js +154 -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 +147 -1
- package/dist/esm/api.js +154 -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/OkrSummary.md +24 -0
- package/docs/ProjectsApi.md +119 -0
- package/docs/UpdateUserRequest.md +20 -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.44.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.44.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -69,6 +69,7 @@ Class | Method | HTTP request | Description
|
|
|
69
69
|
*ProjectsApi* | [**getIntegration**](docs/ProjectsApi.md#getintegration) | **GET** /v1/projects/{project}/integrations/{integration} | Get integration
|
|
70
70
|
*ProjectsApi* | [**getIntegrations**](docs/ProjectsApi.md#getintegrations) | **GET** /v1/projects/{project}/integrations | List integrations
|
|
71
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
|
|
72
73
|
*ProjectsApi* | [**getProject**](docs/ProjectsApi.md#getproject) | **GET** /v1/projects/{project} | Get project
|
|
73
74
|
*ProjectsApi* | [**getProjects**](docs/ProjectsApi.md#getprojects) | **GET** /v1/projects | List projects
|
|
74
75
|
*ProjectsApi* | [**getTask**](docs/ProjectsApi.md#gettask) | **GET** /v1/projects/{project}/tasks/{id} | Get Task
|
|
@@ -87,6 +88,7 @@ Class | Method | HTTP request | Description
|
|
|
87
88
|
*ProjectsApi* | [**updateIntegration**](docs/ProjectsApi.md#updateintegration) | **PATCH** /v1/projects/{project}/integrations/{integration} | Update integration
|
|
88
89
|
*ProjectsApi* | [**updateProject**](docs/ProjectsApi.md#updateproject) | **PATCH** /v1/projects/{project} | Update project
|
|
89
90
|
*ProjectsApi* | [**updateTask**](docs/ProjectsApi.md#updatetask) | **PATCH** /v1/projects/{project}/tasks/{id} | Update Task
|
|
91
|
+
*ProjectsApi* | [**updateUser**](docs/ProjectsApi.md#updateuser) | **PATCH** /v1/projects/{project}/users/{user} | Update a user
|
|
90
92
|
|
|
91
93
|
|
|
92
94
|
### Documentation For Models
|
|
@@ -117,6 +119,7 @@ Class | Method | HTTP request | Description
|
|
|
117
119
|
- [ListTasksResponse](docs/ListTasksResponse.md)
|
|
118
120
|
- [NullableIcon](docs/NullableIcon.md)
|
|
119
121
|
- [OkrLevel](docs/OkrLevel.md)
|
|
122
|
+
- [OkrSummary](docs/OkrSummary.md)
|
|
120
123
|
- [Project](docs/Project.md)
|
|
121
124
|
- [ProjectCurrency](docs/ProjectCurrency.md)
|
|
122
125
|
- [ProjectInvite](docs/ProjectInvite.md)
|
|
@@ -140,6 +143,7 @@ Class | Method | HTTP request | Description
|
|
|
140
143
|
- [UpdateIntegrationRequest](docs/UpdateIntegrationRequest.md)
|
|
141
144
|
- [UpdateProjectRequest](docs/UpdateProjectRequest.md)
|
|
142
145
|
- [UpdateTaskRequest](docs/UpdateTaskRequest.md)
|
|
146
|
+
- [UpdateUserRequest](docs/UpdateUserRequest.md)
|
|
143
147
|
|
|
144
148
|
|
|
145
149
|
<a id="documentation-for-authorization"></a>
|
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.44.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -566,6 +566,31 @@ export const OkrLevel = {
|
|
|
566
566
|
export type OkrLevel = typeof OkrLevel[keyof typeof OkrLevel];
|
|
567
567
|
|
|
568
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
|
+
}
|
|
569
594
|
/**
|
|
570
595
|
*
|
|
571
596
|
* @export
|
|
@@ -1341,6 +1366,19 @@ export interface UpdateTaskRequest {
|
|
|
1341
1366
|
}
|
|
1342
1367
|
|
|
1343
1368
|
|
|
1369
|
+
/**
|
|
1370
|
+
*
|
|
1371
|
+
* @export
|
|
1372
|
+
* @interface UpdateUserRequest
|
|
1373
|
+
*/
|
|
1374
|
+
export interface UpdateUserRequest {
|
|
1375
|
+
/**
|
|
1376
|
+
*
|
|
1377
|
+
* @type {boolean}
|
|
1378
|
+
* @memberof UpdateUserRequest
|
|
1379
|
+
*/
|
|
1380
|
+
'providesSupport': boolean;
|
|
1381
|
+
}
|
|
1344
1382
|
|
|
1345
1383
|
/**
|
|
1346
1384
|
* ProjectsApi - axios parameter creator
|
|
@@ -2145,6 +2183,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2145
2183
|
|
|
2146
2184
|
|
|
2147
2185
|
|
|
2186
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2187
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2188
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2189
|
+
|
|
2190
|
+
return {
|
|
2191
|
+
url: toPathString(localVarUrlObj),
|
|
2192
|
+
options: localVarRequestOptions,
|
|
2193
|
+
};
|
|
2194
|
+
},
|
|
2195
|
+
/**
|
|
2196
|
+
* Get the AI-generated OKR summary for the project
|
|
2197
|
+
* @summary Get OKR summary
|
|
2198
|
+
* @param {string} project Projects unique identifier
|
|
2199
|
+
* @param {*} [options] Override http request option.
|
|
2200
|
+
* @throws {RequiredError}
|
|
2201
|
+
*/
|
|
2202
|
+
getOkrSummary: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2203
|
+
// verify required parameter 'project' is not null or undefined
|
|
2204
|
+
assertParamExists('getOkrSummary', 'project', project)
|
|
2205
|
+
const localVarPath = `/v1/projects/{project}/okrs/summary`
|
|
2206
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
2207
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2208
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2209
|
+
let baseOptions;
|
|
2210
|
+
if (configuration) {
|
|
2211
|
+
baseOptions = configuration.baseOptions;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2215
|
+
const localVarHeaderParameter = {} as any;
|
|
2216
|
+
const localVarQueryParameter = {} as any;
|
|
2217
|
+
|
|
2218
|
+
// authentication session-oauth required
|
|
2219
|
+
// oauth required
|
|
2220
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2221
|
+
|
|
2222
|
+
// authentication api-key required
|
|
2223
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2224
|
+
|
|
2225
|
+
|
|
2226
|
+
|
|
2148
2227
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2149
2228
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2150
2229
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2980,6 +3059,57 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2980
3059
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2981
3060
|
localVarRequestOptions.data = serializeDataIfNeeded(updateTaskRequest, localVarRequestOptions, configuration)
|
|
2982
3061
|
|
|
3062
|
+
return {
|
|
3063
|
+
url: toPathString(localVarUrlObj),
|
|
3064
|
+
options: localVarRequestOptions,
|
|
3065
|
+
};
|
|
3066
|
+
},
|
|
3067
|
+
/**
|
|
3068
|
+
* Update a project user
|
|
3069
|
+
* @summary Update a user
|
|
3070
|
+
* @param {string} project Projects unique identifier
|
|
3071
|
+
* @param {string} user the unique id of the user
|
|
3072
|
+
* @param {UpdateUserRequest} updateUserRequest Updated project user data
|
|
3073
|
+
* @param {*} [options] Override http request option.
|
|
3074
|
+
* @throws {RequiredError}
|
|
3075
|
+
*/
|
|
3076
|
+
updateUser: async (project: string, user: string, updateUserRequest: UpdateUserRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3077
|
+
// verify required parameter 'project' is not null or undefined
|
|
3078
|
+
assertParamExists('updateUser', 'project', project)
|
|
3079
|
+
// verify required parameter 'user' is not null or undefined
|
|
3080
|
+
assertParamExists('updateUser', 'user', user)
|
|
3081
|
+
// verify required parameter 'updateUserRequest' is not null or undefined
|
|
3082
|
+
assertParamExists('updateUser', 'updateUserRequest', updateUserRequest)
|
|
3083
|
+
const localVarPath = `/v1/projects/{project}/users/{user}`
|
|
3084
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
3085
|
+
.replace(`{${"user"}}`, encodeURIComponent(String(user)));
|
|
3086
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3087
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3088
|
+
let baseOptions;
|
|
3089
|
+
if (configuration) {
|
|
3090
|
+
baseOptions = configuration.baseOptions;
|
|
3091
|
+
}
|
|
3092
|
+
|
|
3093
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
3094
|
+
const localVarHeaderParameter = {} as any;
|
|
3095
|
+
const localVarQueryParameter = {} as any;
|
|
3096
|
+
|
|
3097
|
+
// authentication session-oauth required
|
|
3098
|
+
// oauth required
|
|
3099
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
3100
|
+
|
|
3101
|
+
// authentication api-key required
|
|
3102
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3103
|
+
|
|
3104
|
+
|
|
3105
|
+
|
|
3106
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3107
|
+
|
|
3108
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3109
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3110
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3111
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateUserRequest, localVarRequestOptions, configuration)
|
|
3112
|
+
|
|
2983
3113
|
return {
|
|
2984
3114
|
url: toPathString(localVarUrlObj),
|
|
2985
3115
|
options: localVarRequestOptions,
|
|
@@ -3243,6 +3373,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
3243
3373
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getInvites']?.[localVarOperationServerIndex]?.url;
|
|
3244
3374
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3245
3375
|
},
|
|
3376
|
+
/**
|
|
3377
|
+
* Get the AI-generated OKR summary for the project
|
|
3378
|
+
* @summary Get OKR summary
|
|
3379
|
+
* @param {string} project Projects unique identifier
|
|
3380
|
+
* @param {*} [options] Override http request option.
|
|
3381
|
+
* @throws {RequiredError}
|
|
3382
|
+
*/
|
|
3383
|
+
async getOkrSummary(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OkrSummary>> {
|
|
3384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOkrSummary(project, options);
|
|
3385
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3386
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getOkrSummary']?.[localVarOperationServerIndex]?.url;
|
|
3387
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3388
|
+
},
|
|
3246
3389
|
/**
|
|
3247
3390
|
* Get a project
|
|
3248
3391
|
* @summary Get project
|
|
@@ -3496,6 +3639,21 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
3496
3639
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateTask']?.[localVarOperationServerIndex]?.url;
|
|
3497
3640
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3498
3641
|
},
|
|
3642
|
+
/**
|
|
3643
|
+
* Update a project user
|
|
3644
|
+
* @summary Update a user
|
|
3645
|
+
* @param {string} project Projects unique identifier
|
|
3646
|
+
* @param {string} user the unique id of the user
|
|
3647
|
+
* @param {UpdateUserRequest} updateUserRequest Updated project user data
|
|
3648
|
+
* @param {*} [options] Override http request option.
|
|
3649
|
+
* @throws {RequiredError}
|
|
3650
|
+
*/
|
|
3651
|
+
async updateUser(project: string, user: string, updateUserRequest: UpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectUser>> {
|
|
3652
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(project, user, updateUserRequest, options);
|
|
3653
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3654
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateUser']?.[localVarOperationServerIndex]?.url;
|
|
3655
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3656
|
+
},
|
|
3499
3657
|
}
|
|
3500
3658
|
};
|
|
3501
3659
|
|
|
@@ -3686,6 +3844,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3686
3844
|
getInvites(requestParameters: ProjectsApiGetInvitesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectInvites> {
|
|
3687
3845
|
return localVarFp.getInvites(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
3688
3846
|
},
|
|
3847
|
+
/**
|
|
3848
|
+
* Get the AI-generated OKR summary for the project
|
|
3849
|
+
* @summary Get OKR summary
|
|
3850
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
3851
|
+
* @param {*} [options] Override http request option.
|
|
3852
|
+
* @throws {RequiredError}
|
|
3853
|
+
*/
|
|
3854
|
+
getOkrSummary(requestParameters: ProjectsApiGetOkrSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<OkrSummary> {
|
|
3855
|
+
return localVarFp.getOkrSummary(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3856
|
+
},
|
|
3689
3857
|
/**
|
|
3690
3858
|
* Get a project
|
|
3691
3859
|
* @summary Get project
|
|
@@ -3866,6 +4034,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3866
4034
|
updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
|
|
3867
4035
|
return localVarFp.updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(axios, basePath));
|
|
3868
4036
|
},
|
|
4037
|
+
/**
|
|
4038
|
+
* Update a project user
|
|
4039
|
+
* @summary Update a user
|
|
4040
|
+
* @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
|
|
4041
|
+
* @param {*} [options] Override http request option.
|
|
4042
|
+
* @throws {RequiredError}
|
|
4043
|
+
*/
|
|
4044
|
+
updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser> {
|
|
4045
|
+
return localVarFp.updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(axios, basePath));
|
|
4046
|
+
},
|
|
3869
4047
|
};
|
|
3870
4048
|
};
|
|
3871
4049
|
|
|
@@ -4219,6 +4397,20 @@ export interface ProjectsApiGetInvitesRequest {
|
|
|
4219
4397
|
readonly pageSize?: number
|
|
4220
4398
|
}
|
|
4221
4399
|
|
|
4400
|
+
/**
|
|
4401
|
+
* Request parameters for getOkrSummary operation in ProjectsApi.
|
|
4402
|
+
* @export
|
|
4403
|
+
* @interface ProjectsApiGetOkrSummaryRequest
|
|
4404
|
+
*/
|
|
4405
|
+
export interface ProjectsApiGetOkrSummaryRequest {
|
|
4406
|
+
/**
|
|
4407
|
+
* Projects unique identifier
|
|
4408
|
+
* @type {string}
|
|
4409
|
+
* @memberof ProjectsApiGetOkrSummary
|
|
4410
|
+
*/
|
|
4411
|
+
readonly project: string
|
|
4412
|
+
}
|
|
4413
|
+
|
|
4222
4414
|
/**
|
|
4223
4415
|
* Request parameters for getProject operation in ProjectsApi.
|
|
4224
4416
|
* @export
|
|
@@ -4604,6 +4796,34 @@ export interface ProjectsApiUpdateTaskRequest {
|
|
|
4604
4796
|
readonly updateTaskRequest?: UpdateTaskRequest
|
|
4605
4797
|
}
|
|
4606
4798
|
|
|
4799
|
+
/**
|
|
4800
|
+
* Request parameters for updateUser operation in ProjectsApi.
|
|
4801
|
+
* @export
|
|
4802
|
+
* @interface ProjectsApiUpdateUserRequest
|
|
4803
|
+
*/
|
|
4804
|
+
export interface ProjectsApiUpdateUserRequest {
|
|
4805
|
+
/**
|
|
4806
|
+
* Projects unique identifier
|
|
4807
|
+
* @type {string}
|
|
4808
|
+
* @memberof ProjectsApiUpdateUser
|
|
4809
|
+
*/
|
|
4810
|
+
readonly project: string
|
|
4811
|
+
|
|
4812
|
+
/**
|
|
4813
|
+
* the unique id of the user
|
|
4814
|
+
* @type {string}
|
|
4815
|
+
* @memberof ProjectsApiUpdateUser
|
|
4816
|
+
*/
|
|
4817
|
+
readonly user: string
|
|
4818
|
+
|
|
4819
|
+
/**
|
|
4820
|
+
* Updated project user data
|
|
4821
|
+
* @type {UpdateUserRequest}
|
|
4822
|
+
* @memberof ProjectsApiUpdateUser
|
|
4823
|
+
*/
|
|
4824
|
+
readonly updateUserRequest: UpdateUserRequest
|
|
4825
|
+
}
|
|
4826
|
+
|
|
4607
4827
|
/**
|
|
4608
4828
|
* ProjectsApi - object-oriented interface
|
|
4609
4829
|
* @export
|
|
@@ -4827,6 +5047,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4827
5047
|
return ProjectsApiFp(this.configuration).getInvites(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
4828
5048
|
}
|
|
4829
5049
|
|
|
5050
|
+
/**
|
|
5051
|
+
* Get the AI-generated OKR summary for the project
|
|
5052
|
+
* @summary Get OKR summary
|
|
5053
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
5054
|
+
* @param {*} [options] Override http request option.
|
|
5055
|
+
* @throws {RequiredError}
|
|
5056
|
+
* @memberof ProjectsApi
|
|
5057
|
+
*/
|
|
5058
|
+
public getOkrSummary(requestParameters: ProjectsApiGetOkrSummaryRequest, options?: RawAxiosRequestConfig) {
|
|
5059
|
+
return ProjectsApiFp(this.configuration).getOkrSummary(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
5060
|
+
}
|
|
5061
|
+
|
|
4830
5062
|
/**
|
|
4831
5063
|
* Get a project
|
|
4832
5064
|
* @summary Get project
|
|
@@ -5042,6 +5274,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
5042
5274
|
public updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig) {
|
|
5043
5275
|
return ProjectsApiFp(this.configuration).updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5044
5276
|
}
|
|
5277
|
+
|
|
5278
|
+
/**
|
|
5279
|
+
* Update a project user
|
|
5280
|
+
* @summary Update a user
|
|
5281
|
+
* @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
|
|
5282
|
+
* @param {*} [options] Override http request option.
|
|
5283
|
+
* @throws {RequiredError}
|
|
5284
|
+
* @memberof ProjectsApi
|
|
5285
|
+
*/
|
|
5286
|
+
public updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig) {
|
|
5287
|
+
return ProjectsApiFp(this.configuration).updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5288
|
+
}
|
|
5045
5289
|
}
|
|
5046
5290
|
|
|
5047
5291
|
|
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.44.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -549,6 +549,31 @@ export declare const OkrLevel: {
|
|
|
549
549
|
readonly Task: "task";
|
|
550
550
|
};
|
|
551
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
|
+
}
|
|
552
577
|
/**
|
|
553
578
|
*
|
|
554
579
|
* @export
|
|
@@ -1307,6 +1332,19 @@ export interface UpdateTaskRequest {
|
|
|
1307
1332
|
*/
|
|
1308
1333
|
'endDate'?: string | null;
|
|
1309
1334
|
}
|
|
1335
|
+
/**
|
|
1336
|
+
*
|
|
1337
|
+
* @export
|
|
1338
|
+
* @interface UpdateUserRequest
|
|
1339
|
+
*/
|
|
1340
|
+
export interface UpdateUserRequest {
|
|
1341
|
+
/**
|
|
1342
|
+
*
|
|
1343
|
+
* @type {boolean}
|
|
1344
|
+
* @memberof UpdateUserRequest
|
|
1345
|
+
*/
|
|
1346
|
+
'providesSupport': boolean;
|
|
1347
|
+
}
|
|
1310
1348
|
/**
|
|
1311
1349
|
* ProjectsApi - axios parameter creator
|
|
1312
1350
|
* @export
|
|
@@ -1470,6 +1508,14 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1470
1508
|
* @throws {RequiredError}
|
|
1471
1509
|
*/
|
|
1472
1510
|
getInvites: (project: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Get the AI-generated OKR summary for the project
|
|
1513
|
+
* @summary Get OKR summary
|
|
1514
|
+
* @param {string} project Projects unique identifier
|
|
1515
|
+
* @param {*} [options] Override http request option.
|
|
1516
|
+
* @throws {RequiredError}
|
|
1517
|
+
*/
|
|
1518
|
+
getOkrSummary: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1473
1519
|
/**
|
|
1474
1520
|
* Get a project
|
|
1475
1521
|
* @summary Get project
|
|
@@ -1633,6 +1679,16 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1633
1679
|
* @throws {RequiredError}
|
|
1634
1680
|
*/
|
|
1635
1681
|
updateTask: (project: string, id: string, updateTaskRequest?: UpdateTaskRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1682
|
+
/**
|
|
1683
|
+
* Update a project user
|
|
1684
|
+
* @summary Update a user
|
|
1685
|
+
* @param {string} project Projects unique identifier
|
|
1686
|
+
* @param {string} user the unique id of the user
|
|
1687
|
+
* @param {UpdateUserRequest} updateUserRequest Updated project user data
|
|
1688
|
+
* @param {*} [options] Override http request option.
|
|
1689
|
+
* @throws {RequiredError}
|
|
1690
|
+
*/
|
|
1691
|
+
updateUser: (project: string, user: string, updateUserRequest: UpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1636
1692
|
};
|
|
1637
1693
|
/**
|
|
1638
1694
|
* ProjectsApi - functional programming interface
|
|
@@ -1797,6 +1853,14 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1797
1853
|
* @throws {RequiredError}
|
|
1798
1854
|
*/
|
|
1799
1855
|
getInvites(project: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectInvites>>;
|
|
1856
|
+
/**
|
|
1857
|
+
* Get the AI-generated OKR summary for the project
|
|
1858
|
+
* @summary Get OKR summary
|
|
1859
|
+
* @param {string} project Projects unique identifier
|
|
1860
|
+
* @param {*} [options] Override http request option.
|
|
1861
|
+
* @throws {RequiredError}
|
|
1862
|
+
*/
|
|
1863
|
+
getOkrSummary(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OkrSummary>>;
|
|
1800
1864
|
/**
|
|
1801
1865
|
* Get a project
|
|
1802
1866
|
* @summary Get project
|
|
@@ -1960,6 +2024,16 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1960
2024
|
* @throws {RequiredError}
|
|
1961
2025
|
*/
|
|
1962
2026
|
updateTask(project: string, id: string, updateTaskRequest?: UpdateTaskRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>>;
|
|
2027
|
+
/**
|
|
2028
|
+
* Update a project user
|
|
2029
|
+
* @summary Update a user
|
|
2030
|
+
* @param {string} project Projects unique identifier
|
|
2031
|
+
* @param {string} user the unique id of the user
|
|
2032
|
+
* @param {UpdateUserRequest} updateUserRequest Updated project user data
|
|
2033
|
+
* @param {*} [options] Override http request option.
|
|
2034
|
+
* @throws {RequiredError}
|
|
2035
|
+
*/
|
|
2036
|
+
updateUser(project: string, user: string, updateUserRequest: UpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectUser>>;
|
|
1963
2037
|
};
|
|
1964
2038
|
/**
|
|
1965
2039
|
* ProjectsApi - factory interface
|
|
@@ -2110,6 +2184,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
2110
2184
|
* @throws {RequiredError}
|
|
2111
2185
|
*/
|
|
2112
2186
|
getInvites(requestParameters: ProjectsApiGetInvitesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectInvites>;
|
|
2187
|
+
/**
|
|
2188
|
+
* Get the AI-generated OKR summary for the project
|
|
2189
|
+
* @summary Get OKR summary
|
|
2190
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
2191
|
+
* @param {*} [options] Override http request option.
|
|
2192
|
+
* @throws {RequiredError}
|
|
2193
|
+
*/
|
|
2194
|
+
getOkrSummary(requestParameters: ProjectsApiGetOkrSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<OkrSummary>;
|
|
2113
2195
|
/**
|
|
2114
2196
|
* Get a project
|
|
2115
2197
|
* @summary Get project
|
|
@@ -2254,6 +2336,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
2254
2336
|
* @throws {RequiredError}
|
|
2255
2337
|
*/
|
|
2256
2338
|
updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task>;
|
|
2339
|
+
/**
|
|
2340
|
+
* Update a project user
|
|
2341
|
+
* @summary Update a user
|
|
2342
|
+
* @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
|
|
2343
|
+
* @param {*} [options] Override http request option.
|
|
2344
|
+
* @throws {RequiredError}
|
|
2345
|
+
*/
|
|
2346
|
+
updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser>;
|
|
2257
2347
|
};
|
|
2258
2348
|
/**
|
|
2259
2349
|
* Request parameters for bulkUpdateTasks operation in ProjectsApi.
|
|
@@ -2573,6 +2663,19 @@ export interface ProjectsApiGetInvitesRequest {
|
|
|
2573
2663
|
*/
|
|
2574
2664
|
readonly pageSize?: number;
|
|
2575
2665
|
}
|
|
2666
|
+
/**
|
|
2667
|
+
* Request parameters for getOkrSummary operation in ProjectsApi.
|
|
2668
|
+
* @export
|
|
2669
|
+
* @interface ProjectsApiGetOkrSummaryRequest
|
|
2670
|
+
*/
|
|
2671
|
+
export interface ProjectsApiGetOkrSummaryRequest {
|
|
2672
|
+
/**
|
|
2673
|
+
* Projects unique identifier
|
|
2674
|
+
* @type {string}
|
|
2675
|
+
* @memberof ProjectsApiGetOkrSummary
|
|
2676
|
+
*/
|
|
2677
|
+
readonly project: string;
|
|
2678
|
+
}
|
|
2576
2679
|
/**
|
|
2577
2680
|
* Request parameters for getProject operation in ProjectsApi.
|
|
2578
2681
|
* @export
|
|
@@ -2921,6 +3024,31 @@ export interface ProjectsApiUpdateTaskRequest {
|
|
|
2921
3024
|
*/
|
|
2922
3025
|
readonly updateTaskRequest?: UpdateTaskRequest;
|
|
2923
3026
|
}
|
|
3027
|
+
/**
|
|
3028
|
+
* Request parameters for updateUser operation in ProjectsApi.
|
|
3029
|
+
* @export
|
|
3030
|
+
* @interface ProjectsApiUpdateUserRequest
|
|
3031
|
+
*/
|
|
3032
|
+
export interface ProjectsApiUpdateUserRequest {
|
|
3033
|
+
/**
|
|
3034
|
+
* Projects unique identifier
|
|
3035
|
+
* @type {string}
|
|
3036
|
+
* @memberof ProjectsApiUpdateUser
|
|
3037
|
+
*/
|
|
3038
|
+
readonly project: string;
|
|
3039
|
+
/**
|
|
3040
|
+
* the unique id of the user
|
|
3041
|
+
* @type {string}
|
|
3042
|
+
* @memberof ProjectsApiUpdateUser
|
|
3043
|
+
*/
|
|
3044
|
+
readonly user: string;
|
|
3045
|
+
/**
|
|
3046
|
+
* Updated project user data
|
|
3047
|
+
* @type {UpdateUserRequest}
|
|
3048
|
+
* @memberof ProjectsApiUpdateUser
|
|
3049
|
+
*/
|
|
3050
|
+
readonly updateUserRequest: UpdateUserRequest;
|
|
3051
|
+
}
|
|
2924
3052
|
/**
|
|
2925
3053
|
* ProjectsApi - object-oriented interface
|
|
2926
3054
|
* @export
|
|
@@ -3090,6 +3218,15 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
3090
3218
|
* @memberof ProjectsApi
|
|
3091
3219
|
*/
|
|
3092
3220
|
getInvites(requestParameters: ProjectsApiGetInvitesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInvites, any>>;
|
|
3221
|
+
/**
|
|
3222
|
+
* Get the AI-generated OKR summary for the project
|
|
3223
|
+
* @summary Get OKR summary
|
|
3224
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
3225
|
+
* @param {*} [options] Override http request option.
|
|
3226
|
+
* @throws {RequiredError}
|
|
3227
|
+
* @memberof ProjectsApi
|
|
3228
|
+
*/
|
|
3229
|
+
getOkrSummary(requestParameters: ProjectsApiGetOkrSummaryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OkrSummary, any>>;
|
|
3093
3230
|
/**
|
|
3094
3231
|
* Get a project
|
|
3095
3232
|
* @summary Get project
|
|
@@ -3252,4 +3389,13 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
3252
3389
|
* @memberof ProjectsApi
|
|
3253
3390
|
*/
|
|
3254
3391
|
updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Task, any>>;
|
|
3392
|
+
/**
|
|
3393
|
+
* Update a project user
|
|
3394
|
+
* @summary Update a user
|
|
3395
|
+
* @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
|
|
3396
|
+
* @param {*} [options] Override http request option.
|
|
3397
|
+
* @throws {RequiredError}
|
|
3398
|
+
* @memberof ProjectsApi
|
|
3399
|
+
*/
|
|
3400
|
+
updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectUser, any>>;
|
|
3255
3401
|
}
|