import type { CreateRunnerCard } from '../models/CreateRunnerCard'; import type { ResponseEmpty } from '../models/ResponseEmpty'; import type { ResponseRunnerCard } from '../models/ResponseRunnerCard'; import type { UpdateRunnerCard } from '../models/UpdateRunnerCard'; export declare class RunnerCardService { /** * Get all * Lists all card. * @returns ResponseRunnerCard * @throws ApiError */ static runnerCardControllerGetAll(): Promise>; /** * Post * Create a new card.
You can provide a associated runner by id but you don't have to. * @param requestBody CreateRunnerCard * @returns ResponseRunnerCard * @throws ApiError */ static runnerCardControllerPost(requestBody?: CreateRunnerCard): Promise; /** * Get one * Lists all information about the card whose id got provided. * @param id * @returns ResponseRunnerCard * @throws ApiError */ static runnerCardControllerGetOne(id: number): Promise; /** * Put * Update the card whose id you provided.
Scans created via this card will still be associated with the old runner.
Please remember that ids can't be changed. * @param id * @param requestBody UpdateRunnerCard * @returns ResponseRunnerCard * @throws ApiError */ static runnerCardControllerPut(id: number, requestBody?: UpdateRunnerCard): Promise; /** * Remove * Delete the card whose id you provided.
If no card with this id exists it will just return 204(no content).
If the card still has scans associated you have to provide the force=true query param (warning: this deletes all scans associated with by this card - please disable it instead or just remove the runner association). * @param id * @param force * @returns ResponseRunnerCard * @returns ResponseEmpty * @throws ApiError */ static runnerCardControllerRemove(id: number, force?: boolean): Promise; }