49 lines
1.7 KiB
TypeScript
49 lines
1.7 KiB
TypeScript
import type { CreateRunnerTeam } from '../models/CreateRunnerTeam';
|
|
import type { ResponseEmpty } from '../models/ResponseEmpty';
|
|
import type { ResponseRunnerTeam } from '../models/ResponseRunnerTeam';
|
|
import type { UpdateRunnerTeam } from '../models/UpdateRunnerTeam';
|
|
export declare class RunnerTeamService {
|
|
/**
|
|
* Get all
|
|
* Lists all runnerTeams.
|
|
* @result ResponseRunnerTeam
|
|
* @throws ApiError
|
|
*/
|
|
static runnerTeamControllerGetAll(): Promise<Array<ResponseRunnerTeam>>;
|
|
/**
|
|
* Post
|
|
* Create a new runnerTeam object (id will be generated automagicly).
|
|
* @param requestBody CreateRunnerTeam
|
|
* @result ResponseRunnerTeam
|
|
* @throws ApiError
|
|
*/
|
|
static runnerTeamControllerPost(requestBody?: CreateRunnerTeam): Promise<ResponseRunnerTeam>;
|
|
/**
|
|
* Get one
|
|
* Returns a runnerTeam of a specified id (if it exists)
|
|
* @param id
|
|
* @result ResponseRunnerTeam
|
|
* @throws ApiError
|
|
*/
|
|
static runnerTeamControllerGetOne(id: number): Promise<ResponseRunnerTeam>;
|
|
/**
|
|
* Put
|
|
* Update a runnerTeam object (id can't be changed).
|
|
* @param id
|
|
* @param requestBody UpdateRunnerTeam
|
|
* @result ResponseRunnerTeam
|
|
* @throws ApiError
|
|
*/
|
|
static runnerTeamControllerPut(id: number, requestBody?: UpdateRunnerTeam): Promise<ResponseRunnerTeam>;
|
|
/**
|
|
* Remove
|
|
* Delete a specified runnerTeam (if it exists).
|
|
* @param id
|
|
* @param force
|
|
* @result ResponseRunnerTeam
|
|
* @result ResponseEmpty
|
|
* @throws ApiError
|
|
*/
|
|
static runnerTeamControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerTeam | ResponseEmpty>;
|
|
}
|