@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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/projects@1.43.0
1
+ ## @teemill/projects@1.45.1
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.43.0 --save
39
+ npm install @teemill/projects@1.45.1 --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
@@ -88,6 +89,7 @@ Class | Method | HTTP request | Description
88
89
  *ProjectsApi* | [**updateIntegration**](docs/ProjectsApi.md#updateintegration) | **PATCH** /v1/projects/{project}/integrations/{integration} | Update integration
89
90
  *ProjectsApi* | [**updateProject**](docs/ProjectsApi.md#updateproject) | **PATCH** /v1/projects/{project} | Update project
90
91
  *ProjectsApi* | [**updateTask**](docs/ProjectsApi.md#updatetask) | **PATCH** /v1/projects/{project}/tasks/{id} | Update Task
92
+ *ProjectsApi* | [**updateUser**](docs/ProjectsApi.md#updateuser) | **PATCH** /v1/projects/{project}/users/{user} | Update a user
91
93
 
92
94
 
93
95
  ### Documentation For Models
@@ -142,6 +144,7 @@ Class | Method | HTTP request | Description
142
144
  - [UpdateIntegrationRequest](docs/UpdateIntegrationRequest.md)
143
145
  - [UpdateProjectRequest](docs/UpdateProjectRequest.md)
144
146
  - [UpdateTaskRequest](docs/UpdateTaskRequest.md)
147
+ - [UpdateUserRequest](docs/UpdateUserRequest.md)
145
148
 
146
149
 
147
150
  <a id="documentation-for-authorization"></a>
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.43.0
7
+ * The version of the OpenAPI document: 1.45.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1366,6 +1366,19 @@ export interface UpdateTaskRequest {
1366
1366
  }
1367
1367
 
1368
1368
 
1369
+ /**
1370
+ *
1371
+ * @export
1372
+ * @interface UpdateUserRequest
1373
+ */
1374
+ export interface UpdateUserRequest {
1375
+ /**
1376
+ *
1377
+ * @type {boolean}
1378
+ * @memberof UpdateUserRequest
1379
+ */
1380
+ 'providesSupport': boolean;
1381
+ }
1369
1382
 
1370
1383
  /**
1371
1384
  * ProjectsApi - axios parameter creator
@@ -1373,6 +1386,47 @@ export interface UpdateTaskRequest {
1373
1386
  */
1374
1387
  export const ProjectsApiAxiosParamCreator = function (configuration?: Configuration) {
1375
1388
  return {
1389
+ /**
1390
+ * Archive all the done tasks in the workflow
1391
+ * @summary Archive all done tasks
1392
+ * @param {string} project Projects unique identifier
1393
+ * @param {*} [options] Override http request option.
1394
+ * @throws {RequiredError}
1395
+ */
1396
+ archiveTasks: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1397
+ // verify required parameter 'project' is not null or undefined
1398
+ assertParamExists('archiveTasks', 'project', project)
1399
+ const localVarPath = `/v1/projects/{project}/tasks/archive`
1400
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
1401
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1402
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1403
+ let baseOptions;
1404
+ if (configuration) {
1405
+ baseOptions = configuration.baseOptions;
1406
+ }
1407
+
1408
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1409
+ const localVarHeaderParameter = {} as any;
1410
+ const localVarQueryParameter = {} as any;
1411
+
1412
+ // authentication session-oauth required
1413
+ // oauth required
1414
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1415
+
1416
+ // authentication api-key required
1417
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1418
+
1419
+
1420
+
1421
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1422
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1423
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1424
+
1425
+ return {
1426
+ url: toPathString(localVarUrlObj),
1427
+ options: localVarRequestOptions,
1428
+ };
1429
+ },
1376
1430
  /**
1377
1431
  * Update multiple tasks in the workflow at once
1378
1432
  * @summary Bulk update tasks
@@ -3046,6 +3100,57 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
3046
3100
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3047
3101
  localVarRequestOptions.data = serializeDataIfNeeded(updateTaskRequest, localVarRequestOptions, configuration)
3048
3102
 
3103
+ return {
3104
+ url: toPathString(localVarUrlObj),
3105
+ options: localVarRequestOptions,
3106
+ };
3107
+ },
3108
+ /**
3109
+ * Update a project user
3110
+ * @summary Update a user
3111
+ * @param {string} project Projects unique identifier
3112
+ * @param {string} user the unique id of the user
3113
+ * @param {UpdateUserRequest} updateUserRequest Updated project user data
3114
+ * @param {*} [options] Override http request option.
3115
+ * @throws {RequiredError}
3116
+ */
3117
+ updateUser: async (project: string, user: string, updateUserRequest: UpdateUserRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3118
+ // verify required parameter 'project' is not null or undefined
3119
+ assertParamExists('updateUser', 'project', project)
3120
+ // verify required parameter 'user' is not null or undefined
3121
+ assertParamExists('updateUser', 'user', user)
3122
+ // verify required parameter 'updateUserRequest' is not null or undefined
3123
+ assertParamExists('updateUser', 'updateUserRequest', updateUserRequest)
3124
+ const localVarPath = `/v1/projects/{project}/users/{user}`
3125
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)))
3126
+ .replace(`{${"user"}}`, encodeURIComponent(String(user)));
3127
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3128
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3129
+ let baseOptions;
3130
+ if (configuration) {
3131
+ baseOptions = configuration.baseOptions;
3132
+ }
3133
+
3134
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
3135
+ const localVarHeaderParameter = {} as any;
3136
+ const localVarQueryParameter = {} as any;
3137
+
3138
+ // authentication session-oauth required
3139
+ // oauth required
3140
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3141
+
3142
+ // authentication api-key required
3143
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3144
+
3145
+
3146
+
3147
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3148
+
3149
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3150
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3151
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3152
+ localVarRequestOptions.data = serializeDataIfNeeded(updateUserRequest, localVarRequestOptions, configuration)
3153
+
3049
3154
  return {
3050
3155
  url: toPathString(localVarUrlObj),
3051
3156
  options: localVarRequestOptions,
@@ -3061,6 +3166,19 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
3061
3166
  export const ProjectsApiFp = function(configuration?: Configuration) {
3062
3167
  const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration)
3063
3168
  return {
3169
+ /**
3170
+ * Archive all the done tasks in the workflow
3171
+ * @summary Archive all done tasks
3172
+ * @param {string} project Projects unique identifier
3173
+ * @param {*} [options] Override http request option.
3174
+ * @throws {RequiredError}
3175
+ */
3176
+ async archiveTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3177
+ const localVarAxiosArgs = await localVarAxiosParamCreator.archiveTasks(project, options);
3178
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3179
+ const localVarOperationServerBasePath = operationServerMap['ProjectsApi.archiveTasks']?.[localVarOperationServerIndex]?.url;
3180
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3181
+ },
3064
3182
  /**
3065
3183
  * Update multiple tasks in the workflow at once
3066
3184
  * @summary Bulk update tasks
@@ -3575,6 +3693,21 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
3575
3693
  const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateTask']?.[localVarOperationServerIndex]?.url;
3576
3694
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3577
3695
  },
3696
+ /**
3697
+ * Update a project user
3698
+ * @summary Update a user
3699
+ * @param {string} project Projects unique identifier
3700
+ * @param {string} user the unique id of the user
3701
+ * @param {UpdateUserRequest} updateUserRequest Updated project user data
3702
+ * @param {*} [options] Override http request option.
3703
+ * @throws {RequiredError}
3704
+ */
3705
+ async updateUser(project: string, user: string, updateUserRequest: UpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectUser>> {
3706
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(project, user, updateUserRequest, options);
3707
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3708
+ const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateUser']?.[localVarOperationServerIndex]?.url;
3709
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3710
+ },
3578
3711
  }
3579
3712
  };
3580
3713
 
@@ -3585,6 +3718,16 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
3585
3718
  export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3586
3719
  const localVarFp = ProjectsApiFp(configuration)
3587
3720
  return {
3721
+ /**
3722
+ * Archive all the done tasks in the workflow
3723
+ * @summary Archive all done tasks
3724
+ * @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
3725
+ * @param {*} [options] Override http request option.
3726
+ * @throws {RequiredError}
3727
+ */
3728
+ archiveTasks(requestParameters: ProjectsApiArchiveTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3729
+ return localVarFp.archiveTasks(requestParameters.project, options).then((request) => request(axios, basePath));
3730
+ },
3588
3731
  /**
3589
3732
  * Update multiple tasks in the workflow at once
3590
3733
  * @summary Bulk update tasks
@@ -3955,9 +4098,33 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
3955
4098
  updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
3956
4099
  return localVarFp.updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(axios, basePath));
3957
4100
  },
4101
+ /**
4102
+ * Update a project user
4103
+ * @summary Update a user
4104
+ * @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
4105
+ * @param {*} [options] Override http request option.
4106
+ * @throws {RequiredError}
4107
+ */
4108
+ updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser> {
4109
+ return localVarFp.updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(axios, basePath));
4110
+ },
3958
4111
  };
3959
4112
  };
3960
4113
 
4114
+ /**
4115
+ * Request parameters for archiveTasks operation in ProjectsApi.
4116
+ * @export
4117
+ * @interface ProjectsApiArchiveTasksRequest
4118
+ */
4119
+ export interface ProjectsApiArchiveTasksRequest {
4120
+ /**
4121
+ * Projects unique identifier
4122
+ * @type {string}
4123
+ * @memberof ProjectsApiArchiveTasks
4124
+ */
4125
+ readonly project: string
4126
+ }
4127
+
3961
4128
  /**
3962
4129
  * Request parameters for bulkUpdateTasks operation in ProjectsApi.
3963
4130
  * @export
@@ -4707,6 +4874,34 @@ export interface ProjectsApiUpdateTaskRequest {
4707
4874
  readonly updateTaskRequest?: UpdateTaskRequest
4708
4875
  }
4709
4876
 
4877
+ /**
4878
+ * Request parameters for updateUser operation in ProjectsApi.
4879
+ * @export
4880
+ * @interface ProjectsApiUpdateUserRequest
4881
+ */
4882
+ export interface ProjectsApiUpdateUserRequest {
4883
+ /**
4884
+ * Projects unique identifier
4885
+ * @type {string}
4886
+ * @memberof ProjectsApiUpdateUser
4887
+ */
4888
+ readonly project: string
4889
+
4890
+ /**
4891
+ * the unique id of the user
4892
+ * @type {string}
4893
+ * @memberof ProjectsApiUpdateUser
4894
+ */
4895
+ readonly user: string
4896
+
4897
+ /**
4898
+ * Updated project user data
4899
+ * @type {UpdateUserRequest}
4900
+ * @memberof ProjectsApiUpdateUser
4901
+ */
4902
+ readonly updateUserRequest: UpdateUserRequest
4903
+ }
4904
+
4710
4905
  /**
4711
4906
  * ProjectsApi - object-oriented interface
4712
4907
  * @export
@@ -4714,6 +4909,18 @@ export interface ProjectsApiUpdateTaskRequest {
4714
4909
  * @extends {BaseAPI}
4715
4910
  */
4716
4911
  export class ProjectsApi extends BaseAPI {
4912
+ /**
4913
+ * Archive all the done tasks in the workflow
4914
+ * @summary Archive all done tasks
4915
+ * @param {ProjectsApiArchiveTasksRequest} requestParameters Request parameters.
4916
+ * @param {*} [options] Override http request option.
4917
+ * @throws {RequiredError}
4918
+ * @memberof ProjectsApi
4919
+ */
4920
+ public archiveTasks(requestParameters: ProjectsApiArchiveTasksRequest, options?: RawAxiosRequestConfig) {
4921
+ return ProjectsApiFp(this.configuration).archiveTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
4922
+ }
4923
+
4717
4924
  /**
4718
4925
  * Update multiple tasks in the workflow at once
4719
4926
  * @summary Bulk update tasks
@@ -5157,6 +5364,18 @@ export class ProjectsApi extends BaseAPI {
5157
5364
  public updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig) {
5158
5365
  return ProjectsApiFp(this.configuration).updateTask(requestParameters.project, requestParameters.id, requestParameters.updateTaskRequest, options).then((request) => request(this.axios, this.basePath));
5159
5366
  }
5367
+
5368
+ /**
5369
+ * Update a project user
5370
+ * @summary Update a user
5371
+ * @param {ProjectsApiUpdateUserRequest} requestParameters Request parameters.
5372
+ * @param {*} [options] Override http request option.
5373
+ * @throws {RequiredError}
5374
+ * @memberof ProjectsApi
5375
+ */
5376
+ public updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig) {
5377
+ return ProjectsApiFp(this.configuration).updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(this.axios, this.basePath));
5378
+ }
5160
5379
  }
5161
5380
 
5162
5381
 
package/base.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.43.0
7
+ * The version of the OpenAPI document: 1.45.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.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.43.0
7
+ * The version of the OpenAPI document: 1.45.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.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.43.0
7
+ * The version of the OpenAPI document: 1.45.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.43.0
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
  }