@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/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.44.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -745,6 +745,40 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
745
745
|
options: localVarRequestOptions,
|
|
746
746
|
};
|
|
747
747
|
}),
|
|
748
|
+
/**
|
|
749
|
+
* Get the AI-generated OKR summary for the project
|
|
750
|
+
* @summary Get OKR summary
|
|
751
|
+
* @param {string} project Projects unique identifier
|
|
752
|
+
* @param {*} [options] Override http request option.
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
*/
|
|
755
|
+
getOkrSummary: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
756
|
+
// verify required parameter 'project' is not null or undefined
|
|
757
|
+
(0, common_1.assertParamExists)('getOkrSummary', 'project', project);
|
|
758
|
+
const localVarPath = `/v1/projects/{project}/okrs/summary`
|
|
759
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
760
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
761
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
762
|
+
let baseOptions;
|
|
763
|
+
if (configuration) {
|
|
764
|
+
baseOptions = configuration.baseOptions;
|
|
765
|
+
}
|
|
766
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
767
|
+
const localVarHeaderParameter = {};
|
|
768
|
+
const localVarQueryParameter = {};
|
|
769
|
+
// authentication session-oauth required
|
|
770
|
+
// oauth required
|
|
771
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
772
|
+
// authentication api-key required
|
|
773
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
774
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
775
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
776
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
777
|
+
return {
|
|
778
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
779
|
+
options: localVarRequestOptions,
|
|
780
|
+
};
|
|
781
|
+
}),
|
|
748
782
|
/**
|
|
749
783
|
* Get a project
|
|
750
784
|
* @summary Get project
|
|
@@ -1438,6 +1472,49 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
1438
1472
|
options: localVarRequestOptions,
|
|
1439
1473
|
};
|
|
1440
1474
|
}),
|
|
1475
|
+
/**
|
|
1476
|
+
* Update a project user
|
|
1477
|
+
* @summary Update a user
|
|
1478
|
+
* @param {string} project Projects unique identifier
|
|
1479
|
+
* @param {string} user the unique id of the user
|
|
1480
|
+
* @param {UpdateUserRequest} updateUserRequest Updated project user data
|
|
1481
|
+
* @param {*} [options] Override http request option.
|
|
1482
|
+
* @throws {RequiredError}
|
|
1483
|
+
*/
|
|
1484
|
+
updateUser: (project_1, user_1, updateUserRequest_1, ...args_1) => __awaiter(this, [project_1, user_1, updateUserRequest_1, ...args_1], void 0, function* (project, user, updateUserRequest, options = {}) {
|
|
1485
|
+
// verify required parameter 'project' is not null or undefined
|
|
1486
|
+
(0, common_1.assertParamExists)('updateUser', 'project', project);
|
|
1487
|
+
// verify required parameter 'user' is not null or undefined
|
|
1488
|
+
(0, common_1.assertParamExists)('updateUser', 'user', user);
|
|
1489
|
+
// verify required parameter 'updateUserRequest' is not null or undefined
|
|
1490
|
+
(0, common_1.assertParamExists)('updateUser', 'updateUserRequest', updateUserRequest);
|
|
1491
|
+
const localVarPath = `/v1/projects/{project}/users/{user}`
|
|
1492
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1493
|
+
.replace(`{${"user"}}`, encodeURIComponent(String(user)));
|
|
1494
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1495
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1496
|
+
let baseOptions;
|
|
1497
|
+
if (configuration) {
|
|
1498
|
+
baseOptions = configuration.baseOptions;
|
|
1499
|
+
}
|
|
1500
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1501
|
+
const localVarHeaderParameter = {};
|
|
1502
|
+
const localVarQueryParameter = {};
|
|
1503
|
+
// authentication session-oauth required
|
|
1504
|
+
// oauth required
|
|
1505
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1506
|
+
// authentication api-key required
|
|
1507
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1508
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1509
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1510
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1511
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1512
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserRequest, localVarRequestOptions, configuration);
|
|
1513
|
+
return {
|
|
1514
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1515
|
+
options: localVarRequestOptions,
|
|
1516
|
+
};
|
|
1517
|
+
}),
|
|
1441
1518
|
};
|
|
1442
1519
|
};
|
|
1443
1520
|
exports.ProjectsApiAxiosParamCreator = ProjectsApiAxiosParamCreator;
|
|
@@ -1750,6 +1827,22 @@ const ProjectsApiFp = function (configuration) {
|
|
|
1750
1827
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1751
1828
|
});
|
|
1752
1829
|
},
|
|
1830
|
+
/**
|
|
1831
|
+
* Get the AI-generated OKR summary for the project
|
|
1832
|
+
* @summary Get OKR summary
|
|
1833
|
+
* @param {string} project Projects unique identifier
|
|
1834
|
+
* @param {*} [options] Override http request option.
|
|
1835
|
+
* @throws {RequiredError}
|
|
1836
|
+
*/
|
|
1837
|
+
getOkrSummary(project, options) {
|
|
1838
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1839
|
+
var _a, _b, _c;
|
|
1840
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOkrSummary(project, options);
|
|
1841
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1842
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.getOkrSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1843
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1844
|
+
});
|
|
1845
|
+
},
|
|
1753
1846
|
/**
|
|
1754
1847
|
* Get a project
|
|
1755
1848
|
* @summary Get project
|
|
@@ -2057,6 +2150,24 @@ const ProjectsApiFp = function (configuration) {
|
|
|
2057
2150
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2058
2151
|
});
|
|
2059
2152
|
},
|
|
2153
|
+
/**
|
|
2154
|
+
* Update a project user
|
|
2155
|
+
* @summary Update a user
|
|
2156
|
+
* @param {string} project Projects unique identifier
|
|
2157
|
+
* @param {string} user the unique id of the user
|
|
2158
|
+
* @param {UpdateUserRequest} updateUserRequest Updated project user data
|
|
2159
|
+
* @param {*} [options] Override http request option.
|
|
2160
|
+
* @throws {RequiredError}
|
|
2161
|
+
*/
|
|
2162
|
+
updateUser(project, user, updateUserRequest, options) {
|
|
2163
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2164
|
+
var _a, _b, _c;
|
|
2165
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUser(project, user, updateUserRequest, options);
|
|
2166
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2167
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.updateUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2168
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2169
|
+
});
|
|
2170
|
+
},
|
|
2060
2171
|
};
|
|
2061
2172
|
};
|
|
2062
2173
|
exports.ProjectsApiFp = ProjectsApiFp;
|
|
@@ -2247,6 +2358,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
2247
2358
|
getInvites(requestParameters, options) {
|
|
2248
2359
|
return localVarFp.getInvites(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
2249
2360
|
},
|
|
2361
|
+
/**
|
|
2362
|
+
* Get the AI-generated OKR summary for the project
|
|
2363
|
+
* @summary Get OKR summary
|
|
2364
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
2365
|
+
* @param {*} [options] Override http request option.
|
|
2366
|
+
* @throws {RequiredError}
|
|
2367
|
+
*/
|
|
2368
|
+
getOkrSummary(requestParameters, options) {
|
|
2369
|
+
return localVarFp.getOkrSummary(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2370
|
+
},
|
|
2250
2371
|
/**
|
|
2251
2372
|
* Get a project
|
|
2252
2373
|
* @summary Get project
|
|
@@ -2427,6 +2548,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
2427
2548
|
updateTask(requestParameters, options) {
|
|
2428
2549
|
return localVarFp.updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(axios, basePath));
|
|
2429
2550
|
},
|
|
2551
|
+
/**
|
|
2552
|
+
* Update a project user
|
|
2553
|
+
* @summary Update a user
|
|
2554
|
+
* @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
|
|
2555
|
+
* @param {*} [options] Override http request option.
|
|
2556
|
+
* @throws {RequiredError}
|
|
2557
|
+
*/
|
|
2558
|
+
updateUser(requestParameters, options) {
|
|
2559
|
+
return localVarFp.updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(axios, basePath));
|
|
2560
|
+
},
|
|
2430
2561
|
};
|
|
2431
2562
|
};
|
|
2432
2563
|
exports.ProjectsApiFactory = ProjectsApiFactory;
|
|
@@ -2635,6 +2766,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
2635
2766
|
getInvites(requestParameters, options) {
|
|
2636
2767
|
return (0, exports.ProjectsApiFp)(this.configuration).getInvites(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2637
2768
|
}
|
|
2769
|
+
/**
|
|
2770
|
+
* Get the AI-generated OKR summary for the project
|
|
2771
|
+
* @summary Get OKR summary
|
|
2772
|
+
* @param {ProjectsApiGetOkrSummaryRequest} requestParameters Request parameters.
|
|
2773
|
+
* @param {*} [options] Override http request option.
|
|
2774
|
+
* @throws {RequiredError}
|
|
2775
|
+
* @memberof ProjectsApi
|
|
2776
|
+
*/
|
|
2777
|
+
getOkrSummary(requestParameters, options) {
|
|
2778
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getOkrSummary(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2779
|
+
}
|
|
2638
2780
|
/**
|
|
2639
2781
|
* Get a project
|
|
2640
2782
|
* @summary Get project
|
|
@@ -2833,5 +2975,16 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
2833
2975
|
updateTask(requestParameters, options) {
|
|
2834
2976
|
return (0, exports.ProjectsApiFp)(this.configuration).updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2835
2977
|
}
|
|
2978
|
+
/**
|
|
2979
|
+
* Update a project user
|
|
2980
|
+
* @summary Update a user
|
|
2981
|
+
* @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
|
|
2982
|
+
* @param {*} [options] Override http request option.
|
|
2983
|
+
* @throws {RequiredError}
|
|
2984
|
+
* @memberof ProjectsApi
|
|
2985
|
+
*/
|
|
2986
|
+
updateUser(requestParameters, options) {
|
|
2987
|
+
return (0, exports.ProjectsApiFp)(this.configuration).updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2988
|
+
}
|
|
2836
2989
|
}
|
|
2837
2990
|
exports.ProjectsApi = ProjectsApi;
|
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
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.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
|
}
|