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

This commit is contained in:
2023-02-02 09:47:35 +00:00
parent 068c27f3ff
commit f9aa86b553
199 changed files with 299 additions and 295 deletions

View File

@@ -13,7 +13,7 @@ class AuthService {
* @throws ApiError
*/
static async authControllerLogin(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/auth/login`,
body: requestBody,
@@ -28,7 +28,7 @@ class AuthService {
* @throws ApiError
*/
static async authControllerLogout(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/auth/logout`,
body: requestBody,
@@ -45,7 +45,7 @@ class AuthService {
* @throws ApiError
*/
static async authControllerRefresh(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/auth/refresh`,
body: requestBody,
@@ -61,7 +61,7 @@ class AuthService {
* @throws ApiError
*/
static async authControllerGetResetToken(locale, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/auth/reset`,
query: {
@@ -80,7 +80,7 @@ class AuthService {
* @throws ApiError
*/
static async authControllerResetPassword(token, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/auth/reset/${token}`,
body: requestBody,

View File

@@ -10,7 +10,7 @@ class DonationService {
* @throws ApiError
*/
static async donationControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/donations`,
});
@@ -24,7 +24,7 @@ class DonationService {
* @throws ApiError
*/
static async donationControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/donations/${id}`,
});
@@ -40,7 +40,7 @@ class DonationService {
* @throws ApiError
*/
static async donationControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/donations/${id}`,
query: {
@@ -57,7 +57,7 @@ class DonationService {
* @throws ApiError
*/
static async donationControllerPostFixed(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/donations/fixed`,
body: requestBody,
@@ -72,7 +72,7 @@ class DonationService {
* @throws ApiError
*/
static async donationControllerPostDistance(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/donations/distance`,
body: requestBody,
@@ -88,7 +88,7 @@ class DonationService {
* @throws ApiError
*/
static async donationControllerPutFixed(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/donations/fixed/${id}`,
body: requestBody,
@@ -104,7 +104,7 @@ class DonationService {
* @throws ApiError
*/
static async donationControllerPutDistance(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/donations/distance/${id}`,
body: requestBody,

View File

@@ -10,7 +10,7 @@ class DonorService {
* @throws ApiError
*/
static async donorControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/donors`,
});
@@ -24,7 +24,7 @@ class DonorService {
* @throws ApiError
*/
static async donorControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/donors`,
body: requestBody,
@@ -39,7 +39,7 @@ class DonorService {
* @throws ApiError
*/
static async donorControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/donors/${id}`,
});
@@ -54,7 +54,7 @@ class DonorService {
* @throws ApiError
*/
static async donorControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/donors/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class DonorService {
* @throws ApiError
*/
static async donorControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/donors/${id}`,
query: {

View File

@@ -10,7 +10,7 @@ class GroupContactService {
* @throws ApiError
*/
static async groupContactControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/contacts`,
});
@@ -24,7 +24,7 @@ class GroupContactService {
* @throws ApiError
*/
static async groupContactControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/contacts`,
body: requestBody,
@@ -39,7 +39,7 @@ class GroupContactService {
* @throws ApiError
*/
static async groupContactControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/contacts/${id}`,
});
@@ -54,7 +54,7 @@ class GroupContactService {
* @throws ApiError
*/
static async groupContactControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/contacts/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class GroupContactService {
* @throws ApiError
*/
static async groupContactControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/contacts/${id}`,
query: {

View File

@@ -12,7 +12,7 @@ class ImportService {
* @throws ApiError
*/
static async importControllerPostJson(group, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/runners/import`,
query: {
@@ -31,7 +31,7 @@ class ImportService {
* @throws ApiError
*/
static async importControllerPostOrgsJson(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/organizations/${id}/import`,
body: requestBody,
@@ -47,7 +47,7 @@ class ImportService {
* @throws ApiError
*/
static async importControllerPostTeamsJson(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/teams/${id}/import`,
body: requestBody,
@@ -62,7 +62,7 @@ class ImportService {
* @throws ApiError
*/
static async importControllerPostCsv(group) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/runners/import/csv`,
query: {
@@ -79,7 +79,7 @@ class ImportService {
* @throws ApiError
*/
static async importControllerPostOrgsCsv(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/organizations/${id}/import/csv`,
});
@@ -93,7 +93,7 @@ class ImportService {
* @throws ApiError
*/
static async importControllerPostTeamsCsv(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/teams/${id}/import/csv`,
});

View File

@@ -10,7 +10,7 @@ class MeService {
* @throws ApiError
*/
static async meControllerGet() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/users/me/`,
});
@@ -24,7 +24,7 @@ class MeService {
* @throws ApiError
*/
static async meControllerPut(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/users/me/`,
body: requestBody,
@@ -39,7 +39,7 @@ class MeService {
* @throws ApiError
*/
static async meControllerRemove(force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/users/me/`,
query: {
@@ -55,7 +55,7 @@ class MeService {
* @throws ApiError
*/
static async meControllerGetPermissions() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/users/me/permissions`,
});

View File

@@ -10,7 +10,7 @@ class PermissionService {
* @throws ApiError
*/
static async permissionControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/permissions`,
});
@@ -24,7 +24,7 @@ class PermissionService {
* @throws ApiError
*/
static async permissionControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/permissions`,
body: requestBody,
@@ -39,7 +39,7 @@ class PermissionService {
* @throws ApiError
*/
static async permissionControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/permissions/${id}`,
});
@@ -54,7 +54,7 @@ class PermissionService {
* @throws ApiError
*/
static async permissionControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/permissions/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class PermissionService {
* @throws ApiError
*/
static async permissionControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/permissions/${id}`,
query: {

View File

@@ -10,7 +10,7 @@ class RunnerCardService {
* @throws ApiError
*/
static async runnerCardControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/cards`,
});
@@ -24,7 +24,7 @@ class RunnerCardService {
* @throws ApiError
*/
static async runnerCardControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/cards`,
body: requestBody,
@@ -39,7 +39,7 @@ class RunnerCardService {
* @throws ApiError
*/
static async runnerCardControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/cards/${id}`,
});
@@ -54,7 +54,7 @@ class RunnerCardService {
* @throws ApiError
*/
static async runnerCardControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/cards/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class RunnerCardService {
* @throws ApiError
*/
static async runnerCardControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/cards/${id}`,
query: {
@@ -89,7 +89,7 @@ class RunnerCardService {
* @throws ApiError
*/
static async runnerCardControllerPostBlancoBulk(count, returnCards) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/cards/bulk`,
query: {

View File

@@ -10,7 +10,7 @@ class RunnerOrganizationService {
* @throws ApiError
*/
static async runnerOrganizationControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/organizations`,
});
@@ -24,7 +24,7 @@ class RunnerOrganizationService {
* @throws ApiError
*/
static async runnerOrganizationControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/organizations`,
body: requestBody,
@@ -39,7 +39,7 @@ class RunnerOrganizationService {
* @throws ApiError
*/
static async runnerOrganizationControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/organizations/${id}`,
});
@@ -54,7 +54,7 @@ class RunnerOrganizationService {
* @throws ApiError
*/
static async runnerOrganizationControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/organizations/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class RunnerOrganizationService {
* @throws ApiError
*/
static async runnerOrganizationControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/organizations/${id}`,
query: {
@@ -89,7 +89,7 @@ class RunnerOrganizationService {
* @throws ApiError
*/
static async runnerOrganizationControllerGetRunners(id, onlyDirect) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/organizations/${id}/runners`,
query: {

View File

@@ -11,7 +11,7 @@ class RunnerSelfService {
* @throws ApiError
*/
static async runnerSelfServiceControllerGet(jwt) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/runners/me/${jwt}`,
});
@@ -26,7 +26,7 @@ class RunnerSelfService {
* @throws ApiError
*/
static async runnerSelfServiceControllerRemove(jwt, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/runners/me/${jwt}`,
query: {
@@ -43,7 +43,7 @@ class RunnerSelfService {
* @throws ApiError
*/
static async runnerSelfServiceControllerGetScans(jwt) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/runners/me/${jwt}/scans`,
});
@@ -56,7 +56,7 @@ class RunnerSelfService {
* @throws ApiError
*/
static async runnerSelfServiceControllerGetStationMe() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stations/me`,
});
@@ -71,7 +71,7 @@ class RunnerSelfService {
* @throws ApiError
*/
static async runnerSelfServiceControllerRequestNewToken(mail, locale) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/runners/forgot`,
query: {
@@ -90,7 +90,7 @@ class RunnerSelfService {
* @throws ApiError
*/
static async runnerSelfServiceControllerRegisterRunner(locale, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/runners/register`,
query: {
@@ -110,7 +110,7 @@ class RunnerSelfService {
* @throws ApiError
*/
static async runnerSelfServiceControllerRegisterOrganizationRunner(token, locale, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/runners/register/${token}`,
query: {
@@ -128,7 +128,7 @@ class RunnerSelfService {
* @throws ApiError
*/
static async runnerSelfServiceControllerGetSelfserviceOrg(token) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/organizations/selfservice/${token}`,
});

View File

@@ -10,7 +10,7 @@ class RunnerService {
* @throws ApiError
*/
static async runnerControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/runners`,
});
@@ -24,7 +24,7 @@ class RunnerService {
* @throws ApiError
*/
static async runnerControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/runners`,
body: requestBody,
@@ -39,7 +39,7 @@ class RunnerService {
* @throws ApiError
*/
static async runnerControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/runners/${id}`,
});
@@ -54,7 +54,7 @@ class RunnerService {
* @throws ApiError
*/
static async runnerControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/runners/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class RunnerService {
* @throws ApiError
*/
static async runnerControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/runners/${id}`,
query: {
@@ -88,7 +88,7 @@ class RunnerService {
* @throws ApiError
*/
static async runnerControllerGetScans(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/runners/${id}/scans`,
});

View File

@@ -10,7 +10,7 @@ class RunnerTeamService {
* @throws ApiError
*/
static async runnerTeamControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/teams`,
});
@@ -24,7 +24,7 @@ class RunnerTeamService {
* @throws ApiError
*/
static async runnerTeamControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/teams`,
body: requestBody,
@@ -39,7 +39,7 @@ class RunnerTeamService {
* @throws ApiError
*/
static async runnerTeamControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/teams/${id}`,
});
@@ -54,7 +54,7 @@ class RunnerTeamService {
* @throws ApiError
*/
static async runnerTeamControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/teams/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class RunnerTeamService {
* @throws ApiError
*/
static async runnerTeamControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/teams/${id}`,
query: {
@@ -88,7 +88,7 @@ class RunnerTeamService {
* @throws ApiError
*/
static async runnerTeamControllerGetRunners(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/teams/${id}/runners`,
});

View File

@@ -10,7 +10,7 @@ class ScanService {
* @throws ApiError
*/
static async scanControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/scans`,
});
@@ -24,7 +24,7 @@ class ScanService {
* @throws ApiError
*/
static async scanControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/scans`,
body: requestBody,
@@ -39,7 +39,7 @@ class ScanService {
* @throws ApiError
*/
static async scanControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/scans/${id}`,
});
@@ -54,7 +54,7 @@ class ScanService {
* @throws ApiError
*/
static async scanControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/scans/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class ScanService {
* @throws ApiError
*/
static async scanControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/scans/${id}`,
query: {
@@ -88,7 +88,7 @@ class ScanService {
* @throws ApiError
*/
static async scanControllerPostTrackScans(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/scans/trackscans`,
body: requestBody,
@@ -104,7 +104,7 @@ class ScanService {
* @throws ApiError
*/
static async scanControllerPutTrackScan(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/scans/trackscans/${id}`,
body: requestBody,

View File

@@ -10,7 +10,7 @@ class ScanStationService {
* @throws ApiError
*/
static async scanStationControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stations`,
});
@@ -24,7 +24,7 @@ class ScanStationService {
* @throws ApiError
*/
static async scanStationControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/stations`,
body: requestBody,
@@ -39,7 +39,7 @@ class ScanStationService {
* @throws ApiError
*/
static async scanStationControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stations/${id}`,
});
@@ -54,7 +54,7 @@ class ScanStationService {
* @throws ApiError
*/
static async scanStationControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/stations/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class ScanStationService {
* @throws ApiError
*/
static async scanStationControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/stations/${id}`,
query: {

View File

@@ -10,7 +10,7 @@ class StatsClientService {
* @throws ApiError
*/
static async statsClientControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/statsclients`,
});
@@ -24,7 +24,7 @@ class StatsClientService {
* @throws ApiError
*/
static async statsClientControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/statsclients`,
body: requestBody,
@@ -39,7 +39,7 @@ class StatsClientService {
* @throws ApiError
*/
static async statsClientControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/statsclients/${id}`,
});
@@ -55,7 +55,7 @@ class StatsClientService {
* @throws ApiError
*/
static async statsClientControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/statsclients/${id}`,
query: {

View File

@@ -10,7 +10,7 @@ class StatsService {
* @throws ApiError
*/
static async statsControllerGet() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stats`,
});
@@ -23,7 +23,7 @@ class StatsService {
* @throws ApiError
*/
static async statsControllerGetTopRunnersByDistance() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stats/runners/distance`,
});
@@ -36,7 +36,7 @@ class StatsService {
* @throws ApiError
*/
static async statsControllerGetTopRunnersByDonations() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stats/runners/donations`,
});
@@ -50,7 +50,7 @@ class StatsService {
* @throws ApiError
*/
static async statsControllerGetTopRunnersByLaptime(track) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stats/runners/laptime`,
query: {
@@ -66,7 +66,7 @@ class StatsService {
* @throws ApiError
*/
static async statsControllerGetTopRunnersByTrackTime() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stats/scans`,
});
@@ -79,7 +79,7 @@ class StatsService {
* @throws ApiError
*/
static async statsControllerGetTopTeamsByDistance() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stats/teams/distance`,
});
@@ -92,7 +92,7 @@ class StatsService {
* @throws ApiError
*/
static async statsControllerGetTopTeamsByDonations() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stats/teams/donations`,
});
@@ -105,7 +105,7 @@ class StatsService {
* @throws ApiError
*/
static async statsControllerGetTopOrgsByDistance() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stats/organizations/distance`,
});
@@ -118,7 +118,7 @@ class StatsService {
* @throws ApiError
*/
static async statsControllerGetTopOrgsByDonations() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stats/organizations/donations`,
});

View File

@@ -13,7 +13,7 @@ class StatusService {
* @throws ApiError
*/
static async statusControllerGet() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/status`,
});
@@ -26,7 +26,7 @@ class StatusService {
* @throws ApiError
*/
static async statusControllerGetVersion() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/version`,
});

View File

@@ -10,7 +10,7 @@ class TrackService {
* @throws ApiError
*/
static async trackControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/tracks`,
});
@@ -24,7 +24,7 @@ class TrackService {
* @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,
@@ -39,7 +39,7 @@ class TrackService {
* @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}`,
});
@@ -54,7 +54,7 @@ class TrackService {
* @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,
@@ -71,7 +71,7 @@ class TrackService {
* @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: {

View File

@@ -10,7 +10,7 @@ class UserGroupService {
* @throws ApiError
*/
static async userGroupControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/usergroups`,
});
@@ -24,7 +24,7 @@ class UserGroupService {
* @throws ApiError
*/
static async userGroupControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/usergroups`,
body: requestBody,
@@ -39,7 +39,7 @@ class UserGroupService {
* @throws ApiError
*/
static async userGroupControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/usergroups/${id}`,
});
@@ -54,7 +54,7 @@ class UserGroupService {
* @throws ApiError
*/
static async userGroupControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/usergroups/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class UserGroupService {
* @throws ApiError
*/
static async userGroupControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/usergroups/${id}`,
query: {
@@ -88,7 +88,7 @@ class UserGroupService {
* @throws ApiError
*/
static async userGroupControllerGetPermissions(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/usergroups/${id}/permissions`,
});

View File

@@ -10,7 +10,7 @@ class UserService {
* @throws ApiError
*/
static async userControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/users`,
});
@@ -24,7 +24,7 @@ class UserService {
* @throws ApiError
*/
static async userControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/users`,
body: requestBody,
@@ -39,7 +39,7 @@ class UserService {
* @throws ApiError
*/
static async userControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/users/${id}`,
});
@@ -54,7 +54,7 @@ class UserService {
* @throws ApiError
*/
static async userControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/users/${id}`,
body: requestBody,
@@ -71,7 +71,7 @@ class UserService {
* @throws ApiError
*/
static async userControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/users/${id}`,
query: {
@@ -88,7 +88,7 @@ class UserService {
* @throws ApiError
*/
static async userControllerGetPermissions(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/users/${id}/permissions`,
});