@teemill/projects 1.52.1 → 1.55.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 +12 -2
- package/api.ts +509 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +269 -2
- package/dist/api.js +374 -1
- 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 +269 -2
- package/dist/esm/api.js +374 -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/CreateTaskRequest.md +4 -0
- package/docs/CreateTaskRequestSource.md +22 -0
- package/docs/CreateUserGroupRequest.md +24 -0
- package/docs/ListUserGroupsResponse.md +20 -0
- package/docs/ProjectsApi.md +295 -0
- package/docs/Task.md +2 -0
- package/docs/UpdateUserGroupRequest.md +26 -0
- package/docs/UserGroup.md +30 -0
- package/index.ts +1 -1
- package/package.json +1 -1
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.55.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -118,9 +118,20 @@ export interface CreateProjectRequest {
|
|
|
118
118
|
export interface CreateTaskRequest {
|
|
119
119
|
'content': string;
|
|
120
120
|
'status': TaskStatus;
|
|
121
|
+
'source'?: CreateTaskRequestSource;
|
|
122
|
+
'platformProject'?: string;
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
|
|
126
|
+
export interface CreateTaskRequestSource {
|
|
127
|
+
'id'?: string;
|
|
128
|
+
'type'?: string;
|
|
129
|
+
}
|
|
130
|
+
export interface CreateUserGroupRequest {
|
|
131
|
+
'name': string;
|
|
132
|
+
'handle': string;
|
|
133
|
+
'description': string | null;
|
|
134
|
+
}
|
|
124
135
|
export interface ExportTasks202Response {
|
|
125
136
|
/**
|
|
126
137
|
* A message describing the export status
|
|
@@ -157,6 +168,9 @@ export interface LegacyProjectLogo {
|
|
|
157
168
|
export interface ListTasksResponse {
|
|
158
169
|
'tasks': Array<Task>;
|
|
159
170
|
}
|
|
171
|
+
export interface ListUserGroupsResponse {
|
|
172
|
+
'userGroups'?: Array<UserGroup>;
|
|
173
|
+
}
|
|
160
174
|
export interface NullableIcon {
|
|
161
175
|
'prefix': string;
|
|
162
176
|
'iconName': string;
|
|
@@ -188,7 +202,7 @@ export interface Project {
|
|
|
188
202
|
*/
|
|
189
203
|
'logo': LegacyProjectLogo | null;
|
|
190
204
|
'logos': Array<ProjectLogo>;
|
|
191
|
-
'banner'?: ProjectBanner;
|
|
205
|
+
'banner'?: ProjectBanner | null;
|
|
192
206
|
'manager'?: ProjectManager | null;
|
|
193
207
|
'platform'?: ProjectPlatform | null;
|
|
194
208
|
'integrations'?: Array<string>;
|
|
@@ -333,6 +347,10 @@ export interface Task {
|
|
|
333
347
|
'updatedAt': string;
|
|
334
348
|
'displayId': number;
|
|
335
349
|
'relatedTasks'?: Array<TaskRelatedTasksInner>;
|
|
350
|
+
/**
|
|
351
|
+
* The platform project code of the owner
|
|
352
|
+
*/
|
|
353
|
+
'ownerPlatform': string | null;
|
|
336
354
|
}
|
|
337
355
|
|
|
338
356
|
|
|
@@ -456,6 +474,12 @@ export interface UpdateTaskRequest {
|
|
|
456
474
|
}
|
|
457
475
|
|
|
458
476
|
|
|
477
|
+
export interface UpdateUserGroupRequest {
|
|
478
|
+
'name'?: string;
|
|
479
|
+
'handle'?: string;
|
|
480
|
+
'description'?: string | null;
|
|
481
|
+
'users'?: Array<string> | null;
|
|
482
|
+
}
|
|
459
483
|
export interface UpdateUserRequest {
|
|
460
484
|
'firstName'?: string;
|
|
461
485
|
'lastName'?: string;
|
|
@@ -468,6 +492,14 @@ export interface UserClient {
|
|
|
468
492
|
'createdAt': string;
|
|
469
493
|
'lastAccessed': string;
|
|
470
494
|
}
|
|
495
|
+
export interface UserGroup {
|
|
496
|
+
'id': string;
|
|
497
|
+
'name': string;
|
|
498
|
+
'handle': string;
|
|
499
|
+
'description': string | null;
|
|
500
|
+
'users': Array<string> | null;
|
|
501
|
+
'isSystemAssigned': boolean;
|
|
502
|
+
}
|
|
471
503
|
export interface UserInvite {
|
|
472
504
|
'inviter': ProjectUser;
|
|
473
505
|
'createdAt': string;
|
|
@@ -795,6 +827,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
795
827
|
options: localVarRequestOptions,
|
|
796
828
|
};
|
|
797
829
|
},
|
|
830
|
+
/**
|
|
831
|
+
* Create a user group in the project
|
|
832
|
+
* @summary Create group
|
|
833
|
+
* @param {string} project Projects unique identifier
|
|
834
|
+
* @param {CreateUserGroupRequest} [createUserGroupRequest] Create a new user group in the project
|
|
835
|
+
* @param {*} [options] Override http request option.
|
|
836
|
+
* @throws {RequiredError}
|
|
837
|
+
*/
|
|
838
|
+
createUserGroup: async (project: string, createUserGroupRequest?: CreateUserGroupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
839
|
+
// verify required parameter 'project' is not null or undefined
|
|
840
|
+
assertParamExists('createUserGroup', 'project', project)
|
|
841
|
+
const localVarPath = `/v1/projects/{project}/user-groups`
|
|
842
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
843
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
844
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
845
|
+
let baseOptions;
|
|
846
|
+
if (configuration) {
|
|
847
|
+
baseOptions = configuration.baseOptions;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
851
|
+
const localVarHeaderParameter = {} as any;
|
|
852
|
+
const localVarQueryParameter = {} as any;
|
|
853
|
+
|
|
854
|
+
// authentication session-oauth required
|
|
855
|
+
// oauth required
|
|
856
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
857
|
+
|
|
858
|
+
// authentication api-key required
|
|
859
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
864
|
+
|
|
865
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
866
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
867
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
868
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createUserGroupRequest, localVarRequestOptions, configuration)
|
|
869
|
+
|
|
870
|
+
return {
|
|
871
|
+
url: toPathString(localVarUrlObj),
|
|
872
|
+
options: localVarRequestOptions,
|
|
873
|
+
};
|
|
874
|
+
},
|
|
798
875
|
/**
|
|
799
876
|
* Delete an auth token for the project
|
|
800
877
|
* @summary Delete auth token
|
|
@@ -1052,6 +1129,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1052
1129
|
|
|
1053
1130
|
|
|
1054
1131
|
|
|
1132
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1133
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1134
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1135
|
+
|
|
1136
|
+
return {
|
|
1137
|
+
url: toPathString(localVarUrlObj),
|
|
1138
|
+
options: localVarRequestOptions,
|
|
1139
|
+
};
|
|
1140
|
+
},
|
|
1141
|
+
/**
|
|
1142
|
+
* Delete a user group in the project
|
|
1143
|
+
* @summary Delete group
|
|
1144
|
+
* @param {string} project Projects unique identifier
|
|
1145
|
+
* @param {string} userGroup The user group identifier
|
|
1146
|
+
* @param {*} [options] Override http request option.
|
|
1147
|
+
* @throws {RequiredError}
|
|
1148
|
+
*/
|
|
1149
|
+
deleteUserGroup: async (project: string, userGroup: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1150
|
+
// verify required parameter 'project' is not null or undefined
|
|
1151
|
+
assertParamExists('deleteUserGroup', 'project', project)
|
|
1152
|
+
// verify required parameter 'userGroup' is not null or undefined
|
|
1153
|
+
assertParamExists('deleteUserGroup', 'userGroup', userGroup)
|
|
1154
|
+
const localVarPath = `/v1/projects/{project}/user-groups/{userGroup}`
|
|
1155
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1156
|
+
.replace(`{${"userGroup"}}`, encodeURIComponent(String(userGroup)));
|
|
1157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1158
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1159
|
+
let baseOptions;
|
|
1160
|
+
if (configuration) {
|
|
1161
|
+
baseOptions = configuration.baseOptions;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
1165
|
+
const localVarHeaderParameter = {} as any;
|
|
1166
|
+
const localVarQueryParameter = {} as any;
|
|
1167
|
+
|
|
1168
|
+
// authentication session-oauth required
|
|
1169
|
+
// oauth required
|
|
1170
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1171
|
+
|
|
1172
|
+
// authentication api-key required
|
|
1173
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
|
|
1055
1177
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1056
1178
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1057
1179
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1668,6 +1790,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1668
1790
|
|
|
1669
1791
|
|
|
1670
1792
|
|
|
1793
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1794
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1795
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1796
|
+
|
|
1797
|
+
return {
|
|
1798
|
+
url: toPathString(localVarUrlObj),
|
|
1799
|
+
options: localVarRequestOptions,
|
|
1800
|
+
};
|
|
1801
|
+
},
|
|
1802
|
+
/**
|
|
1803
|
+
* Get a user group in the project
|
|
1804
|
+
* @summary Get group
|
|
1805
|
+
* @param {string} project Projects unique identifier
|
|
1806
|
+
* @param {string} userGroup The user group identifier
|
|
1807
|
+
* @param {*} [options] Override http request option.
|
|
1808
|
+
* @throws {RequiredError}
|
|
1809
|
+
*/
|
|
1810
|
+
getUserGroup: async (project: string, userGroup: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1811
|
+
// verify required parameter 'project' is not null or undefined
|
|
1812
|
+
assertParamExists('getUserGroup', 'project', project)
|
|
1813
|
+
// verify required parameter 'userGroup' is not null or undefined
|
|
1814
|
+
assertParamExists('getUserGroup', 'userGroup', userGroup)
|
|
1815
|
+
const localVarPath = `/v1/projects/{project}/user-groups/{userGroup}`
|
|
1816
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1817
|
+
.replace(`{${"userGroup"}}`, encodeURIComponent(String(userGroup)));
|
|
1818
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1819
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1820
|
+
let baseOptions;
|
|
1821
|
+
if (configuration) {
|
|
1822
|
+
baseOptions = configuration.baseOptions;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1826
|
+
const localVarHeaderParameter = {} as any;
|
|
1827
|
+
const localVarQueryParameter = {} as any;
|
|
1828
|
+
|
|
1829
|
+
// authentication session-oauth required
|
|
1830
|
+
// oauth required
|
|
1831
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1832
|
+
|
|
1833
|
+
// authentication api-key required
|
|
1834
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
|
|
1671
1838
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1672
1839
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1673
1840
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1988,6 +2155,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1988
2155
|
|
|
1989
2156
|
|
|
1990
2157
|
|
|
2158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2160
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2161
|
+
|
|
2162
|
+
return {
|
|
2163
|
+
url: toPathString(localVarUrlObj),
|
|
2164
|
+
options: localVarRequestOptions,
|
|
2165
|
+
};
|
|
2166
|
+
},
|
|
2167
|
+
/**
|
|
2168
|
+
* List the user groups in the project
|
|
2169
|
+
* @summary List groups
|
|
2170
|
+
* @param {string} project Projects unique identifier
|
|
2171
|
+
* @param {*} [options] Override http request option.
|
|
2172
|
+
* @throws {RequiredError}
|
|
2173
|
+
*/
|
|
2174
|
+
listUserGroups: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2175
|
+
// verify required parameter 'project' is not null or undefined
|
|
2176
|
+
assertParamExists('listUserGroups', 'project', project)
|
|
2177
|
+
const localVarPath = `/v1/projects/{project}/user-groups`
|
|
2178
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
2179
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2180
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2181
|
+
let baseOptions;
|
|
2182
|
+
if (configuration) {
|
|
2183
|
+
baseOptions = configuration.baseOptions;
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2187
|
+
const localVarHeaderParameter = {} as any;
|
|
2188
|
+
const localVarQueryParameter = {} as any;
|
|
2189
|
+
|
|
2190
|
+
// authentication session-oauth required
|
|
2191
|
+
// oauth required
|
|
2192
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2193
|
+
|
|
2194
|
+
// authentication api-key required
|
|
2195
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
|
|
1991
2199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1992
2200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1993
2201
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2429,6 +2637,55 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2429
2637
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2430
2638
|
localVarRequestOptions.data = serializeDataIfNeeded(updateUserRequest, localVarRequestOptions, configuration)
|
|
2431
2639
|
|
|
2640
|
+
return {
|
|
2641
|
+
url: toPathString(localVarUrlObj),
|
|
2642
|
+
options: localVarRequestOptions,
|
|
2643
|
+
};
|
|
2644
|
+
},
|
|
2645
|
+
/**
|
|
2646
|
+
* Update a user group in the project
|
|
2647
|
+
* @summary Update group
|
|
2648
|
+
* @param {string} project Projects unique identifier
|
|
2649
|
+
* @param {string} userGroup The user group identifier
|
|
2650
|
+
* @param {UpdateUserGroupRequest} [updateUserGroupRequest] Update a user group in the project
|
|
2651
|
+
* @param {*} [options] Override http request option.
|
|
2652
|
+
* @throws {RequiredError}
|
|
2653
|
+
*/
|
|
2654
|
+
updateUserGroup: async (project: string, userGroup: string, updateUserGroupRequest?: UpdateUserGroupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2655
|
+
// verify required parameter 'project' is not null or undefined
|
|
2656
|
+
assertParamExists('updateUserGroup', 'project', project)
|
|
2657
|
+
// verify required parameter 'userGroup' is not null or undefined
|
|
2658
|
+
assertParamExists('updateUserGroup', 'userGroup', userGroup)
|
|
2659
|
+
const localVarPath = `/v1/projects/{project}/user-groups/{userGroup}`
|
|
2660
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
2661
|
+
.replace(`{${"userGroup"}}`, encodeURIComponent(String(userGroup)));
|
|
2662
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2663
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2664
|
+
let baseOptions;
|
|
2665
|
+
if (configuration) {
|
|
2666
|
+
baseOptions = configuration.baseOptions;
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
2670
|
+
const localVarHeaderParameter = {} as any;
|
|
2671
|
+
const localVarQueryParameter = {} as any;
|
|
2672
|
+
|
|
2673
|
+
// authentication session-oauth required
|
|
2674
|
+
// oauth required
|
|
2675
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2676
|
+
|
|
2677
|
+
// authentication api-key required
|
|
2678
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2679
|
+
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2683
|
+
|
|
2684
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2685
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2686
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2687
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateUserGroupRequest, localVarRequestOptions, configuration)
|
|
2688
|
+
|
|
2432
2689
|
return {
|
|
2433
2690
|
url: toPathString(localVarUrlObj),
|
|
2434
2691
|
options: localVarRequestOptions,
|
|
@@ -2538,6 +2795,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2538
2795
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createTask']?.[localVarOperationServerIndex]?.url;
|
|
2539
2796
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2540
2797
|
},
|
|
2798
|
+
/**
|
|
2799
|
+
* Create a user group in the project
|
|
2800
|
+
* @summary Create group
|
|
2801
|
+
* @param {string} project Projects unique identifier
|
|
2802
|
+
* @param {CreateUserGroupRequest} [createUserGroupRequest] Create a new user group in the project
|
|
2803
|
+
* @param {*} [options] Override http request option.
|
|
2804
|
+
* @throws {RequiredError}
|
|
2805
|
+
*/
|
|
2806
|
+
async createUserGroup(project: string, createUserGroupRequest?: CreateUserGroupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserGroup>> {
|
|
2807
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createUserGroup(project, createUserGroupRequest, options);
|
|
2808
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2809
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createUserGroup']?.[localVarOperationServerIndex]?.url;
|
|
2810
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2811
|
+
},
|
|
2541
2812
|
/**
|
|
2542
2813
|
* Delete an auth token for the project
|
|
2543
2814
|
* @summary Delete auth token
|
|
@@ -2621,6 +2892,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2621
2892
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteUser']?.[localVarOperationServerIndex]?.url;
|
|
2622
2893
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2623
2894
|
},
|
|
2895
|
+
/**
|
|
2896
|
+
* Delete a user group in the project
|
|
2897
|
+
* @summary Delete group
|
|
2898
|
+
* @param {string} project Projects unique identifier
|
|
2899
|
+
* @param {string} userGroup The user group identifier
|
|
2900
|
+
* @param {*} [options] Override http request option.
|
|
2901
|
+
* @throws {RequiredError}
|
|
2902
|
+
*/
|
|
2903
|
+
async deleteUserGroup(project: string, userGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserGroup(project, userGroup, options);
|
|
2905
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2906
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteUserGroup']?.[localVarOperationServerIndex]?.url;
|
|
2907
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2908
|
+
},
|
|
2624
2909
|
/**
|
|
2625
2910
|
* Export all the OKRs in the planner
|
|
2626
2911
|
* @summary Export all OKRs
|
|
@@ -2812,6 +3097,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2812
3097
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getUser']?.[localVarOperationServerIndex]?.url;
|
|
2813
3098
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2814
3099
|
},
|
|
3100
|
+
/**
|
|
3101
|
+
* Get a user group in the project
|
|
3102
|
+
* @summary Get group
|
|
3103
|
+
* @param {string} project Projects unique identifier
|
|
3104
|
+
* @param {string} userGroup The user group identifier
|
|
3105
|
+
* @param {*} [options] Override http request option.
|
|
3106
|
+
* @throws {RequiredError}
|
|
3107
|
+
*/
|
|
3108
|
+
async getUserGroup(project: string, userGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserGroup>> {
|
|
3109
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserGroup(project, userGroup, options);
|
|
3110
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3111
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getUserGroup']?.[localVarOperationServerIndex]?.url;
|
|
3112
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3113
|
+
},
|
|
2815
3114
|
/**
|
|
2816
3115
|
* Get the details of the user\'s invite to the project
|
|
2817
3116
|
* @summary Get invite
|
|
@@ -2910,6 +3209,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2910
3209
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listTasks']?.[localVarOperationServerIndex]?.url;
|
|
2911
3210
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2912
3211
|
},
|
|
3212
|
+
/**
|
|
3213
|
+
* List the user groups in the project
|
|
3214
|
+
* @summary List groups
|
|
3215
|
+
* @param {string} project Projects unique identifier
|
|
3216
|
+
* @param {*} [options] Override http request option.
|
|
3217
|
+
* @throws {RequiredError}
|
|
3218
|
+
*/
|
|
3219
|
+
async listUserGroups(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUserGroupsResponse>> {
|
|
3220
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserGroups(project, options);
|
|
3221
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3222
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listUserGroups']?.[localVarOperationServerIndex]?.url;
|
|
3223
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3224
|
+
},
|
|
2913
3225
|
/**
|
|
2914
3226
|
* Reset 2FA for a given user
|
|
2915
3227
|
* @summary Reset 2FA
|
|
@@ -3041,6 +3353,21 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
3041
3353
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateUser']?.[localVarOperationServerIndex]?.url;
|
|
3042
3354
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3043
3355
|
},
|
|
3356
|
+
/**
|
|
3357
|
+
* Update a user group in the project
|
|
3358
|
+
* @summary Update group
|
|
3359
|
+
* @param {string} project Projects unique identifier
|
|
3360
|
+
* @param {string} userGroup The user group identifier
|
|
3361
|
+
* @param {UpdateUserGroupRequest} [updateUserGroupRequest] Update a user group in the project
|
|
3362
|
+
* @param {*} [options] Override http request option.
|
|
3363
|
+
* @throws {RequiredError}
|
|
3364
|
+
*/
|
|
3365
|
+
async updateUserGroup(project: string, userGroup: string, updateUserGroupRequest?: UpdateUserGroupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserGroup>> {
|
|
3366
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserGroup(project, userGroup, updateUserGroupRequest, options);
|
|
3367
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3368
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateUserGroup']?.[localVarOperationServerIndex]?.url;
|
|
3369
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3370
|
+
},
|
|
3044
3371
|
}
|
|
3045
3372
|
};
|
|
3046
3373
|
|
|
@@ -3120,6 +3447,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3120
3447
|
createTask(requestParameters: ProjectsApiCreateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
|
|
3121
3448
|
return localVarFp.createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(axios, basePath));
|
|
3122
3449
|
},
|
|
3450
|
+
/**
|
|
3451
|
+
* Create a user group in the project
|
|
3452
|
+
* @summary Create group
|
|
3453
|
+
* @param {ProjectsApiCreateUserGroupRequest} requestParameters Request parameters.
|
|
3454
|
+
* @param {*} [options] Override http request option.
|
|
3455
|
+
* @throws {RequiredError}
|
|
3456
|
+
*/
|
|
3457
|
+
createUserGroup(requestParameters: ProjectsApiCreateUserGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserGroup> {
|
|
3458
|
+
return localVarFp.createUserGroup(requestParameters.project, requestParameters.createUserGroupRequest, options).then((request) => request(axios, basePath));
|
|
3459
|
+
},
|
|
3123
3460
|
/**
|
|
3124
3461
|
* Delete an auth token for the project
|
|
3125
3462
|
* @summary Delete auth token
|
|
@@ -3180,6 +3517,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3180
3517
|
deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3181
3518
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
3182
3519
|
},
|
|
3520
|
+
/**
|
|
3521
|
+
* Delete a user group in the project
|
|
3522
|
+
* @summary Delete group
|
|
3523
|
+
* @param {ProjectsApiDeleteUserGroupRequest} requestParameters Request parameters.
|
|
3524
|
+
* @param {*} [options] Override http request option.
|
|
3525
|
+
* @throws {RequiredError}
|
|
3526
|
+
*/
|
|
3527
|
+
deleteUserGroup(requestParameters: ProjectsApiDeleteUserGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3528
|
+
return localVarFp.deleteUserGroup(requestParameters.project, requestParameters.userGroup, options).then((request) => request(axios, basePath));
|
|
3529
|
+
},
|
|
3183
3530
|
/**
|
|
3184
3531
|
* Export all the OKRs in the planner
|
|
3185
3532
|
* @summary Export all OKRs
|
|
@@ -3320,6 +3667,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3320
3667
|
getUser(requestParameters: ProjectsApiGetUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser> {
|
|
3321
3668
|
return localVarFp.getUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
3322
3669
|
},
|
|
3670
|
+
/**
|
|
3671
|
+
* Get a user group in the project
|
|
3672
|
+
* @summary Get group
|
|
3673
|
+
* @param {ProjectsApiGetUserGroupRequest} requestParameters Request parameters.
|
|
3674
|
+
* @param {*} [options] Override http request option.
|
|
3675
|
+
* @throws {RequiredError}
|
|
3676
|
+
*/
|
|
3677
|
+
getUserGroup(requestParameters: ProjectsApiGetUserGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserGroup> {
|
|
3678
|
+
return localVarFp.getUserGroup(requestParameters.project, requestParameters.userGroup, options).then((request) => request(axios, basePath));
|
|
3679
|
+
},
|
|
3323
3680
|
/**
|
|
3324
3681
|
* Get the details of the user\'s invite to the project
|
|
3325
3682
|
* @summary Get invite
|
|
@@ -3390,6 +3747,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3390
3747
|
listTasks(requestParameters: ProjectsApiListTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse> {
|
|
3391
3748
|
return localVarFp.listTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3392
3749
|
},
|
|
3750
|
+
/**
|
|
3751
|
+
* List the user groups in the project
|
|
3752
|
+
* @summary List groups
|
|
3753
|
+
* @param {ProjectsApiListUserGroupsRequest} requestParameters Request parameters.
|
|
3754
|
+
* @param {*} [options] Override http request option.
|
|
3755
|
+
* @throws {RequiredError}
|
|
3756
|
+
*/
|
|
3757
|
+
listUserGroups(requestParameters: ProjectsApiListUserGroupsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUserGroupsResponse> {
|
|
3758
|
+
return localVarFp.listUserGroups(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3759
|
+
},
|
|
3393
3760
|
/**
|
|
3394
3761
|
* Reset 2FA for a given user
|
|
3395
3762
|
* @summary Reset 2FA
|
|
@@ -3480,6 +3847,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3480
3847
|
updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser> {
|
|
3481
3848
|
return localVarFp.updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(axios, basePath));
|
|
3482
3849
|
},
|
|
3850
|
+
/**
|
|
3851
|
+
* Update a user group in the project
|
|
3852
|
+
* @summary Update group
|
|
3853
|
+
* @param {ProjectsApiUpdateUserGroupRequest} requestParameters Request parameters.
|
|
3854
|
+
* @param {*} [options] Override http request option.
|
|
3855
|
+
* @throws {RequiredError}
|
|
3856
|
+
*/
|
|
3857
|
+
updateUserGroup(requestParameters: ProjectsApiUpdateUserGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserGroup> {
|
|
3858
|
+
return localVarFp.updateUserGroup(requestParameters.project, requestParameters.userGroup, requestParameters.updateUserGroupRequest, options).then((request) => request(axios, basePath));
|
|
3859
|
+
},
|
|
3483
3860
|
};
|
|
3484
3861
|
};
|
|
3485
3862
|
|
|
@@ -3573,6 +3950,21 @@ export interface ProjectsApiCreateTaskRequest {
|
|
|
3573
3950
|
readonly createTaskRequest?: CreateTaskRequest
|
|
3574
3951
|
}
|
|
3575
3952
|
|
|
3953
|
+
/**
|
|
3954
|
+
* Request parameters for createUserGroup operation in ProjectsApi.
|
|
3955
|
+
*/
|
|
3956
|
+
export interface ProjectsApiCreateUserGroupRequest {
|
|
3957
|
+
/**
|
|
3958
|
+
* Projects unique identifier
|
|
3959
|
+
*/
|
|
3960
|
+
readonly project: string
|
|
3961
|
+
|
|
3962
|
+
/**
|
|
3963
|
+
* Create a new user group in the project
|
|
3964
|
+
*/
|
|
3965
|
+
readonly createUserGroupRequest?: CreateUserGroupRequest
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3576
3968
|
/**
|
|
3577
3969
|
* Request parameters for deleteAuth operation in ProjectsApi.
|
|
3578
3970
|
*/
|
|
@@ -3658,6 +4050,21 @@ export interface ProjectsApiDeleteUserRequest {
|
|
|
3658
4050
|
readonly user: string
|
|
3659
4051
|
}
|
|
3660
4052
|
|
|
4053
|
+
/**
|
|
4054
|
+
* Request parameters for deleteUserGroup operation in ProjectsApi.
|
|
4055
|
+
*/
|
|
4056
|
+
export interface ProjectsApiDeleteUserGroupRequest {
|
|
4057
|
+
/**
|
|
4058
|
+
* Projects unique identifier
|
|
4059
|
+
*/
|
|
4060
|
+
readonly project: string
|
|
4061
|
+
|
|
4062
|
+
/**
|
|
4063
|
+
* The user group identifier
|
|
4064
|
+
*/
|
|
4065
|
+
readonly userGroup: string
|
|
4066
|
+
}
|
|
4067
|
+
|
|
3661
4068
|
/**
|
|
3662
4069
|
* Request parameters for exportOkrs operation in ProjectsApi.
|
|
3663
4070
|
*/
|
|
@@ -3843,6 +4250,21 @@ export interface ProjectsApiGetUserRequest {
|
|
|
3843
4250
|
readonly user: string
|
|
3844
4251
|
}
|
|
3845
4252
|
|
|
4253
|
+
/**
|
|
4254
|
+
* Request parameters for getUserGroup operation in ProjectsApi.
|
|
4255
|
+
*/
|
|
4256
|
+
export interface ProjectsApiGetUserGroupRequest {
|
|
4257
|
+
/**
|
|
4258
|
+
* Projects unique identifier
|
|
4259
|
+
*/
|
|
4260
|
+
readonly project: string
|
|
4261
|
+
|
|
4262
|
+
/**
|
|
4263
|
+
* The user group identifier
|
|
4264
|
+
*/
|
|
4265
|
+
readonly userGroup: string
|
|
4266
|
+
}
|
|
4267
|
+
|
|
3846
4268
|
/**
|
|
3847
4269
|
* Request parameters for getUserInvite operation in ProjectsApi.
|
|
3848
4270
|
*/
|
|
@@ -3948,6 +4370,16 @@ export interface ProjectsApiListTasksRequest {
|
|
|
3948
4370
|
readonly project: string
|
|
3949
4371
|
}
|
|
3950
4372
|
|
|
4373
|
+
/**
|
|
4374
|
+
* Request parameters for listUserGroups operation in ProjectsApi.
|
|
4375
|
+
*/
|
|
4376
|
+
export interface ProjectsApiListUserGroupsRequest {
|
|
4377
|
+
/**
|
|
4378
|
+
* Projects unique identifier
|
|
4379
|
+
*/
|
|
4380
|
+
readonly project: string
|
|
4381
|
+
}
|
|
4382
|
+
|
|
3951
4383
|
/**
|
|
3952
4384
|
* Request parameters for reset2FA operation in ProjectsApi.
|
|
3953
4385
|
*/
|
|
@@ -4108,6 +4540,26 @@ export interface ProjectsApiUpdateUserRequest {
|
|
|
4108
4540
|
readonly updateUserRequest: UpdateUserRequest
|
|
4109
4541
|
}
|
|
4110
4542
|
|
|
4543
|
+
/**
|
|
4544
|
+
* Request parameters for updateUserGroup operation in ProjectsApi.
|
|
4545
|
+
*/
|
|
4546
|
+
export interface ProjectsApiUpdateUserGroupRequest {
|
|
4547
|
+
/**
|
|
4548
|
+
* Projects unique identifier
|
|
4549
|
+
*/
|
|
4550
|
+
readonly project: string
|
|
4551
|
+
|
|
4552
|
+
/**
|
|
4553
|
+
* The user group identifier
|
|
4554
|
+
*/
|
|
4555
|
+
readonly userGroup: string
|
|
4556
|
+
|
|
4557
|
+
/**
|
|
4558
|
+
* Update a user group in the project
|
|
4559
|
+
*/
|
|
4560
|
+
readonly updateUserGroupRequest?: UpdateUserGroupRequest
|
|
4561
|
+
}
|
|
4562
|
+
|
|
4111
4563
|
/**
|
|
4112
4564
|
* ProjectsApi - object-oriented interface
|
|
4113
4565
|
*/
|
|
@@ -4189,6 +4641,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4189
4641
|
return ProjectsApiFp(this.configuration).createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4190
4642
|
}
|
|
4191
4643
|
|
|
4644
|
+
/**
|
|
4645
|
+
* Create a user group in the project
|
|
4646
|
+
* @summary Create group
|
|
4647
|
+
* @param {ProjectsApiCreateUserGroupRequest} requestParameters Request parameters.
|
|
4648
|
+
* @param {*} [options] Override http request option.
|
|
4649
|
+
* @throws {RequiredError}
|
|
4650
|
+
*/
|
|
4651
|
+
public createUserGroup(requestParameters: ProjectsApiCreateUserGroupRequest, options?: RawAxiosRequestConfig) {
|
|
4652
|
+
return ProjectsApiFp(this.configuration).createUserGroup(requestParameters.project, requestParameters.createUserGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4653
|
+
}
|
|
4654
|
+
|
|
4192
4655
|
/**
|
|
4193
4656
|
* Delete an auth token for the project
|
|
4194
4657
|
* @summary Delete auth token
|
|
@@ -4255,6 +4718,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4255
4718
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
4256
4719
|
}
|
|
4257
4720
|
|
|
4721
|
+
/**
|
|
4722
|
+
* Delete a user group in the project
|
|
4723
|
+
* @summary Delete group
|
|
4724
|
+
* @param {ProjectsApiDeleteUserGroupRequest} requestParameters Request parameters.
|
|
4725
|
+
* @param {*} [options] Override http request option.
|
|
4726
|
+
* @throws {RequiredError}
|
|
4727
|
+
*/
|
|
4728
|
+
public deleteUserGroup(requestParameters: ProjectsApiDeleteUserGroupRequest, options?: RawAxiosRequestConfig) {
|
|
4729
|
+
return ProjectsApiFp(this.configuration).deleteUserGroup(requestParameters.project, requestParameters.userGroup, options).then((request) => request(this.axios, this.basePath));
|
|
4730
|
+
}
|
|
4731
|
+
|
|
4258
4732
|
/**
|
|
4259
4733
|
* Export all the OKRs in the planner
|
|
4260
4734
|
* @summary Export all OKRs
|
|
@@ -4409,6 +4883,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4409
4883
|
return ProjectsApiFp(this.configuration).getUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
4410
4884
|
}
|
|
4411
4885
|
|
|
4886
|
+
/**
|
|
4887
|
+
* Get a user group in the project
|
|
4888
|
+
* @summary Get group
|
|
4889
|
+
* @param {ProjectsApiGetUserGroupRequest} requestParameters Request parameters.
|
|
4890
|
+
* @param {*} [options] Override http request option.
|
|
4891
|
+
* @throws {RequiredError}
|
|
4892
|
+
*/
|
|
4893
|
+
public getUserGroup(requestParameters: ProjectsApiGetUserGroupRequest, options?: RawAxiosRequestConfig) {
|
|
4894
|
+
return ProjectsApiFp(this.configuration).getUserGroup(requestParameters.project, requestParameters.userGroup, options).then((request) => request(this.axios, this.basePath));
|
|
4895
|
+
}
|
|
4896
|
+
|
|
4412
4897
|
/**
|
|
4413
4898
|
* Get the details of the user\'s invite to the project
|
|
4414
4899
|
* @summary Get invite
|
|
@@ -4486,6 +4971,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4486
4971
|
return ProjectsApiFp(this.configuration).listTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
4487
4972
|
}
|
|
4488
4973
|
|
|
4974
|
+
/**
|
|
4975
|
+
* List the user groups in the project
|
|
4976
|
+
* @summary List groups
|
|
4977
|
+
* @param {ProjectsApiListUserGroupsRequest} requestParameters Request parameters.
|
|
4978
|
+
* @param {*} [options] Override http request option.
|
|
4979
|
+
* @throws {RequiredError}
|
|
4980
|
+
*/
|
|
4981
|
+
public listUserGroups(requestParameters: ProjectsApiListUserGroupsRequest, options?: RawAxiosRequestConfig) {
|
|
4982
|
+
return ProjectsApiFp(this.configuration).listUserGroups(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
4983
|
+
}
|
|
4984
|
+
|
|
4489
4985
|
/**
|
|
4490
4986
|
* Reset 2FA for a given user
|
|
4491
4987
|
* @summary Reset 2FA
|
|
@@ -4584,6 +5080,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4584
5080
|
public updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig) {
|
|
4585
5081
|
return ProjectsApiFp(this.configuration).updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4586
5082
|
}
|
|
5083
|
+
|
|
5084
|
+
/**
|
|
5085
|
+
* Update a user group in the project
|
|
5086
|
+
* @summary Update group
|
|
5087
|
+
* @param {ProjectsApiUpdateUserGroupRequest} requestParameters Request parameters.
|
|
5088
|
+
* @param {*} [options] Override http request option.
|
|
5089
|
+
* @throws {RequiredError}
|
|
5090
|
+
*/
|
|
5091
|
+
public updateUserGroup(requestParameters: ProjectsApiUpdateUserGroupRequest, options?: RawAxiosRequestConfig) {
|
|
5092
|
+
return ProjectsApiFp(this.configuration).updateUserGroup(requestParameters.project, requestParameters.userGroup, requestParameters.updateUserGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5093
|
+
}
|
|
4587
5094
|
}
|
|
4588
5095
|
|
|
4589
5096
|
|