/* 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 GroupsPermissionsService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public getCustomPermissions(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/permissions/getCustomPermissions', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getSystemPermissions(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/permissions/getSystemPermissions', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public createPermission(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/permissions/createPermission', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public activate(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/permissions/activate', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public deactivate(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/permissions/deactivate', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updatePermission(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/permissions/updatePermission', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getPermission(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/permissions/getPermission', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }