@teemill/projects 1.43.0 → 1.45.1
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 +5 -2
- package/api.ts +220 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +122 -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 +122 -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/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.45.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -74,6 +74,40 @@ exports.TemplateCode = {
|
|
|
74
74
|
*/
|
|
75
75
|
const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
76
76
|
return {
|
|
77
|
+
/**
|
|
78
|
+
* Archive all the done tasks in the workflow
|
|
79
|
+
* @summary Archive all done tasks
|
|
80
|
+
* @param {string} project Projects unique identifier
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
archiveTasks: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
85
|
+
// verify required parameter 'project' is not null or undefined
|
|
86
|
+
(0, common_1.assertParamExists)('archiveTasks', 'project', project);
|
|
87
|
+
const localVarPath = `/v1/projects/{project}/tasks/archive`
|
|
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, common_1.DUMMY_BASE_URL);
|
|
91
|
+
let baseOptions;
|
|
92
|
+
if (configuration) {
|
|
93
|
+
baseOptions = configuration.baseOptions;
|
|
94
|
+
}
|
|
95
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
96
|
+
const localVarHeaderParameter = {};
|
|
97
|
+
const localVarQueryParameter = {};
|
|
98
|
+
// authentication session-oauth required
|
|
99
|
+
// oauth required
|
|
100
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
101
|
+
// authentication api-key required
|
|
102
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
103
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
104
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
106
|
+
return {
|
|
107
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
108
|
+
options: localVarRequestOptions,
|
|
109
|
+
};
|
|
110
|
+
}),
|
|
77
111
|
/**
|
|
78
112
|
* Update multiple tasks in the workflow at once
|
|
79
113
|
* @summary Bulk update tasks
|
|
@@ -1472,6 +1506,49 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
1472
1506
|
options: localVarRequestOptions,
|
|
1473
1507
|
};
|
|
1474
1508
|
}),
|
|
1509
|
+
/**
|
|
1510
|
+
* Update a project user
|
|
1511
|
+
* @summary Update a user
|
|
1512
|
+
* @param {string} project Projects unique identifier
|
|
1513
|
+
* @param {string} user the unique id of the user
|
|
1514
|
+
* @param {UpdateUserRequest} updateUserRequest Updated project user data
|
|
1515
|
+
* @param {*} [options] Override http request option.
|
|
1516
|
+
* @throws {RequiredError}
|
|
1517
|
+
*/
|
|
1518
|
+
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 = {}) {
|
|
1519
|
+
// verify required parameter 'project' is not null or undefined
|
|
1520
|
+
(0, common_1.assertParamExists)('updateUser', 'project', project);
|
|
1521
|
+
// verify required parameter 'user' is not null or undefined
|
|
1522
|
+
(0, common_1.assertParamExists)('updateUser', 'user', user);
|
|
1523
|
+
// verify required parameter 'updateUserRequest' is not null or undefined
|
|
1524
|
+
(0, common_1.assertParamExists)('updateUser', 'updateUserRequest', updateUserRequest);
|
|
1525
|
+
const localVarPath = `/v1/projects/{project}/users/{user}`
|
|
1526
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1527
|
+
.replace(`{${"user"}}`, encodeURIComponent(String(user)));
|
|
1528
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1529
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1530
|
+
let baseOptions;
|
|
1531
|
+
if (configuration) {
|
|
1532
|
+
baseOptions = configuration.baseOptions;
|
|
1533
|
+
}
|
|
1534
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1535
|
+
const localVarHeaderParameter = {};
|
|
1536
|
+
const localVarQueryParameter = {};
|
|
1537
|
+
// authentication session-oauth required
|
|
1538
|
+
// oauth required
|
|
1539
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1540
|
+
// authentication api-key required
|
|
1541
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1542
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1543
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1544
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1545
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1546
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserRequest, localVarRequestOptions, configuration);
|
|
1547
|
+
return {
|
|
1548
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1549
|
+
options: localVarRequestOptions,
|
|
1550
|
+
};
|
|
1551
|
+
}),
|
|
1475
1552
|
};
|
|
1476
1553
|
};
|
|
1477
1554
|
exports.ProjectsApiAxiosParamCreator = ProjectsApiAxiosParamCreator;
|
|
@@ -1482,6 +1559,22 @@ exports.ProjectsApiAxiosParamCreator = ProjectsApiAxiosParamCreator;
|
|
|
1482
1559
|
const ProjectsApiFp = function (configuration) {
|
|
1483
1560
|
const localVarAxiosParamCreator = (0, exports.ProjectsApiAxiosParamCreator)(configuration);
|
|
1484
1561
|
return {
|
|
1562
|
+
/**
|
|
1563
|
+
* Archive all the done tasks in the workflow
|
|
1564
|
+
* @summary Archive all done tasks
|
|
1565
|
+
* @param {string} project Projects unique identifier
|
|
1566
|
+
* @param {*} [options] Override http request option.
|
|
1567
|
+
* @throws {RequiredError}
|
|
1568
|
+
*/
|
|
1569
|
+
archiveTasks(project, options) {
|
|
1570
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1571
|
+
var _a, _b, _c;
|
|
1572
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.archiveTasks(project, options);
|
|
1573
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1574
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.archiveTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1575
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1576
|
+
});
|
|
1577
|
+
},
|
|
1485
1578
|
/**
|
|
1486
1579
|
* Update multiple tasks in the workflow at once
|
|
1487
1580
|
* @summary Bulk update tasks
|
|
@@ -2107,6 +2200,24 @@ const ProjectsApiFp = function (configuration) {
|
|
|
2107
2200
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2108
2201
|
});
|
|
2109
2202
|
},
|
|
2203
|
+
/**
|
|
2204
|
+
* Update a project user
|
|
2205
|
+
* @summary Update a user
|
|
2206
|
+
* @param {string} project Projects unique identifier
|
|
2207
|
+
* @param {string} user the unique id of the user
|
|
2208
|
+
* @param {UpdateUserRequest} updateUserRequest Updated project user data
|
|
2209
|
+
* @param {*} [options] Override http request option.
|
|
2210
|
+
* @throws {RequiredError}
|
|
2211
|
+
*/
|
|
2212
|
+
updateUser(project, user, updateUserRequest, options) {
|
|
2213
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2214
|
+
var _a, _b, _c;
|
|
2215
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUser(project, user, updateUserRequest, options);
|
|
2216
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2217
|
+
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;
|
|
2218
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2219
|
+
});
|
|
2220
|
+
},
|
|
2110
2221
|
};
|
|
2111
2222
|
};
|
|
2112
2223
|
exports.ProjectsApiFp = ProjectsApiFp;
|
|
@@ -2117,6 +2228,16 @@ exports.ProjectsApiFp = ProjectsApiFp;
|
|
|
2117
2228
|
const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
2118
2229
|
const localVarFp = (0, exports.ProjectsApiFp)(configuration);
|
|
2119
2230
|
return {
|
|
2231
|
+
/**
|
|
2232
|
+
* Archive all the done tasks in the workflow
|
|
2233
|
+
* @summary Archive all done tasks
|
|
2234
|
+
* @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
|
|
2235
|
+
* @param {*} [options] Override http request option.
|
|
2236
|
+
* @throws {RequiredError}
|
|
2237
|
+
*/
|
|
2238
|
+
archiveTasks(requestParameters, options) {
|
|
2239
|
+
return localVarFp.archiveTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2240
|
+
},
|
|
2120
2241
|
/**
|
|
2121
2242
|
* Update multiple tasks in the workflow at once
|
|
2122
2243
|
* @summary Bulk update tasks
|
|
@@ -2487,6 +2608,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
2487
2608
|
updateTask(requestParameters, options) {
|
|
2488
2609
|
return localVarFp.updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(axios, basePath));
|
|
2489
2610
|
},
|
|
2611
|
+
/**
|
|
2612
|
+
* Update a project user
|
|
2613
|
+
* @summary Update a user
|
|
2614
|
+
* @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
|
|
2615
|
+
* @param {*} [options] Override http request option.
|
|
2616
|
+
* @throws {RequiredError}
|
|
2617
|
+
*/
|
|
2618
|
+
updateUser(requestParameters, options) {
|
|
2619
|
+
return localVarFp.updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(axios, basePath));
|
|
2620
|
+
},
|
|
2490
2621
|
};
|
|
2491
2622
|
};
|
|
2492
2623
|
exports.ProjectsApiFactory = ProjectsApiFactory;
|
|
@@ -2497,6 +2628,17 @@ exports.ProjectsApiFactory = ProjectsApiFactory;
|
|
|
2497
2628
|
* @extends {BaseAPI}
|
|
2498
2629
|
*/
|
|
2499
2630
|
class ProjectsApi extends base_1.BaseAPI {
|
|
2631
|
+
/**
|
|
2632
|
+
* Archive all the done tasks in the workflow
|
|
2633
|
+
* @summary Archive all done tasks
|
|
2634
|
+
* @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
|
|
2635
|
+
* @param {*} [options] Override http request option.
|
|
2636
|
+
* @throws {RequiredError}
|
|
2637
|
+
* @memberof ProjectsApi
|
|
2638
|
+
*/
|
|
2639
|
+
archiveTasks(requestParameters, options) {
|
|
2640
|
+
return (0, exports.ProjectsApiFp)(this.configuration).archiveTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2641
|
+
}
|
|
2500
2642
|
/**
|
|
2501
2643
|
* Update multiple tasks in the workflow at once
|
|
2502
2644
|
* @summary Bulk update tasks
|
|
@@ -2904,5 +3046,16 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
2904
3046
|
updateTask(requestParameters, options) {
|
|
2905
3047
|
return (0, exports.ProjectsApiFp)(this.configuration).updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2906
3048
|
}
|
|
3049
|
+
/**
|
|
3050
|
+
* Update a project user
|
|
3051
|
+
* @summary Update a user
|
|
3052
|
+
* @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
|
|
3053
|
+
* @param {*} [options] Override http request option.
|
|
3054
|
+
* @throws {RequiredError}
|
|
3055
|
+
* @memberof ProjectsApi
|
|
3056
|
+
*/
|
|
3057
|
+
updateUser(requestParameters, options) {
|
|
3058
|
+
return (0, exports.ProjectsApiFp)(this.configuration).updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3059
|
+
}
|
|
2907
3060
|
}
|
|
2908
3061
|
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.45.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1332,11 +1332,32 @@ export interface UpdateTaskRequest {
|
|
|
1332
1332
|
*/
|
|
1333
1333
|
'endDate'?: string | null;
|
|
1334
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
|
+
}
|
|
1335
1348
|
/**
|
|
1336
1349
|
* ProjectsApi - axios parameter creator
|
|
1337
1350
|
* @export
|
|
1338
1351
|
*/
|
|
1339
1352
|
export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1353
|
+
/**
|
|
1354
|
+
* Archive all the done tasks in the workflow
|
|
1355
|
+
* @summary Archive all done tasks
|
|
1356
|
+
* @param {string} project Projects unique identifier
|
|
1357
|
+
* @param {*} [options] Override http request option.
|
|
1358
|
+
* @throws {RequiredError}
|
|
1359
|
+
*/
|
|
1360
|
+
archiveTasks: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1340
1361
|
/**
|
|
1341
1362
|
* Update multiple tasks in the workflow at once
|
|
1342
1363
|
* @summary Bulk update tasks
|
|
@@ -1666,12 +1687,30 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1666
1687
|
* @throws {RequiredError}
|
|
1667
1688
|
*/
|
|
1668
1689
|
updateTask: (project: string, id: string, updateTaskRequest?: UpdateTaskRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1690
|
+
/**
|
|
1691
|
+
* Update a project user
|
|
1692
|
+
* @summary Update a user
|
|
1693
|
+
* @param {string} project Projects unique identifier
|
|
1694
|
+
* @param {string} user the unique id of the user
|
|
1695
|
+
* @param {UpdateUserRequest} updateUserRequest Updated project user data
|
|
1696
|
+
* @param {*} [options] Override http request option.
|
|
1697
|
+
* @throws {RequiredError}
|
|
1698
|
+
*/
|
|
1699
|
+
updateUser: (project: string, user: string, updateUserRequest: UpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1669
1700
|
};
|
|
1670
1701
|
/**
|
|
1671
1702
|
* ProjectsApi - functional programming interface
|
|
1672
1703
|
* @export
|
|
1673
1704
|
*/
|
|
1674
1705
|
export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
1706
|
+
/**
|
|
1707
|
+
* Archive all the done tasks in the workflow
|
|
1708
|
+
* @summary Archive all done tasks
|
|
1709
|
+
* @param {string} project Projects unique identifier
|
|
1710
|
+
* @param {*} [options] Override http request option.
|
|
1711
|
+
* @throws {RequiredError}
|
|
1712
|
+
*/
|
|
1713
|
+
archiveTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1675
1714
|
/**
|
|
1676
1715
|
* Update multiple tasks in the workflow at once
|
|
1677
1716
|
* @summary Bulk update tasks
|
|
@@ -2001,12 +2040,30 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
2001
2040
|
* @throws {RequiredError}
|
|
2002
2041
|
*/
|
|
2003
2042
|
updateTask(project: string, id: string, updateTaskRequest?: UpdateTaskRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>>;
|
|
2043
|
+
/**
|
|
2044
|
+
* Update a project user
|
|
2045
|
+
* @summary Update a user
|
|
2046
|
+
* @param {string} project Projects unique identifier
|
|
2047
|
+
* @param {string} user the unique id of the user
|
|
2048
|
+
* @param {UpdateUserRequest} updateUserRequest Updated project user data
|
|
2049
|
+
* @param {*} [options] Override http request option.
|
|
2050
|
+
* @throws {RequiredError}
|
|
2051
|
+
*/
|
|
2052
|
+
updateUser(project: string, user: string, updateUserRequest: UpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectUser>>;
|
|
2004
2053
|
};
|
|
2005
2054
|
/**
|
|
2006
2055
|
* ProjectsApi - factory interface
|
|
2007
2056
|
* @export
|
|
2008
2057
|
*/
|
|
2009
2058
|
export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2059
|
+
/**
|
|
2060
|
+
* Archive all the done tasks in the workflow
|
|
2061
|
+
* @summary Archive all done tasks
|
|
2062
|
+
* @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
|
|
2063
|
+
* @param {*} [options] Override http request option.
|
|
2064
|
+
* @throws {RequiredError}
|
|
2065
|
+
*/
|
|
2066
|
+
archiveTasks(requestParameters: ProjectsApiArchiveTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2010
2067
|
/**
|
|
2011
2068
|
* Update multiple tasks in the workflow at once
|
|
2012
2069
|
* @summary Bulk update tasks
|
|
@@ -2303,7 +2360,28 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
2303
2360
|
* @throws {RequiredError}
|
|
2304
2361
|
*/
|
|
2305
2362
|
updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task>;
|
|
2363
|
+
/**
|
|
2364
|
+
* Update a project user
|
|
2365
|
+
* @summary Update a user
|
|
2366
|
+
* @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
|
|
2367
|
+
* @param {*} [options] Override http request option.
|
|
2368
|
+
* @throws {RequiredError}
|
|
2369
|
+
*/
|
|
2370
|
+
updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser>;
|
|
2306
2371
|
};
|
|
2372
|
+
/**
|
|
2373
|
+
* Request parameters for archiveTasks operation in ProjectsApi.
|
|
2374
|
+
* @export
|
|
2375
|
+
* @interface ProjectsApiArchiveTasksRequest
|
|
2376
|
+
*/
|
|
2377
|
+
export interface ProjectsApiArchiveTasksRequest {
|
|
2378
|
+
/**
|
|
2379
|
+
* Projects unique identifier
|
|
2380
|
+
* @type {string}
|
|
2381
|
+
* @memberof ProjectsApiArchiveTasks
|
|
2382
|
+
*/
|
|
2383
|
+
readonly project: string;
|
|
2384
|
+
}
|
|
2307
2385
|
/**
|
|
2308
2386
|
* Request parameters for bulkUpdateTasks operation in ProjectsApi.
|
|
2309
2387
|
* @export
|
|
@@ -2983,6 +3061,31 @@ export interface ProjectsApiUpdateTaskRequest {
|
|
|
2983
3061
|
*/
|
|
2984
3062
|
readonly updateTaskRequest?: UpdateTaskRequest;
|
|
2985
3063
|
}
|
|
3064
|
+
/**
|
|
3065
|
+
* Request parameters for updateUser operation in ProjectsApi.
|
|
3066
|
+
* @export
|
|
3067
|
+
* @interface ProjectsApiUpdateUserRequest
|
|
3068
|
+
*/
|
|
3069
|
+
export interface ProjectsApiUpdateUserRequest {
|
|
3070
|
+
/**
|
|
3071
|
+
* Projects unique identifier
|
|
3072
|
+
* @type {string}
|
|
3073
|
+
* @memberof ProjectsApiUpdateUser
|
|
3074
|
+
*/
|
|
3075
|
+
readonly project: string;
|
|
3076
|
+
/**
|
|
3077
|
+
* the unique id of the user
|
|
3078
|
+
* @type {string}
|
|
3079
|
+
* @memberof ProjectsApiUpdateUser
|
|
3080
|
+
*/
|
|
3081
|
+
readonly user: string;
|
|
3082
|
+
/**
|
|
3083
|
+
* Updated project user data
|
|
3084
|
+
* @type {UpdateUserRequest}
|
|
3085
|
+
* @memberof ProjectsApiUpdateUser
|
|
3086
|
+
*/
|
|
3087
|
+
readonly updateUserRequest: UpdateUserRequest;
|
|
3088
|
+
}
|
|
2986
3089
|
/**
|
|
2987
3090
|
* ProjectsApi - object-oriented interface
|
|
2988
3091
|
* @export
|
|
@@ -2990,6 +3093,15 @@ export interface ProjectsApiUpdateTaskRequest {
|
|
|
2990
3093
|
* @extends {BaseAPI}
|
|
2991
3094
|
*/
|
|
2992
3095
|
export declare class ProjectsApi extends BaseAPI {
|
|
3096
|
+
/**
|
|
3097
|
+
* Archive all the done tasks in the workflow
|
|
3098
|
+
* @summary Archive all done tasks
|
|
3099
|
+
* @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
|
|
3100
|
+
* @param {*} [options] Override http request option.
|
|
3101
|
+
* @throws {RequiredError}
|
|
3102
|
+
* @memberof ProjectsApi
|
|
3103
|
+
*/
|
|
3104
|
+
archiveTasks(requestParameters: ProjectsApiArchiveTasksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2993
3105
|
/**
|
|
2994
3106
|
* Update multiple tasks in the workflow at once
|
|
2995
3107
|
* @summary Bulk update tasks
|
|
@@ -3323,4 +3435,13 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
3323
3435
|
* @memberof ProjectsApi
|
|
3324
3436
|
*/
|
|
3325
3437
|
updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Task, any>>;
|
|
3438
|
+
/**
|
|
3439
|
+
* Update a project user
|
|
3440
|
+
* @summary Update a user
|
|
3441
|
+
* @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
|
|
3442
|
+
* @param {*} [options] Override http request option.
|
|
3443
|
+
* @throws {RequiredError}
|
|
3444
|
+
* @memberof ProjectsApi
|
|
3445
|
+
*/
|
|
3446
|
+
updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectUser, any>>;
|
|
3326
3447
|
}
|