@teemill/projects 1.44.0 → 1.46.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 +238 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +143 -1
- package/dist/api.js +152 -2
- 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 +143 -1
- package/dist/esm/api.js +151 -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/ProjectUser.md +2 -0
- package/docs/ProjectsApi.md +115 -0
- package/docs/SetupMethod.md +20 -0
- package/docs/TwoFactorAuthentication.md +22 -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.46.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.TemplateCode = exports.TaskStatus = exports.ProjectUserTypeEnum = exports.OkrLevel = void 0;
|
|
25
|
+
exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.TemplateCode = exports.TaskStatus = exports.SetupMethodTypeEnum = exports.ProjectUserTypeEnum = exports.OkrLevel = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -44,6 +44,9 @@ exports.ProjectUserTypeEnum = {
|
|
|
44
44
|
Service: 'service',
|
|
45
45
|
Ghost: 'ghost'
|
|
46
46
|
};
|
|
47
|
+
exports.SetupMethodTypeEnum = {
|
|
48
|
+
Authenticator: 'authenticator'
|
|
49
|
+
};
|
|
47
50
|
/**
|
|
48
51
|
*
|
|
49
52
|
* @export
|
|
@@ -74,6 +77,40 @@ exports.TemplateCode = {
|
|
|
74
77
|
*/
|
|
75
78
|
const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
76
79
|
return {
|
|
80
|
+
/**
|
|
81
|
+
* Archive all the done tasks in the workflow
|
|
82
|
+
* @summary Archive all done tasks
|
|
83
|
+
* @param {string} project Projects unique identifier
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
archiveTasks: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
88
|
+
// verify required parameter 'project' is not null or undefined
|
|
89
|
+
(0, common_1.assertParamExists)('archiveTasks', 'project', project);
|
|
90
|
+
const localVarPath = `/v1/projects/{project}/tasks/archive`
|
|
91
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
92
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
93
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
94
|
+
let baseOptions;
|
|
95
|
+
if (configuration) {
|
|
96
|
+
baseOptions = configuration.baseOptions;
|
|
97
|
+
}
|
|
98
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
99
|
+
const localVarHeaderParameter = {};
|
|
100
|
+
const localVarQueryParameter = {};
|
|
101
|
+
// authentication session-oauth required
|
|
102
|
+
// oauth required
|
|
103
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
104
|
+
// authentication api-key required
|
|
105
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
106
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
107
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
109
|
+
return {
|
|
110
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
111
|
+
options: localVarRequestOptions,
|
|
112
|
+
};
|
|
113
|
+
}),
|
|
77
114
|
/**
|
|
78
115
|
* Update multiple tasks in the workflow at once
|
|
79
116
|
* @summary Bulk update tasks
|
|
@@ -1186,6 +1223,44 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
1186
1223
|
options: localVarRequestOptions,
|
|
1187
1224
|
};
|
|
1188
1225
|
}),
|
|
1226
|
+
/**
|
|
1227
|
+
* Reset 2FA for a given user
|
|
1228
|
+
* @summary Reset 2FA
|
|
1229
|
+
* @param {string} project Projects unique identifier
|
|
1230
|
+
* @param {string} user the unique id of the user
|
|
1231
|
+
* @param {*} [options] Override http request option.
|
|
1232
|
+
* @throws {RequiredError}
|
|
1233
|
+
*/
|
|
1234
|
+
reset2FA: (project_1, user_1, ...args_1) => __awaiter(this, [project_1, user_1, ...args_1], void 0, function* (project, user, options = {}) {
|
|
1235
|
+
// verify required parameter 'project' is not null or undefined
|
|
1236
|
+
(0, common_1.assertParamExists)('reset2FA', 'project', project);
|
|
1237
|
+
// verify required parameter 'user' is not null or undefined
|
|
1238
|
+
(0, common_1.assertParamExists)('reset2FA', 'user', user);
|
|
1239
|
+
const localVarPath = `/v1/projects/{project}/users/{user}/reset-2fa`
|
|
1240
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1241
|
+
.replace(`{${"user"}}`, encodeURIComponent(String(user)));
|
|
1242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1243
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1244
|
+
let baseOptions;
|
|
1245
|
+
if (configuration) {
|
|
1246
|
+
baseOptions = configuration.baseOptions;
|
|
1247
|
+
}
|
|
1248
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1249
|
+
const localVarHeaderParameter = {};
|
|
1250
|
+
const localVarQueryParameter = {};
|
|
1251
|
+
// authentication session-oauth required
|
|
1252
|
+
// oauth required
|
|
1253
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1254
|
+
// authentication api-key required
|
|
1255
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1256
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1257
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1258
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1259
|
+
return {
|
|
1260
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1261
|
+
options: localVarRequestOptions,
|
|
1262
|
+
};
|
|
1263
|
+
}),
|
|
1189
1264
|
/**
|
|
1190
1265
|
* Setup an integration on the project
|
|
1191
1266
|
* @summary Setup integration
|
|
@@ -1525,6 +1600,22 @@ exports.ProjectsApiAxiosParamCreator = ProjectsApiAxiosParamCreator;
|
|
|
1525
1600
|
const ProjectsApiFp = function (configuration) {
|
|
1526
1601
|
const localVarAxiosParamCreator = (0, exports.ProjectsApiAxiosParamCreator)(configuration);
|
|
1527
1602
|
return {
|
|
1603
|
+
/**
|
|
1604
|
+
* Archive all the done tasks in the workflow
|
|
1605
|
+
* @summary Archive all done tasks
|
|
1606
|
+
* @param {string} project Projects unique identifier
|
|
1607
|
+
* @param {*} [options] Override http request option.
|
|
1608
|
+
* @throws {RequiredError}
|
|
1609
|
+
*/
|
|
1610
|
+
archiveTasks(project, options) {
|
|
1611
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1612
|
+
var _a, _b, _c;
|
|
1613
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.archiveTasks(project, options);
|
|
1614
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1615
|
+
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;
|
|
1616
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1617
|
+
});
|
|
1618
|
+
},
|
|
1528
1619
|
/**
|
|
1529
1620
|
* Update multiple tasks in the workflow at once
|
|
1530
1621
|
* @summary Bulk update tasks
|
|
@@ -2027,6 +2118,23 @@ const ProjectsApiFp = function (configuration) {
|
|
|
2027
2118
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2028
2119
|
});
|
|
2029
2120
|
},
|
|
2121
|
+
/**
|
|
2122
|
+
* Reset 2FA for a given user
|
|
2123
|
+
* @summary Reset 2FA
|
|
2124
|
+
* @param {string} project Projects unique identifier
|
|
2125
|
+
* @param {string} user the unique id of the user
|
|
2126
|
+
* @param {*} [options] Override http request option.
|
|
2127
|
+
* @throws {RequiredError}
|
|
2128
|
+
*/
|
|
2129
|
+
reset2FA(project, user, options) {
|
|
2130
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2131
|
+
var _a, _b, _c;
|
|
2132
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.reset2FA(project, user, options);
|
|
2133
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2134
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.reset2FA']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2135
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2136
|
+
});
|
|
2137
|
+
},
|
|
2030
2138
|
/**
|
|
2031
2139
|
* Setup an integration on the project
|
|
2032
2140
|
* @summary Setup integration
|
|
@@ -2178,6 +2286,16 @@ exports.ProjectsApiFp = ProjectsApiFp;
|
|
|
2178
2286
|
const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
2179
2287
|
const localVarFp = (0, exports.ProjectsApiFp)(configuration);
|
|
2180
2288
|
return {
|
|
2289
|
+
/**
|
|
2290
|
+
* Archive all the done tasks in the workflow
|
|
2291
|
+
* @summary Archive all done tasks
|
|
2292
|
+
* @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
|
|
2293
|
+
* @param {*} [options] Override http request option.
|
|
2294
|
+
* @throws {RequiredError}
|
|
2295
|
+
*/
|
|
2296
|
+
archiveTasks(requestParameters, options) {
|
|
2297
|
+
return localVarFp.archiveTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2298
|
+
},
|
|
2181
2299
|
/**
|
|
2182
2300
|
* Update multiple tasks in the workflow at once
|
|
2183
2301
|
* @summary Bulk update tasks
|
|
@@ -2478,6 +2596,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
2478
2596
|
listTasks(requestParameters, options) {
|
|
2479
2597
|
return localVarFp.listTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2480
2598
|
},
|
|
2599
|
+
/**
|
|
2600
|
+
* Reset 2FA for a given user
|
|
2601
|
+
* @summary Reset 2FA
|
|
2602
|
+
* @param {ProjectsApiReset2FARequest} requestParameters Request parameters.
|
|
2603
|
+
* @param {*} [options] Override http request option.
|
|
2604
|
+
* @throws {RequiredError}
|
|
2605
|
+
*/
|
|
2606
|
+
reset2FA(requestParameters, options) {
|
|
2607
|
+
return localVarFp.reset2FA(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
2608
|
+
},
|
|
2481
2609
|
/**
|
|
2482
2610
|
* Setup an integration on the project
|
|
2483
2611
|
* @summary Setup integration
|
|
@@ -2568,6 +2696,17 @@ exports.ProjectsApiFactory = ProjectsApiFactory;
|
|
|
2568
2696
|
* @extends {BaseAPI}
|
|
2569
2697
|
*/
|
|
2570
2698
|
class ProjectsApi extends base_1.BaseAPI {
|
|
2699
|
+
/**
|
|
2700
|
+
* Archive all the done tasks in the workflow
|
|
2701
|
+
* @summary Archive all done tasks
|
|
2702
|
+
* @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
|
|
2703
|
+
* @param {*} [options] Override http request option.
|
|
2704
|
+
* @throws {RequiredError}
|
|
2705
|
+
* @memberof ProjectsApi
|
|
2706
|
+
*/
|
|
2707
|
+
archiveTasks(requestParameters, options) {
|
|
2708
|
+
return (0, exports.ProjectsApiFp)(this.configuration).archiveTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2709
|
+
}
|
|
2571
2710
|
/**
|
|
2572
2711
|
* Update multiple tasks in the workflow at once
|
|
2573
2712
|
* @summary Bulk update tasks
|
|
@@ -2898,6 +3037,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
2898
3037
|
listTasks(requestParameters, options) {
|
|
2899
3038
|
return (0, exports.ProjectsApiFp)(this.configuration).listTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2900
3039
|
}
|
|
3040
|
+
/**
|
|
3041
|
+
* Reset 2FA for a given user
|
|
3042
|
+
* @summary Reset 2FA
|
|
3043
|
+
* @param {ProjectsApiReset2FARequest} requestParameters Request parameters.
|
|
3044
|
+
* @param {*} [options] Override http request option.
|
|
3045
|
+
* @throws {RequiredError}
|
|
3046
|
+
* @memberof ProjectsApi
|
|
3047
|
+
*/
|
|
3048
|
+
reset2FA(requestParameters, options) {
|
|
3049
|
+
return (0, exports.ProjectsApiFp)(this.configuration).reset2FA(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
3050
|
+
}
|
|
2901
3051
|
/**
|
|
2902
3052
|
* Setup an integration on the project
|
|
2903
3053
|
* @summary Setup integration
|
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.46.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -836,6 +836,12 @@ export interface ProjectUser {
|
|
|
836
836
|
* @memberof ProjectUser
|
|
837
837
|
*/
|
|
838
838
|
'avatar': ProjectUserAvatar;
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @type {TwoFactorAuthentication}
|
|
842
|
+
* @memberof ProjectUser
|
|
843
|
+
*/
|
|
844
|
+
'twoFactorAuthentication': TwoFactorAuthentication;
|
|
839
845
|
}
|
|
840
846
|
export declare const ProjectUserTypeEnum: {
|
|
841
847
|
readonly User: "user";
|
|
@@ -888,6 +894,23 @@ export interface ProjectsResponse {
|
|
|
888
894
|
*/
|
|
889
895
|
'projects': Array<Project>;
|
|
890
896
|
}
|
|
897
|
+
/**
|
|
898
|
+
*
|
|
899
|
+
* @export
|
|
900
|
+
* @interface SetupMethod
|
|
901
|
+
*/
|
|
902
|
+
export interface SetupMethod {
|
|
903
|
+
/**
|
|
904
|
+
*
|
|
905
|
+
* @type {string}
|
|
906
|
+
* @memberof SetupMethod
|
|
907
|
+
*/
|
|
908
|
+
'type': SetupMethodTypeEnum;
|
|
909
|
+
}
|
|
910
|
+
export declare const SetupMethodTypeEnum: {
|
|
911
|
+
readonly Authenticator: "authenticator";
|
|
912
|
+
};
|
|
913
|
+
export type SetupMethodTypeEnum = typeof SetupMethodTypeEnum[keyof typeof SetupMethodTypeEnum];
|
|
891
914
|
/**
|
|
892
915
|
*
|
|
893
916
|
* @export
|
|
@@ -1140,6 +1163,25 @@ export interface TemplatesResponse {
|
|
|
1140
1163
|
*/
|
|
1141
1164
|
'templates': Array<Template>;
|
|
1142
1165
|
}
|
|
1166
|
+
/**
|
|
1167
|
+
*
|
|
1168
|
+
* @export
|
|
1169
|
+
* @interface TwoFactorAuthentication
|
|
1170
|
+
*/
|
|
1171
|
+
export interface TwoFactorAuthentication {
|
|
1172
|
+
/**
|
|
1173
|
+
*
|
|
1174
|
+
* @type {boolean}
|
|
1175
|
+
* @memberof TwoFactorAuthentication
|
|
1176
|
+
*/
|
|
1177
|
+
'required'?: boolean;
|
|
1178
|
+
/**
|
|
1179
|
+
*
|
|
1180
|
+
* @type {Array<SetupMethod>}
|
|
1181
|
+
* @memberof TwoFactorAuthentication
|
|
1182
|
+
*/
|
|
1183
|
+
'setupMethods'?: Array<SetupMethod>;
|
|
1184
|
+
}
|
|
1143
1185
|
/**
|
|
1144
1186
|
*
|
|
1145
1187
|
* @export
|
|
@@ -1350,6 +1392,14 @@ export interface UpdateUserRequest {
|
|
|
1350
1392
|
* @export
|
|
1351
1393
|
*/
|
|
1352
1394
|
export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1395
|
+
/**
|
|
1396
|
+
* Archive all the done tasks in the workflow
|
|
1397
|
+
* @summary Archive all done tasks
|
|
1398
|
+
* @param {string} project Projects unique identifier
|
|
1399
|
+
* @param {*} [options] Override http request option.
|
|
1400
|
+
* @throws {RequiredError}
|
|
1401
|
+
*/
|
|
1402
|
+
archiveTasks: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1353
1403
|
/**
|
|
1354
1404
|
* Update multiple tasks in the workflow at once
|
|
1355
1405
|
* @summary Bulk update tasks
|
|
@@ -1612,6 +1662,15 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1612
1662
|
* @throws {RequiredError}
|
|
1613
1663
|
*/
|
|
1614
1664
|
listTasks: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1665
|
+
/**
|
|
1666
|
+
* Reset 2FA for a given user
|
|
1667
|
+
* @summary Reset 2FA
|
|
1668
|
+
* @param {string} project Projects unique identifier
|
|
1669
|
+
* @param {string} user the unique id of the user
|
|
1670
|
+
* @param {*} [options] Override http request option.
|
|
1671
|
+
* @throws {RequiredError}
|
|
1672
|
+
*/
|
|
1673
|
+
reset2FA: (project: string, user: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1615
1674
|
/**
|
|
1616
1675
|
* Setup an integration on the project
|
|
1617
1676
|
* @summary Setup integration
|
|
@@ -1695,6 +1754,14 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1695
1754
|
* @export
|
|
1696
1755
|
*/
|
|
1697
1756
|
export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
1757
|
+
/**
|
|
1758
|
+
* Archive all the done tasks in the workflow
|
|
1759
|
+
* @summary Archive all done tasks
|
|
1760
|
+
* @param {string} project Projects unique identifier
|
|
1761
|
+
* @param {*} [options] Override http request option.
|
|
1762
|
+
* @throws {RequiredError}
|
|
1763
|
+
*/
|
|
1764
|
+
archiveTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1698
1765
|
/**
|
|
1699
1766
|
* Update multiple tasks in the workflow at once
|
|
1700
1767
|
* @summary Bulk update tasks
|
|
@@ -1957,6 +2024,15 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1957
2024
|
* @throws {RequiredError}
|
|
1958
2025
|
*/
|
|
1959
2026
|
listTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponse>>;
|
|
2027
|
+
/**
|
|
2028
|
+
* Reset 2FA for a given user
|
|
2029
|
+
* @summary Reset 2FA
|
|
2030
|
+
* @param {string} project Projects unique identifier
|
|
2031
|
+
* @param {string} user the unique id of the user
|
|
2032
|
+
* @param {*} [options] Override http request option.
|
|
2033
|
+
* @throws {RequiredError}
|
|
2034
|
+
*/
|
|
2035
|
+
reset2FA(project: string, user: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1960
2036
|
/**
|
|
1961
2037
|
* Setup an integration on the project
|
|
1962
2038
|
* @summary Setup integration
|
|
@@ -2040,6 +2116,14 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
2040
2116
|
* @export
|
|
2041
2117
|
*/
|
|
2042
2118
|
export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2119
|
+
/**
|
|
2120
|
+
* Archive all the done tasks in the workflow
|
|
2121
|
+
* @summary Archive all done tasks
|
|
2122
|
+
* @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
|
|
2123
|
+
* @param {*} [options] Override http request option.
|
|
2124
|
+
* @throws {RequiredError}
|
|
2125
|
+
*/
|
|
2126
|
+
archiveTasks(requestParameters: ProjectsApiArchiveTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2043
2127
|
/**
|
|
2044
2128
|
* Update multiple tasks in the workflow at once
|
|
2045
2129
|
* @summary Bulk update tasks
|
|
@@ -2280,6 +2364,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
2280
2364
|
* @throws {RequiredError}
|
|
2281
2365
|
*/
|
|
2282
2366
|
listTasks(requestParameters: ProjectsApiListTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse>;
|
|
2367
|
+
/**
|
|
2368
|
+
* Reset 2FA for a given user
|
|
2369
|
+
* @summary Reset 2FA
|
|
2370
|
+
* @param {ProjectsApiReset2FARequest} requestParameters Request parameters.
|
|
2371
|
+
* @param {*} [options] Override http request option.
|
|
2372
|
+
* @throws {RequiredError}
|
|
2373
|
+
*/
|
|
2374
|
+
reset2FA(requestParameters: ProjectsApiReset2FARequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2283
2375
|
/**
|
|
2284
2376
|
* Setup an integration on the project
|
|
2285
2377
|
* @summary Setup integration
|
|
@@ -2345,6 +2437,19 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
2345
2437
|
*/
|
|
2346
2438
|
updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser>;
|
|
2347
2439
|
};
|
|
2440
|
+
/**
|
|
2441
|
+
* Request parameters for archiveTasks operation in ProjectsApi.
|
|
2442
|
+
* @export
|
|
2443
|
+
* @interface ProjectsApiArchiveTasksRequest
|
|
2444
|
+
*/
|
|
2445
|
+
export interface ProjectsApiArchiveTasksRequest {
|
|
2446
|
+
/**
|
|
2447
|
+
* Projects unique identifier
|
|
2448
|
+
* @type {string}
|
|
2449
|
+
* @memberof ProjectsApiArchiveTasks
|
|
2450
|
+
*/
|
|
2451
|
+
readonly project: string;
|
|
2452
|
+
}
|
|
2348
2453
|
/**
|
|
2349
2454
|
* Request parameters for bulkUpdateTasks operation in ProjectsApi.
|
|
2350
2455
|
* @export
|
|
@@ -2867,6 +2972,25 @@ export interface ProjectsApiListTasksRequest {
|
|
|
2867
2972
|
*/
|
|
2868
2973
|
readonly project: string;
|
|
2869
2974
|
}
|
|
2975
|
+
/**
|
|
2976
|
+
* Request parameters for reset2FA operation in ProjectsApi.
|
|
2977
|
+
* @export
|
|
2978
|
+
* @interface ProjectsApiReset2FARequest
|
|
2979
|
+
*/
|
|
2980
|
+
export interface ProjectsApiReset2FARequest {
|
|
2981
|
+
/**
|
|
2982
|
+
* Projects unique identifier
|
|
2983
|
+
* @type {string}
|
|
2984
|
+
* @memberof ProjectsApiReset2FA
|
|
2985
|
+
*/
|
|
2986
|
+
readonly project: string;
|
|
2987
|
+
/**
|
|
2988
|
+
* the unique id of the user
|
|
2989
|
+
* @type {string}
|
|
2990
|
+
* @memberof ProjectsApiReset2FA
|
|
2991
|
+
*/
|
|
2992
|
+
readonly user: string;
|
|
2993
|
+
}
|
|
2870
2994
|
/**
|
|
2871
2995
|
* Request parameters for setupIntegration operation in ProjectsApi.
|
|
2872
2996
|
* @export
|
|
@@ -3056,6 +3180,15 @@ export interface ProjectsApiUpdateUserRequest {
|
|
|
3056
3180
|
* @extends {BaseAPI}
|
|
3057
3181
|
*/
|
|
3058
3182
|
export declare class ProjectsApi extends BaseAPI {
|
|
3183
|
+
/**
|
|
3184
|
+
* Archive all the done tasks in the workflow
|
|
3185
|
+
* @summary Archive all done tasks
|
|
3186
|
+
* @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
|
|
3187
|
+
* @param {*} [options] Override http request option.
|
|
3188
|
+
* @throws {RequiredError}
|
|
3189
|
+
* @memberof ProjectsApi
|
|
3190
|
+
*/
|
|
3191
|
+
archiveTasks(requestParameters: ProjectsApiArchiveTasksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3059
3192
|
/**
|
|
3060
3193
|
* Update multiple tasks in the workflow at once
|
|
3061
3194
|
* @summary Bulk update tasks
|
|
@@ -3326,6 +3459,15 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
3326
3459
|
* @memberof ProjectsApi
|
|
3327
3460
|
*/
|
|
3328
3461
|
listTasks(requestParameters: ProjectsApiListTasksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponse, any>>;
|
|
3462
|
+
/**
|
|
3463
|
+
* Reset 2FA for a given user
|
|
3464
|
+
* @summary Reset 2FA
|
|
3465
|
+
* @param {ProjectsApiReset2FARequest} requestParameters Request parameters.
|
|
3466
|
+
* @param {*} [options] Override http request option.
|
|
3467
|
+
* @throws {RequiredError}
|
|
3468
|
+
* @memberof ProjectsApi
|
|
3469
|
+
*/
|
|
3470
|
+
reset2FA(requestParameters: ProjectsApiReset2FARequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3329
3471
|
/**
|
|
3330
3472
|
* Setup an integration on the project
|
|
3331
3473
|
* @summary Setup integration
|