49 lines
1.9 KiB
TypeScript
49 lines
1.9 KiB
TypeScript
import type { CreateRunnerOrganisation } from '../models/CreateRunnerOrganisation';
|
|
import type { ResponseEmpty } from '../models/ResponseEmpty';
|
|
import type { ResponseRunnerOrganisation } from '../models/ResponseRunnerOrganisation';
|
|
import type { RunnerOrganisation } from '../models/RunnerOrganisation';
|
|
export declare class RunnerOrganisationService {
|
|
/**
|
|
* Get all
|
|
* Lists all runnerOrganisations.
|
|
* @result ResponseRunnerOrganisation
|
|
* @throws ApiError
|
|
*/
|
|
static runnerOrganisationControllerGetAll(): Promise<Array<ResponseRunnerOrganisation>>;
|
|
/**
|
|
* Post
|
|
* Create a new runnerOrganisation object (id will be generated automagicly).
|
|
* @param requestBody CreateRunnerOrganisation
|
|
* @result ResponseRunnerOrganisation
|
|
* @throws ApiError
|
|
*/
|
|
static runnerOrganisationControllerPost(requestBody?: CreateRunnerOrganisation): Promise<ResponseRunnerOrganisation>;
|
|
/**
|
|
* Get one
|
|
* Returns a runnerOrganisation of a specified id (if it exists)
|
|
* @param id
|
|
* @result ResponseRunnerOrganisation
|
|
* @throws ApiError
|
|
*/
|
|
static runnerOrganisationControllerGetOne(id: number): Promise<ResponseRunnerOrganisation>;
|
|
/**
|
|
* Put
|
|
* Update a runnerOrganisation object (id can't be changed).
|
|
* @param id
|
|
* @param requestBody RunnerOrganisation
|
|
* @result ResponseRunnerOrganisation
|
|
* @throws ApiError
|
|
*/
|
|
static runnerOrganisationControllerPut(id: number, requestBody?: RunnerOrganisation): Promise<ResponseRunnerOrganisation>;
|
|
/**
|
|
* Remove
|
|
* Delete a specified runnerOrganisation (if it exists).
|
|
* @param id
|
|
* @param force
|
|
* @result ResponseRunnerOrganisation
|
|
* @result ResponseEmpty
|
|
* @throws ApiError
|
|
*/
|
|
static runnerOrganisationControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerOrganisation | ResponseEmpty>;
|
|
}
|