@teemill/projects 1.57.1 → 1.58.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 +4 -3
- package/api.ts +69 -76
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +12 -9
- package/dist/api.js +61 -7
- 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 +12 -9
- package/dist/esm/api.js +61 -7
- 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/ArchiveTasksRequest.md +20 -0
- package/docs/CreateTaskRequest.md +0 -2
- package/docs/ProjectUser.md +0 -2
- package/docs/ProjectsApi.md +9 -5
- package/docs/UpdateUserRequest.md +0 -2
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ArchiveTasksRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**tasks** | **Array<string>** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ArchiveTasksRequest } from '@teemill/projects';
|
|
14
|
+
|
|
15
|
+
const instance: ArchiveTasksRequest = {
|
|
16
|
+
tasks,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -8,7 +8,6 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**content** | **string** | | [default to undefined]
|
|
9
9
|
**status** | [**TaskStatus**](TaskStatus.md) | | [default to undefined]
|
|
10
10
|
**source** | [**CreateTaskRequestSource**](CreateTaskRequestSource.md) | | [optional] [default to undefined]
|
|
11
|
-
**platformProject** | **string** | | [optional] [default to undefined]
|
|
12
11
|
|
|
13
12
|
## Example
|
|
14
13
|
|
|
@@ -19,7 +18,6 @@ const instance: CreateTaskRequest = {
|
|
|
19
18
|
content,
|
|
20
19
|
status,
|
|
21
20
|
source,
|
|
22
|
-
platformProject,
|
|
23
21
|
};
|
|
24
22
|
```
|
|
25
23
|
|
package/docs/ProjectUser.md
CHANGED
|
@@ -14,7 +14,6 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**email** | **string** | | [default to undefined]
|
|
15
15
|
**avatar** | [**ProjectUserAvatar**](ProjectUserAvatar.md) | | [default to undefined]
|
|
16
16
|
**twoFactorAuthentication** | [**TwoFactorAuthentication**](TwoFactorAuthentication.md) | | [default to undefined]
|
|
17
|
-
**providesSupport** | **boolean** | Whether the user provides support for the project | [optional] [default to undefined]
|
|
18
17
|
**lastAccessed** | **string** | | [optional] [default to undefined]
|
|
19
18
|
**createdAt** | **string** | | [default to undefined]
|
|
20
19
|
|
|
@@ -33,7 +32,6 @@ const instance: ProjectUser = {
|
|
|
33
32
|
email,
|
|
34
33
|
avatar,
|
|
35
34
|
twoFactorAuthentication,
|
|
36
|
-
providesSupport,
|
|
37
35
|
lastAccessed,
|
|
38
36
|
createdAt,
|
|
39
37
|
};
|
package/docs/ProjectsApi.md
CHANGED
|
@@ -4,7 +4,7 @@ All URIs are relative to *https://localhost:8080*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**archiveTasks**](#archivetasks) | **
|
|
7
|
+
|[**archiveTasks**](#archivetasks) | **POST** /v1/projects/{project}/tasks/archive | Archive all done tasks|
|
|
8
8
|
|[**bulkUpdateTasks**](#bulkupdatetasks) | **PATCH** /v1/projects/{project}/tasks | Bulk update tasks|
|
|
9
9
|
|[**createAuth**](#createauth) | **POST** /v1/projects/{project}/auth | Create auth token|
|
|
10
10
|
|[**createBookmark**](#createbookmark) | **POST** /v1/projects/{project}/bookmarks | Create bookmark|
|
|
@@ -54,7 +54,7 @@ All URIs are relative to *https://localhost:8080*
|
|
|
54
54
|
|[**updateUserGroup**](#updateusergroup) | **PATCH** /v1/projects/{project}/user-groups/{userGroup} | Update group|
|
|
55
55
|
|
|
56
56
|
# **archiveTasks**
|
|
57
|
-
> archiveTasks()
|
|
57
|
+
> archiveTasks(archiveTasksRequest)
|
|
58
58
|
|
|
59
59
|
Archive all the done tasks in the workflow
|
|
60
60
|
|
|
@@ -63,16 +63,19 @@ Archive all the done tasks in the workflow
|
|
|
63
63
|
```typescript
|
|
64
64
|
import {
|
|
65
65
|
ProjectsApi,
|
|
66
|
-
Configuration
|
|
66
|
+
Configuration,
|
|
67
|
+
ArchiveTasksRequest
|
|
67
68
|
} from '@teemill/projects';
|
|
68
69
|
|
|
69
70
|
const configuration = new Configuration();
|
|
70
71
|
const apiInstance = new ProjectsApi(configuration);
|
|
71
72
|
|
|
72
73
|
let project: string; //Projects unique identifier (default to undefined)
|
|
74
|
+
let archiveTasksRequest: ArchiveTasksRequest; //Request body to archive tasks
|
|
73
75
|
|
|
74
76
|
const { status, data } = await apiInstance.archiveTasks(
|
|
75
|
-
project
|
|
77
|
+
project,
|
|
78
|
+
archiveTasksRequest
|
|
76
79
|
);
|
|
77
80
|
```
|
|
78
81
|
|
|
@@ -80,6 +83,7 @@ const { status, data } = await apiInstance.archiveTasks(
|
|
|
80
83
|
|
|
81
84
|
|Name | Type | Description | Notes|
|
|
82
85
|
|------------- | ------------- | ------------- | -------------|
|
|
86
|
+
| **archiveTasksRequest** | **ArchiveTasksRequest**| Request body to archive tasks | |
|
|
83
87
|
| **project** | [**string**] | Projects unique identifier | defaults to undefined|
|
|
84
88
|
|
|
85
89
|
|
|
@@ -93,7 +97,7 @@ void (empty response body)
|
|
|
93
97
|
|
|
94
98
|
### HTTP request headers
|
|
95
99
|
|
|
96
|
-
- **Content-Type**:
|
|
100
|
+
- **Content-Type**: application/json
|
|
97
101
|
- **Accept**: application/json
|
|
98
102
|
|
|
99
103
|
|
|
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**lastName** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**username** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**avatar** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**providesSupport** | **boolean** | | [optional] [default to undefined]
|
|
13
12
|
|
|
14
13
|
## Example
|
|
15
14
|
|
|
@@ -21,7 +20,6 @@ const instance: UpdateUserRequest = {
|
|
|
21
20
|
lastName,
|
|
22
21
|
username,
|
|
23
22
|
avatar,
|
|
24
|
-
providesSupport,
|
|
25
23
|
};
|
|
26
24
|
```
|
|
27
25
|
|
package/index.ts
CHANGED