new lib version [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2020-12-29 13:35:32 +00:00
parent b7a815076f
commit ec3df312be
33 changed files with 188 additions and 86 deletions

View File

@@ -5,13 +5,14 @@ import type { Track } from '../models/Track';
export declare class TrackService {
/**
* Get all
* Lists all tracks.
* @returns ResponseTrack
* @throws ApiError
*/
static trackControllerGetAll(): Promise<Array<ResponseTrack>>;
/**
* Post
* Create a new track object (id will be generated automagicly).
* Create a new track. <br> Please remember that the track's distance must be greater than 0.
* @param requestBody CreateTrack
* @returns ResponseTrack
* @throws ApiError
@@ -19,7 +20,7 @@ export declare class TrackService {
static trackControllerPost(requestBody?: CreateTrack): Promise<ResponseTrack>;
/**
* Get one
* Returns a track of a specified id (if it exists)
* Lists all information about the track whose id got provided.
* @param id
* @returns ResponseTrack
* @throws ApiError
@@ -27,7 +28,7 @@ export declare class TrackService {
static trackControllerGetOne(id: number): Promise<ResponseTrack>;
/**
* Put
* Update a track object (id can't be changed).
* Update the track whose id you provided. <br> Please remember that ids can't be changed.
* @param id
* @param requestBody Track
* @returns ResponseTrack
@@ -36,7 +37,7 @@ export declare class TrackService {
static trackControllerPut(id: number, requestBody?: Track): Promise<ResponseTrack>;
/**
* Remove
* Delete a specified track (if it exists).
* Delete the track whose id you provided. <br> If no track with this id exists it will just return 204(no content).
* @param id
* @returns ResponseTrack
* @returns ResponseEmpty