import type { CreateRunner } from '../models/CreateRunner'; import type { ResponseEmpty } from '../models/ResponseEmpty'; import type { ResponseRunner } from '../models/ResponseRunner'; import type { RunnerGroupNeededError } from '../models/RunnerGroupNeededError'; import type { RunnerGroupNotFoundError } from '../models/RunnerGroupNotFoundError'; import type { UpdateRunner } from '../models/UpdateRunner'; export declare class RunnerService { /** * Get all * Lists all runners from all teams/orgs.
This includes the runner's group and distance ran. * @returns ResponseRunner * @throws ApiError */ static runnerControllerGetAll(): Promise>; /** * Post * Create a new runner.
Please remeber to provide the runner's group's id. * @param requestBody CreateRunner * @returns any * @throws ApiError */ static runnerControllerPost(requestBody?: CreateRunner): Promise<(ResponseRunner | RunnerGroupNeededError | RunnerGroupNotFoundError)>; /** * Get one * Lists all information about the runner whose id got provided. * @param id * @returns ResponseRunner * @throws ApiError */ static runnerControllerGetOne(id: number): Promise; /** * Put * Update the runner whose id you provided.
Please remember that ids can't be changed. * @param id * @param requestBody UpdateRunner * @returns ResponseRunner * @throws ApiError */ static runnerControllerPut(id: number, requestBody?: UpdateRunner): Promise; /** * Remove * Delete the runner whose id you provided.
If no runner with this id exists it will just return 204(no content). * @param id * @param force * @returns ResponseRunner * @returns ResponseEmpty * @throws ApiError */ static runnerControllerRemove(id: number, force?: boolean): Promise; }