@teemill/projects 1.52.1 → 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/README.md +11 -2
- package/api.ts +497 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +257 -1
- 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 +257 -1
- 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/CreateUserGroupRequest.md +24 -0
- package/docs/ListUserGroupsResponse.md +20 -0
- package/docs/ProjectsApi.md +295 -0
- package/docs/UpdateUserGroupRequest.md +26 -0
- package/docs/UserGroup.md +28 -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.53.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -121,6 +121,11 @@ export interface CreateTaskRequest {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
|
|
124
|
+
export interface CreateUserGroupRequest {
|
|
125
|
+
'name': string;
|
|
126
|
+
'handle': string;
|
|
127
|
+
'description': string | null;
|
|
128
|
+
}
|
|
124
129
|
export interface ExportTasks202Response {
|
|
125
130
|
/**
|
|
126
131
|
* A message describing the export status
|
|
@@ -157,6 +162,9 @@ export interface LegacyProjectLogo {
|
|
|
157
162
|
export interface ListTasksResponse {
|
|
158
163
|
'tasks': Array<Task>;
|
|
159
164
|
}
|
|
165
|
+
export interface ListUserGroupsResponse {
|
|
166
|
+
'userGroups'?: Array<UserGroup>;
|
|
167
|
+
}
|
|
160
168
|
export interface NullableIcon {
|
|
161
169
|
'prefix': string;
|
|
162
170
|
'iconName': string;
|
|
@@ -456,6 +464,12 @@ export interface UpdateTaskRequest {
|
|
|
456
464
|
}
|
|
457
465
|
|
|
458
466
|
|
|
467
|
+
export interface UpdateUserGroupRequest {
|
|
468
|
+
'name'?: string;
|
|
469
|
+
'handle'?: string;
|
|
470
|
+
'description'?: string | null;
|
|
471
|
+
'users'?: Array<string> | null;
|
|
472
|
+
}
|
|
459
473
|
export interface UpdateUserRequest {
|
|
460
474
|
'firstName'?: string;
|
|
461
475
|
'lastName'?: string;
|
|
@@ -468,6 +482,13 @@ export interface UserClient {
|
|
|
468
482
|
'createdAt': string;
|
|
469
483
|
'lastAccessed': string;
|
|
470
484
|
}
|
|
485
|
+
export interface UserGroup {
|
|
486
|
+
'id': string;
|
|
487
|
+
'name': string;
|
|
488
|
+
'handle': string;
|
|
489
|
+
'description': string | null;
|
|
490
|
+
'users': Array<string> | null;
|
|
491
|
+
}
|
|
471
492
|
export interface UserInvite {
|
|
472
493
|
'inviter': ProjectUser;
|
|
473
494
|
'createdAt': string;
|
|
@@ -795,6 +816,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
795
816
|
options: localVarRequestOptions,
|
|
796
817
|
};
|
|
797
818
|
},
|
|
819
|
+
/**
|
|
820
|
+
* Create a user group in the project
|
|
821
|
+
* @summary Create group
|
|
822
|
+
* @param {string} project Projects unique identifier
|
|
823
|
+
* @param {CreateUserGroupRequest} [createUserGroupRequest] Create a new user group in the project
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
*/
|
|
827
|
+
createUserGroup: async (project: string, createUserGroupRequest?: CreateUserGroupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
828
|
+
// verify required parameter 'project' is not null or undefined
|
|
829
|
+
assertParamExists('createUserGroup', 'project', project)
|
|
830
|
+
const localVarPath = `/v1/projects/{project}/user-groups`
|
|
831
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
832
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
833
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
834
|
+
let baseOptions;
|
|
835
|
+
if (configuration) {
|
|
836
|
+
baseOptions = configuration.baseOptions;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
840
|
+
const localVarHeaderParameter = {} as any;
|
|
841
|
+
const localVarQueryParameter = {} as any;
|
|
842
|
+
|
|
843
|
+
// authentication session-oauth required
|
|
844
|
+
// oauth required
|
|
845
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
846
|
+
|
|
847
|
+
// authentication api-key required
|
|
848
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
853
|
+
|
|
854
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
855
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
856
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
857
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createUserGroupRequest, localVarRequestOptions, configuration)
|
|
858
|
+
|
|
859
|
+
return {
|
|
860
|
+
url: toPathString(localVarUrlObj),
|
|
861
|
+
options: localVarRequestOptions,
|
|
862
|
+
};
|
|
863
|
+
},
|
|
798
864
|
/**
|
|
799
865
|
* Delete an auth token for the project
|
|
800
866
|
* @summary Delete auth token
|
|
@@ -1052,6 +1118,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1052
1118
|
|
|
1053
1119
|
|
|
1054
1120
|
|
|
1121
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1122
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1123
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1124
|
+
|
|
1125
|
+
return {
|
|
1126
|
+
url: toPathString(localVarUrlObj),
|
|
1127
|
+
options: localVarRequestOptions,
|
|
1128
|
+
};
|
|
1129
|
+
},
|
|
1130
|
+
/**
|
|
1131
|
+
* Delete a user group in the project
|
|
1132
|
+
* @summary Delete group
|
|
1133
|
+
* @param {string} project Projects unique identifier
|
|
1134
|
+
* @param {string} userGroup The user group identifier
|
|
1135
|
+
* @param {*} [options] Override http request option.
|
|
1136
|
+
* @throws {RequiredError}
|
|
1137
|
+
*/
|
|
1138
|
+
deleteUserGroup: async (project: string, userGroup: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1139
|
+
// verify required parameter 'project' is not null or undefined
|
|
1140
|
+
assertParamExists('deleteUserGroup', 'project', project)
|
|
1141
|
+
// verify required parameter 'userGroup' is not null or undefined
|
|
1142
|
+
assertParamExists('deleteUserGroup', 'userGroup', userGroup)
|
|
1143
|
+
const localVarPath = `/v1/projects/{project}/user-groups/{userGroup}`
|
|
1144
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1145
|
+
.replace(`{${"userGroup"}}`, encodeURIComponent(String(userGroup)));
|
|
1146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1148
|
+
let baseOptions;
|
|
1149
|
+
if (configuration) {
|
|
1150
|
+
baseOptions = configuration.baseOptions;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
1154
|
+
const localVarHeaderParameter = {} as any;
|
|
1155
|
+
const localVarQueryParameter = {} as any;
|
|
1156
|
+
|
|
1157
|
+
// authentication session-oauth required
|
|
1158
|
+
// oauth required
|
|
1159
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1160
|
+
|
|
1161
|
+
// authentication api-key required
|
|
1162
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
|
|
1055
1166
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1056
1167
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1057
1168
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1668,6 +1779,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1668
1779
|
|
|
1669
1780
|
|
|
1670
1781
|
|
|
1782
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1783
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1784
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1785
|
+
|
|
1786
|
+
return {
|
|
1787
|
+
url: toPathString(localVarUrlObj),
|
|
1788
|
+
options: localVarRequestOptions,
|
|
1789
|
+
};
|
|
1790
|
+
},
|
|
1791
|
+
/**
|
|
1792
|
+
* Get a user group in the project
|
|
1793
|
+
* @summary Get group
|
|
1794
|
+
* @param {string} project Projects unique identifier
|
|
1795
|
+
* @param {string} userGroup The user group identifier
|
|
1796
|
+
* @param {*} [options] Override http request option.
|
|
1797
|
+
* @throws {RequiredError}
|
|
1798
|
+
*/
|
|
1799
|
+
getUserGroup: async (project: string, userGroup: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1800
|
+
// verify required parameter 'project' is not null or undefined
|
|
1801
|
+
assertParamExists('getUserGroup', 'project', project)
|
|
1802
|
+
// verify required parameter 'userGroup' is not null or undefined
|
|
1803
|
+
assertParamExists('getUserGroup', 'userGroup', userGroup)
|
|
1804
|
+
const localVarPath = `/v1/projects/{project}/user-groups/{userGroup}`
|
|
1805
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
1806
|
+
.replace(`{${"userGroup"}}`, encodeURIComponent(String(userGroup)));
|
|
1807
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1808
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1809
|
+
let baseOptions;
|
|
1810
|
+
if (configuration) {
|
|
1811
|
+
baseOptions = configuration.baseOptions;
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1815
|
+
const localVarHeaderParameter = {} as any;
|
|
1816
|
+
const localVarQueryParameter = {} as any;
|
|
1817
|
+
|
|
1818
|
+
// authentication session-oauth required
|
|
1819
|
+
// oauth required
|
|
1820
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1821
|
+
|
|
1822
|
+
// authentication api-key required
|
|
1823
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
|
|
1671
1827
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1672
1828
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1673
1829
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1988,6 +2144,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1988
2144
|
|
|
1989
2145
|
|
|
1990
2146
|
|
|
2147
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2148
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2149
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2150
|
+
|
|
2151
|
+
return {
|
|
2152
|
+
url: toPathString(localVarUrlObj),
|
|
2153
|
+
options: localVarRequestOptions,
|
|
2154
|
+
};
|
|
2155
|
+
},
|
|
2156
|
+
/**
|
|
2157
|
+
* List the user groups in the project
|
|
2158
|
+
* @summary List groups
|
|
2159
|
+
* @param {string} project Projects unique identifier
|
|
2160
|
+
* @param {*} [options] Override http request option.
|
|
2161
|
+
* @throws {RequiredError}
|
|
2162
|
+
*/
|
|
2163
|
+
listUserGroups: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2164
|
+
// verify required parameter 'project' is not null or undefined
|
|
2165
|
+
assertParamExists('listUserGroups', 'project', project)
|
|
2166
|
+
const localVarPath = `/v1/projects/{project}/user-groups`
|
|
2167
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
2168
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2169
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2170
|
+
let baseOptions;
|
|
2171
|
+
if (configuration) {
|
|
2172
|
+
baseOptions = configuration.baseOptions;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2176
|
+
const localVarHeaderParameter = {} as any;
|
|
2177
|
+
const localVarQueryParameter = {} as any;
|
|
2178
|
+
|
|
2179
|
+
// authentication session-oauth required
|
|
2180
|
+
// oauth required
|
|
2181
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2182
|
+
|
|
2183
|
+
// authentication api-key required
|
|
2184
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
|
|
1991
2188
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1992
2189
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1993
2190
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2429,6 +2626,55 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2429
2626
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2430
2627
|
localVarRequestOptions.data = serializeDataIfNeeded(updateUserRequest, localVarRequestOptions, configuration)
|
|
2431
2628
|
|
|
2629
|
+
return {
|
|
2630
|
+
url: toPathString(localVarUrlObj),
|
|
2631
|
+
options: localVarRequestOptions,
|
|
2632
|
+
};
|
|
2633
|
+
},
|
|
2634
|
+
/**
|
|
2635
|
+
* Update a user group in the project
|
|
2636
|
+
* @summary Update group
|
|
2637
|
+
* @param {string} project Projects unique identifier
|
|
2638
|
+
* @param {string} userGroup The user group identifier
|
|
2639
|
+
* @param {UpdateUserGroupRequest} [updateUserGroupRequest] Update a user group in the project
|
|
2640
|
+
* @param {*} [options] Override http request option.
|
|
2641
|
+
* @throws {RequiredError}
|
|
2642
|
+
*/
|
|
2643
|
+
updateUserGroup: async (project: string, userGroup: string, updateUserGroupRequest?: UpdateUserGroupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2644
|
+
// verify required parameter 'project' is not null or undefined
|
|
2645
|
+
assertParamExists('updateUserGroup', 'project', project)
|
|
2646
|
+
// verify required parameter 'userGroup' is not null or undefined
|
|
2647
|
+
assertParamExists('updateUserGroup', 'userGroup', userGroup)
|
|
2648
|
+
const localVarPath = `/v1/projects/{project}/user-groups/{userGroup}`
|
|
2649
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
2650
|
+
.replace(`{${"userGroup"}}`, encodeURIComponent(String(userGroup)));
|
|
2651
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2652
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2653
|
+
let baseOptions;
|
|
2654
|
+
if (configuration) {
|
|
2655
|
+
baseOptions = configuration.baseOptions;
|
|
2656
|
+
}
|
|
2657
|
+
|
|
2658
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
2659
|
+
const localVarHeaderParameter = {} as any;
|
|
2660
|
+
const localVarQueryParameter = {} as any;
|
|
2661
|
+
|
|
2662
|
+
// authentication session-oauth required
|
|
2663
|
+
// oauth required
|
|
2664
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2665
|
+
|
|
2666
|
+
// authentication api-key required
|
|
2667
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2668
|
+
|
|
2669
|
+
|
|
2670
|
+
|
|
2671
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2672
|
+
|
|
2673
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2674
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2675
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2676
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateUserGroupRequest, localVarRequestOptions, configuration)
|
|
2677
|
+
|
|
2432
2678
|
return {
|
|
2433
2679
|
url: toPathString(localVarUrlObj),
|
|
2434
2680
|
options: localVarRequestOptions,
|
|
@@ -2538,6 +2784,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2538
2784
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createTask']?.[localVarOperationServerIndex]?.url;
|
|
2539
2785
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2540
2786
|
},
|
|
2787
|
+
/**
|
|
2788
|
+
* Create a user group in the project
|
|
2789
|
+
* @summary Create group
|
|
2790
|
+
* @param {string} project Projects unique identifier
|
|
2791
|
+
* @param {CreateUserGroupRequest} [createUserGroupRequest] Create a new user group in the project
|
|
2792
|
+
* @param {*} [options] Override http request option.
|
|
2793
|
+
* @throws {RequiredError}
|
|
2794
|
+
*/
|
|
2795
|
+
async createUserGroup(project: string, createUserGroupRequest?: CreateUserGroupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserGroup>> {
|
|
2796
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createUserGroup(project, createUserGroupRequest, options);
|
|
2797
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2798
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createUserGroup']?.[localVarOperationServerIndex]?.url;
|
|
2799
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2800
|
+
},
|
|
2541
2801
|
/**
|
|
2542
2802
|
* Delete an auth token for the project
|
|
2543
2803
|
* @summary Delete auth token
|
|
@@ -2621,6 +2881,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2621
2881
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteUser']?.[localVarOperationServerIndex]?.url;
|
|
2622
2882
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2623
2883
|
},
|
|
2884
|
+
/**
|
|
2885
|
+
* Delete a user group in the project
|
|
2886
|
+
* @summary Delete group
|
|
2887
|
+
* @param {string} project Projects unique identifier
|
|
2888
|
+
* @param {string} userGroup The user group identifier
|
|
2889
|
+
* @param {*} [options] Override http request option.
|
|
2890
|
+
* @throws {RequiredError}
|
|
2891
|
+
*/
|
|
2892
|
+
async deleteUserGroup(project: string, userGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2893
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserGroup(project, userGroup, options);
|
|
2894
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2895
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteUserGroup']?.[localVarOperationServerIndex]?.url;
|
|
2896
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2897
|
+
},
|
|
2624
2898
|
/**
|
|
2625
2899
|
* Export all the OKRs in the planner
|
|
2626
2900
|
* @summary Export all OKRs
|
|
@@ -2812,6 +3086,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2812
3086
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getUser']?.[localVarOperationServerIndex]?.url;
|
|
2813
3087
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2814
3088
|
},
|
|
3089
|
+
/**
|
|
3090
|
+
* Get a user group in the project
|
|
3091
|
+
* @summary Get group
|
|
3092
|
+
* @param {string} project Projects unique identifier
|
|
3093
|
+
* @param {string} userGroup The user group identifier
|
|
3094
|
+
* @param {*} [options] Override http request option.
|
|
3095
|
+
* @throws {RequiredError}
|
|
3096
|
+
*/
|
|
3097
|
+
async getUserGroup(project: string, userGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserGroup>> {
|
|
3098
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserGroup(project, userGroup, options);
|
|
3099
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3100
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getUserGroup']?.[localVarOperationServerIndex]?.url;
|
|
3101
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3102
|
+
},
|
|
2815
3103
|
/**
|
|
2816
3104
|
* Get the details of the user\'s invite to the project
|
|
2817
3105
|
* @summary Get invite
|
|
@@ -2910,6 +3198,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2910
3198
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listTasks']?.[localVarOperationServerIndex]?.url;
|
|
2911
3199
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2912
3200
|
},
|
|
3201
|
+
/**
|
|
3202
|
+
* List the user groups in the project
|
|
3203
|
+
* @summary List groups
|
|
3204
|
+
* @param {string} project Projects unique identifier
|
|
3205
|
+
* @param {*} [options] Override http request option.
|
|
3206
|
+
* @throws {RequiredError}
|
|
3207
|
+
*/
|
|
3208
|
+
async listUserGroups(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUserGroupsResponse>> {
|
|
3209
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserGroups(project, options);
|
|
3210
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3211
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listUserGroups']?.[localVarOperationServerIndex]?.url;
|
|
3212
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3213
|
+
},
|
|
2913
3214
|
/**
|
|
2914
3215
|
* Reset 2FA for a given user
|
|
2915
3216
|
* @summary Reset 2FA
|
|
@@ -3041,6 +3342,21 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
3041
3342
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateUser']?.[localVarOperationServerIndex]?.url;
|
|
3042
3343
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3043
3344
|
},
|
|
3345
|
+
/**
|
|
3346
|
+
* Update a user group in the project
|
|
3347
|
+
* @summary Update group
|
|
3348
|
+
* @param {string} project Projects unique identifier
|
|
3349
|
+
* @param {string} userGroup The user group identifier
|
|
3350
|
+
* @param {UpdateUserGroupRequest} [updateUserGroupRequest] Update a user group in the project
|
|
3351
|
+
* @param {*} [options] Override http request option.
|
|
3352
|
+
* @throws {RequiredError}
|
|
3353
|
+
*/
|
|
3354
|
+
async updateUserGroup(project: string, userGroup: string, updateUserGroupRequest?: UpdateUserGroupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserGroup>> {
|
|
3355
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserGroup(project, userGroup, updateUserGroupRequest, options);
|
|
3356
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3357
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateUserGroup']?.[localVarOperationServerIndex]?.url;
|
|
3358
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3359
|
+
},
|
|
3044
3360
|
}
|
|
3045
3361
|
};
|
|
3046
3362
|
|
|
@@ -3120,6 +3436,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3120
3436
|
createTask(requestParameters: ProjectsApiCreateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
|
|
3121
3437
|
return localVarFp.createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(axios, basePath));
|
|
3122
3438
|
},
|
|
3439
|
+
/**
|
|
3440
|
+
* Create a user group in the project
|
|
3441
|
+
* @summary Create group
|
|
3442
|
+
* @param {ProjectsApiCreateUserGroupRequest} requestParameters Request parameters.
|
|
3443
|
+
* @param {*} [options] Override http request option.
|
|
3444
|
+
* @throws {RequiredError}
|
|
3445
|
+
*/
|
|
3446
|
+
createUserGroup(requestParameters: ProjectsApiCreateUserGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserGroup> {
|
|
3447
|
+
return localVarFp.createUserGroup(requestParameters.project, requestParameters.createUserGroupRequest, options).then((request) => request(axios, basePath));
|
|
3448
|
+
},
|
|
3123
3449
|
/**
|
|
3124
3450
|
* Delete an auth token for the project
|
|
3125
3451
|
* @summary Delete auth token
|
|
@@ -3180,6 +3506,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3180
3506
|
deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3181
3507
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
3182
3508
|
},
|
|
3509
|
+
/**
|
|
3510
|
+
* Delete a user group in the project
|
|
3511
|
+
* @summary Delete group
|
|
3512
|
+
* @param {ProjectsApiDeleteUserGroupRequest} requestParameters Request parameters.
|
|
3513
|
+
* @param {*} [options] Override http request option.
|
|
3514
|
+
* @throws {RequiredError}
|
|
3515
|
+
*/
|
|
3516
|
+
deleteUserGroup(requestParameters: ProjectsApiDeleteUserGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3517
|
+
return localVarFp.deleteUserGroup(requestParameters.project, requestParameters.userGroup, options).then((request) => request(axios, basePath));
|
|
3518
|
+
},
|
|
3183
3519
|
/**
|
|
3184
3520
|
* Export all the OKRs in the planner
|
|
3185
3521
|
* @summary Export all OKRs
|
|
@@ -3320,6 +3656,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3320
3656
|
getUser(requestParameters: ProjectsApiGetUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser> {
|
|
3321
3657
|
return localVarFp.getUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
3322
3658
|
},
|
|
3659
|
+
/**
|
|
3660
|
+
* Get a user group in the project
|
|
3661
|
+
* @summary Get group
|
|
3662
|
+
* @param {ProjectsApiGetUserGroupRequest} requestParameters Request parameters.
|
|
3663
|
+
* @param {*} [options] Override http request option.
|
|
3664
|
+
* @throws {RequiredError}
|
|
3665
|
+
*/
|
|
3666
|
+
getUserGroup(requestParameters: ProjectsApiGetUserGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserGroup> {
|
|
3667
|
+
return localVarFp.getUserGroup(requestParameters.project, requestParameters.userGroup, options).then((request) => request(axios, basePath));
|
|
3668
|
+
},
|
|
3323
3669
|
/**
|
|
3324
3670
|
* Get the details of the user\'s invite to the project
|
|
3325
3671
|
* @summary Get invite
|
|
@@ -3390,6 +3736,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3390
3736
|
listTasks(requestParameters: ProjectsApiListTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse> {
|
|
3391
3737
|
return localVarFp.listTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3392
3738
|
},
|
|
3739
|
+
/**
|
|
3740
|
+
* List the user groups in the project
|
|
3741
|
+
* @summary List groups
|
|
3742
|
+
* @param {ProjectsApiListUserGroupsRequest} requestParameters Request parameters.
|
|
3743
|
+
* @param {*} [options] Override http request option.
|
|
3744
|
+
* @throws {RequiredError}
|
|
3745
|
+
*/
|
|
3746
|
+
listUserGroups(requestParameters: ProjectsApiListUserGroupsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUserGroupsResponse> {
|
|
3747
|
+
return localVarFp.listUserGroups(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3748
|
+
},
|
|
3393
3749
|
/**
|
|
3394
3750
|
* Reset 2FA for a given user
|
|
3395
3751
|
* @summary Reset 2FA
|
|
@@ -3480,6 +3836,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3480
3836
|
updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser> {
|
|
3481
3837
|
return localVarFp.updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(axios, basePath));
|
|
3482
3838
|
},
|
|
3839
|
+
/**
|
|
3840
|
+
* Update a user group in the project
|
|
3841
|
+
* @summary Update group
|
|
3842
|
+
* @param {ProjectsApiUpdateUserGroupRequest} requestParameters Request parameters.
|
|
3843
|
+
* @param {*} [options] Override http request option.
|
|
3844
|
+
* @throws {RequiredError}
|
|
3845
|
+
*/
|
|
3846
|
+
updateUserGroup(requestParameters: ProjectsApiUpdateUserGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserGroup> {
|
|
3847
|
+
return localVarFp.updateUserGroup(requestParameters.project, requestParameters.userGroup, requestParameters.updateUserGroupRequest, options).then((request) => request(axios, basePath));
|
|
3848
|
+
},
|
|
3483
3849
|
};
|
|
3484
3850
|
};
|
|
3485
3851
|
|
|
@@ -3573,6 +3939,21 @@ export interface ProjectsApiCreateTaskRequest {
|
|
|
3573
3939
|
readonly createTaskRequest?: CreateTaskRequest
|
|
3574
3940
|
}
|
|
3575
3941
|
|
|
3942
|
+
/**
|
|
3943
|
+
* Request parameters for createUserGroup operation in ProjectsApi.
|
|
3944
|
+
*/
|
|
3945
|
+
export interface ProjectsApiCreateUserGroupRequest {
|
|
3946
|
+
/**
|
|
3947
|
+
* Projects unique identifier
|
|
3948
|
+
*/
|
|
3949
|
+
readonly project: string
|
|
3950
|
+
|
|
3951
|
+
/**
|
|
3952
|
+
* Create a new user group in the project
|
|
3953
|
+
*/
|
|
3954
|
+
readonly createUserGroupRequest?: CreateUserGroupRequest
|
|
3955
|
+
}
|
|
3956
|
+
|
|
3576
3957
|
/**
|
|
3577
3958
|
* Request parameters for deleteAuth operation in ProjectsApi.
|
|
3578
3959
|
*/
|
|
@@ -3658,6 +4039,21 @@ export interface ProjectsApiDeleteUserRequest {
|
|
|
3658
4039
|
readonly user: string
|
|
3659
4040
|
}
|
|
3660
4041
|
|
|
4042
|
+
/**
|
|
4043
|
+
* Request parameters for deleteUserGroup operation in ProjectsApi.
|
|
4044
|
+
*/
|
|
4045
|
+
export interface ProjectsApiDeleteUserGroupRequest {
|
|
4046
|
+
/**
|
|
4047
|
+
* Projects unique identifier
|
|
4048
|
+
*/
|
|
4049
|
+
readonly project: string
|
|
4050
|
+
|
|
4051
|
+
/**
|
|
4052
|
+
* The user group identifier
|
|
4053
|
+
*/
|
|
4054
|
+
readonly userGroup: string
|
|
4055
|
+
}
|
|
4056
|
+
|
|
3661
4057
|
/**
|
|
3662
4058
|
* Request parameters for exportOkrs operation in ProjectsApi.
|
|
3663
4059
|
*/
|
|
@@ -3843,6 +4239,21 @@ export interface ProjectsApiGetUserRequest {
|
|
|
3843
4239
|
readonly user: string
|
|
3844
4240
|
}
|
|
3845
4241
|
|
|
4242
|
+
/**
|
|
4243
|
+
* Request parameters for getUserGroup operation in ProjectsApi.
|
|
4244
|
+
*/
|
|
4245
|
+
export interface ProjectsApiGetUserGroupRequest {
|
|
4246
|
+
/**
|
|
4247
|
+
* Projects unique identifier
|
|
4248
|
+
*/
|
|
4249
|
+
readonly project: string
|
|
4250
|
+
|
|
4251
|
+
/**
|
|
4252
|
+
* The user group identifier
|
|
4253
|
+
*/
|
|
4254
|
+
readonly userGroup: string
|
|
4255
|
+
}
|
|
4256
|
+
|
|
3846
4257
|
/**
|
|
3847
4258
|
* Request parameters for getUserInvite operation in ProjectsApi.
|
|
3848
4259
|
*/
|
|
@@ -3948,6 +4359,16 @@ export interface ProjectsApiListTasksRequest {
|
|
|
3948
4359
|
readonly project: string
|
|
3949
4360
|
}
|
|
3950
4361
|
|
|
4362
|
+
/**
|
|
4363
|
+
* Request parameters for listUserGroups operation in ProjectsApi.
|
|
4364
|
+
*/
|
|
4365
|
+
export interface ProjectsApiListUserGroupsRequest {
|
|
4366
|
+
/**
|
|
4367
|
+
* Projects unique identifier
|
|
4368
|
+
*/
|
|
4369
|
+
readonly project: string
|
|
4370
|
+
}
|
|
4371
|
+
|
|
3951
4372
|
/**
|
|
3952
4373
|
* Request parameters for reset2FA operation in ProjectsApi.
|
|
3953
4374
|
*/
|
|
@@ -4108,6 +4529,26 @@ export interface ProjectsApiUpdateUserRequest {
|
|
|
4108
4529
|
readonly updateUserRequest: UpdateUserRequest
|
|
4109
4530
|
}
|
|
4110
4531
|
|
|
4532
|
+
/**
|
|
4533
|
+
* Request parameters for updateUserGroup operation in ProjectsApi.
|
|
4534
|
+
*/
|
|
4535
|
+
export interface ProjectsApiUpdateUserGroupRequest {
|
|
4536
|
+
/**
|
|
4537
|
+
* Projects unique identifier
|
|
4538
|
+
*/
|
|
4539
|
+
readonly project: string
|
|
4540
|
+
|
|
4541
|
+
/**
|
|
4542
|
+
* The user group identifier
|
|
4543
|
+
*/
|
|
4544
|
+
readonly userGroup: string
|
|
4545
|
+
|
|
4546
|
+
/**
|
|
4547
|
+
* Update a user group in the project
|
|
4548
|
+
*/
|
|
4549
|
+
readonly updateUserGroupRequest?: UpdateUserGroupRequest
|
|
4550
|
+
}
|
|
4551
|
+
|
|
4111
4552
|
/**
|
|
4112
4553
|
* ProjectsApi - object-oriented interface
|
|
4113
4554
|
*/
|
|
@@ -4189,6 +4630,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4189
4630
|
return ProjectsApiFp(this.configuration).createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4190
4631
|
}
|
|
4191
4632
|
|
|
4633
|
+
/**
|
|
4634
|
+
* Create a user group in the project
|
|
4635
|
+
* @summary Create group
|
|
4636
|
+
* @param {ProjectsApiCreateUserGroupRequest} requestParameters Request parameters.
|
|
4637
|
+
* @param {*} [options] Override http request option.
|
|
4638
|
+
* @throws {RequiredError}
|
|
4639
|
+
*/
|
|
4640
|
+
public createUserGroup(requestParameters: ProjectsApiCreateUserGroupRequest, options?: RawAxiosRequestConfig) {
|
|
4641
|
+
return ProjectsApiFp(this.configuration).createUserGroup(requestParameters.project, requestParameters.createUserGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4642
|
+
}
|
|
4643
|
+
|
|
4192
4644
|
/**
|
|
4193
4645
|
* Delete an auth token for the project
|
|
4194
4646
|
* @summary Delete auth token
|
|
@@ -4255,6 +4707,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4255
4707
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
4256
4708
|
}
|
|
4257
4709
|
|
|
4710
|
+
/**
|
|
4711
|
+
* Delete a user group in the project
|
|
4712
|
+
* @summary Delete group
|
|
4713
|
+
* @param {ProjectsApiDeleteUserGroupRequest} requestParameters Request parameters.
|
|
4714
|
+
* @param {*} [options] Override http request option.
|
|
4715
|
+
* @throws {RequiredError}
|
|
4716
|
+
*/
|
|
4717
|
+
public deleteUserGroup(requestParameters: ProjectsApiDeleteUserGroupRequest, options?: RawAxiosRequestConfig) {
|
|
4718
|
+
return ProjectsApiFp(this.configuration).deleteUserGroup(requestParameters.project, requestParameters.userGroup, options).then((request) => request(this.axios, this.basePath));
|
|
4719
|
+
}
|
|
4720
|
+
|
|
4258
4721
|
/**
|
|
4259
4722
|
* Export all the OKRs in the planner
|
|
4260
4723
|
* @summary Export all OKRs
|
|
@@ -4409,6 +4872,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4409
4872
|
return ProjectsApiFp(this.configuration).getUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
4410
4873
|
}
|
|
4411
4874
|
|
|
4875
|
+
/**
|
|
4876
|
+
* Get a user group in the project
|
|
4877
|
+
* @summary Get group
|
|
4878
|
+
* @param {ProjectsApiGetUserGroupRequest} requestParameters Request parameters.
|
|
4879
|
+
* @param {*} [options] Override http request option.
|
|
4880
|
+
* @throws {RequiredError}
|
|
4881
|
+
*/
|
|
4882
|
+
public getUserGroup(requestParameters: ProjectsApiGetUserGroupRequest, options?: RawAxiosRequestConfig) {
|
|
4883
|
+
return ProjectsApiFp(this.configuration).getUserGroup(requestParameters.project, requestParameters.userGroup, options).then((request) => request(this.axios, this.basePath));
|
|
4884
|
+
}
|
|
4885
|
+
|
|
4412
4886
|
/**
|
|
4413
4887
|
* Get the details of the user\'s invite to the project
|
|
4414
4888
|
* @summary Get invite
|
|
@@ -4486,6 +4960,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4486
4960
|
return ProjectsApiFp(this.configuration).listTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
4487
4961
|
}
|
|
4488
4962
|
|
|
4963
|
+
/**
|
|
4964
|
+
* List the user groups in the project
|
|
4965
|
+
* @summary List groups
|
|
4966
|
+
* @param {ProjectsApiListUserGroupsRequest} requestParameters Request parameters.
|
|
4967
|
+
* @param {*} [options] Override http request option.
|
|
4968
|
+
* @throws {RequiredError}
|
|
4969
|
+
*/
|
|
4970
|
+
public listUserGroups(requestParameters: ProjectsApiListUserGroupsRequest, options?: RawAxiosRequestConfig) {
|
|
4971
|
+
return ProjectsApiFp(this.configuration).listUserGroups(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
4972
|
+
}
|
|
4973
|
+
|
|
4489
4974
|
/**
|
|
4490
4975
|
* Reset 2FA for a given user
|
|
4491
4976
|
* @summary Reset 2FA
|
|
@@ -4584,6 +5069,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4584
5069
|
public updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig) {
|
|
4585
5070
|
return ProjectsApiFp(this.configuration).updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4586
5071
|
}
|
|
5072
|
+
|
|
5073
|
+
/**
|
|
5074
|
+
* Update a user group in the project
|
|
5075
|
+
* @summary Update group
|
|
5076
|
+
* @param {ProjectsApiUpdateUserGroupRequest} requestParameters Request parameters.
|
|
5077
|
+
* @param {*} [options] Override http request option.
|
|
5078
|
+
* @throws {RequiredError}
|
|
5079
|
+
*/
|
|
5080
|
+
public updateUserGroup(requestParameters: ProjectsApiUpdateUserGroupRequest, options?: RawAxiosRequestConfig) {
|
|
5081
|
+
return ProjectsApiFp(this.configuration).updateUserGroup(requestParameters.project, requestParameters.userGroup, requestParameters.updateUserGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5082
|
+
}
|
|
4587
5083
|
}
|
|
4588
5084
|
|
|
4589
5085
|
|