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,6 +5,7 @@ const request_1 = require("../core/request");
class TrackService {
/**
* Get all
* Lists all tracks.
* @returns ResponseTrack
* @throws ApiError
*/
@@ -17,7 +18,7 @@ class TrackService {
}
/**
* 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
@@ -32,7 +33,7 @@ class TrackService {
}
/**
* 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
@@ -46,7 +47,7 @@ class TrackService {
}
/**
* 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
@@ -62,7 +63,7 @@ class TrackService {
}
/**
* 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