🚀New lib version [CI SKIP]

This commit is contained in:
2023-02-02 09:42:58 +00:00
parent b3676087f2
commit fa42e1085f
220 changed files with 551 additions and 554 deletions

View File

@@ -6,11 +6,11 @@ class TrackService {
/**
* Get all
* Lists all tracks.
* @returns ResponseTrack
* @result ResponseTrack
* @throws ApiError
*/
static async trackControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/tracks`,
});
@@ -20,11 +20,11 @@ class TrackService {
* Post
* Create a new track. <br> Please remember that the track's distance must be greater than 0.
* @param requestBody CreateTrack
* @returns ResponseTrack
* @result ResponseTrack
* @throws ApiError
*/
static async trackControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/tracks`,
body: requestBody,
@@ -35,11 +35,11 @@ class TrackService {
* Get one
* Lists all information about the track whose id got provided.
* @param id
* @returns ResponseTrack
* @result ResponseTrack
* @throws ApiError
*/
static async trackControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/tracks/${id}`,
});
@@ -50,11 +50,11 @@ class TrackService {
* Update the track whose id you provided. <br> Please remember that ids can't be changed.
* @param id
* @param requestBody UpdateTrack
* @returns ResponseTrack
* @result ResponseTrack
* @throws ApiError
*/
static async trackControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/tracks/${id}`,
body: requestBody,
@@ -66,12 +66,12 @@ class TrackService {
* Delete the track whose id you provided. <br> If no track with this id exists it will just return 204(no content).
* @param id
* @param force
* @returns ResponseTrack
* @returns ResponseEmpty
* @result ResponseTrack
* @result ResponseEmpty
* @throws ApiError
*/
static async trackControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/tracks/${id}`,
query: {