/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export class GroupsUserService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public addUser(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/addUser', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public inviteUser(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/inviteUser', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getUserDetails(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getUserDetails', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAllUsersCount(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getAllUsersCount', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getRecentlyAddedUsersCount(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getRecentlyAddedUsersCount', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getLastNUsers(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getLastNUsers', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getUsersByStatusCount(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getUsersByStatusCount', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAllUsers(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getAllUsers', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getUserInfo(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getUserInfo', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public changePassword(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/changePassword', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public resetPassword(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/resetPassword', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getCurrentUserDetails(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getCurrentUserDetails', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateCurrentUser(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/updateCurrentUser', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getLastNGroups(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getLastNGroups', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateGroup(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/updateGroup', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public deactivateGroup(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/deactivateGroup', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public activateGroup(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/activateGroup', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getUsers(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getUsers', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getOrgUsers(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getOrgUsers', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getGroups(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getGroups', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getUsersType(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getUsersType', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getCurrentUserOrganizations(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getCurrentUserOrganizations', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateOrganizations(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/updateOrganizations', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public deleteUser(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/deleteUser', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public validateUserName(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/validateUserName', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getUsersByDepartment(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/user/getUsersByDepartment', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }