@teemill/projects 1.51.0 → 1.53.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/docs/Project.md CHANGED
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **name** | **string** | | [default to undefined]
10
10
  **logo** | [**LegacyProjectLogo**](LegacyProjectLogo.md) | | [default to undefined]
11
11
  **logos** | [**Array<ProjectLogo>**](ProjectLogo.md) | | [default to undefined]
12
+ **banner** | [**ProjectBanner**](ProjectBanner.md) | | [optional] [default to undefined]
12
13
  **manager** | [**ProjectManager**](ProjectManager.md) | | [optional] [default to undefined]
13
14
  **platform** | [**ProjectPlatform**](ProjectPlatform.md) | | [optional] [default to undefined]
14
15
  **integrations** | **Array<string>** | | [optional] [default to undefined]
@@ -27,6 +28,7 @@ const instance: Project = {
27
28
  name,
28
29
  logo,
29
30
  logos,
31
+ banner,
30
32
  manager,
31
33
  platform,
32
34
  integrations,
@@ -0,0 +1,20 @@
1
+ # ProjectBanner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **url** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { ProjectBanner } from '@teemill/projects';
14
+
15
+ const instance: ProjectBanner = {
16
+ url,
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)
@@ -11,12 +11,14 @@ All URIs are relative to *https://localhost:8080*
11
11
  |[**createInvite**](#createinvite) | **POST** /v1/projects/{project}/invites | Creates an invite|
12
12
  |[**createProject**](#createproject) | **POST** /v1/projects | Create project|
13
13
  |[**createTask**](#createtask) | **POST** /v1/projects/{project}/tasks | Create Task|
14
+ |[**createUserGroup**](#createusergroup) | **POST** /v1/projects/{project}/user-groups | Create group|
14
15
  |[**deleteAuth**](#deleteauth) | **DELETE** /v1/projects/{project}/auth/{auth} | Delete auth token|
15
16
  |[**deleteBookmark**](#deletebookmark) | **DELETE** /v1/projects/{project}/bookmarks/{id} | Delete bookmark|
16
17
  |[**deleteInvite**](#deleteinvite) | **DELETE** /v1/projects/{project}/invites/{invite} | Deletes an invite|
17
18
  |[**deleteProject**](#deleteproject) | **DELETE** /v1/projects/{project} | Delete project|
18
19
  |[**deleteTask**](#deletetask) | **DELETE** /v1/projects/{project}/tasks/{id} | Delete Task|
19
20
  |[**deleteUser**](#deleteuser) | **DELETE** /v1/projects/{project}/users/{user} | Delete a user by ID|
21
+ |[**deleteUserGroup**](#deleteusergroup) | **DELETE** /v1/projects/{project}/user-groups/{userGroup} | Delete group|
20
22
  |[**exportOkrs**](#exportokrs) | **GET** /v1/projects/{project}/okrs/export | Export all OKRs|
21
23
  |[**exportTasks**](#exporttasks) | **GET** /v1/projects/{project}/tasks/export | Export all tasks|
22
24
  |[**getAuth**](#getauth) | **GET** /v1/projects/{project}/auth | List auth tokens|
@@ -31,6 +33,7 @@ All URIs are relative to *https://localhost:8080*
31
33
  |[**getTask**](#gettask) | **GET** /v1/projects/{project}/tasks/{id} | Get Task|
32
34
  |[**getTemplates**](#gettemplates) | **GET** /v1/projects/templates | List templates|
33
35
  |[**getUser**](#getuser) | **GET** /v1/projects/{project}/users/{user} | Get a user|
36
+ |[**getUserGroup**](#getusergroup) | **GET** /v1/projects/{project}/user-groups/{userGroup} | Get group|
34
37
  |[**getUserInvite**](#getuserinvite) | **GET** /v1/projects/{project}/users/{user}/invite | Get invite|
35
38
  |[**getUsers**](#getusers) | **GET** /v1/projects/{project}/users | List project users|
36
39
  |[**installIntegration**](#installintegration) | **POST** /v1/projects/{project}/integrations/{integration} | Install integration|
@@ -38,6 +41,7 @@ All URIs are relative to *https://localhost:8080*
38
41
  |[**listBookmarks**](#listbookmarks) | **GET** /v1/projects/{project}/bookmarks | List bookmarks|
39
42
  |[**listBookmarktabs**](#listbookmarktabs) | **GET** /v1/projects/{project}/bookmarktabs | List bookmark tabs|
40
43
  |[**listTasks**](#listtasks) | **GET** /v1/projects/{project}/tasks | List Tasks|
44
+ |[**listUserGroups**](#listusergroups) | **GET** /v1/projects/{project}/user-groups | List groups|
41
45
  |[**reset2FA**](#reset2fa) | **POST** /v1/projects/{project}/users/{user}/reset-2fa | Reset 2FA|
42
46
  |[**setupIntegration**](#setupintegration) | **POST** /v1/projects/{project}/integrations/{integration}/setup | Setup integration|
43
47
  |[**uninstallIntegration**](#uninstallintegration) | **DELETE** /v1/projects/{project}/integrations/{integration} | Uninstall integration|
@@ -47,6 +51,7 @@ All URIs are relative to *https://localhost:8080*
47
51
  |[**updateProject**](#updateproject) | **PATCH** /v1/projects/{project} | Update project|
48
52
  |[**updateTask**](#updatetask) | **PATCH** /v1/projects/{project}/tasks/{id} | Update Task|
49
53
  |[**updateUser**](#updateuser) | **PATCH** /v1/projects/{project}/users/{user} | Update a user|
54
+ |[**updateUserGroup**](#updateusergroup) | **PATCH** /v1/projects/{project}/user-groups/{userGroup} | Update group|
50
55
 
51
56
  # **archiveTasks**
52
57
  > archiveTasks()
@@ -450,6 +455,65 @@ const { status, data } = await apiInstance.createTask(
450
455
 
451
456
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
452
457
 
458
+ # **createUserGroup**
459
+ > UserGroup createUserGroup()
460
+
461
+ Create a user group in the project
462
+
463
+ ### Example
464
+
465
+ ```typescript
466
+ import {
467
+ ProjectsApi,
468
+ Configuration,
469
+ CreateUserGroupRequest
470
+ } from '@teemill/projects';
471
+
472
+ const configuration = new Configuration();
473
+ const apiInstance = new ProjectsApi(configuration);
474
+
475
+ let project: string; //Projects unique identifier (default to undefined)
476
+ let createUserGroupRequest: CreateUserGroupRequest; //Create a new user group in the project (optional)
477
+
478
+ const { status, data } = await apiInstance.createUserGroup(
479
+ project,
480
+ createUserGroupRequest
481
+ );
482
+ ```
483
+
484
+ ### Parameters
485
+
486
+ |Name | Type | Description | Notes|
487
+ |------------- | ------------- | ------------- | -------------|
488
+ | **createUserGroupRequest** | **CreateUserGroupRequest**| Create a new user group in the project | |
489
+ | **project** | [**string**] | Projects unique identifier | defaults to undefined|
490
+
491
+
492
+ ### Return type
493
+
494
+ **UserGroup**
495
+
496
+ ### Authorization
497
+
498
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
499
+
500
+ ### HTTP request headers
501
+
502
+ - **Content-Type**: application/json
503
+ - **Accept**: application/json
504
+
505
+
506
+ ### HTTP response details
507
+ | Status code | Description | Response headers |
508
+ |-------------|-------------|------------------|
509
+ |**201** | Successfully retrieved a user group | - |
510
+ |**400** | Failed validation | - |
511
+ |**401** | Not authorised to access this resource | - |
512
+ |**403** | Refuse to authorize | - |
513
+ |**500** | Unknown server error | - |
514
+
515
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
516
+
453
517
  # **deleteAuth**
454
518
  > deleteAuth()
455
519
 
@@ -796,6 +860,63 @@ void (empty response body)
796
860
 
797
861
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
798
862
 
863
+ # **deleteUserGroup**
864
+ > deleteUserGroup()
865
+
866
+ Delete a user group in the project
867
+
868
+ ### Example
869
+
870
+ ```typescript
871
+ import {
872
+ ProjectsApi,
873
+ Configuration
874
+ } from '@teemill/projects';
875
+
876
+ const configuration = new Configuration();
877
+ const apiInstance = new ProjectsApi(configuration);
878
+
879
+ let project: string; //Projects unique identifier (default to undefined)
880
+ let userGroup: string; //The user group identifier (default to undefined)
881
+
882
+ const { status, data } = await apiInstance.deleteUserGroup(
883
+ project,
884
+ userGroup
885
+ );
886
+ ```
887
+
888
+ ### Parameters
889
+
890
+ |Name | Type | Description | Notes|
891
+ |------------- | ------------- | ------------- | -------------|
892
+ | **project** | [**string**] | Projects unique identifier | defaults to undefined|
893
+ | **userGroup** | [**string**] | The user group identifier | defaults to undefined|
894
+
895
+
896
+ ### Return type
897
+
898
+ void (empty response body)
899
+
900
+ ### Authorization
901
+
902
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
903
+
904
+ ### HTTP request headers
905
+
906
+ - **Content-Type**: Not defined
907
+ - **Accept**: application/json
908
+
909
+
910
+ ### HTTP response details
911
+ | Status code | Description | Response headers |
912
+ |-------------|-------------|------------------|
913
+ |**204** | User group deleted | - |
914
+ |**401** | Not authorised to access this resource | - |
915
+ |**403** | Refuse to authorize | - |
916
+ |**500** | Unknown server error | - |
917
+
918
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
919
+
799
920
  # **exportOkrs**
800
921
  > File exportOkrs()
801
922
 
@@ -1598,6 +1719,64 @@ const { status, data } = await apiInstance.getUser(
1598
1719
 
1599
1720
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1600
1721
 
1722
+ # **getUserGroup**
1723
+ > UserGroup getUserGroup()
1724
+
1725
+ Get a user group in the project
1726
+
1727
+ ### Example
1728
+
1729
+ ```typescript
1730
+ import {
1731
+ ProjectsApi,
1732
+ Configuration
1733
+ } from '@teemill/projects';
1734
+
1735
+ const configuration = new Configuration();
1736
+ const apiInstance = new ProjectsApi(configuration);
1737
+
1738
+ let project: string; //Projects unique identifier (default to undefined)
1739
+ let userGroup: string; //The user group identifier (default to undefined)
1740
+
1741
+ const { status, data } = await apiInstance.getUserGroup(
1742
+ project,
1743
+ userGroup
1744
+ );
1745
+ ```
1746
+
1747
+ ### Parameters
1748
+
1749
+ |Name | Type | Description | Notes|
1750
+ |------------- | ------------- | ------------- | -------------|
1751
+ | **project** | [**string**] | Projects unique identifier | defaults to undefined|
1752
+ | **userGroup** | [**string**] | The user group identifier | defaults to undefined|
1753
+
1754
+
1755
+ ### Return type
1756
+
1757
+ **UserGroup**
1758
+
1759
+ ### Authorization
1760
+
1761
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
1762
+
1763
+ ### HTTP request headers
1764
+
1765
+ - **Content-Type**: Not defined
1766
+ - **Accept**: application/json
1767
+
1768
+
1769
+ ### HTTP response details
1770
+ | Status code | Description | Response headers |
1771
+ |-------------|-------------|------------------|
1772
+ |**200** | Successfully retrieved a user group | - |
1773
+ |**401** | Not authorised to access this resource | - |
1774
+ |**403** | Refuse to authorize | - |
1775
+ |**404** | Resource not found | - |
1776
+ |**500** | Unknown server error | - |
1777
+
1778
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1779
+
1601
1780
  # **getUserInvite**
1602
1781
  > UserInvite getUserInvite()
1603
1782
 
@@ -2002,6 +2181,60 @@ const { status, data } = await apiInstance.listTasks(
2002
2181
 
2003
2182
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
2004
2183
 
2184
+ # **listUserGroups**
2185
+ > ListUserGroupsResponse listUserGroups()
2186
+
2187
+ List the user groups in the project
2188
+
2189
+ ### Example
2190
+
2191
+ ```typescript
2192
+ import {
2193
+ ProjectsApi,
2194
+ Configuration
2195
+ } from '@teemill/projects';
2196
+
2197
+ const configuration = new Configuration();
2198
+ const apiInstance = new ProjectsApi(configuration);
2199
+
2200
+ let project: string; //Projects unique identifier (default to undefined)
2201
+
2202
+ const { status, data } = await apiInstance.listUserGroups(
2203
+ project
2204
+ );
2205
+ ```
2206
+
2207
+ ### Parameters
2208
+
2209
+ |Name | Type | Description | Notes|
2210
+ |------------- | ------------- | ------------- | -------------|
2211
+ | **project** | [**string**] | Projects unique identifier | defaults to undefined|
2212
+
2213
+
2214
+ ### Return type
2215
+
2216
+ **ListUserGroupsResponse**
2217
+
2218
+ ### Authorization
2219
+
2220
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
2221
+
2222
+ ### HTTP request headers
2223
+
2224
+ - **Content-Type**: Not defined
2225
+ - **Accept**: application/json
2226
+
2227
+
2228
+ ### HTTP response details
2229
+ | Status code | Description | Response headers |
2230
+ |-------------|-------------|------------------|
2231
+ |**200** | Successfully retrieved a list of user groups | - |
2232
+ |**401** | Not authorised to access this resource | - |
2233
+ |**403** | Refuse to authorize | - |
2234
+ |**500** | Unknown server error | - |
2235
+
2236
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
2237
+
2005
2238
  # **reset2FA**
2006
2239
  > reset2FA()
2007
2240
 
@@ -2551,3 +2784,65 @@ const { status, data } = await apiInstance.updateUser(
2551
2784
 
2552
2785
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
2553
2786
 
2787
+ # **updateUserGroup**
2788
+ > UserGroup updateUserGroup()
2789
+
2790
+ Update a user group in the project
2791
+
2792
+ ### Example
2793
+
2794
+ ```typescript
2795
+ import {
2796
+ ProjectsApi,
2797
+ Configuration,
2798
+ UpdateUserGroupRequest
2799
+ } from '@teemill/projects';
2800
+
2801
+ const configuration = new Configuration();
2802
+ const apiInstance = new ProjectsApi(configuration);
2803
+
2804
+ let project: string; //Projects unique identifier (default to undefined)
2805
+ let userGroup: string; //The user group identifier (default to undefined)
2806
+ let updateUserGroupRequest: UpdateUserGroupRequest; //Update a user group in the project (optional)
2807
+
2808
+ const { status, data } = await apiInstance.updateUserGroup(
2809
+ project,
2810
+ userGroup,
2811
+ updateUserGroupRequest
2812
+ );
2813
+ ```
2814
+
2815
+ ### Parameters
2816
+
2817
+ |Name | Type | Description | Notes|
2818
+ |------------- | ------------- | ------------- | -------------|
2819
+ | **updateUserGroupRequest** | **UpdateUserGroupRequest**| Update a user group in the project | |
2820
+ | **project** | [**string**] | Projects unique identifier | defaults to undefined|
2821
+ | **userGroup** | [**string**] | The user group identifier | defaults to undefined|
2822
+
2823
+
2824
+ ### Return type
2825
+
2826
+ **UserGroup**
2827
+
2828
+ ### Authorization
2829
+
2830
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
2831
+
2832
+ ### HTTP request headers
2833
+
2834
+ - **Content-Type**: application/json
2835
+ - **Accept**: application/json
2836
+
2837
+
2838
+ ### HTTP response details
2839
+ | Status code | Description | Response headers |
2840
+ |-------------|-------------|------------------|
2841
+ |**200** | Successfully retrieved a user group | - |
2842
+ |**400** | Failed validation | - |
2843
+ |**401** | Not authorised to access this resource | - |
2844
+ |**403** | Refuse to authorize | - |
2845
+ |**500** | Unknown server error | - |
2846
+
2847
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
2848
+
@@ -0,0 +1,26 @@
1
+ # UpdateUserGroupRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [optional] [default to undefined]
9
+ **handle** | **string** | | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **users** | **Array<string>** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { UpdateUserGroupRequest } from '@teemill/projects';
17
+
18
+ const instance: UpdateUserGroupRequest = {
19
+ name,
20
+ handle,
21
+ description,
22
+ users,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # UserGroup
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **handle** | **string** | | [default to undefined]
11
+ **description** | **string** | | [default to undefined]
12
+ **users** | **Array<string>** | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { UserGroup } from '@teemill/projects';
18
+
19
+ const instance: UserGroup = {
20
+ id,
21
+ name,
22
+ handle,
23
+ description,
24
+ users,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.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.51.0
7
+ * The version of the OpenAPI document: 1.53.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/projects",
3
- "version": "1.51.0",
3
+ "version": "1.53.0",
4
4
  "description": "OpenAPI client for @teemill/projects",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {