@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/README.md +12 -2
- package/api.ts +501 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +261 -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 +261 -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/Project.md +2 -0
- package/docs/ProjectBanner.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;
|
|
@@ -188,6 +196,7 @@ export interface Project {
|
|
|
188
196
|
*/
|
|
189
197
|
'logo': LegacyProjectLogo | null;
|
|
190
198
|
'logos': Array<ProjectLogo>;
|
|
199
|
+
'banner'?: ProjectBanner;
|
|
191
200
|
'manager'?: ProjectManager | null;
|
|
192
201
|
'platform'?: ProjectPlatform | null;
|
|
193
202
|
'integrations'?: Array<string>;
|
|
@@ -205,6 +214,9 @@ export interface Project {
|
|
|
205
214
|
*/
|
|
206
215
|
'createdBy'?: string;
|
|
207
216
|
}
|
|
217
|
+
export interface ProjectBanner {
|
|
218
|
+
'url': string;
|
|
219
|
+
}
|
|
208
220
|
export interface ProjectCurrency {
|
|
209
221
|
'code': string;
|
|
210
222
|
'symbol': string;
|
|
@@ -452,6 +464,12 @@ export interface UpdateTaskRequest {
|
|
|
452
464
|
}
|
|
453
465
|
|
|
454
466
|
|
|
467
|
+
export interface UpdateUserGroupRequest {
|
|
468
|
+
'name'?: string;
|
|
469
|
+
'handle'?: string;
|
|
470
|
+
'description'?: string | null;
|
|
471
|
+
'users'?: Array<string> | null;
|
|
472
|
+
}
|
|
455
473
|
export interface UpdateUserRequest {
|
|
456
474
|
'firstName'?: string;
|
|
457
475
|
'lastName'?: string;
|
|
@@ -464,6 +482,13 @@ export interface UserClient {
|
|
|
464
482
|
'createdAt': string;
|
|
465
483
|
'lastAccessed': string;
|
|
466
484
|
}
|
|
485
|
+
export interface UserGroup {
|
|
486
|
+
'id': string;
|
|
487
|
+
'name': string;
|
|
488
|
+
'handle': string;
|
|
489
|
+
'description': string | null;
|
|
490
|
+
'users': Array<string> | null;
|
|
491
|
+
}
|
|
467
492
|
export interface UserInvite {
|
|
468
493
|
'inviter': ProjectUser;
|
|
469
494
|
'createdAt': string;
|
|
@@ -791,6 +816,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
791
816
|
options: localVarRequestOptions,
|
|
792
817
|
};
|
|
793
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
|
+
},
|
|
794
864
|
/**
|
|
795
865
|
* Delete an auth token for the project
|
|
796
866
|
* @summary Delete auth token
|
|
@@ -1048,6 +1118,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1048
1118
|
|
|
1049
1119
|
|
|
1050
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
|
+
|
|
1051
1166
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1052
1167
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1053
1168
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1664,6 +1779,51 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1664
1779
|
|
|
1665
1780
|
|
|
1666
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
|
+
|
|
1667
1827
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1668
1828
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1669
1829
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1984,6 +2144,47 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1984
2144
|
|
|
1985
2145
|
|
|
1986
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
|
+
|
|
1987
2188
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1988
2189
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1989
2190
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2425,6 +2626,55 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2425
2626
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2426
2627
|
localVarRequestOptions.data = serializeDataIfNeeded(updateUserRequest, localVarRequestOptions, configuration)
|
|
2427
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
|
+
|
|
2428
2678
|
return {
|
|
2429
2679
|
url: toPathString(localVarUrlObj),
|
|
2430
2680
|
options: localVarRequestOptions,
|
|
@@ -2534,6 +2784,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2534
2784
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.createTask']?.[localVarOperationServerIndex]?.url;
|
|
2535
2785
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2536
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
|
+
},
|
|
2537
2801
|
/**
|
|
2538
2802
|
* Delete an auth token for the project
|
|
2539
2803
|
* @summary Delete auth token
|
|
@@ -2617,6 +2881,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2617
2881
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.deleteUser']?.[localVarOperationServerIndex]?.url;
|
|
2618
2882
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2619
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
|
+
},
|
|
2620
2898
|
/**
|
|
2621
2899
|
* Export all the OKRs in the planner
|
|
2622
2900
|
* @summary Export all OKRs
|
|
@@ -2808,6 +3086,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2808
3086
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getUser']?.[localVarOperationServerIndex]?.url;
|
|
2809
3087
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2810
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
|
+
},
|
|
2811
3103
|
/**
|
|
2812
3104
|
* Get the details of the user\'s invite to the project
|
|
2813
3105
|
* @summary Get invite
|
|
@@ -2906,6 +3198,19 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
2906
3198
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.listTasks']?.[localVarOperationServerIndex]?.url;
|
|
2907
3199
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2908
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
|
+
},
|
|
2909
3214
|
/**
|
|
2910
3215
|
* Reset 2FA for a given user
|
|
2911
3216
|
* @summary Reset 2FA
|
|
@@ -3037,6 +3342,21 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
3037
3342
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateUser']?.[localVarOperationServerIndex]?.url;
|
|
3038
3343
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3039
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
|
+
},
|
|
3040
3360
|
}
|
|
3041
3361
|
};
|
|
3042
3362
|
|
|
@@ -3116,6 +3436,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3116
3436
|
createTask(requestParameters: ProjectsApiCreateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
|
|
3117
3437
|
return localVarFp.createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(axios, basePath));
|
|
3118
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
|
+
},
|
|
3119
3449
|
/**
|
|
3120
3450
|
* Delete an auth token for the project
|
|
3121
3451
|
* @summary Delete auth token
|
|
@@ -3176,6 +3506,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3176
3506
|
deleteUser(requestParameters: ProjectsApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3177
3507
|
return localVarFp.deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
3178
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
|
+
},
|
|
3179
3519
|
/**
|
|
3180
3520
|
* Export all the OKRs in the planner
|
|
3181
3521
|
* @summary Export all OKRs
|
|
@@ -3316,6 +3656,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3316
3656
|
getUser(requestParameters: ProjectsApiGetUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser> {
|
|
3317
3657
|
return localVarFp.getUser(requestParameters.project, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
3318
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
|
+
},
|
|
3319
3669
|
/**
|
|
3320
3670
|
* Get the details of the user\'s invite to the project
|
|
3321
3671
|
* @summary Get invite
|
|
@@ -3386,6 +3736,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3386
3736
|
listTasks(requestParameters: ProjectsApiListTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse> {
|
|
3387
3737
|
return localVarFp.listTasks(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
3388
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
|
+
},
|
|
3389
3749
|
/**
|
|
3390
3750
|
* Reset 2FA for a given user
|
|
3391
3751
|
* @summary Reset 2FA
|
|
@@ -3476,6 +3836,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3476
3836
|
updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUser> {
|
|
3477
3837
|
return localVarFp.updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(axios, basePath));
|
|
3478
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
|
+
},
|
|
3479
3849
|
};
|
|
3480
3850
|
};
|
|
3481
3851
|
|
|
@@ -3569,6 +3939,21 @@ export interface ProjectsApiCreateTaskRequest {
|
|
|
3569
3939
|
readonly createTaskRequest?: CreateTaskRequest
|
|
3570
3940
|
}
|
|
3571
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
|
+
|
|
3572
3957
|
/**
|
|
3573
3958
|
* Request parameters for deleteAuth operation in ProjectsApi.
|
|
3574
3959
|
*/
|
|
@@ -3654,6 +4039,21 @@ export interface ProjectsApiDeleteUserRequest {
|
|
|
3654
4039
|
readonly user: string
|
|
3655
4040
|
}
|
|
3656
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
|
+
|
|
3657
4057
|
/**
|
|
3658
4058
|
* Request parameters for exportOkrs operation in ProjectsApi.
|
|
3659
4059
|
*/
|
|
@@ -3839,6 +4239,21 @@ export interface ProjectsApiGetUserRequest {
|
|
|
3839
4239
|
readonly user: string
|
|
3840
4240
|
}
|
|
3841
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
|
+
|
|
3842
4257
|
/**
|
|
3843
4258
|
* Request parameters for getUserInvite operation in ProjectsApi.
|
|
3844
4259
|
*/
|
|
@@ -3944,6 +4359,16 @@ export interface ProjectsApiListTasksRequest {
|
|
|
3944
4359
|
readonly project: string
|
|
3945
4360
|
}
|
|
3946
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
|
+
|
|
3947
4372
|
/**
|
|
3948
4373
|
* Request parameters for reset2FA operation in ProjectsApi.
|
|
3949
4374
|
*/
|
|
@@ -4104,6 +4529,26 @@ export interface ProjectsApiUpdateUserRequest {
|
|
|
4104
4529
|
readonly updateUserRequest: UpdateUserRequest
|
|
4105
4530
|
}
|
|
4106
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
|
+
|
|
4107
4552
|
/**
|
|
4108
4553
|
* ProjectsApi - object-oriented interface
|
|
4109
4554
|
*/
|
|
@@ -4185,6 +4630,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4185
4630
|
return ProjectsApiFp(this.configuration).createTask(requestParameters.project, requestParameters.createTaskRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4186
4631
|
}
|
|
4187
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
|
+
|
|
4188
4644
|
/**
|
|
4189
4645
|
* Delete an auth token for the project
|
|
4190
4646
|
* @summary Delete auth token
|
|
@@ -4251,6 +4707,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4251
4707
|
return ProjectsApiFp(this.configuration).deleteUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
4252
4708
|
}
|
|
4253
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
|
+
|
|
4254
4721
|
/**
|
|
4255
4722
|
* Export all the OKRs in the planner
|
|
4256
4723
|
* @summary Export all OKRs
|
|
@@ -4405,6 +4872,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4405
4872
|
return ProjectsApiFp(this.configuration).getUser(requestParameters.project, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
4406
4873
|
}
|
|
4407
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
|
+
|
|
4408
4886
|
/**
|
|
4409
4887
|
* Get the details of the user\'s invite to the project
|
|
4410
4888
|
* @summary Get invite
|
|
@@ -4482,6 +4960,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4482
4960
|
return ProjectsApiFp(this.configuration).listTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
4483
4961
|
}
|
|
4484
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
|
+
|
|
4485
4974
|
/**
|
|
4486
4975
|
* Reset 2FA for a given user
|
|
4487
4976
|
* @summary Reset 2FA
|
|
@@ -4580,6 +5069,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
4580
5069
|
public updateUser(requestParameters: ProjectsApiUpdateUserRequest, options?: RawAxiosRequestConfig) {
|
|
4581
5070
|
return ProjectsApiFp(this.configuration).updateUser(requestParameters.project, requestParameters.user, requestParameters.updateUserRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4582
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
|
+
}
|
|
4583
5083
|
}
|
|
4584
5084
|
|
|
4585
5085
|
|