new lib version [CI SKIP]
This commit is contained in:
94
dist/services/TrackService.d.ts
vendored
94
dist/services/TrackService.d.ts
vendored
@@ -1,47 +1,47 @@
|
||||
import type { CreateTrack } from '../models/CreateTrack';
|
||||
import type { ResponseEmpty } from '../models/ResponseEmpty';
|
||||
import type { ResponseTrack } from '../models/ResponseTrack';
|
||||
import type { Track } from '../models/Track';
|
||||
export declare class TrackService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all tracks.
|
||||
* @result ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static trackControllerGetAll(): Promise<Array<ResponseTrack>>;
|
||||
/**
|
||||
* Post
|
||||
* Create a new track object (id will be generated automagicly).
|
||||
* @param requestBody CreateTrack
|
||||
* @result ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static trackControllerPost(requestBody?: CreateTrack): Promise<ResponseTrack>;
|
||||
/**
|
||||
* Get one
|
||||
* Returns a track of a specified id (if it exists)
|
||||
* @param id
|
||||
* @result ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static trackControllerGetOne(id: number): Promise<ResponseTrack>;
|
||||
/**
|
||||
* Put
|
||||
* Update a track object (id can't be changed).
|
||||
* @param id
|
||||
* @param requestBody Track
|
||||
* @result ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static trackControllerPut(id: number, requestBody?: Track): Promise<ResponseTrack>;
|
||||
/**
|
||||
* Remove
|
||||
* Delete a specified track (if it exists).
|
||||
* @param id
|
||||
* @result ResponseTrack
|
||||
* @result ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static trackControllerRemove(id: number): Promise<ResponseTrack | ResponseEmpty>;
|
||||
}
|
||||
import type { CreateTrack } from '../models/CreateTrack';
|
||||
import type { ResponseEmpty } from '../models/ResponseEmpty';
|
||||
import type { ResponseTrack } from '../models/ResponseTrack';
|
||||
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. <br> Please remember that the track's distance must be greater than 0.
|
||||
* @param requestBody CreateTrack
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static trackControllerPost(requestBody?: CreateTrack): Promise<ResponseTrack>;
|
||||
/**
|
||||
* Get one
|
||||
* Lists all information about the track whose id got provided.
|
||||
* @param id
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static trackControllerGetOne(id: number): Promise<ResponseTrack>;
|
||||
/**
|
||||
* Put
|
||||
* Update the track whose id you provided. <br> Please remember that ids can't be changed.
|
||||
* @param id
|
||||
* @param requestBody Track
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static trackControllerPut(id: number, requestBody?: Track): Promise<ResponseTrack>;
|
||||
/**
|
||||
* Remove
|
||||
* 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
|
||||
* @throws ApiError
|
||||
*/
|
||||
static trackControllerRemove(id: number): Promise<ResponseTrack | ResponseEmpty>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user