import type { CreateRunnerOrganization } from '../models/CreateRunnerOrganization'; import type { ResponseEmpty } from '../models/ResponseEmpty'; import type { ResponseRunner } from '../models/ResponseRunner'; import type { ResponseRunnerOrganization } from '../models/ResponseRunnerOrganization'; import type { UpdateRunnerOrganization } from '../models/UpdateRunnerOrganization'; export declare class RunnerOrganizationService { /** * Get all * Lists all organizations.
This includes their address, contact and teams (if existing/associated). * @param page * @param pageSize * @result ResponseRunnerOrganization * @throws ApiError */ static runnerOrganizationControllerGetAll(page?: number, pageSize?: number): Promise>; /** * Post * Create a new organsisation. * @param requestBody CreateRunnerOrganization * @result ResponseRunnerOrganization * @throws ApiError */ static runnerOrganizationControllerPost(requestBody?: CreateRunnerOrganization): Promise; /** * Get one * Lists all information about the organization whose id got provided. * @param id * @result ResponseRunnerOrganization * @throws ApiError */ static runnerOrganizationControllerGetOne(id: number): Promise; /** * Put * Update the organization whose id you provided.
Please remember that ids can't be changed. * @param id * @param requestBody UpdateRunnerOrganization * @result ResponseRunnerOrganization * @throws ApiError */ static runnerOrganizationControllerPut(id: number, requestBody?: UpdateRunnerOrganization): Promise; /** * Remove * Delete the organsisation whose id you provided.
If the organization still has runners and/or teams associated this will fail.
To delete the organization with all associated runners and teams set the force QueryParam to true (cascading deletion might take a while).
This won't delete the associated contact.
If no organization with this id exists it will just return 204(no content). * @param id * @param force * @result ResponseRunnerOrganization * @result ResponseEmpty * @throws ApiError */ static runnerOrganizationControllerRemove(id: number, force?: boolean): Promise; /** * Get runners * Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param).
This includes the runner's group and distance ran. * @param id * @param onlyDirect * @param selfserviceLinks * @result ResponseRunner * @throws ApiError */ static runnerOrganizationControllerGetRunners(id: number, onlyDirect?: boolean, selfserviceLinks?: boolean): Promise>; }