/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { GetAllRolesResponse } from '../models/GetAllRolesResponse';
import type { CancelablePromise } from '../core/CancelablePromise';
import { OpenAPI } from '../core/OpenAPI';
import { request as __request } from '../core/request';
export class RoleService {
    /**
     * Get All
     * @returns GetAllRolesResponse Successful Response
     * @throws ApiError
     */
    public static getAllRoles(): CancelablePromise<GetAllRolesResponse> {
        return __request(OpenAPI, {
            method: 'GET',
            url: '/role/get-all',
        });
    }
}
