@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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/projects@1.
|
|
1
|
+
## @teemill/projects@1.46.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.46.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -51,6 +51,7 @@ All URIs are relative to *https://localhost:8080*
|
|
|
51
51
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
|
+
*ProjectsApi* | [**archiveTasks**](docs/ProjectsApi.md#archivetasks) | **GET** /v1/projects/{project}/tasks/archive | Archive all done tasks
|
|
54
55
|
*ProjectsApi* | [**bulkUpdateTasks**](docs/ProjectsApi.md#bulkupdatetasks) | **PATCH** /v1/projects/{project}/tasks | Bulk update tasks
|
|
55
56
|
*ProjectsApi* | [**createAuth**](docs/ProjectsApi.md#createauth) | **POST** /v1/projects/{project}/auth | Create auth token
|
|
56
57
|
*ProjectsApi* | [**createBookmark**](docs/ProjectsApi.md#createbookmark) | **POST** /v1/projects/{project}/bookmarks | Create bookmark
|
|
@@ -81,6 +82,7 @@ Class | Method | HTTP request | Description
|
|
|
81
82
|
*ProjectsApi* | [**listBookmarks**](docs/ProjectsApi.md#listbookmarks) | **GET** /v1/projects/{project}/bookmarks | List bookmarks
|
|
82
83
|
*ProjectsApi* | [**listBookmarktabs**](docs/ProjectsApi.md#listbookmarktabs) | **GET** /v1/projects/{project}/bookmarktabs | List bookmark tabs
|
|
83
84
|
*ProjectsApi* | [**listTasks**](docs/ProjectsApi.md#listtasks) | **GET** /v1/projects/{project}/tasks | List Tasks
|
|
85
|
+
*ProjectsApi* | [**reset2FA**](docs/ProjectsApi.md#reset2fa) | **POST** /v1/projects/{project}/users/{user}/reset-2fa | Reset 2FA
|
|
84
86
|
*ProjectsApi* | [**setupIntegration**](docs/ProjectsApi.md#setupintegration) | **POST** /v1/projects/{project}/integrations/{integration}/setup | Setup integration
|
|
85
87
|
*ProjectsApi* | [**uninstallIntegration**](docs/ProjectsApi.md#uninstallintegration) | **DELETE** /v1/projects/{project}/integrations/{integration} | Uninstall integration
|
|
86
88
|
*ProjectsApi* | [**updateBookmark**](docs/ProjectsApi.md#updatebookmark) | **PATCH** /v1/projects/{project}/bookmarks/{id} | Update bookmark
|
|
@@ -131,12 +133,14 @@ Class | Method | HTTP request | Description
|
|
|
131
133
|
- [ProjectUserAvatar](docs/ProjectUserAvatar.md)
|
|
132
134
|
- [ProjectUsers](docs/ProjectUsers.md)
|
|
133
135
|
- [ProjectsResponse](docs/ProjectsResponse.md)
|
|
136
|
+
- [SetupMethod](docs/SetupMethod.md)
|
|
134
137
|
- [Task](docs/Task.md)
|
|
135
138
|
- [TaskStatus](docs/TaskStatus.md)
|
|
136
139
|
- [TaskSummary](docs/TaskSummary.md)
|
|
137
140
|
- [Template](docs/Template.md)
|
|
138
141
|
- [TemplateCode](docs/TemplateCode.md)
|
|
139
142
|
- [TemplatesResponse](docs/TemplatesResponse.md)
|
|
143
|
+
- [TwoFactorAuthentication](docs/TwoFactorAuthentication.md)
|
|
140
144
|
- [UpdateBookmarkRequest](docs/UpdateBookmarkRequest.md)
|
|
141
145
|
- [UpdateBookmarkTabsRequest](docs/UpdateBookmarkTabsRequest.md)
|
|
142
146
|
- [UpdateBookmarkTabsRequestTabsInner](docs/UpdateBookmarkTabsRequestTabsInner.md)
|
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.46.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -851,6 +851,12 @@ export interface ProjectUser {
|
|
|
851
851
|
* @memberof ProjectUser
|
|
852
852
|
*/
|
|
853
853
|
'avatar': ProjectUserAvatar;
|
|
854
|
+
/**
|
|
855
|
+
*
|
|
856
|
+
* @type {TwoFactorAuthentication}
|
|
857
|
+
* @memberof ProjectUser
|
|
858
|
+
*/
|
|
859
|
+
'twoFactorAuthentication': TwoFactorAuthentication;
|
|
854
860
|
}
|
|
855
861
|
|
|
856
862
|
export const ProjectUserTypeEnum = {
|
|
@@ -906,6 +912,26 @@ export interface ProjectsResponse {
|
|
|
906
912
|
*/
|
|
907
913
|
'projects': Array<Project>;
|
|
908
914
|
}
|
|
915
|
+
/**
|
|
916
|
+
*
|
|
917
|
+
* @export
|
|
918
|
+
* @interface SetupMethod
|
|
919
|
+
*/
|
|
920
|
+
export interface SetupMethod {
|
|
921
|
+
/**
|
|
922
|
+
*
|
|
923
|
+
* @type {string}
|
|
924
|
+
* @memberof SetupMethod
|
|
925
|
+
*/
|
|
926
|
+
'type': SetupMethodTypeEnum;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
export const SetupMethodTypeEnum = {
|
|
930
|
+
Authenticator: 'authenticator'
|
|
931
|
+
} as const;
|
|
932
|
+
|
|
933
|
+
export type SetupMethodTypeEnum = typeof SetupMethodTypeEnum[keyof typeof SetupMethodTypeEnum];
|
|
934
|
+
|
|
909
935
|
/**
|
|
910
936
|
*
|
|
911
937
|
* @export
|
|
@@ -1172,6 +1198,25 @@ export interface TemplatesResponse {
|
|
|
1172
1198
|
*/
|
|
1173
1199
|
'templates': Array<Template>;
|
|
1174
1200
|
}
|
|
1201
|
+
/**
|
|
1202
|
+
*
|
|
1203
|
+
* @export
|
|
1204
|
+
* @interface TwoFactorAuthentication
|
|
1205
|
+
*/
|
|
1206
|
+
export interface TwoFactorAuthentication {
|
|
1207
|
+
/**
|
|
1208
|
+
*
|
|
1209
|
+
* @type {boolean}
|
|
1210
|
+
* @memberof TwoFactorAuthentication
|
|
1211
|
+
*/
|
|
1212
|
+
'required'?: boolean;
|
|
1213
|
+
/**
|
|
1214
|
+
*
|
|
1215
|
+
* @type {Array<SetupMethod>}
|
|
1216
|
+
* @memberof TwoFactorAuthentication
|
|
1217
|
+
*/
|
|
1218
|
+
'setupMethods'?: Array<SetupMethod>;
|
|
1219
|
+
}
|
|
1175
1220
|
/**
|
|
1176
1221
|
*
|
|
1177
1222
|
* @export
|
|
@@ -1386,6 +1431,47 @@ export interface UpdateUserRequest {
|
|
|
1386
1431
|
*/
|
|
1387
1432
|
export const ProjectsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1388
1433
|
return {
|
|
1434
|
+
/**
|
|
1435
|
+
* Archive all the done tasks in the workflow
|
|
1436
|
+
* @summary Archive all done tasks
|
|
1437
|
+
* @param {string} project Projects unique identifier
|
|
1438
|
+
* @param {*} [options] Override http request option.
|
|
1439
|
+
* @throws {RequiredError}
|
|
1440
|
+
*/
|
|
1441
|
+
archiveTasks: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1442
|
+
// verify required parameter 'project' is not null or undefined
|
|
1443
|
+
assertParamExists('archiveTasks', 'project', project)
|
|
1444
|
+
const localVarPath = `/v1/projects/{project}/tasks/archive`
|
|
1445
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
1446
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1447
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1448
|
+
let baseOptions;
|
|
1449
|
+
if (configuration) {
|
|
1450
|
+
baseOptions = configuration.baseOptions;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1454
|
+
const localVarHeaderParameter = {} as any;
|
|
1455
|
+
const localVarQueryParameter = {} as any;
|
|
1456
|
+
|
|
1457
|
+
// authentication session-oauth required
|
|
1458
|
+
// oauth required
|
|
1459
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1460
|
+
|
|
1461
|
+
// authentication api-key required
|
|
1462
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1463
|
+
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1467
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1468
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1469
|
+
|
|
1470
|
+
return {
|
|
1471
|
+
url: toPathString(localVarUrlObj),
|
|
1472
|
+
options: localVarRequestOptions,
|
|
1473
|
+
};
|
|
1474
|
+
},
|
|
1389
1475
|
/**
|
|
1390
1476
|
* Update multiple tasks in the workflow at once
|
|
1391
1477
|
* @summary Bulk update tasks
|
|
@@ -2714,6 +2800,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2714
2800
|
|
|
2715
2801
|
|
|
2716
2802
|
|
|
2803
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2804
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2805
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2806
|
+
|
|
2807
|
+
return {
|
|
2808
|
+
url: toPathString(localVarUrlObj),
|
|
2809
|
+
options: localVarRequestOptions,
|
|
2810
|
+
};
|
|
2811
|
+
},
|
|
2812
|
+
/**
|
|
2813
|
+
* Reset 2FA for a given user
|
|
2814
|
+
* @summary Reset 2FA
|
|
2815
|
+
* @param {string} project Projects unique identifier
|
|
2816
|
+
* @param {string} user the unique id of the user
|
|
2817
|
+
* @param {*} [options] Override http request option.
|
|
2818
|
+
* @throws {RequiredError}
|
|
2819
|
+
*/
|
|
2820
|
+
reset2FA: async (project: string, user: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2821
|
+
// verify required parameter 'project' is not null or undefined
|
|
2822
|
+
assertParamExists('reset2FA', 'project', project)
|
|
2823
|
+
// verify required parameter 'user' is not null or undefined
|
|
2824
|
+
assertParamExists('reset2FA', 'user', user)
|
|
2825
|
+
const localVarPath = `/v1/projects/{project}/users/{user}/reset-2fa`
|
|
2826
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
2827
|
+
.replace(`{${"user"}}`, encodeURIComponent(String(user)));
|
|
2828
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2829
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2830
|
+
let baseOptions;
|
|
2831
|
+
if (configuration) {
|
|
2832
|
+
baseOptions = configuration.baseOptions;
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2836
|
+
const localVarHeaderParameter = {} as any;
|
|
2837
|
+
const localVarQueryParameter = {} as any;
|
|
2838
|
+
|
|
2839
|
+
// authentication session-oauth required
|
|
2840
|
+
// oauth required
|
|
2841
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2842
|
+
|
|
2843
|
+
// authentication api-key required
|
|
2844
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2845
|
+
|
|
2846
|
+
|
|
2847
|
+
|
|
2717
2848
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2718
2849
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2719
2850
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3125,6 +3256,19 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3125
3256
|
export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
3126
3257
|
const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration)
|
|
3127
3258
|
return {
|
|
3259
|
+
/**
|
|
3260
|
+
* Archive all the done tasks in the workflow
|
|
3261
|
+
* @summary Archive all done tasks
|
|
3262
|
+
* @param {string} project Projects unique identifier
|
|
3263
|
+
* @param {*} [options] Override http request option.
|
|
3264
|
+
* @throws {RequiredError}
|
|
3265
|
+
*/
|
|
3266
|
+
async archiveTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveTasks(project, options);
|
|
3268
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3269
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.archiveTasks']?.[localVarOperationServerIndex]?.url;
|
|
3270
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3271
|
+
},
|
|
3128
3272
|
/**
|
|
3129
3273
|
* Update multiple tasks in the workflow at once
|
|
3130
3274
|
* @summary Bulk update tasks
|
|
@@ -3537,6 +3681,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
3537
3681
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listTasks']?.[localVarOperationServerIndex]?.url;
|
|
3538
3682
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3539
3683
|
},
|
|
3684
|
+
/**
|
|
3685
|
+
* Reset 2FA for a given user
|
|
3686
|
+
* @summary Reset 2FA
|
|
3687
|
+
* @param {string} project Projects unique identifier
|
|
3688
|
+
* @param {string} user the unique id of the user
|
|
3689
|
+
* @param {*} [options] Override http request option.
|
|
3690
|
+
* @throws {RequiredError}
|
|
3691
|
+
*/
|
|
3692
|
+
async reset2FA(project: string, user: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3693
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reset2FA(project, user, options);
|
|
3694
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3695
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.reset2FA']?.[localVarOperationServerIndex]?.url;
|
|
3696
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3697
|
+
},
|
|
3540
3698
|
/**
|
|
3541
3699
|
* Setup an integration on the project
|
|
3542
3700
|
* @summary Setup integration
|
|
@@ -3664,6 +3822,16 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
3664
3822
|
export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3665
3823
|
const localVarFp = ProjectsApiFp(configuration)
|
|
3666
3824
|
return {
|
|
3825
|
+
/**
|
|
3826
|
+
* Archive all the done tasks in the workflow
|
|
3827
|
+
* @summary Archive all done tasks
|
|
3828
|
+
* @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
|
|
3829
|
+
* @param {*} [options] Override http request option.
|
|
3830
|
+
* @throws {RequiredError}
|
|
3831
|
+
*/
|
|
3832
|
+
archiveTasks(requestParameters: ProjectsApiArchiveTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3833
|
+
return localVarFp.archiveTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3834
|
+
},
|
|
3667
3835
|
/**
|
|
3668
3836
|
* Update multiple tasks in the workflow at once
|
|
3669
3837
|
* @summary Bulk update tasks
|
|
@@ -3964,6 +4132,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3964
4132
|
listTasks(requestParameters: ProjectsApiListTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse> {
|
|
3965
4133
|
return localVarFp.listTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3966
4134
|
},
|
|
4135
|
+
/**
|
|
4136
|
+
* Reset 2FA for a given user
|
|
4137
|
+
* @summary Reset 2FA
|
|
4138
|
+
* @param {ProjectsApiReset2FARequest} requestParameters Request parameters.
|
|
4139
|
+
* @param {*} [options] Override http request option.
|
|
4140
|
+
* @throws {RequiredError}
|
|
4141
|
+
*/
|
|
4142
|
+
reset2FA(requestParameters: ProjectsApiReset2FARequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
4143
|
+
return localVarFp.reset2FA(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
4144
|
+
},
|
|
3967
4145
|
/**
|
|
3968
4146
|
* Setup an integration on the project
|
|
3969
4147
|
* @summary Setup integration
|
|
@@ -4047,6 +4225,20 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
4047
4225
|
};
|
|
4048
4226
|
};
|
|
4049
4227
|
|
|
4228
|
+
/**
|
|
4229
|
+
* Request parameters for archiveTasks operation in ProjectsApi.
|
|
4230
|
+
* @export
|
|
4231
|
+
* @interface ProjectsApiArchiveTasksRequest
|
|
4232
|
+
*/
|
|
4233
|
+
export interface ProjectsApiArchiveTasksRequest {
|
|
4234
|
+
/**
|
|
4235
|
+
* Projects unique identifier
|
|
4236
|
+
* @type {string}
|
|
4237
|
+
* @memberof ProjectsApiArchiveTasks
|
|
4238
|
+
*/
|
|
4239
|
+
readonly project: string
|
|
4240
|
+
}
|
|
4241
|
+
|
|
4050
4242
|
/**
|
|
4051
4243
|
* Request parameters for bulkUpdateTasks operation in ProjectsApi.
|
|
4052
4244
|
* @export
|
|
@@ -4621,6 +4813,27 @@ export interface ProjectsApiListTasksRequest {
|
|
|
4621
4813
|
readonly project: string
|
|
4622
4814
|
}
|
|
4623
4815
|
|
|
4816
|
+
/**
|
|
4817
|
+
* Request parameters for reset2FA operation in ProjectsApi.
|
|
4818
|
+
* @export
|
|
4819
|
+
* @interface ProjectsApiReset2FARequest
|
|
4820
|
+
*/
|
|
4821
|
+
export interface ProjectsApiReset2FARequest {
|
|
4822
|
+
/**
|
|
4823
|
+
* Projects unique identifier
|
|
4824
|
+
* @type {string}
|
|
4825
|
+
* @memberof ProjectsApiReset2FA
|
|
4826
|
+
*/
|
|
4827
|
+
readonly project: string
|
|
4828
|
+
|
|
4829
|
+
/**
|
|
4830
|
+
* the unique id of the user
|
|
4831
|
+
* @type {string}
|
|
4832
|
+
* @memberof ProjectsApiReset2FA
|
|
4833
|
+
*/
|
|
4834
|
+
readonly user: string
|
|
4835
|
+
}
|
|
4836
|
+
|
|
4624
4837
|
/**
|
|
4625
4838
|
* Request parameters for setupIntegration operation in ProjectsApi.
|
|
4626
4839
|
* @export
|
|
@@ -4831,6 +5044,18 @@ export interface ProjectsApiUpdateUserRequest {
|
|
|
4831
5044
|
* @extends {BaseAPI}
|
|
4832
5045
|
*/
|
|
4833
5046
|
export class ProjectsApi extends BaseAPI {
|
|
5047
|
+
/**
|
|
5048
|
+
* Archive all the done tasks in the workflow
|
|
5049
|
+
* @summary Archive all done tasks
|
|
5050
|
+
* @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
|
|
5051
|
+
* @param {*} [options] Override http request option.
|
|
5052
|
+
* @throws {RequiredError}
|
|
5053
|
+
* @memberof ProjectsApi
|
|
5054
|
+
*/
|
|
5055
|
+
public archiveTasks(requestParameters: ProjectsApiArchiveTasksRequest, options?: RawAxiosRequestConfig) {
|
|
5056
|
+
return ProjectsApiFp(this.configuration).archiveTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
5057
|
+
}
|
|
5058
|
+
|
|
4834
5059
|
/**
|
|
4835
5060
|
* Update multiple tasks in the workflow at once
|
|
4836
5061
|
* @summary Bulk update tasks
|
|
@@ -5191,6 +5416,18 @@ export class ProjectsApi extends BaseAPI {
|
|
|
5191
5416
|
return ProjectsApiFp(this.configuration).listTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
5192
5417
|
}
|
|
5193
5418
|
|
|
5419
|
+
/**
|
|
5420
|
+
* Reset 2FA for a given user
|
|
5421
|
+
* @summary Reset 2FA
|
|
5422
|
+
* @param {ProjectsApiReset2FARequest} requestParameters Request parameters.
|
|
5423
|
+
* @param {*} [options] Override http request option.
|
|
5424
|
+
* @throws {RequiredError}
|
|
5425
|
+
* @memberof ProjectsApi
|
|
5426
|
+
*/
|
|
5427
|
+
public reset2FA(requestParameters: ProjectsApiReset2FARequest, options?: RawAxiosRequestConfig) {
|
|
5428
|
+
return ProjectsApiFp(this.configuration).reset2FA(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
5429
|
+
}
|
|
5430
|
+
|
|
5194
5431
|
/**
|
|
5195
5432
|
* Setup an integration on the project
|
|
5196
5433
|
* @summary Setup integration
|
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.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
|