This commit is contained in:
48
dist/services/RunnerTeamService.d.ts
vendored
Normal file
48
dist/services/RunnerTeamService.d.ts
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
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 teams. <br> This includes their parent organisation and contact (if existing/associated).
|
||||
* @returns ResponseRunnerTeam
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerTeamControllerGetAll(): Promise<Array<ResponseRunnerTeam>>;
|
||||
/**
|
||||
* Post
|
||||
* Create a new organsisation. <br> Please remember to provide it's parent group's id.
|
||||
* @param requestBody CreateRunnerTeam
|
||||
* @returns ResponseRunnerTeam
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerTeamControllerPost(requestBody?: CreateRunnerTeam): Promise<ResponseRunnerTeam>;
|
||||
/**
|
||||
* Get one
|
||||
* Lists all information about the team whose id got provided.
|
||||
* @param id
|
||||
* @returns ResponseRunnerTeam
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerTeamControllerGetOne(id: number): Promise<ResponseRunnerTeam>;
|
||||
/**
|
||||
* Put
|
||||
* Update the team whose id you provided. <br> Please remember that ids can't be changed.
|
||||
* @param id
|
||||
* @param requestBody UpdateRunnerTeam
|
||||
* @returns ResponseRunnerTeam
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerTeamControllerPut(id: number, requestBody?: UpdateRunnerTeam): Promise<ResponseRunnerTeam>;
|
||||
/**
|
||||
* Remove
|
||||
* Delete the team whose id you provided. <br> If the team still has runners associated this will fail. <br> To delete the team with all associated runners set the force QueryParam to true (cascading deletion might take a while). <br> If no team with this id exists it will just return 204(no content).
|
||||
* @param id
|
||||
* @param force
|
||||
* @returns ResponseRunnerTeam
|
||||
* @returns ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerTeamControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerTeam | ResponseEmpty>;
|
||||
}
|
||||
Reference in New Issue
Block a user